docs.go 1.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964
  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-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "企业风险管理v3(app)"
  3375. ],
  3376. "summary": "查询现货报表",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "用户ID",
  3381. "name": "userid",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "查询类型 1-报表 2-报表明细",
  3388. "name": "querytype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "integer",
  3394. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3395. "name": "cycletype",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3402. "name": "cycletime",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "现货品种id(明细必填)",
  3409. "name": "deliverygoodsid",
  3410. "in": "query"
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "币种id(明细必填)",
  3415. "name": "currencyid",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": "日/周/月报表汇总维度 1:品种+品类",
  3421. "name": "sumflag",
  3422. "in": "query"
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "type": "array",
  3430. "items": {
  3431. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3432. }
  3433. }
  3434. },
  3435. "500": {
  3436. "description": "Internal Server Error",
  3437. "schema": {
  3438. "$ref": "#/definitions/app.Response"
  3439. }
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/Ermcp3/QryAreaStockReport": {
  3445. "get": {
  3446. "security": [
  3447. {
  3448. "ApiKeyAuth": []
  3449. }
  3450. ],
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "企业风险管理v3(app)"
  3456. ],
  3457. "summary": "查询库存报表",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "用户ID",
  3462. "name": "userid",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "查询类型 1-报表 2-报表明细",
  3469. "name": "querytype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3476. "name": "cycletype",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3483. "name": "cycletime",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3490. "name": "sumfields",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品种ID",
  3496. "name": "deliverygoodsid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "品类ID",
  3502. "name": "wrstandardid",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "品牌ID",
  3508. "name": "spotgoodsbrandid",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "仓库ID",
  3514. "name": "warehouseinfoid",
  3515. "in": "query"
  3516. }
  3517. ],
  3518. "responses": {
  3519. "200": {
  3520. "description": "OK",
  3521. "schema": {
  3522. "type": "array",
  3523. "items": {
  3524. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3525. }
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Ermcp3/QryAreaSumPL": {
  3538. "get": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "企业风险管理v3(app)"
  3549. ],
  3550. "summary": "查询汇总损益表",
  3551. "parameters": [
  3552. {
  3553. "type": "integer",
  3554. "description": "用户ID",
  3555. "name": "userid",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "查询类型 1-报表 2-报表明细",
  3562. "name": "querytype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "integer",
  3568. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3569. "name": "cycletype",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "string",
  3575. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3576. "name": "cycletime",
  3577. "in": "query",
  3578. "required": true
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "币种id(明细必填)",
  3583. "name": "currencyid",
  3584. "in": "query"
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "type": "array",
  3592. "items": {
  3593. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3594. }
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/Ermcp3/QryFinanceReport": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "企业风险管理v3(app)"
  3618. ],
  3619. "summary": "查询财务报表",
  3620. "parameters": [
  3621. {
  3622. "type": "integer",
  3623. "description": "用户ID",
  3624. "name": "userid",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "查询类型 1-报表 2-报表明细",
  3631. "name": "querytype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3638. "name": "cycletype",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3645. "name": "cycletime",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "币种id(报表明细必填)",
  3652. "name": "currencyid",
  3653. "in": "query"
  3654. },
  3655. {
  3656. "type": "string",
  3657. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3658. "name": "sumfields",
  3659. "in": "query"
  3660. }
  3661. ],
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "type": "array",
  3667. "items": {
  3668. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3669. }
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "Internal Server Error",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "/Ermcp3/QrySCMiddleGoodsReport": {
  3682. "get": {
  3683. "security": [
  3684. {
  3685. "ApiKeyAuth": []
  3686. }
  3687. ],
  3688. "produces": [
  3689. "application/json"
  3690. ],
  3691. "tags": [
  3692. "企业风险管理v3(app)"
  3693. ],
  3694. "summary": "查询定价报表",
  3695. "parameters": [
  3696. {
  3697. "type": "integer",
  3698. "description": "用户ID",
  3699. "name": "userid",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "integer",
  3705. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3706. "name": "cycletype",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "string",
  3712. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3713. "name": "cycletime",
  3714. "in": "query",
  3715. "required": true
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "合同id",
  3720. "name": "spotcontractid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "套保品种id",
  3726. "name": "middlegoodsid",
  3727. "in": "query"
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "现货品种id",
  3732. "name": "deliverygoodsid",
  3733. "in": "query"
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "现货商品id",
  3738. "name": "wrstandardid",
  3739. "in": "query"
  3740. },
  3741. {
  3742. "type": "string",
  3743. "description": "合同编号(模糊匹配)",
  3744. "name": "contractno",
  3745. "in": "query"
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "type": "array",
  3753. "items": {
  3754. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3755. }
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Ermcp3/QryTaFutureDataReport": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "企业风险管理v3(app)"
  3779. ],
  3780. "summary": "查询期货报表",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "用户ID",
  3785. "name": "userid",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "查询类型 1-报表 2-报表明细",
  3792. "name": "querytype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3799. "name": "cycletype",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "string",
  3805. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3806. "name": "cycletime",
  3807. "in": "query",
  3808. "required": true
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "币种id(查明细必填)",
  3813. "name": "currencyid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "品种id(查明细必填)",
  3819. "name": "goodsgroupid",
  3820. "in": "query"
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "商品id(查明细必填)",
  3825. "name": "goodsid",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "买卖方向(查明细必填)",
  3831. "name": "buyorsell",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp3/QueryAreaStock": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理v3(app)"
  3866. ],
  3867. "summary": "查询机构库存(库存管理/当前库存)",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "用户ID",
  3872. "name": "userid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryAreaStockApply": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询库存申请(出入库记录|库存审核)",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户ID",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "现货商品ID",
  3927. "name": "deliverygoodsid",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "string",
  3932. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3933. "name": "inouttype",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "合同ID",
  3939. "name": "spotcontractid",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "integer",
  3944. "description": "品类ID",
  3945. "name": "wrstandardid",
  3946. "in": "query"
  3947. },
  3948. {
  3949. "type": "integer",
  3950. "description": "品牌ID",
  3951. "name": "spotgoodsbrandid",
  3952. "in": "query"
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "仓库ID",
  3957. "name": "warehouseinfoid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3963. "name": "applystatus",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QueryAreaStockApplySum": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "合同ID",
  4004. "name": "spotcontractid",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "type": "array",
  4014. "items": {
  4015. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4016. }
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/Ermcp3/QueryDGFactoryItem": {
  4029. "get": {
  4030. "security": [
  4031. {
  4032. "ApiKeyAuth": []
  4033. }
  4034. ],
  4035. "produces": [
  4036. "application/json"
  4037. ],
  4038. "tags": [
  4039. "企业风险管理v3(app)"
  4040. ],
  4041. "summary": "查询品种要素定义项",
  4042. "parameters": [
  4043. {
  4044. "type": "integer",
  4045. "description": "用户id",
  4046. "name": "userid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "用户类型 2-机构 7-企业成员",
  4052. "name": "usertype",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4058. "name": "dgfactoryitemid",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "现货品种ID",
  4064. "name": "deliverygoodsid",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "要素项类型",
  4070. "name": "dgfactoryitemtypeid",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "integer",
  4075. "description": "顺序",
  4076. "name": "orderindex",
  4077. "in": "query"
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "type": "array",
  4085. "items": {
  4086. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4087. }
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Ermcp3/QueryDeliveryGoods": {
  4100. "get": {
  4101. "security": [
  4102. {
  4103. "ApiKeyAuth": []
  4104. }
  4105. ],
  4106. "produces": [
  4107. "application/json"
  4108. ],
  4109. "tags": [
  4110. "企业风险管理v3(app)"
  4111. ],
  4112. "summary": "查询现货商品",
  4113. "parameters": [
  4114. {
  4115. "type": "integer",
  4116. "description": "用户id",
  4117. "name": "userid",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "用户类型 2-机构 7-企业成员",
  4124. "name": "usertype",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4130. "name": "excludecfg",
  4131. "in": "query"
  4132. }
  4133. ],
  4134. "responses": {
  4135. "200": {
  4136. "description": "OK",
  4137. "schema": {
  4138. "type": "array",
  4139. "items": {
  4140. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4141. }
  4142. }
  4143. },
  4144. "500": {
  4145. "description": "Internal Server Error",
  4146. "schema": {
  4147. "$ref": "#/definitions/app.Response"
  4148. }
  4149. }
  4150. }
  4151. }
  4152. },
  4153. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4154. "get": {
  4155. "security": [
  4156. {
  4157. "ApiKeyAuth": []
  4158. }
  4159. ],
  4160. "produces": [
  4161. "application/json"
  4162. ],
  4163. "tags": [
  4164. "企业风险管理v3(app)"
  4165. ],
  4166. "summary": "查询现货商品详情",
  4167. "parameters": [
  4168. {
  4169. "type": "integer",
  4170. "description": "用户id",
  4171. "name": "userid",
  4172. "in": "query",
  4173. "required": true
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "用户类型 2-机构 7-企业成员",
  4178. "name": "usertype",
  4179. "in": "query"
  4180. },
  4181. {
  4182. "type": "integer",
  4183. "description": "现货商品id",
  4184. "name": "deliverygoodsid",
  4185. "in": "query"
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4190. "name": "filtersubempty",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.XHDeliveryGoods"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询现货合同期现配置信息",
  4227. "parameters": [
  4228. {
  4229. "type": "string",
  4230. "description": "合同id",
  4231. "name": "spotcontractid",
  4232. "in": "query",
  4233. "required": true
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryExposureDetail": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询敞口现货明细",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "用户类型 2-机构 7-企业成员",
  4280. "name": "usertype",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "套保商品",
  4286. "name": "middlegoodsid",
  4287. "in": "query",
  4288. "required": true
  4289. }
  4290. ],
  4291. "responses": {
  4292. "200": {
  4293. "description": "OK",
  4294. "schema": {
  4295. "type": "array",
  4296. "items": {
  4297. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4298. }
  4299. }
  4300. },
  4301. "500": {
  4302. "description": "Internal Server Error",
  4303. "schema": {
  4304. "$ref": "#/definitions/app.Response"
  4305. }
  4306. }
  4307. }
  4308. }
  4309. },
  4310. "/Ermcp3/QueryExposureSpot": {
  4311. "get": {
  4312. "security": [
  4313. {
  4314. "ApiKeyAuth": []
  4315. }
  4316. ],
  4317. "produces": [
  4318. "application/json"
  4319. ],
  4320. "tags": [
  4321. "企业风险管理v3(app)"
  4322. ],
  4323. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4324. "parameters": [
  4325. {
  4326. "type": "integer",
  4327. "description": "用户id",
  4328. "name": "userid",
  4329. "in": "query",
  4330. "required": true
  4331. },
  4332. {
  4333. "type": "integer",
  4334. "description": "用户类型 2-机构 7-企业成员",
  4335. "name": "usertype",
  4336. "in": "query"
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "type": "array",
  4344. "items": {
  4345. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4346. }
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/Ermcp3/QueryExposureSpotDetail": {
  4359. "get": {
  4360. "security": [
  4361. {
  4362. "ApiKeyAuth": []
  4363. }
  4364. ],
  4365. "produces": [
  4366. "application/json"
  4367. ],
  4368. "tags": [
  4369. "企业风险管理v3(app)"
  4370. ],
  4371. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4372. "parameters": [
  4373. {
  4374. "type": "integer",
  4375. "description": "用户id",
  4376. "name": "userid",
  4377. "in": "query",
  4378. "required": true
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "用户类型 2-机构 7-企业成员",
  4383. "name": "usertype",
  4384. "in": "query"
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "现货商品ID",
  4389. "name": "wrstandardid",
  4390. "in": "query",
  4391. "required": true
  4392. }
  4393. ],
  4394. "responses": {
  4395. "200": {
  4396. "description": "OK",
  4397. "schema": {
  4398. "type": "array",
  4399. "items": {
  4400. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4401. }
  4402. }
  4403. },
  4404. "500": {
  4405. "description": "Internal Server Error",
  4406. "schema": {
  4407. "$ref": "#/definitions/app.Response"
  4408. }
  4409. }
  4410. }
  4411. }
  4412. },
  4413. "/Ermcp3/QueryGoodsGroup": {
  4414. "get": {
  4415. "security": [
  4416. {
  4417. "ApiKeyAuth": []
  4418. }
  4419. ],
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "企业风险管理v3(app)"
  4425. ],
  4426. "summary": "查询期货商品组",
  4427. "parameters": [
  4428. {
  4429. "type": "integer",
  4430. "description": "用户id",
  4431. "name": "userid",
  4432. "in": "query",
  4433. "required": true
  4434. },
  4435. {
  4436. "type": "integer",
  4437. "description": "用户类型 2-机构 7-企业成员",
  4438. "name": "usertype",
  4439. "in": "query"
  4440. },
  4441. {
  4442. "type": "integer",
  4443. "description": "排除套保品中已关联的商品组 1-排除",
  4444. "name": "excludecfg",
  4445. "in": "query"
  4446. }
  4447. ],
  4448. "responses": {
  4449. "200": {
  4450. "description": "OK",
  4451. "schema": {
  4452. "type": "array",
  4453. "items": {
  4454. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4455. }
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/Ermcp3/QueryGoodsWrstandard": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "企业风险管理v3(app)"
  4479. ],
  4480. "summary": "查询商品品类",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "用户id",
  4485. "name": "userid",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "用户类型 2-机构 7-企业成员",
  4492. "name": "usertype",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "integer",
  4497. "description": "现货商品id",
  4498. "name": "deliverygoodsid",
  4499. "in": "query"
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "type": "array",
  4507. "items": {
  4508. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4509. }
  4510. }
  4511. },
  4512. "500": {
  4513. "description": "Internal Server Error",
  4514. "schema": {
  4515. "$ref": "#/definitions/app.Response"
  4516. }
  4517. }
  4518. }
  4519. }
  4520. },
  4521. "/Ermcp3/QueryGoodsbrand": {
  4522. "get": {
  4523. "security": [
  4524. {
  4525. "ApiKeyAuth": []
  4526. }
  4527. ],
  4528. "produces": [
  4529. "application/json"
  4530. ],
  4531. "tags": [
  4532. "企业风险管理v3(app)"
  4533. ],
  4534. "summary": "查询商品品牌",
  4535. "parameters": [
  4536. {
  4537. "type": "integer",
  4538. "description": "用户id",
  4539. "name": "userid",
  4540. "in": "query",
  4541. "required": true
  4542. },
  4543. {
  4544. "type": "integer",
  4545. "description": "用户类型 2-机构 7-企业成员",
  4546. "name": "usertype",
  4547. "in": "query"
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3Brand"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QueryHPMiddleGoods": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "produces": [
  4577. "application/json"
  4578. ],
  4579. "tags": [
  4580. "企业风险管理v3(app)"
  4581. ],
  4582. "summary": "查询可关联套保计划",
  4583. "parameters": [
  4584. {
  4585. "type": "integer",
  4586. "description": "用户ID(填登录用户的userid)",
  4587. "name": "userid",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "买卖方向 0-买 1-卖",
  4594. "name": "buyorsell",
  4595. "in": "query",
  4596. "required": true
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "商品组id",
  4601. "name": "goodsgroupid",
  4602. "in": "query",
  4603. "required": true
  4604. },
  4605. {
  4606. "type": "string",
  4607. "description": "套保计划编号(模糊匹配)",
  4608. "name": "hedgeplanno",
  4609. "in": "query"
  4610. },
  4611. {
  4612. "type": "string",
  4613. "description": "现货商品名称(模糊匹配)",
  4614. "name": "wrstandardname",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "type": "array",
  4623. "items": {
  4624. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4625. }
  4626. }
  4627. },
  4628. "500": {
  4629. "description": "Internal Server Error",
  4630. "schema": {
  4631. "$ref": "#/definitions/app.Response"
  4632. }
  4633. }
  4634. }
  4635. }
  4636. },
  4637. "/Ermcp3/QueryHedgePlan": {
  4638. "get": {
  4639. "security": [
  4640. {
  4641. "ApiKeyAuth": []
  4642. }
  4643. ],
  4644. "produces": [
  4645. "application/json"
  4646. ],
  4647. "tags": [
  4648. "企业风险管理v3(app)"
  4649. ],
  4650. "summary": "查询套保计划",
  4651. "parameters": [
  4652. {
  4653. "type": "integer",
  4654. "description": "用户ID",
  4655. "name": "userid",
  4656. "in": "query",
  4657. "required": true
  4658. },
  4659. {
  4660. "type": "integer",
  4661. "description": "用户类型 2-机构 7-企业成员",
  4662. "name": "usertype",
  4663. "in": "query"
  4664. },
  4665. {
  4666. "type": "string",
  4667. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4668. "name": "hedgeplanstatus",
  4669. "in": "query",
  4670. "required": true
  4671. }
  4672. ],
  4673. "responses": {
  4674. "200": {
  4675. "description": "OK",
  4676. "schema": {
  4677. "type": "array",
  4678. "items": {
  4679. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4680. }
  4681. }
  4682. },
  4683. "500": {
  4684. "description": "Internal Server Error",
  4685. "schema": {
  4686. "$ref": "#/definitions/app.Response"
  4687. }
  4688. }
  4689. }
  4690. }
  4691. },
  4692. "/Ermcp3/QueryInnerTradeLink": {
  4693. "get": {
  4694. "security": [
  4695. {
  4696. "ApiKeyAuth": []
  4697. }
  4698. ],
  4699. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4700. "produces": [
  4701. "application/json"
  4702. ],
  4703. "tags": [
  4704. "企业风险管理v3(app)"
  4705. ],
  4706. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4707. "parameters": [
  4708. {
  4709. "type": "integer",
  4710. "description": "外部成交单号",
  4711. "name": "outtradeid",
  4712. "in": "query",
  4713. "required": true
  4714. }
  4715. ],
  4716. "responses": {
  4717. "200": {
  4718. "description": "OK",
  4719. "schema": {
  4720. "type": "array",
  4721. "items": {
  4722. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4723. }
  4724. }
  4725. },
  4726. "500": {
  4727. "description": "Internal Server Error",
  4728. "schema": {
  4729. "$ref": "#/definitions/app.Response"
  4730. }
  4731. }
  4732. }
  4733. }
  4734. },
  4735. "/Ermcp3/QueryMiddleGoodsDetail": {
  4736. "get": {
  4737. "security": [
  4738. {
  4739. "ApiKeyAuth": []
  4740. }
  4741. ],
  4742. "produces": [
  4743. "application/json"
  4744. ],
  4745. "tags": [
  4746. "企业风险管理v3(app)"
  4747. ],
  4748. "summary": "查询套保品种详情(套保品种/商品详情)",
  4749. "parameters": [
  4750. {
  4751. "type": "integer",
  4752. "description": "用户id",
  4753. "name": "userid",
  4754. "in": "query",
  4755. "required": true
  4756. },
  4757. {
  4758. "type": "integer",
  4759. "description": "用户类型 2-机构 7-企业成员",
  4760. "name": "usertype",
  4761. "in": "query"
  4762. },
  4763. {
  4764. "type": "integer",
  4765. "description": "套保品种id",
  4766. "name": "middlegoodsid",
  4767. "in": "query"
  4768. }
  4769. ],
  4770. "responses": {
  4771. "200": {
  4772. "description": "OK",
  4773. "schema": {
  4774. "type": "array",
  4775. "items": {
  4776. "$ref": "#/definitions/models.TBMiddleGoods"
  4777. }
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/app.Response"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/Ermcp3/QueryOutTradeLink": {
  4790. "get": {
  4791. "security": [
  4792. {
  4793. "ApiKeyAuth": []
  4794. }
  4795. ],
  4796. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4797. "produces": [
  4798. "application/json"
  4799. ],
  4800. "tags": [
  4801. "企业风险管理v3(app)"
  4802. ],
  4803. "summary": "查询外部成交单关联",
  4804. "parameters": [
  4805. {
  4806. "type": "integer",
  4807. "description": "用户ID(填登录用户的userid)",
  4808. "name": "userid",
  4809. "in": "query",
  4810. "required": true
  4811. },
  4812. {
  4813. "type": "string",
  4814. "description": "外部订单号(模糊匹配)",
  4815. "name": "outtradeid",
  4816. "in": "query"
  4817. },
  4818. {
  4819. "type": "string",
  4820. "description": "合约名称/代码(模糊匹配)",
  4821. "name": "goodsname",
  4822. "in": "query"
  4823. },
  4824. {
  4825. "type": "integer",
  4826. "description": "关联状态 0-未关联 1-已关联",
  4827. "name": "hasinnerorder",
  4828. "in": "query"
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "type": "array",
  4836. "items": {
  4837. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4838. }
  4839. }
  4840. },
  4841. "500": {
  4842. "description": "Internal Server Error",
  4843. "schema": {
  4844. "$ref": "#/definitions/app.Response"
  4845. }
  4846. }
  4847. }
  4848. }
  4849. },
  4850. "/Ermcp3/QueryPaAreaAuditCfg": {
  4851. "get": {
  4852. "security": [
  4853. {
  4854. "ApiKeyAuth": []
  4855. }
  4856. ],
  4857. "produces": [
  4858. "application/json"
  4859. ],
  4860. "tags": [
  4861. "企业风险管理v3(app)"
  4862. ],
  4863. "summary": "查询审核设置",
  4864. "parameters": [
  4865. {
  4866. "type": "integer",
  4867. "description": "用户id",
  4868. "name": "userid",
  4869. "in": "query",
  4870. "required": true
  4871. }
  4872. ],
  4873. "responses": {
  4874. "200": {
  4875. "description": "OK",
  4876. "schema": {
  4877. "type": "array",
  4878. "items": {
  4879. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4880. }
  4881. }
  4882. },
  4883. "500": {
  4884. "description": "Internal Server Error",
  4885. "schema": {
  4886. "$ref": "#/definitions/app.Response"
  4887. }
  4888. }
  4889. }
  4890. }
  4891. },
  4892. "/Ermcp3/QueryPaAreaSubject": {
  4893. "get": {
  4894. "security": [
  4895. {
  4896. "ApiKeyAuth": []
  4897. }
  4898. ],
  4899. "produces": [
  4900. "application/json"
  4901. ],
  4902. "tags": [
  4903. "企业风险管理v3(app)"
  4904. ],
  4905. "summary": "查询交易主体",
  4906. "parameters": [
  4907. {
  4908. "type": "integer",
  4909. "description": "用户id",
  4910. "name": "userid",
  4911. "in": "query",
  4912. "required": true
  4913. },
  4914. {
  4915. "type": "integer",
  4916. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4917. "name": "subjectid",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "主体类型 - 1:交易主体 2:业务部门",
  4923. "name": "subjecttype",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "integer",
  4928. "description": "主体状态 - 1:正常 2: 停用",
  4929. "name": "subjectstatus",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryPaTradeLink": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4960. "produces": [
  4961. "application/json"
  4962. ],
  4963. "tags": [
  4964. "企业风险管理v3(app)"
  4965. ],
  4966. "summary": "查询期现单据关联",
  4967. "parameters": [
  4968. {
  4969. "type": "integer",
  4970. "description": "用户ID",
  4971. "name": "userid",
  4972. "in": "query",
  4973. "required": true
  4974. }
  4975. ],
  4976. "responses": {
  4977. "200": {
  4978. "description": "OK",
  4979. "schema": {
  4980. "type": "array",
  4981. "items": {
  4982. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4983. }
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/Ermcp3/QueryPaTradeLinkDetail": {
  4996. "get": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5003. "produces": [
  5004. "application/json"
  5005. ],
  5006. "tags": [
  5007. "企业风险管理v3(app)"
  5008. ],
  5009. "summary": "查询期现关联记录",
  5010. "parameters": [
  5011. {
  5012. "type": "integer",
  5013. "description": "用户ID(填登录用户的userid)",
  5014. "name": "userid",
  5015. "in": "query",
  5016. "required": true
  5017. },
  5018. {
  5019. "type": "integer",
  5020. "description": "关联状态 1:成功 2:失败 3:解绑",
  5021. "name": "linkstatus",
  5022. "in": "query"
  5023. },
  5024. {
  5025. "type": "string",
  5026. "description": "期货订单号(模糊匹配)",
  5027. "name": "tradeid",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "string",
  5032. "description": "现货编号(模糊匹配)",
  5033. "name": "contractno",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "string",
  5038. "description": "期货账户(模糊匹配)",
  5039. "name": "taname",
  5040. "in": "query"
  5041. }
  5042. ],
  5043. "responses": {
  5044. "200": {
  5045. "description": "OK",
  5046. "schema": {
  5047. "type": "array",
  5048. "items": {
  5049. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5050. }
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/Ermcp3/QueryParamChangeApp": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "企业风险管理v3(app)"
  5075. ],
  5076. "summary": "查询现货商品参数变更申请(流水)",
  5077. "parameters": [
  5078. {
  5079. "type": "integer",
  5080. "description": "用户ID",
  5081. "name": "userid",
  5082. "in": "query",
  5083. "required": true
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "现货品种id",
  5088. "name": "deliverygoodsid",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "现货商品id",
  5094. "name": "wrstandardid",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "套保商品id",
  5100. "name": "middlegoodsid",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "操作类型 1:新增 2:修改",
  5106. "name": "operatetype",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5112. "name": "paramchangetype",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5118. "name": "ftstatus",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "type": "array",
  5127. "items": {
  5128. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5129. }
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Ermcp3/QueryRootUserAccount": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "企业风险管理v3(app)"
  5153. ],
  5154. "summary": "查询顶级用户信息",
  5155. "parameters": [
  5156. {
  5157. "type": "integer",
  5158. "description": "用户ID",
  5159. "name": "userid",
  5160. "in": "query",
  5161. "required": true
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "type": "array",
  5169. "items": {
  5170. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5171. }
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/Ermcp3/QuerySCMiddleGoods": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. }
  5189. ],
  5190. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5191. "produces": [
  5192. "application/json"
  5193. ],
  5194. "tags": [
  5195. "企业风险管理v3(app)"
  5196. ],
  5197. "summary": "查询现货订单",
  5198. "parameters": [
  5199. {
  5200. "type": "integer",
  5201. "description": "用户ID(填登录用户的userid)",
  5202. "name": "userid",
  5203. "in": "query",
  5204. "required": true
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "买卖方向 0-买 1-卖",
  5209. "name": "buyorsell",
  5210. "in": "query",
  5211. "required": true
  5212. },
  5213. {
  5214. "type": "integer",
  5215. "description": "商品组id",
  5216. "name": "goodsgroupid",
  5217. "in": "query",
  5218. "required": true
  5219. },
  5220. {
  5221. "type": "integer",
  5222. "description": "业务类型 1:套保 2:套利",
  5223. "name": "biztype",
  5224. "in": "query"
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "现货编号(模糊匹配)",
  5229. "name": "contractno",
  5230. "in": "query"
  5231. },
  5232. {
  5233. "type": "string",
  5234. "description": "对手方(模糊匹配)",
  5235. "name": "customername",
  5236. "in": "query"
  5237. },
  5238. {
  5239. "type": "string",
  5240. "description": "现货商品名称(模糊匹配)",
  5241. "name": "wrstandardname",
  5242. "in": "query"
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QuerySpotContract": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询现货合同",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户id(当指定contractid, userid可不填)",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "用户类型 2-机构 7-企业成员",
  5289. "name": "usertype",
  5290. "in": "query"
  5291. },
  5292. {
  5293. "type": "integer",
  5294. "description": "合同类型 1-采购, -1-销售",
  5295. "name": "contracttype",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "string",
  5300. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5301. "name": "querytype",
  5302. "in": "query"
  5303. },
  5304. {
  5305. "type": "string",
  5306. "description": "合同ID(SpotContractId)",
  5307. "name": "contractid",
  5308. "in": "query"
  5309. },
  5310. {
  5311. "type": "string",
  5312. "description": "合同编号(模糊匹配)",
  5313. "name": "contractno",
  5314. "in": "query"
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "商品名称(模糊匹配)",
  5319. "name": "wrstandardname",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "string",
  5324. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5325. "name": "status",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "是否只查今日的合同 1-查今日合同",
  5331. "name": "istoday",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "type": "array",
  5340. "items": {
  5341. "$ref": "#/definitions/models.Ermcp3Contract"
  5342. }
  5343. }
  5344. },
  5345. "500": {
  5346. "description": "Internal Server Error",
  5347. "schema": {
  5348. "$ref": "#/definitions/app.Response"
  5349. }
  5350. }
  5351. }
  5352. }
  5353. },
  5354. "/Ermcp3/QuerySpotContractBS": {
  5355. "get": {
  5356. "security": [
  5357. {
  5358. "ApiKeyAuth": []
  5359. }
  5360. ],
  5361. "produces": [
  5362. "application/json"
  5363. ],
  5364. "tags": [
  5365. "企业风险管理v3(app)"
  5366. ],
  5367. "summary": "查询合同(采购/销售)",
  5368. "parameters": [
  5369. {
  5370. "type": "integer",
  5371. "description": "用户id",
  5372. "name": "userid",
  5373. "in": "query",
  5374. "required": true
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "用户类型 2-机构 7-企业成员",
  5379. "name": "usertype",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "合同类型 1-采购, -1-销售",
  5385. "name": "contracttype",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5392. "name": "querytype",
  5393. "in": "query"
  5394. },
  5395. {
  5396. "type": "string",
  5397. "description": "合同ID(SpotContractId)",
  5398. "name": "contractid",
  5399. "in": "query"
  5400. },
  5401. {
  5402. "type": "string",
  5403. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5404. "name": "status",
  5405. "in": "query"
  5406. },
  5407. {
  5408. "type": "integer",
  5409. "description": "是否只查今日的合同 1-查今日合同",
  5410. "name": "istoday",
  5411. "in": "query"
  5412. }
  5413. ],
  5414. "responses": {
  5415. "200": {
  5416. "description": "OK",
  5417. "schema": {
  5418. "type": "array",
  5419. "items": {
  5420. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5421. }
  5422. }
  5423. },
  5424. "500": {
  5425. "description": "Internal Server Error",
  5426. "schema": {
  5427. "$ref": "#/definitions/app.Response"
  5428. }
  5429. }
  5430. }
  5431. }
  5432. },
  5433. "/Ermcp3/QuerySpotGoodsPrice": {
  5434. "get": {
  5435. "security": [
  5436. {
  5437. "ApiKeyAuth": []
  5438. }
  5439. ],
  5440. "produces": [
  5441. "application/json"
  5442. ],
  5443. "tags": [
  5444. "企业风险管理v3(app)"
  5445. ],
  5446. "summary": "查询现货市价(现货市价)",
  5447. "parameters": [
  5448. {
  5449. "type": "integer",
  5450. "description": "用户ID",
  5451. "name": "userid",
  5452. "in": "query",
  5453. "required": true
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "type": "array",
  5461. "items": {
  5462. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5463. }
  5464. }
  5465. },
  5466. "500": {
  5467. "description": "Internal Server Error",
  5468. "schema": {
  5469. "$ref": "#/definitions/app.Response"
  5470. }
  5471. }
  5472. }
  5473. }
  5474. },
  5475. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5476. "get": {
  5477. "security": [
  5478. {
  5479. "ApiKeyAuth": []
  5480. }
  5481. ],
  5482. "produces": [
  5483. "application/json"
  5484. ],
  5485. "tags": [
  5486. "企业风险管理v3(app)"
  5487. ],
  5488. "summary": "查询现货市价详情(现货市价/详情)",
  5489. "parameters": [
  5490. {
  5491. "type": "integer",
  5492. "description": "用户ID",
  5493. "name": "userid",
  5494. "in": "query",
  5495. "required": true
  5496. },
  5497. {
  5498. "type": "integer",
  5499. "description": "现货商品ID",
  5500. "name": "deliverygoodsid",
  5501. "in": "query",
  5502. "required": true
  5503. },
  5504. {
  5505. "type": "integer",
  5506. "description": "品牌ID",
  5507. "name": "brandid",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "integer",
  5512. "description": "品类ID",
  5513. "name": "wrstandardid",
  5514. "in": "query"
  5515. }
  5516. ],
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "type": "array",
  5522. "items": {
  5523. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5524. }
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/app.Response"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/Ermcp3/QuerySubTaaccount": {
  5537. "get": {
  5538. "security": [
  5539. {
  5540. "ApiKeyAuth": []
  5541. }
  5542. ],
  5543. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5544. "produces": [
  5545. "application/json"
  5546. ],
  5547. "tags": [
  5548. "企业风险管理v3(app)"
  5549. ],
  5550. "summary": "查询期货子账户",
  5551. "parameters": [
  5552. {
  5553. "type": "integer",
  5554. "description": "母账号id",
  5555. "name": "parentaccountid",
  5556. "in": "query"
  5557. },
  5558. {
  5559. "type": "string",
  5560. "description": "母账号代码",
  5561. "name": "parentaccountcode",
  5562. "in": "query"
  5563. }
  5564. ],
  5565. "responses": {
  5566. "200": {
  5567. "description": "OK",
  5568. "schema": {
  5569. "type": "array",
  5570. "items": {
  5571. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5572. }
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "企业风险管理v8"
  5596. ],
  5597. "summary": "现货成交明细查询",
  5598. "parameters": [
  5599. {
  5600. "type": "integer",
  5601. "description": "套期项目ID",
  5602. "name": "hedgeditemid",
  5603. "in": "query",
  5604. "required": true
  5605. }
  5606. ],
  5607. "responses": {
  5608. "200": {
  5609. "description": "OK",
  5610. "schema": {
  5611. "type": "array",
  5612. "items": {
  5613. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5614. }
  5615. }
  5616. },
  5617. "500": {
  5618. "description": "Internal Server Error",
  5619. "schema": {
  5620. "$ref": "#/definitions/app.Response"
  5621. }
  5622. }
  5623. }
  5624. }
  5625. },
  5626. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5627. "get": {
  5628. "security": [
  5629. {
  5630. "ApiKeyAuth": []
  5631. }
  5632. ],
  5633. "produces": [
  5634. "application/json"
  5635. ],
  5636. "tags": [
  5637. "企业风险管理v8"
  5638. ],
  5639. "summary": "套期计划明细查询",
  5640. "parameters": [
  5641. {
  5642. "type": "integer",
  5643. "description": "套期项目ID",
  5644. "name": "hedgeditemid",
  5645. "in": "query",
  5646. "required": true
  5647. }
  5648. ],
  5649. "responses": {
  5650. "200": {
  5651. "description": "OK",
  5652. "schema": {
  5653. "type": "array",
  5654. "items": {
  5655. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5656. }
  5657. }
  5658. },
  5659. "500": {
  5660. "description": "Internal Server Error",
  5661. "schema": {
  5662. "$ref": "#/definitions/app.Response"
  5663. }
  5664. }
  5665. }
  5666. }
  5667. },
  5668. "/Ermcp8/QueryERMCPJRLinkPos": {
  5669. "get": {
  5670. "security": [
  5671. {
  5672. "ApiKeyAuth": []
  5673. }
  5674. ],
  5675. "produces": [
  5676. "application/json"
  5677. ],
  5678. "tags": [
  5679. "企业风险管理v8"
  5680. ],
  5681. "summary": "期货持仓明细查询",
  5682. "parameters": [
  5683. {
  5684. "type": "integer",
  5685. "description": "套期项目ID",
  5686. "name": "hedgeditemid",
  5687. "in": "query",
  5688. "required": true
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "type": "array",
  5696. "items": {
  5697. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5698. }
  5699. }
  5700. },
  5701. "500": {
  5702. "description": "Internal Server Error",
  5703. "schema": {
  5704. "$ref": "#/definitions/app.Response"
  5705. }
  5706. }
  5707. }
  5708. }
  5709. },
  5710. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  5711. "get": {
  5712. "security": [
  5713. {
  5714. "ApiKeyAuth": []
  5715. }
  5716. ],
  5717. "produces": [
  5718. "application/json"
  5719. ],
  5720. "tags": [
  5721. "企业风险管理v8"
  5722. ],
  5723. "summary": "期货成交单明细查询",
  5724. "parameters": [
  5725. {
  5726. "type": "integer",
  5727. "description": "套期项目ID",
  5728. "name": "hedgeditemid",
  5729. "in": "query",
  5730. "required": true
  5731. }
  5732. ],
  5733. "responses": {
  5734. "200": {
  5735. "description": "OK",
  5736. "schema": {
  5737. "type": "array",
  5738. "items": {
  5739. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  5740. }
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/Ermcp8/QueryErmcp2AreaExposure": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "企业风险管理v8"
  5764. ],
  5765. "summary": "企业敞口查询",
  5766. "parameters": [
  5767. {
  5768. "type": "string",
  5769. "description": "用户ID",
  5770. "name": "userid",
  5771. "in": "query",
  5772. "required": true
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "type": "array",
  5780. "items": {
  5781. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  5782. }
  5783. }
  5784. },
  5785. "500": {
  5786. "description": "Internal Server Error",
  5787. "schema": {
  5788. "$ref": "#/definitions/app.Response"
  5789. }
  5790. }
  5791. }
  5792. }
  5793. },
  5794. "/Ermcp8/QueryErmcp2HedgedItem": {
  5795. "get": {
  5796. "security": [
  5797. {
  5798. "ApiKeyAuth": []
  5799. }
  5800. ],
  5801. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  5802. "produces": [
  5803. "application/json"
  5804. ],
  5805. "tags": [
  5806. "企业风险管理v8"
  5807. ],
  5808. "summary": "查询被套期项目信息",
  5809. "parameters": [
  5810. {
  5811. "type": "string",
  5812. "description": "用户ID",
  5813. "name": "userid",
  5814. "in": "query",
  5815. "required": true
  5816. },
  5817. {
  5818. "type": "integer",
  5819. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  5820. "name": "hedgedtype",
  5821. "in": "query"
  5822. },
  5823. {
  5824. "type": "integer",
  5825. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5826. "name": "hedgeditemstatus",
  5827. "in": "query"
  5828. }
  5829. ],
  5830. "responses": {
  5831. "200": {
  5832. "description": "OK",
  5833. "schema": {
  5834. "type": "array",
  5835. "items": {
  5836. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  5837. }
  5838. }
  5839. },
  5840. "500": {
  5841. "description": "Internal Server Error",
  5842. "schema": {
  5843. "$ref": "#/definitions/app.Response"
  5844. }
  5845. }
  5846. }
  5847. }
  5848. },
  5849. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  5850. "get": {
  5851. "security": [
  5852. {
  5853. "ApiKeyAuth": []
  5854. }
  5855. ],
  5856. "produces": [
  5857. "application/json"
  5858. ],
  5859. "tags": [
  5860. "企业风险管理v8"
  5861. ],
  5862. "summary": "现货合同关联被套期项目查询",
  5863. "parameters": [
  5864. {
  5865. "type": "integer",
  5866. "description": "现货合同ID",
  5867. "name": "spotcontractid",
  5868. "in": "query",
  5869. "required": true
  5870. }
  5871. ],
  5872. "responses": {
  5873. "200": {
  5874. "description": "OK",
  5875. "schema": {
  5876. "type": "array",
  5877. "items": {
  5878. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  5879. }
  5880. }
  5881. },
  5882. "500": {
  5883. "description": "Internal Server Error",
  5884. "schema": {
  5885. "$ref": "#/definitions/app.Response"
  5886. }
  5887. }
  5888. }
  5889. }
  5890. },
  5891. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  5892. "get": {
  5893. "security": [
  5894. {
  5895. "ApiKeyAuth": []
  5896. }
  5897. ],
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "企业风险管理v8"
  5903. ],
  5904. "summary": "敞口明细 - 计划变动明细",
  5905. "parameters": [
  5906. {
  5907. "type": "integer",
  5908. "description": "用户ID",
  5909. "name": "userid",
  5910. "in": "query",
  5911. "required": true
  5912. },
  5913. {
  5914. "type": "integer",
  5915. "description": "套保品种ID",
  5916. "name": "middlegoodsid",
  5917. "in": "query",
  5918. "required": true
  5919. }
  5920. ],
  5921. "responses": {
  5922. "200": {
  5923. "description": "OK",
  5924. "schema": {
  5925. "type": "array",
  5926. "items": {
  5927. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  5928. }
  5929. }
  5930. },
  5931. "500": {
  5932. "description": "Internal Server Error",
  5933. "schema": {
  5934. "$ref": "#/definitions/app.Response"
  5935. }
  5936. }
  5937. }
  5938. }
  5939. },
  5940. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  5941. "get": {
  5942. "security": [
  5943. {
  5944. "ApiKeyAuth": []
  5945. }
  5946. ],
  5947. "produces": [
  5948. "application/json"
  5949. ],
  5950. "tags": [
  5951. "企业风险管理v8"
  5952. ],
  5953. "summary": "敞口明细 - 现货变动明细查询",
  5954. "parameters": [
  5955. {
  5956. "type": "integer",
  5957. "description": "用户ID",
  5958. "name": "userid",
  5959. "in": "query",
  5960. "required": true
  5961. },
  5962. {
  5963. "type": "integer",
  5964. "description": "套保品种ID",
  5965. "name": "middlegoodsid",
  5966. "in": "query",
  5967. "required": true
  5968. }
  5969. ],
  5970. "responses": {
  5971. "200": {
  5972. "description": "OK",
  5973. "schema": {
  5974. "type": "array",
  5975. "items": {
  5976. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  5977. }
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "produces": [
  5997. "application/json"
  5998. ],
  5999. "tags": [
  6000. "企业风险管理v8"
  6001. ],
  6002. "summary": "可关联项目查询",
  6003. "parameters": [
  6004. {
  6005. "type": "integer",
  6006. "description": "用户ID",
  6007. "name": "userid",
  6008. "in": "query",
  6009. "required": true
  6010. },
  6011. {
  6012. "type": "integer",
  6013. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6014. "name": "spottype",
  6015. "in": "query",
  6016. "required": true
  6017. }
  6018. ],
  6019. "responses": {
  6020. "200": {
  6021. "description": "OK",
  6022. "schema": {
  6023. "type": "array",
  6024. "items": {
  6025. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6026. }
  6027. }
  6028. },
  6029. "500": {
  6030. "description": "Internal Server Error",
  6031. "schema": {
  6032. "$ref": "#/definitions/app.Response"
  6033. }
  6034. }
  6035. }
  6036. }
  6037. },
  6038. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6039. "get": {
  6040. "security": [
  6041. {
  6042. "ApiKeyAuth": []
  6043. }
  6044. ],
  6045. "produces": [
  6046. "application/json"
  6047. ],
  6048. "tags": [
  6049. "企业风险管理v8"
  6050. ],
  6051. "summary": "套期项目报表查询",
  6052. "parameters": [
  6053. {
  6054. "type": "integer",
  6055. "description": "用户ID",
  6056. "name": "userid",
  6057. "in": "query",
  6058. "required": true
  6059. },
  6060. {
  6061. "type": "integer",
  6062. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6063. "name": "cycletype",
  6064. "in": "query"
  6065. },
  6066. {
  6067. "type": "string",
  6068. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6069. "name": "cycletime",
  6070. "in": "query",
  6071. "required": true
  6072. },
  6073. {
  6074. "type": "integer",
  6075. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6076. "name": "hedgedtype",
  6077. "in": "query"
  6078. },
  6079. {
  6080. "type": "integer",
  6081. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6082. "name": "hedgeditemstatus",
  6083. "in": "query"
  6084. },
  6085. {
  6086. "type": "string",
  6087. "description": "项目编号,模糊查询",
  6088. "name": "hedgeditemnum",
  6089. "in": "query"
  6090. },
  6091. {
  6092. "type": "integer",
  6093. "description": "现货商品ID",
  6094. "name": "wrstandardid",
  6095. "in": "query"
  6096. }
  6097. ],
  6098. "responses": {
  6099. "200": {
  6100. "description": "OK",
  6101. "schema": {
  6102. "type": "array",
  6103. "items": {
  6104. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6105. }
  6106. }
  6107. },
  6108. "500": {
  6109. "description": "Internal Server Error",
  6110. "schema": {
  6111. "$ref": "#/definitions/app.Response"
  6112. }
  6113. }
  6114. }
  6115. }
  6116. },
  6117. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6118. "get": {
  6119. "security": [
  6120. {
  6121. "ApiKeyAuth": []
  6122. }
  6123. ],
  6124. "produces": [
  6125. "application/json"
  6126. ],
  6127. "tags": [
  6128. "企业风险管理v8"
  6129. ],
  6130. "summary": "查询执行中项目查询信息",
  6131. "parameters": [
  6132. {
  6133. "type": "string",
  6134. "description": "用户ID",
  6135. "name": "userid",
  6136. "in": "query",
  6137. "required": true
  6138. }
  6139. ],
  6140. "responses": {
  6141. "200": {
  6142. "description": "OK",
  6143. "schema": {
  6144. "type": "array",
  6145. "items": {
  6146. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6147. }
  6148. }
  6149. },
  6150. "500": {
  6151. "description": "Internal Server Error",
  6152. "schema": {
  6153. "$ref": "#/definitions/app.Response"
  6154. }
  6155. }
  6156. }
  6157. }
  6158. },
  6159. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6160. "get": {
  6161. "security": [
  6162. {
  6163. "ApiKeyAuth": []
  6164. }
  6165. ],
  6166. "produces": [
  6167. "application/json"
  6168. ],
  6169. "tags": [
  6170. "企业风险管理v8"
  6171. ],
  6172. "summary": "内部成交单可关联项目查询",
  6173. "parameters": [
  6174. {
  6175. "type": "integer",
  6176. "description": "企业ID",
  6177. "name": "areauserid",
  6178. "in": "query",
  6179. "required": true
  6180. },
  6181. {
  6182. "type": "integer",
  6183. "description": "期货合约ID",
  6184. "name": "goodsid",
  6185. "in": "query",
  6186. "required": true
  6187. }
  6188. ],
  6189. "responses": {
  6190. "200": {
  6191. "description": "OK",
  6192. "schema": {
  6193. "type": "array",
  6194. "items": {
  6195. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6196. }
  6197. }
  6198. },
  6199. "500": {
  6200. "description": "Internal Server Error",
  6201. "schema": {
  6202. "$ref": "#/definitions/app.Response"
  6203. }
  6204. }
  6205. }
  6206. }
  6207. },
  6208. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6209. "get": {
  6210. "security": [
  6211. {
  6212. "ApiKeyAuth": []
  6213. }
  6214. ],
  6215. "produces": [
  6216. "application/json"
  6217. ],
  6218. "tags": [
  6219. "企业风险管理v8"
  6220. ],
  6221. "summary": "内部未关联成交单查询",
  6222. "parameters": [
  6223. {
  6224. "type": "integer",
  6225. "description": "用户编号",
  6226. "name": "userid",
  6227. "in": "query",
  6228. "required": true
  6229. },
  6230. {
  6231. "type": "string",
  6232. "description": "起始日期(格式yyyymmdd)",
  6233. "name": "begindate",
  6234. "in": "query"
  6235. },
  6236. {
  6237. "type": "string",
  6238. "description": "终止日期(格式yyyymmdd)",
  6239. "name": "enddate",
  6240. "in": "query"
  6241. },
  6242. {
  6243. "type": "string",
  6244. "description": "合约代码",
  6245. "name": "goodscode",
  6246. "in": "query"
  6247. },
  6248. {
  6249. "type": "string",
  6250. "description": "合约名称",
  6251. "name": "goodsname",
  6252. "in": "query"
  6253. },
  6254. {
  6255. "type": "integer",
  6256. "description": "成交单号",
  6257. "name": "tradeid",
  6258. "in": "query"
  6259. },
  6260. {
  6261. "type": "integer",
  6262. "description": "方向 - 0:买 1:卖",
  6263. "name": "buyorsell",
  6264. "in": "query"
  6265. },
  6266. {
  6267. "type": "string",
  6268. "description": "套期主体",
  6269. "name": "accountname",
  6270. "in": "query"
  6271. }
  6272. ],
  6273. "responses": {
  6274. "200": {
  6275. "description": "OK",
  6276. "schema": {
  6277. "type": "array",
  6278. "items": {
  6279. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6280. }
  6281. }
  6282. },
  6283. "500": {
  6284. "description": "Internal Server Error",
  6285. "schema": {
  6286. "$ref": "#/definitions/app.Response"
  6287. }
  6288. }
  6289. }
  6290. }
  6291. },
  6292. "/Ermcp8/QueryPatradeLinkDetail": {
  6293. "get": {
  6294. "security": [
  6295. {
  6296. "ApiKeyAuth": []
  6297. }
  6298. ],
  6299. "produces": [
  6300. "application/json"
  6301. ],
  6302. "tags": [
  6303. "企业风险管理v8"
  6304. ],
  6305. "summary": "敞口明细 - 期货变动明细",
  6306. "parameters": [
  6307. {
  6308. "type": "integer",
  6309. "description": "用户ID",
  6310. "name": "userid",
  6311. "in": "query",
  6312. "required": true
  6313. },
  6314. {
  6315. "type": "integer",
  6316. "description": "套保品种ID",
  6317. "name": "middlegoodsid",
  6318. "in": "query",
  6319. "required": true
  6320. }
  6321. ],
  6322. "responses": {
  6323. "200": {
  6324. "description": "OK",
  6325. "schema": {
  6326. "type": "array",
  6327. "items": {
  6328. "$ref": "#/definitions/models.Patradelinkdetail"
  6329. }
  6330. }
  6331. },
  6332. "500": {
  6333. "description": "Internal Server Error",
  6334. "schema": {
  6335. "$ref": "#/definitions/app.Response"
  6336. }
  6337. }
  6338. }
  6339. }
  6340. },
  6341. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6342. "get": {
  6343. "security": [
  6344. {
  6345. "ApiKeyAuth": []
  6346. }
  6347. ],
  6348. "produces": [
  6349. "application/json"
  6350. ],
  6351. "tags": [
  6352. "企业风险管理v8"
  6353. ],
  6354. "summary": "未关联购销计划",
  6355. "parameters": [
  6356. {
  6357. "type": "integer",
  6358. "description": "企业ID",
  6359. "name": "areauserid",
  6360. "in": "query",
  6361. "required": true
  6362. },
  6363. {
  6364. "type": "integer",
  6365. "description": "计划类型 - 1:采购 -1:销售",
  6366. "name": "contracttype",
  6367. "in": "query"
  6368. },
  6369. {
  6370. "type": "string",
  6371. "description": "计划编号,模糊查询",
  6372. "name": "hedgeplanno",
  6373. "in": "query"
  6374. },
  6375. {
  6376. "type": "string",
  6377. "description": "现货商品,模糊查询",
  6378. "name": "wrstandardname",
  6379. "in": "query"
  6380. }
  6381. ],
  6382. "responses": {
  6383. "200": {
  6384. "description": "OK",
  6385. "schema": {
  6386. "type": "array",
  6387. "items": {
  6388. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6389. }
  6390. }
  6391. },
  6392. "500": {
  6393. "description": "Internal Server Error",
  6394. "schema": {
  6395. "$ref": "#/definitions/app.Response"
  6396. }
  6397. }
  6398. }
  6399. }
  6400. },
  6401. "/Ermcp8/QueryUnLinkSpotContract": {
  6402. "get": {
  6403. "security": [
  6404. {
  6405. "ApiKeyAuth": []
  6406. }
  6407. ],
  6408. "produces": [
  6409. "application/json"
  6410. ],
  6411. "tags": [
  6412. "企业风险管理v8"
  6413. ],
  6414. "summary": "未关联合同查询",
  6415. "parameters": [
  6416. {
  6417. "type": "integer",
  6418. "description": "用户ID",
  6419. "name": "userid",
  6420. "in": "query",
  6421. "required": true
  6422. },
  6423. {
  6424. "type": "integer",
  6425. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6426. "name": "pricetype",
  6427. "in": "query"
  6428. },
  6429. {
  6430. "type": "string",
  6431. "description": "合同编号, 模拟查询",
  6432. "name": "contractno",
  6433. "in": "query"
  6434. },
  6435. {
  6436. "type": "string",
  6437. "description": "对手方, 模拟查询",
  6438. "name": "customername",
  6439. "in": "query"
  6440. },
  6441. {
  6442. "type": "integer",
  6443. "description": "项合同类型 - 1:采购 -1:销售",
  6444. "name": "contracttype",
  6445. "in": "query"
  6446. }
  6447. ],
  6448. "responses": {
  6449. "200": {
  6450. "description": "OK",
  6451. "schema": {
  6452. "type": "array",
  6453. "items": {
  6454. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6455. }
  6456. }
  6457. },
  6458. "500": {
  6459. "description": "Internal Server Error",
  6460. "schema": {
  6461. "$ref": "#/definitions/app.Response"
  6462. }
  6463. }
  6464. }
  6465. }
  6466. },
  6467. "/Erms2/QueryArbitrageStrategy": {
  6468. "get": {
  6469. "security": [
  6470. {
  6471. "ApiKeyAuth": []
  6472. }
  6473. ],
  6474. "produces": [
  6475. "application/json"
  6476. ],
  6477. "tags": [
  6478. "风险管理"
  6479. ],
  6480. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6481. "parameters": [
  6482. {
  6483. "type": "integer",
  6484. "description": "账户ID",
  6485. "name": "userid",
  6486. "in": "query",
  6487. "required": true
  6488. },
  6489. {
  6490. "type": "string",
  6491. "description": "商品组ID(品种ID)",
  6492. "name": "goodsgroupid",
  6493. "in": "query"
  6494. }
  6495. ],
  6496. "responses": {
  6497. "200": {
  6498. "description": "OK",
  6499. "schema": {
  6500. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6501. }
  6502. },
  6503. "500": {
  6504. "description": "Internal Server Error",
  6505. "schema": {
  6506. "$ref": "#/definitions/app.Response"
  6507. }
  6508. }
  6509. }
  6510. }
  6511. },
  6512. "/Erms2/QueryInnerTradeDetail": {
  6513. "get": {
  6514. "security": [
  6515. {
  6516. "ApiKeyAuth": []
  6517. }
  6518. ],
  6519. "produces": [
  6520. "application/json"
  6521. ],
  6522. "tags": [
  6523. "风险管理"
  6524. ],
  6525. "summary": "查询内部成交单信息",
  6526. "parameters": [
  6527. {
  6528. "type": "integer",
  6529. "description": "资金账户",
  6530. "name": "accountid",
  6531. "in": "query",
  6532. "required": true
  6533. }
  6534. ],
  6535. "responses": {
  6536. "200": {
  6537. "description": "OK",
  6538. "schema": {
  6539. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6540. }
  6541. },
  6542. "500": {
  6543. "description": "Internal Server Error",
  6544. "schema": {
  6545. "$ref": "#/definitions/app.Response"
  6546. }
  6547. }
  6548. }
  6549. }
  6550. },
  6551. "/Erms2/QuerySpotContract": {
  6552. "get": {
  6553. "security": [
  6554. {
  6555. "ApiKeyAuth": []
  6556. }
  6557. ],
  6558. "produces": [
  6559. "application/json"
  6560. ],
  6561. "tags": [
  6562. "风险管理"
  6563. ],
  6564. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6565. "parameters": [
  6566. {
  6567. "type": "integer",
  6568. "description": "策略申请ID",
  6569. "name": "asapplyid",
  6570. "in": "query",
  6571. "required": true
  6572. },
  6573. {
  6574. "type": "integer",
  6575. "description": "现货合同ID",
  6576. "name": "spotcontractid",
  6577. "in": "query"
  6578. }
  6579. ],
  6580. "responses": {
  6581. "200": {
  6582. "description": "OK",
  6583. "schema": {
  6584. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6585. }
  6586. },
  6587. "500": {
  6588. "description": "Internal Server Error",
  6589. "schema": {
  6590. "$ref": "#/definitions/app.Response"
  6591. }
  6592. }
  6593. }
  6594. }
  6595. },
  6596. "/Erms3/AddErms2ASApply": {
  6597. "post": {
  6598. "security": [
  6599. {
  6600. "ApiKeyAuth": []
  6601. }
  6602. ],
  6603. "produces": [
  6604. "application/json"
  6605. ],
  6606. "tags": [
  6607. "风险管理v3"
  6608. ],
  6609. "summary": "新增期现套利业务申请",
  6610. "parameters": [
  6611. {
  6612. "description": "申请参数",
  6613. "name": "jsonBody",
  6614. "in": "body",
  6615. "required": true,
  6616. "schema": {
  6617. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6618. }
  6619. }
  6620. ],
  6621. "responses": {
  6622. "200": {
  6623. "description": "OK",
  6624. "schema": {
  6625. "$ref": "#/definitions/app.Response"
  6626. }
  6627. },
  6628. "500": {
  6629. "description": "Internal Server Error",
  6630. "schema": {
  6631. "$ref": "#/definitions/app.Response"
  6632. }
  6633. }
  6634. }
  6635. }
  6636. },
  6637. "/Erms3/AddErms2SpotTradeApply": {
  6638. "post": {
  6639. "security": [
  6640. {
  6641. "ApiKeyAuth": []
  6642. }
  6643. ],
  6644. "produces": [
  6645. "application/json"
  6646. ],
  6647. "tags": [
  6648. "风险管理v3"
  6649. ],
  6650. "summary": "新增现货贸易业务申请",
  6651. "parameters": [
  6652. {
  6653. "description": "申请参数",
  6654. "name": "jsonBody",
  6655. "in": "body",
  6656. "required": true,
  6657. "schema": {
  6658. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6659. }
  6660. }
  6661. ],
  6662. "responses": {
  6663. "200": {
  6664. "description": "OK",
  6665. "schema": {
  6666. "$ref": "#/definitions/app.Response"
  6667. }
  6668. },
  6669. "500": {
  6670. "description": "Internal Server Error",
  6671. "schema": {
  6672. "$ref": "#/definitions/app.Response"
  6673. }
  6674. }
  6675. }
  6676. }
  6677. },
  6678. "/Erms3/AddSpotContractApply": {
  6679. "post": {
  6680. "security": [
  6681. {
  6682. "ApiKeyAuth": []
  6683. }
  6684. ],
  6685. "produces": [
  6686. "application/json"
  6687. ],
  6688. "tags": [
  6689. "风险管理v3"
  6690. ],
  6691. "summary": "新增现货合同申请",
  6692. "parameters": [
  6693. {
  6694. "description": "申请参数",
  6695. "name": "jsonBody",
  6696. "in": "body",
  6697. "required": true,
  6698. "schema": {
  6699. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6700. }
  6701. }
  6702. ],
  6703. "responses": {
  6704. "200": {
  6705. "description": "OK",
  6706. "schema": {
  6707. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  6708. }
  6709. },
  6710. "500": {
  6711. "description": "Internal Server Error",
  6712. "schema": {
  6713. "$ref": "#/definitions/app.Response"
  6714. }
  6715. }
  6716. }
  6717. }
  6718. },
  6719. "/Erms3/AddUserInfoApply": {
  6720. "post": {
  6721. "security": [
  6722. {
  6723. "ApiKeyAuth": []
  6724. }
  6725. ],
  6726. "produces": [
  6727. "application/json"
  6728. ],
  6729. "tags": [
  6730. "风险管理v3"
  6731. ],
  6732. "summary": "新增客户申请",
  6733. "parameters": [
  6734. {
  6735. "description": "用户信息",
  6736. "name": "jsonBody",
  6737. "in": "body",
  6738. "required": true,
  6739. "schema": {
  6740. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  6741. }
  6742. }
  6743. ],
  6744. "responses": {
  6745. "200": {
  6746. "description": "OK",
  6747. "schema": {
  6748. "$ref": "#/definitions/app.Response"
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Erms3/DeleteUserInfoApply": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  6768. "produces": [
  6769. "application/json"
  6770. ],
  6771. "tags": [
  6772. "风险管理v3"
  6773. ],
  6774. "summary": "删除客户申请",
  6775. "parameters": [
  6776. {
  6777. "type": "integer",
  6778. "description": "用户ID",
  6779. "name": "userID",
  6780. "in": "query",
  6781. "required": true
  6782. }
  6783. ],
  6784. "responses": {
  6785. "200": {
  6786. "description": "OK",
  6787. "schema": {
  6788. "$ref": "#/definitions/app.Response"
  6789. }
  6790. },
  6791. "500": {
  6792. "description": "Internal Server Error",
  6793. "schema": {
  6794. "$ref": "#/definitions/app.Response"
  6795. }
  6796. }
  6797. }
  6798. }
  6799. },
  6800. "/Erms3/ModifyUserInfoApply": {
  6801. "post": {
  6802. "security": [
  6803. {
  6804. "ApiKeyAuth": []
  6805. }
  6806. ],
  6807. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  6808. "produces": [
  6809. "application/json"
  6810. ],
  6811. "tags": [
  6812. "风险管理v3"
  6813. ],
  6814. "summary": "修改客户申请",
  6815. "parameters": [
  6816. {
  6817. "description": "用户信息",
  6818. "name": "jsonBody",
  6819. "in": "body",
  6820. "required": true,
  6821. "schema": {
  6822. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  6823. }
  6824. }
  6825. ],
  6826. "responses": {
  6827. "200": {
  6828. "description": "OK",
  6829. "schema": {
  6830. "$ref": "#/definitions/app.Response"
  6831. }
  6832. },
  6833. "500": {
  6834. "description": "Internal Server Error",
  6835. "schema": {
  6836. "$ref": "#/definitions/app.Response"
  6837. }
  6838. }
  6839. }
  6840. }
  6841. },
  6842. "/Erms3/QueryBusinessInfo": {
  6843. "get": {
  6844. "security": [
  6845. {
  6846. "ApiKeyAuth": []
  6847. }
  6848. ],
  6849. "produces": [
  6850. "application/json"
  6851. ],
  6852. "tags": [
  6853. "风险管理v3"
  6854. ],
  6855. "summary": "查询业务表单数据",
  6856. "parameters": [
  6857. {
  6858. "type": "string",
  6859. "description": "资金账号ID列表,用逗号分隔",
  6860. "name": "accountids",
  6861. "in": "query",
  6862. "required": true
  6863. },
  6864. {
  6865. "type": "integer",
  6866. "description": "状态,0为未结束 1为已结束",
  6867. "name": "status",
  6868. "in": "query",
  6869. "required": true
  6870. }
  6871. ],
  6872. "responses": {
  6873. "200": {
  6874. "description": "OK",
  6875. "schema": {
  6876. "type": "array",
  6877. "items": {
  6878. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6879. }
  6880. }
  6881. },
  6882. "500": {
  6883. "description": "Internal Server Error",
  6884. "schema": {
  6885. "$ref": "#/definitions/app.Response"
  6886. }
  6887. }
  6888. }
  6889. }
  6890. },
  6891. "/Erms3/QueryPendingAuditContract": {
  6892. "get": {
  6893. "security": [
  6894. {
  6895. "ApiKeyAuth": []
  6896. }
  6897. ],
  6898. "produces": [
  6899. "application/json"
  6900. ],
  6901. "tags": [
  6902. "风险管理v3"
  6903. ],
  6904. "summary": "查询待审核合同",
  6905. "parameters": [
  6906. {
  6907. "type": "string",
  6908. "description": "资金账号ID列表,逗号隔开",
  6909. "name": "accountids",
  6910. "in": "query",
  6911. "required": true
  6912. },
  6913. {
  6914. "type": "integer",
  6915. "description": "合同类型 1-采购 -1-销售",
  6916. "name": "contracttype",
  6917. "in": "query",
  6918. "required": true
  6919. },
  6920. {
  6921. "type": "integer",
  6922. "description": "合同模式 1-普通 2-回购",
  6923. "name": "contractmode",
  6924. "in": "query",
  6925. "required": true
  6926. }
  6927. ],
  6928. "responses": {
  6929. "200": {
  6930. "description": "OK",
  6931. "schema": {
  6932. "type": "array",
  6933. "items": {
  6934. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6935. }
  6936. }
  6937. },
  6938. "500": {
  6939. "description": "Internal Server Error",
  6940. "schema": {
  6941. "$ref": "#/definitions/app.Response"
  6942. }
  6943. }
  6944. }
  6945. }
  6946. },
  6947. "/Erms3/QueryPendingBusiness": {
  6948. "get": {
  6949. "security": [
  6950. {
  6951. "ApiKeyAuth": []
  6952. }
  6953. ],
  6954. "produces": [
  6955. "application/json"
  6956. ],
  6957. "tags": [
  6958. "风险管理v3"
  6959. ],
  6960. "summary": "查询待审核基差贸易业务",
  6961. "parameters": [
  6962. {
  6963. "type": "string",
  6964. "description": "资金账号ID列表,逗号隔开",
  6965. "name": "accountids",
  6966. "in": "query",
  6967. "required": true
  6968. }
  6969. ],
  6970. "responses": {
  6971. "200": {
  6972. "description": "OK",
  6973. "schema": {
  6974. "type": "array",
  6975. "items": {
  6976. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6977. }
  6978. }
  6979. },
  6980. "500": {
  6981. "description": "Internal Server Error",
  6982. "schema": {
  6983. "$ref": "#/definitions/app.Response"
  6984. }
  6985. }
  6986. }
  6987. }
  6988. },
  6989. "/Erms3/QuerySpotContractAppleForm": {
  6990. "get": {
  6991. "security": [
  6992. {
  6993. "ApiKeyAuth": []
  6994. }
  6995. ],
  6996. "produces": [
  6997. "application/json"
  6998. ],
  6999. "tags": [
  7000. "风险管理v3"
  7001. ],
  7002. "summary": "查询合同申请表单数据",
  7003. "parameters": [
  7004. {
  7005. "type": "integer",
  7006. "description": "登录账号",
  7007. "name": "loginID",
  7008. "in": "query",
  7009. "required": true
  7010. }
  7011. ],
  7012. "responses": {
  7013. "200": {
  7014. "description": "OK",
  7015. "schema": {
  7016. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7017. }
  7018. },
  7019. "500": {
  7020. "description": "Internal Server Error",
  7021. "schema": {
  7022. "$ref": "#/definitions/app.Response"
  7023. }
  7024. }
  7025. }
  7026. }
  7027. },
  7028. "/Erms3/QuerySpotContractDetail": {
  7029. "get": {
  7030. "security": [
  7031. {
  7032. "ApiKeyAuth": []
  7033. }
  7034. ],
  7035. "produces": [
  7036. "application/json"
  7037. ],
  7038. "tags": [
  7039. "风险管理v3"
  7040. ],
  7041. "summary": "查询合同详细信息",
  7042. "parameters": [
  7043. {
  7044. "type": "string",
  7045. "description": "资金账号ID列表,用逗号分隔",
  7046. "name": "accountids",
  7047. "in": "query",
  7048. "required": true
  7049. },
  7050. {
  7051. "type": "integer",
  7052. "description": "合同类型,1为采购合同 -1为销售合同",
  7053. "name": "contracttype",
  7054. "in": "query",
  7055. "required": true
  7056. },
  7057. {
  7058. "type": "integer",
  7059. "description": "合同模式,1为普通合同 2为回购销售合同",
  7060. "name": "contractmode",
  7061. "in": "query",
  7062. "required": true
  7063. },
  7064. {
  7065. "type": "integer",
  7066. "description": "状态,0为履约中 1为已完成",
  7067. "name": "status",
  7068. "in": "query",
  7069. "required": true
  7070. }
  7071. ],
  7072. "responses": {
  7073. "200": {
  7074. "description": "OK",
  7075. "schema": {
  7076. "type": "array",
  7077. "items": {
  7078. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7079. }
  7080. }
  7081. },
  7082. "500": {
  7083. "description": "Internal Server Error",
  7084. "schema": {
  7085. "$ref": "#/definitions/app.Response"
  7086. }
  7087. }
  7088. }
  7089. }
  7090. },
  7091. "/Erms3/QueryUserInfoApplies": {
  7092. "get": {
  7093. "security": [
  7094. {
  7095. "ApiKeyAuth": []
  7096. }
  7097. ],
  7098. "produces": [
  7099. "application/json"
  7100. ],
  7101. "tags": [
  7102. "风险管理v3"
  7103. ],
  7104. "summary": "客户申请信息查询",
  7105. "parameters": [
  7106. {
  7107. "type": "integer",
  7108. "description": "页码",
  7109. "name": "page",
  7110. "in": "query"
  7111. },
  7112. {
  7113. "type": "integer",
  7114. "description": "每页条数",
  7115. "name": "pagesize",
  7116. "in": "query"
  7117. },
  7118. {
  7119. "type": "string",
  7120. "description": "客户名称,支持模糊查询",
  7121. "name": "userName",
  7122. "in": "query"
  7123. }
  7124. ],
  7125. "responses": {
  7126. "200": {
  7127. "description": "OK",
  7128. "schema": {
  7129. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7130. }
  7131. },
  7132. "500": {
  7133. "description": "Internal Server Error",
  7134. "schema": {
  7135. "$ref": "#/definitions/app.Response"
  7136. }
  7137. }
  7138. }
  7139. }
  7140. },
  7141. "/Erms3/QueryUserInfos": {
  7142. "get": {
  7143. "security": [
  7144. {
  7145. "ApiKeyAuth": []
  7146. }
  7147. ],
  7148. "produces": [
  7149. "application/json"
  7150. ],
  7151. "tags": [
  7152. "风险管理v3"
  7153. ],
  7154. "summary": "客户信息查询",
  7155. "parameters": [
  7156. {
  7157. "type": "integer",
  7158. "description": "页码",
  7159. "name": "page",
  7160. "in": "query"
  7161. },
  7162. {
  7163. "type": "integer",
  7164. "description": "每页条数",
  7165. "name": "pagesize",
  7166. "in": "query"
  7167. },
  7168. {
  7169. "type": "string",
  7170. "description": "客户名称,支持模糊查询",
  7171. "name": "userName",
  7172. "in": "query"
  7173. }
  7174. ],
  7175. "responses": {
  7176. "200": {
  7177. "description": "OK",
  7178. "schema": {
  7179. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7180. }
  7181. },
  7182. "500": {
  7183. "description": "Internal Server Error",
  7184. "schema": {
  7185. "$ref": "#/definitions/app.Response"
  7186. }
  7187. }
  7188. }
  7189. }
  7190. },
  7191. "/HSBY/GetHsbyMyCount": {
  7192. "get": {
  7193. "security": [
  7194. {
  7195. "ApiKeyAuth": []
  7196. }
  7197. ],
  7198. "description": "说明: 不包括已完成的数量。",
  7199. "produces": [
  7200. "application/json"
  7201. ],
  7202. "tags": [
  7203. "定制【海商报业】"
  7204. ],
  7205. "summary": "获取我的订单与包裹数量",
  7206. "parameters": [
  7207. {
  7208. "type": "string",
  7209. "description": "资金账户列表,格式:1,2,3",
  7210. "name": "accountIDs",
  7211. "in": "query",
  7212. "required": true
  7213. }
  7214. ],
  7215. "responses": {
  7216. "200": {
  7217. "description": "OK",
  7218. "schema": {
  7219. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  7220. }
  7221. },
  7222. "500": {
  7223. "description": "Internal Server Error",
  7224. "schema": {
  7225. "$ref": "#/definitions/app.Response"
  7226. }
  7227. }
  7228. }
  7229. }
  7230. },
  7231. "/HSBY/QueryClientFixedADConfigs": {
  7232. "get": {
  7233. "security": [
  7234. {
  7235. "ApiKeyAuth": []
  7236. }
  7237. ],
  7238. "produces": [
  7239. "application/json"
  7240. ],
  7241. "tags": [
  7242. "定制【海商报业】"
  7243. ],
  7244. "summary": "获取终端固定广告配置",
  7245. "responses": {
  7246. "200": {
  7247. "description": "OK",
  7248. "schema": {
  7249. "$ref": "#/definitions/models.Clientfixedadconfig"
  7250. }
  7251. },
  7252. "500": {
  7253. "description": "Internal Server Error",
  7254. "schema": {
  7255. "$ref": "#/definitions/app.Response"
  7256. }
  7257. }
  7258. }
  7259. }
  7260. },
  7261. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  7262. "get": {
  7263. "security": [
  7264. {
  7265. "ApiKeyAuth": []
  7266. }
  7267. ],
  7268. "produces": [
  7269. "application/json"
  7270. ],
  7271. "tags": [
  7272. "定制【海商报业】"
  7273. ],
  7274. "summary": "查询\"我的订单 - 已完成\"单据信息",
  7275. "parameters": [
  7276. {
  7277. "type": "integer",
  7278. "description": "页码",
  7279. "name": "page",
  7280. "in": "query"
  7281. },
  7282. {
  7283. "type": "integer",
  7284. "description": "每页条数",
  7285. "name": "pagesize",
  7286. "in": "query"
  7287. },
  7288. {
  7289. "type": "string",
  7290. "description": "资金账户列表,格式:1,2,3",
  7291. "name": "accountIDs",
  7292. "in": "query",
  7293. "required": true
  7294. }
  7295. ],
  7296. "responses": {
  7297. "200": {
  7298. "description": "OK",
  7299. "schema": {
  7300. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  7301. }
  7302. },
  7303. "500": {
  7304. "description": "Internal Server Error",
  7305. "schema": {
  7306. "$ref": "#/definitions/app.Response"
  7307. }
  7308. }
  7309. }
  7310. }
  7311. },
  7312. "/HSBY/QueryHsbyGoodsOrderDetails": {
  7313. "get": {
  7314. "security": [
  7315. {
  7316. "ApiKeyAuth": []
  7317. }
  7318. ],
  7319. "description": "说明:查询结果已按委托价格和委托时间排序",
  7320. "produces": [
  7321. "application/json"
  7322. ],
  7323. "tags": [
  7324. "定制【海商报业】"
  7325. ],
  7326. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  7327. "parameters": [
  7328. {
  7329. "type": "integer",
  7330. "description": "商品ID",
  7331. "name": "goodsID",
  7332. "in": "query",
  7333. "required": true
  7334. },
  7335. {
  7336. "type": "string",
  7337. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  7338. "name": "accountIDs",
  7339. "in": "query"
  7340. },
  7341. {
  7342. "type": "integer",
  7343. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  7344. "name": "buyOrSell",
  7345. "in": "query"
  7346. },
  7347. {
  7348. "type": "number",
  7349. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  7350. "name": "price",
  7351. "in": "query"
  7352. },
  7353. {
  7354. "type": "integer",
  7355. "description": "档位,不传则默认为3档",
  7356. "name": "speed",
  7357. "in": "query"
  7358. }
  7359. ],
  7360. "responses": {
  7361. "200": {
  7362. "description": "OK",
  7363. "schema": {
  7364. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  7365. }
  7366. },
  7367. "500": {
  7368. "description": "Internal Server Error",
  7369. "schema": {
  7370. "$ref": "#/definitions/app.Response"
  7371. }
  7372. }
  7373. }
  7374. }
  7375. },
  7376. "/HSBY/QueryHsbyListingGoodsDetail": {
  7377. "get": {
  7378. "security": [
  7379. {
  7380. "ApiKeyAuth": []
  7381. }
  7382. ],
  7383. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  7384. "produces": [
  7385. "application/json"
  7386. ],
  7387. "tags": [
  7388. "定制【海商报业】"
  7389. ],
  7390. "summary": "查询二级市场(挂牌点选)商品信息详情",
  7391. "parameters": [
  7392. {
  7393. "type": "integer",
  7394. "description": "商品ID",
  7395. "name": "goodsID",
  7396. "in": "query",
  7397. "required": true
  7398. },
  7399. {
  7400. "type": "integer",
  7401. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  7402. "name": "accountID",
  7403. "in": "query"
  7404. }
  7405. ],
  7406. "responses": {
  7407. "200": {
  7408. "description": "OK",
  7409. "schema": {
  7410. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  7411. }
  7412. },
  7413. "500": {
  7414. "description": "Internal Server Error",
  7415. "schema": {
  7416. "$ref": "#/definitions/app.Response"
  7417. }
  7418. }
  7419. }
  7420. }
  7421. },
  7422. "/HSBY/QueryHsbyMarketGoodsDetail": {
  7423. "get": {
  7424. "security": [
  7425. {
  7426. "ApiKeyAuth": []
  7427. }
  7428. ],
  7429. "produces": [
  7430. "application/json"
  7431. ],
  7432. "tags": [
  7433. "定制【海商报业】"
  7434. ],
  7435. "summary": "查询三级市场(商城)商品信息详情",
  7436. "parameters": [
  7437. {
  7438. "type": "integer",
  7439. "description": "委托单号",
  7440. "name": "orderID",
  7441. "in": "query",
  7442. "required": true
  7443. },
  7444. {
  7445. "type": "integer",
  7446. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  7447. "name": "accountID",
  7448. "in": "query"
  7449. }
  7450. ],
  7451. "responses": {
  7452. "200": {
  7453. "description": "OK",
  7454. "schema": {
  7455. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7456. }
  7457. },
  7458. "500": {
  7459. "description": "Internal Server Error",
  7460. "schema": {
  7461. "$ref": "#/definitions/app.Response"
  7462. }
  7463. }
  7464. }
  7465. }
  7466. },
  7467. "/HSBY/QueryHsbyMarketGoodses": {
  7468. "get": {
  7469. "security": [
  7470. {
  7471. "ApiKeyAuth": []
  7472. }
  7473. ],
  7474. "produces": [
  7475. "application/json"
  7476. ],
  7477. "tags": [
  7478. "定制【海商报业】"
  7479. ],
  7480. "summary": "查询特卖商品列表(三级商城)",
  7481. "parameters": [
  7482. {
  7483. "type": "integer",
  7484. "description": "页码",
  7485. "name": "page",
  7486. "in": "query"
  7487. },
  7488. {
  7489. "type": "integer",
  7490. "description": "每页条数",
  7491. "name": "pagesize",
  7492. "in": "query"
  7493. },
  7494. {
  7495. "type": "string",
  7496. "description": "市场ID列表,格式:1,2,3",
  7497. "name": "marketIDs",
  7498. "in": "query",
  7499. "required": true
  7500. },
  7501. {
  7502. "type": "integer",
  7503. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  7504. "name": "accountID",
  7505. "in": "query",
  7506. "required": true
  7507. },
  7508. {
  7509. "type": "integer",
  7510. "description": "类别ID",
  7511. "name": "categoryID",
  7512. "in": "query"
  7513. },
  7514. {
  7515. "type": "string",
  7516. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7517. "name": "goodsIDs",
  7518. "in": "query"
  7519. },
  7520. {
  7521. "type": "integer",
  7522. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  7523. "name": "couponTypeID",
  7524. "in": "query"
  7525. }
  7526. ],
  7527. "responses": {
  7528. "200": {
  7529. "description": "OK",
  7530. "schema": {
  7531. "$ref": "#/definitions/models.HsbyMarketGoods"
  7532. }
  7533. },
  7534. "500": {
  7535. "description": "Internal Server Error",
  7536. "schema": {
  7537. "$ref": "#/definitions/app.Response"
  7538. }
  7539. }
  7540. }
  7541. }
  7542. },
  7543. "/HSBY/QueryHsbyMarkets": {
  7544. "get": {
  7545. "security": [
  7546. {
  7547. "ApiKeyAuth": []
  7548. }
  7549. ],
  7550. "produces": [
  7551. "application/json"
  7552. ],
  7553. "tags": [
  7554. "定制【海商报业】"
  7555. ],
  7556. "summary": "查询海商报业相关市场信息",
  7557. "responses": {
  7558. "200": {
  7559. "description": "OK",
  7560. "schema": {
  7561. "$ref": "#/definitions/models.HsbyMarketInfo"
  7562. }
  7563. },
  7564. "500": {
  7565. "description": "Internal Server Error",
  7566. "schema": {
  7567. "$ref": "#/definitions/app.Response"
  7568. }
  7569. }
  7570. }
  7571. }
  7572. },
  7573. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  7574. "get": {
  7575. "security": [
  7576. {
  7577. "ApiKeyAuth": []
  7578. }
  7579. ],
  7580. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  7581. "produces": [
  7582. "application/json"
  7583. ],
  7584. "tags": [
  7585. "定制【海商报业】"
  7586. ],
  7587. "summary": "查询“我的订单”信息",
  7588. "parameters": [
  7589. {
  7590. "type": "string",
  7591. "description": "资金账户列表,格式:1,2,3",
  7592. "name": "accountIDs",
  7593. "in": "query",
  7594. "required": true
  7595. }
  7596. ],
  7597. "responses": {
  7598. "200": {
  7599. "description": "OK",
  7600. "schema": {
  7601. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  7602. }
  7603. },
  7604. "500": {
  7605. "description": "Internal Server Error",
  7606. "schema": {
  7607. "$ref": "#/definitions/app.Response"
  7608. }
  7609. }
  7610. }
  7611. }
  7612. },
  7613. "/HSBY/QueryHsbyMyGoods": {
  7614. "get": {
  7615. "security": [
  7616. {
  7617. "ApiKeyAuth": []
  7618. }
  7619. ],
  7620. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  7621. "produces": [
  7622. "application/json"
  7623. ],
  7624. "tags": [
  7625. "定制【海商报业】"
  7626. ],
  7627. "summary": "查询“我的商品”信息",
  7628. "parameters": [
  7629. {
  7630. "type": "string",
  7631. "description": "资金账户列表,格式:1,2,3",
  7632. "name": "accountIDs",
  7633. "in": "query",
  7634. "required": true
  7635. }
  7636. ],
  7637. "responses": {
  7638. "200": {
  7639. "description": "OK",
  7640. "schema": {
  7641. "$ref": "#/definitions/models.HsbyMyGoods"
  7642. }
  7643. },
  7644. "500": {
  7645. "description": "Internal Server Error",
  7646. "schema": {
  7647. "$ref": "#/definitions/app.Response"
  7648. }
  7649. }
  7650. }
  7651. }
  7652. },
  7653. "/HSBY/QueryHsbyMyPackages": {
  7654. "get": {
  7655. "security": [
  7656. {
  7657. "ApiKeyAuth": []
  7658. }
  7659. ],
  7660. "produces": [
  7661. "application/json"
  7662. ],
  7663. "tags": [
  7664. "定制【海商报业】"
  7665. ],
  7666. "summary": "查询我的包裹信息",
  7667. "parameters": [
  7668. {
  7669. "type": "string",
  7670. "description": "资金账户列表,格式:1,2,3",
  7671. "name": "accountIDs",
  7672. "in": "query",
  7673. "required": true
  7674. },
  7675. {
  7676. "type": "integer",
  7677. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7678. "name": "takeOrderStatus",
  7679. "in": "query"
  7680. }
  7681. ],
  7682. "responses": {
  7683. "200": {
  7684. "description": "OK",
  7685. "schema": {
  7686. "$ref": "#/definitions/models.HsbyMyPackage"
  7687. }
  7688. },
  7689. "500": {
  7690. "description": "Internal Server Error",
  7691. "schema": {
  7692. "$ref": "#/definitions/app.Response"
  7693. }
  7694. }
  7695. }
  7696. }
  7697. },
  7698. "/HSBY/QueryHsbyPreGoodsDetail": {
  7699. "get": {
  7700. "security": [
  7701. {
  7702. "ApiKeyAuth": []
  7703. }
  7704. ],
  7705. "produces": [
  7706. "application/json"
  7707. ],
  7708. "tags": [
  7709. "定制【海商报业】"
  7710. ],
  7711. "summary": "查询一级市场(预售)商品信息详情",
  7712. "parameters": [
  7713. {
  7714. "type": "integer",
  7715. "description": "商品ID",
  7716. "name": "goodsID",
  7717. "in": "query",
  7718. "required": true
  7719. },
  7720. {
  7721. "type": "integer",
  7722. "description": "资金账户,主要用于获取预售商品购买上限",
  7723. "name": "accountID",
  7724. "in": "query"
  7725. }
  7726. ],
  7727. "responses": {
  7728. "200": {
  7729. "description": "OK",
  7730. "schema": {
  7731. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  7732. }
  7733. },
  7734. "500": {
  7735. "description": "Internal Server Error",
  7736. "schema": {
  7737. "$ref": "#/definitions/app.Response"
  7738. }
  7739. }
  7740. }
  7741. }
  7742. },
  7743. "/HSBY/QueryHsbyPreGoodses": {
  7744. "get": {
  7745. "security": [
  7746. {
  7747. "ApiKeyAuth": []
  7748. }
  7749. ],
  7750. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  7751. "produces": [
  7752. "application/json"
  7753. ],
  7754. "tags": [
  7755. "定制【海商报业】"
  7756. ],
  7757. "summary": "查询新品上市商品列表(一级市场预售)",
  7758. "parameters": [
  7759. {
  7760. "type": "integer",
  7761. "description": "页码",
  7762. "name": "page",
  7763. "in": "query"
  7764. },
  7765. {
  7766. "type": "integer",
  7767. "description": "每页条数",
  7768. "name": "pagesize",
  7769. "in": "query"
  7770. },
  7771. {
  7772. "type": "string",
  7773. "description": "市场ID列表,格式:1,2,3",
  7774. "name": "marketIDs",
  7775. "in": "query",
  7776. "required": true
  7777. },
  7778. {
  7779. "type": "integer",
  7780. "description": "目的地(省)ID",
  7781. "name": "descProvinceID",
  7782. "in": "query"
  7783. },
  7784. {
  7785. "type": "integer",
  7786. "description": "目的地(市)ID",
  7787. "name": "descCityID",
  7788. "in": "query"
  7789. }
  7790. ],
  7791. "responses": {
  7792. "200": {
  7793. "description": "OK",
  7794. "schema": {
  7795. "$ref": "#/definitions/models.HsbyPreGoods"
  7796. }
  7797. },
  7798. "500": {
  7799. "description": "Internal Server Error",
  7800. "schema": {
  7801. "$ref": "#/definitions/app.Response"
  7802. }
  7803. }
  7804. }
  7805. }
  7806. },
  7807. "/HSBY/QueryHsbySellMyDetails": {
  7808. "get": {
  7809. "security": [
  7810. {
  7811. "ApiKeyAuth": []
  7812. }
  7813. ],
  7814. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  7815. "produces": [
  7816. "application/json"
  7817. ],
  7818. "tags": [
  7819. "定制【海商报业】"
  7820. ],
  7821. "summary": "查询\"我的闲置\"单据信息",
  7822. "parameters": [
  7823. {
  7824. "type": "integer",
  7825. "description": "页码",
  7826. "name": "page",
  7827. "in": "query"
  7828. },
  7829. {
  7830. "type": "integer",
  7831. "description": "每页条数",
  7832. "name": "pagesize",
  7833. "in": "query"
  7834. },
  7835. {
  7836. "type": "string",
  7837. "description": "资金账户列表,格式:1,2,3",
  7838. "name": "accountIDs",
  7839. "in": "query",
  7840. "required": true
  7841. },
  7842. {
  7843. "type": "integer",
  7844. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7845. "name": "orderType",
  7846. "in": "query"
  7847. }
  7848. ],
  7849. "responses": {
  7850. "200": {
  7851. "description": "OK",
  7852. "schema": {
  7853. "$ref": "#/definitions/models.HsbySellMyDetail"
  7854. }
  7855. },
  7856. "500": {
  7857. "description": "Internal Server Error",
  7858. "schema": {
  7859. "$ref": "#/definitions/app.Response"
  7860. }
  7861. }
  7862. }
  7863. }
  7864. },
  7865. "/HSBY/QueryHsbyTopGoodses": {
  7866. "get": {
  7867. "security": [
  7868. {
  7869. "ApiKeyAuth": []
  7870. }
  7871. ],
  7872. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7873. "produces": [
  7874. "application/json"
  7875. ],
  7876. "tags": [
  7877. "定制【海商报业】"
  7878. ],
  7879. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7880. "parameters": [
  7881. {
  7882. "type": "integer",
  7883. "description": "页码",
  7884. "name": "page",
  7885. "in": "query"
  7886. },
  7887. {
  7888. "type": "integer",
  7889. "description": "每页条数",
  7890. "name": "pagesize",
  7891. "in": "query"
  7892. },
  7893. {
  7894. "type": "string",
  7895. "description": "市场ID列表,格式:1,2,3",
  7896. "name": "marketIDs",
  7897. "in": "query",
  7898. "required": true
  7899. },
  7900. {
  7901. "type": "integer",
  7902. "description": "目的地(省)ID",
  7903. "name": "descProvinceID",
  7904. "in": "query"
  7905. },
  7906. {
  7907. "type": "integer",
  7908. "description": "目的地(市)ID",
  7909. "name": "descCityID",
  7910. "in": "query"
  7911. }
  7912. ],
  7913. "responses": {
  7914. "200": {
  7915. "description": "OK",
  7916. "schema": {
  7917. "$ref": "#/definitions/models.HsbyTopGoods"
  7918. }
  7919. },
  7920. "500": {
  7921. "description": "Internal Server Error",
  7922. "schema": {
  7923. "$ref": "#/definitions/app.Response"
  7924. }
  7925. }
  7926. }
  7927. }
  7928. },
  7929. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7930. "get": {
  7931. "security": [
  7932. {
  7933. "ApiKeyAuth": []
  7934. }
  7935. ],
  7936. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7937. "produces": [
  7938. "application/json"
  7939. ],
  7940. "tags": [
  7941. "定制【海商报业】"
  7942. ],
  7943. "summary": "查询游客三级市场(商城)商品信息详情",
  7944. "parameters": [
  7945. {
  7946. "type": "integer",
  7947. "description": "商品ID",
  7948. "name": "goodsID",
  7949. "in": "query",
  7950. "required": true
  7951. }
  7952. ],
  7953. "responses": {
  7954. "200": {
  7955. "description": "OK",
  7956. "schema": {
  7957. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7958. }
  7959. },
  7960. "500": {
  7961. "description": "Internal Server Error",
  7962. "schema": {
  7963. "$ref": "#/definitions/app.Response"
  7964. }
  7965. }
  7966. }
  7967. }
  7968. },
  7969. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7970. "get": {
  7971. "security": [
  7972. {
  7973. "ApiKeyAuth": []
  7974. }
  7975. ],
  7976. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7977. "produces": [
  7978. "application/json"
  7979. ],
  7980. "tags": [
  7981. "定制【海商报业】"
  7982. ],
  7983. "summary": "查询游客特卖商品列表(三级商城)",
  7984. "parameters": [
  7985. {
  7986. "type": "integer",
  7987. "description": "页码",
  7988. "name": "page",
  7989. "in": "query"
  7990. },
  7991. {
  7992. "type": "integer",
  7993. "description": "每页条数",
  7994. "name": "pagesize",
  7995. "in": "query"
  7996. },
  7997. {
  7998. "type": "string",
  7999. "description": "市场ID列表,格式:1,2,3",
  8000. "name": "marketIDs",
  8001. "in": "query",
  8002. "required": true
  8003. },
  8004. {
  8005. "type": "integer",
  8006. "description": "类别ID",
  8007. "name": "categoryID",
  8008. "in": "query"
  8009. },
  8010. {
  8011. "type": "string",
  8012. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  8013. "name": "goodsIDs",
  8014. "in": "query"
  8015. }
  8016. ],
  8017. "responses": {
  8018. "200": {
  8019. "description": "OK",
  8020. "schema": {
  8021. "$ref": "#/definitions/models.HsbyMarketGoods"
  8022. }
  8023. },
  8024. "500": {
  8025. "description": "Internal Server Error",
  8026. "schema": {
  8027. "$ref": "#/definitions/app.Response"
  8028. }
  8029. }
  8030. }
  8031. }
  8032. },
  8033. "/HSBY/QueryMyCollectionOrders": {
  8034. "get": {
  8035. "security": [
  8036. {
  8037. "ApiKeyAuth": []
  8038. }
  8039. ],
  8040. "produces": [
  8041. "application/json"
  8042. ],
  8043. "tags": [
  8044. "定制【海商报业】"
  8045. ],
  8046. "summary": "我的闲置中收款信息查询",
  8047. "parameters": [
  8048. {
  8049. "type": "integer",
  8050. "description": "页码",
  8051. "name": "page",
  8052. "in": "query"
  8053. },
  8054. {
  8055. "type": "integer",
  8056. "description": "每页条数",
  8057. "name": "pagesize",
  8058. "in": "query"
  8059. },
  8060. {
  8061. "type": "string",
  8062. "description": "资金账户,格式:1,2,3",
  8063. "name": "accountIDs",
  8064. "in": "query",
  8065. "required": true
  8066. }
  8067. ],
  8068. "responses": {
  8069. "200": {
  8070. "description": "OK",
  8071. "schema": {
  8072. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  8073. }
  8074. },
  8075. "500": {
  8076. "description": "Internal Server Error",
  8077. "schema": {
  8078. "$ref": "#/definitions/app.Response"
  8079. }
  8080. }
  8081. }
  8082. }
  8083. },
  8084. "/HSBY/QueryMyCouponHolds": {
  8085. "get": {
  8086. "security": [
  8087. {
  8088. "ApiKeyAuth": []
  8089. }
  8090. ],
  8091. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  8092. "produces": [
  8093. "application/json"
  8094. ],
  8095. "tags": [
  8096. "定制【海商报业】"
  8097. ],
  8098. "summary": "我的优惠卷持仓查询",
  8099. "parameters": [
  8100. {
  8101. "type": "string",
  8102. "description": "资金账户列表,格式:1,2,3",
  8103. "name": "accountIDs",
  8104. "in": "query",
  8105. "required": true
  8106. },
  8107. {
  8108. "type": "string",
  8109. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  8110. "name": "holdStatus",
  8111. "in": "query"
  8112. }
  8113. ],
  8114. "responses": {
  8115. "200": {
  8116. "description": "OK",
  8117. "schema": {
  8118. "$ref": "#/definitions/models.MyCouponHold"
  8119. }
  8120. },
  8121. "500": {
  8122. "description": "Internal Server Error",
  8123. "schema": {
  8124. "$ref": "#/definitions/app.Response"
  8125. }
  8126. }
  8127. }
  8128. }
  8129. },
  8130. "/HSBY/QueryMyCoupons": {
  8131. "get": {
  8132. "security": [
  8133. {
  8134. "ApiKeyAuth": []
  8135. }
  8136. ],
  8137. "produces": [
  8138. "application/json"
  8139. ],
  8140. "tags": [
  8141. "定制【海商报业】"
  8142. ],
  8143. "summary": "我的优惠卷查询",
  8144. "parameters": [
  8145. {
  8146. "type": "string",
  8147. "description": "资金账户列表,格式:1,2,3",
  8148. "name": "accountIDs",
  8149. "in": "query",
  8150. "required": true
  8151. },
  8152. {
  8153. "type": "integer",
  8154. "description": "商品ID, 一般与sellUserID配套传入",
  8155. "name": "goodsID",
  8156. "in": "query"
  8157. },
  8158. {
  8159. "type": "integer",
  8160. "description": "卖方UserID",
  8161. "name": "sellUserID",
  8162. "in": "query"
  8163. }
  8164. ],
  8165. "responses": {
  8166. "200": {
  8167. "description": "OK",
  8168. "schema": {
  8169. "$ref": "#/definitions/models.MyCoupon"
  8170. }
  8171. },
  8172. "500": {
  8173. "description": "Internal Server Error",
  8174. "schema": {
  8175. "$ref": "#/definitions/app.Response"
  8176. }
  8177. }
  8178. }
  8179. }
  8180. },
  8181. "/HSBY/QueryMyPayOrders": {
  8182. "get": {
  8183. "security": [
  8184. {
  8185. "ApiKeyAuth": []
  8186. }
  8187. ],
  8188. "produces": [
  8189. "application/json"
  8190. ],
  8191. "tags": [
  8192. "定制【海商报业】"
  8193. ],
  8194. "summary": "获取我的订单中待付款信息",
  8195. "parameters": [
  8196. {
  8197. "type": "integer",
  8198. "description": "页码",
  8199. "name": "page",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "integer",
  8204. "description": "每页条数",
  8205. "name": "pagesize",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "string",
  8210. "description": "资金账户列表,格式:1,2,3",
  8211. "name": "accountIDs",
  8212. "in": "query",
  8213. "required": true
  8214. },
  8215. {
  8216. "type": "integer",
  8217. "description": "买方委托单号",
  8218. "name": "buyOrderID",
  8219. "in": "query"
  8220. },
  8221. {
  8222. "type": "integer",
  8223. "description": "卖方委托单号",
  8224. "name": "sellOrderID",
  8225. "in": "query"
  8226. }
  8227. ],
  8228. "responses": {
  8229. "200": {
  8230. "description": "OK",
  8231. "schema": {
  8232. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  8233. }
  8234. },
  8235. "500": {
  8236. "description": "Internal Server Error",
  8237. "schema": {
  8238. "$ref": "#/definitions/app.Response"
  8239. }
  8240. }
  8241. }
  8242. }
  8243. },
  8244. "/HSBY/QueryMyUsedCoupon": {
  8245. "get": {
  8246. "security": [
  8247. {
  8248. "ApiKeyAuth": []
  8249. }
  8250. ],
  8251. "produces": [
  8252. "application/json"
  8253. ],
  8254. "tags": [
  8255. "定制【海商报业】"
  8256. ],
  8257. "summary": "已使用优惠卷查询",
  8258. "parameters": [
  8259. {
  8260. "type": "string",
  8261. "description": "资金账户列表,格式:1,2,3",
  8262. "name": "accountIDs",
  8263. "in": "query",
  8264. "required": true
  8265. }
  8266. ],
  8267. "responses": {
  8268. "200": {
  8269. "description": "OK",
  8270. "schema": {
  8271. "$ref": "#/definitions/models.MyUsedCoupon"
  8272. }
  8273. },
  8274. "500": {
  8275. "description": "Internal Server Error",
  8276. "schema": {
  8277. "$ref": "#/definitions/app.Response"
  8278. }
  8279. }
  8280. }
  8281. }
  8282. },
  8283. "/HSBY/QueryProvincesAndCities": {
  8284. "get": {
  8285. "security": [
  8286. {
  8287. "ApiKeyAuth": []
  8288. }
  8289. ],
  8290. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  8291. "produces": [
  8292. "application/json"
  8293. ],
  8294. "tags": [
  8295. "定制【海商报业】"
  8296. ],
  8297. "summary": "查询省市信息(不包括区)",
  8298. "parameters": [
  8299. {
  8300. "type": "integer",
  8301. "description": "省ID",
  8302. "name": "provinceID",
  8303. "in": "query"
  8304. }
  8305. ],
  8306. "responses": {
  8307. "200": {
  8308. "description": "OK",
  8309. "schema": {
  8310. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  8311. }
  8312. },
  8313. "500": {
  8314. "description": "Internal Server Error",
  8315. "schema": {
  8316. "$ref": "#/definitions/app.Response"
  8317. }
  8318. }
  8319. }
  8320. }
  8321. },
  8322. "/HSBY/SetHsbyMyPackagesStatus": {
  8323. "post": {
  8324. "security": [
  8325. {
  8326. "ApiKeyAuth": []
  8327. }
  8328. ],
  8329. "produces": [
  8330. "application/json"
  8331. ],
  8332. "tags": [
  8333. "定制【海商报业】"
  8334. ],
  8335. "summary": "设置我的包裹已收货状态",
  8336. "parameters": [
  8337. {
  8338. "type": "string",
  8339. "description": "提货单号",
  8340. "name": "takeOrderID",
  8341. "in": "query",
  8342. "required": true
  8343. },
  8344. {
  8345. "type": "integer",
  8346. "description": "资金账号",
  8347. "name": "accountID",
  8348. "in": "query",
  8349. "required": true
  8350. }
  8351. ],
  8352. "responses": {
  8353. "200": {
  8354. "description": "OK",
  8355. "schema": {
  8356. "$ref": "#/definitions/app.Response"
  8357. }
  8358. },
  8359. "500": {
  8360. "description": "Internal Server Error",
  8361. "schema": {
  8362. "$ref": "#/definitions/app.Response"
  8363. }
  8364. }
  8365. }
  8366. }
  8367. },
  8368. "/Market/GetAllExExchanges": {
  8369. "get": {
  8370. "security": [
  8371. {
  8372. "ApiKeyAuth": []
  8373. }
  8374. ],
  8375. "produces": [
  8376. "application/json"
  8377. ],
  8378. "tags": [
  8379. "通用市场"
  8380. ],
  8381. "summary": "获取所有外部交易所信息",
  8382. "responses": {
  8383. "200": {
  8384. "description": "OK",
  8385. "schema": {
  8386. "$ref": "#/definitions/models.Goods"
  8387. }
  8388. },
  8389. "500": {
  8390. "description": "Internal Server Error",
  8391. "schema": {
  8392. "$ref": "#/definitions/app.Response"
  8393. }
  8394. }
  8395. }
  8396. }
  8397. },
  8398. "/Market/QueryGoodsesByLoginID": {
  8399. "get": {
  8400. "security": [
  8401. {
  8402. "ApiKeyAuth": []
  8403. }
  8404. ],
  8405. "produces": [
  8406. "application/json"
  8407. ],
  8408. "tags": [
  8409. "通用市场"
  8410. ],
  8411. "summary": "获取登录账号有权限的商品信息",
  8412. "parameters": [
  8413. {
  8414. "type": "integer",
  8415. "description": "登录账号",
  8416. "name": "loginID",
  8417. "in": "query",
  8418. "required": true
  8419. },
  8420. {
  8421. "type": "string",
  8422. "description": "市场ID列表,格式:1,2,3",
  8423. "name": "marketIDs",
  8424. "in": "query"
  8425. }
  8426. ],
  8427. "responses": {
  8428. "200": {
  8429. "description": "OK",
  8430. "schema": {
  8431. "$ref": "#/definitions/models.Goods"
  8432. }
  8433. },
  8434. "500": {
  8435. "description": "Internal Server Error",
  8436. "schema": {
  8437. "$ref": "#/definitions/app.Response"
  8438. }
  8439. }
  8440. }
  8441. }
  8442. },
  8443. "/Market/QueryMarketRun": {
  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": "marketID",
  8462. "in": "query"
  8463. }
  8464. ],
  8465. "responses": {
  8466. "200": {
  8467. "description": "OK",
  8468. "schema": {
  8469. "$ref": "#/definitions/models.Marketrun"
  8470. }
  8471. },
  8472. "500": {
  8473. "description": "Internal Server Error",
  8474. "schema": {
  8475. "$ref": "#/definitions/app.Response"
  8476. }
  8477. }
  8478. }
  8479. }
  8480. },
  8481. "/Market/QueryMarketsByLoginID": {
  8482. "get": {
  8483. "security": [
  8484. {
  8485. "ApiKeyAuth": []
  8486. }
  8487. ],
  8488. "produces": [
  8489. "application/json"
  8490. ],
  8491. "tags": [
  8492. "通用市场"
  8493. ],
  8494. "summary": "获取登录账号有权限的市场信息",
  8495. "parameters": [
  8496. {
  8497. "type": "integer",
  8498. "description": "登录账号",
  8499. "name": "loginID",
  8500. "in": "query",
  8501. "required": true
  8502. }
  8503. ],
  8504. "responses": {
  8505. "200": {
  8506. "description": "OK",
  8507. "schema": {
  8508. "$ref": "#/definitions/models.Market"
  8509. }
  8510. },
  8511. "500": {
  8512. "description": "Internal Server Error",
  8513. "schema": {
  8514. "$ref": "#/definitions/app.Response"
  8515. }
  8516. }
  8517. }
  8518. }
  8519. },
  8520. "/Order/QueryHisTradeDetail": {
  8521. "get": {
  8522. "security": [
  8523. {
  8524. "ApiKeyAuth": []
  8525. }
  8526. ],
  8527. "produces": [
  8528. "application/json"
  8529. ],
  8530. "tags": [
  8531. "通用单据"
  8532. ],
  8533. "summary": "历史成交单查询(合约市场)",
  8534. "parameters": [
  8535. {
  8536. "type": "string",
  8537. "description": "资金账户 - 格式:1,2,3",
  8538. "name": "accountID",
  8539. "in": "query",
  8540. "required": true
  8541. },
  8542. {
  8543. "type": "integer",
  8544. "description": "成交单号",
  8545. "name": "tradeID",
  8546. "in": "query"
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "委托单号",
  8551. "name": "orderID",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "integer",
  8556. "description": "商品ID",
  8557. "name": "goodsID",
  8558. "in": "query"
  8559. },
  8560. {
  8561. "type": "string",
  8562. "description": "交易模式 - 格式:1,2,3",
  8563. "name": "tradeMode",
  8564. "in": "query"
  8565. },
  8566. {
  8567. "type": "integer",
  8568. "description": "委托单据类型",
  8569. "name": "buildType",
  8570. "in": "query"
  8571. },
  8572. {
  8573. "type": "string",
  8574. "description": "成交类别 - 格式:1,2,3",
  8575. "name": "tradeType",
  8576. "in": "query"
  8577. },
  8578. {
  8579. "type": "string",
  8580. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8581. "name": "startDate",
  8582. "in": "query"
  8583. },
  8584. {
  8585. "type": "string",
  8586. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8587. "name": "endDate",
  8588. "in": "query"
  8589. }
  8590. ],
  8591. "responses": {
  8592. "200": {
  8593. "description": "OK",
  8594. "schema": {
  8595. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8596. }
  8597. },
  8598. "500": {
  8599. "description": "Internal Server Error",
  8600. "schema": {
  8601. "$ref": "#/definitions/app.Response"
  8602. }
  8603. }
  8604. }
  8605. }
  8606. },
  8607. "/Order/QueryHisTradeOrderDetail": {
  8608. "get": {
  8609. "security": [
  8610. {
  8611. "ApiKeyAuth": []
  8612. }
  8613. ],
  8614. "produces": [
  8615. "application/json"
  8616. ],
  8617. "tags": [
  8618. "通用单据"
  8619. ],
  8620. "summary": "历史委托单查询请求(合约市场)",
  8621. "parameters": [
  8622. {
  8623. "type": "string",
  8624. "description": "资金账户 - 格式:1,2,3",
  8625. "name": "accountID",
  8626. "in": "query",
  8627. "required": true
  8628. },
  8629. {
  8630. "type": "string",
  8631. "description": "交易模式 - 格式:1,2,3",
  8632. "name": "tradeMode",
  8633. "in": "query"
  8634. },
  8635. {
  8636. "type": "string",
  8637. "description": "委托状态 - 格式:1,2,3",
  8638. "name": "orderStatus",
  8639. "in": "query"
  8640. },
  8641. {
  8642. "type": "integer",
  8643. "description": "委托单号",
  8644. "name": "orderID",
  8645. "in": "query"
  8646. },
  8647. {
  8648. "type": "string",
  8649. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8650. "name": "startDate",
  8651. "in": "query"
  8652. },
  8653. {
  8654. "type": "string",
  8655. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8656. "name": "endDate",
  8657. "in": "query"
  8658. }
  8659. ],
  8660. "responses": {
  8661. "200": {
  8662. "description": "OK",
  8663. "schema": {
  8664. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8665. }
  8666. },
  8667. "500": {
  8668. "description": "Internal Server Error",
  8669. "schema": {
  8670. "$ref": "#/definitions/app.Response"
  8671. }
  8672. }
  8673. }
  8674. }
  8675. },
  8676. "/Order/QueryTradeDetail": {
  8677. "get": {
  8678. "security": [
  8679. {
  8680. "ApiKeyAuth": []
  8681. }
  8682. ],
  8683. "produces": [
  8684. "application/json"
  8685. ],
  8686. "tags": [
  8687. "通用单据"
  8688. ],
  8689. "summary": "成交单查询(合约市场)",
  8690. "parameters": [
  8691. {
  8692. "type": "string",
  8693. "description": "资金账户 - 格式:1,2,3",
  8694. "name": "accountID",
  8695. "in": "query",
  8696. "required": true
  8697. },
  8698. {
  8699. "type": "integer",
  8700. "description": "成交单号",
  8701. "name": "tradeID",
  8702. "in": "query"
  8703. },
  8704. {
  8705. "type": "integer",
  8706. "description": "委托单号",
  8707. "name": "orderID",
  8708. "in": "query"
  8709. },
  8710. {
  8711. "type": "string",
  8712. "description": "交易模式 - 格式:1,2,3",
  8713. "name": "tradeMode",
  8714. "in": "query"
  8715. },
  8716. {
  8717. "type": "integer",
  8718. "description": "委托单据类型",
  8719. "name": "buildType",
  8720. "in": "query"
  8721. },
  8722. {
  8723. "type": "string",
  8724. "description": "成交类别 - 格式:1,2,3",
  8725. "name": "tradeType",
  8726. "in": "query"
  8727. },
  8728. {
  8729. "type": "integer",
  8730. "description": "商品ID",
  8731. "name": "goodsID",
  8732. "in": "query"
  8733. }
  8734. ],
  8735. "responses": {
  8736. "200": {
  8737. "description": "OK",
  8738. "schema": {
  8739. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8740. }
  8741. },
  8742. "500": {
  8743. "description": "Internal Server Error",
  8744. "schema": {
  8745. "$ref": "#/definitions/app.Response"
  8746. }
  8747. }
  8748. }
  8749. }
  8750. },
  8751. "/Order/QueryTradeHolderDetail": {
  8752. "get": {
  8753. "security": [
  8754. {
  8755. "ApiKeyAuth": []
  8756. }
  8757. ],
  8758. "produces": [
  8759. "application/json"
  8760. ],
  8761. "tags": [
  8762. "通用单据"
  8763. ],
  8764. "summary": "查询持仓明细",
  8765. "parameters": [
  8766. {
  8767. "type": "integer",
  8768. "description": "用户id",
  8769. "name": "userid",
  8770. "in": "query"
  8771. },
  8772. {
  8773. "type": "string",
  8774. "description": "资金账号, 格式 1,2,3",
  8775. "name": "accids",
  8776. "in": "query"
  8777. },
  8778. {
  8779. "type": "string",
  8780. "description": "交易模式, 格式 1,2,3",
  8781. "name": "trademodes",
  8782. "in": "query"
  8783. },
  8784. {
  8785. "type": "string",
  8786. "description": "市场id, 格式 1,2,3",
  8787. "name": "marketids",
  8788. "in": "query"
  8789. },
  8790. {
  8791. "type": "integer",
  8792. "description": "商品id",
  8793. "name": "goodsid",
  8794. "in": "query"
  8795. },
  8796. {
  8797. "type": "integer",
  8798. "description": "买卖方向 0-买 1-卖",
  8799. "name": "buyorsell",
  8800. "in": "query"
  8801. }
  8802. ],
  8803. "responses": {
  8804. "200": {
  8805. "description": "OK",
  8806. "schema": {
  8807. "type": "array",
  8808. "items": {
  8809. "$ref": "#/definitions/models.TradeHolderDetail"
  8810. }
  8811. }
  8812. },
  8813. "500": {
  8814. "description": "Internal Server Error",
  8815. "schema": {
  8816. "$ref": "#/definitions/app.Response"
  8817. }
  8818. }
  8819. }
  8820. }
  8821. },
  8822. "/Order/QueryTradeOrderDetail": {
  8823. "get": {
  8824. "security": [
  8825. {
  8826. "ApiKeyAuth": []
  8827. }
  8828. ],
  8829. "produces": [
  8830. "application/json"
  8831. ],
  8832. "tags": [
  8833. "通用单据"
  8834. ],
  8835. "summary": "委托单查询请求(合约市场)",
  8836. "parameters": [
  8837. {
  8838. "type": "string",
  8839. "description": "资金账户 - 格式:1,2,3",
  8840. "name": "accountID",
  8841. "in": "query",
  8842. "required": true
  8843. },
  8844. {
  8845. "type": "string",
  8846. "description": "交易模式 - 格式:1,2,3",
  8847. "name": "tradeMode",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "string",
  8852. "description": "委托状态 - 格式:1,2,3",
  8853. "name": "orderStatus",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "委托单号",
  8859. "name": "orderID",
  8860. "in": "query"
  8861. }
  8862. ],
  8863. "responses": {
  8864. "200": {
  8865. "description": "OK",
  8866. "schema": {
  8867. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8868. }
  8869. },
  8870. "500": {
  8871. "description": "Internal Server Error",
  8872. "schema": {
  8873. "$ref": "#/definitions/app.Response"
  8874. }
  8875. }
  8876. }
  8877. }
  8878. },
  8879. "/Order/QueryTradePosition": {
  8880. "get": {
  8881. "security": [
  8882. {
  8883. "ApiKeyAuth": []
  8884. }
  8885. ],
  8886. "produces": [
  8887. "application/json"
  8888. ],
  8889. "tags": [
  8890. "通用单据"
  8891. ],
  8892. "summary": "持仓汇总查询(合约市场)",
  8893. "parameters": [
  8894. {
  8895. "type": "string",
  8896. "description": "资金账户 - 格式:1,2,3",
  8897. "name": "accountID",
  8898. "in": "query",
  8899. "required": true
  8900. },
  8901. {
  8902. "type": "string",
  8903. "description": "交易模式 - 格式:1,2,3",
  8904. "name": "tradeMode",
  8905. "in": "query"
  8906. }
  8907. ],
  8908. "responses": {
  8909. "200": {
  8910. "description": "OK",
  8911. "schema": {
  8912. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8913. }
  8914. },
  8915. "500": {
  8916. "description": "Internal Server Error",
  8917. "schema": {
  8918. "$ref": "#/definitions/app.Response"
  8919. }
  8920. }
  8921. }
  8922. }
  8923. },
  8924. "/Qhj/QueryAccountInOutApply": {
  8925. "get": {
  8926. "security": [
  8927. {
  8928. "ApiKeyAuth": []
  8929. }
  8930. ],
  8931. "produces": [
  8932. "application/json"
  8933. ],
  8934. "tags": [
  8935. "大连千海金"
  8936. ],
  8937. "summary": "查询充值提现",
  8938. "parameters": [
  8939. {
  8940. "type": "integer",
  8941. "description": "用户ID",
  8942. "name": "userid",
  8943. "in": "query",
  8944. "required": true
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "申请起始日期(格式yyyymmdd)",
  8949. "name": "begindate",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "申请截止日期(格式yyyymmdd)",
  8955. "name": "enddate",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "模糊搜索名称",
  8961. "name": "likename",
  8962. "in": "query"
  8963. }
  8964. ],
  8965. "responses": {
  8966. "200": {
  8967. "description": "OK",
  8968. "schema": {
  8969. "type": "array",
  8970. "items": {
  8971. "$ref": "#/definitions/models.QhjAccountOutInApply"
  8972. }
  8973. }
  8974. },
  8975. "500": {
  8976. "description": "Internal Server Error",
  8977. "schema": {
  8978. "$ref": "#/definitions/app.Response"
  8979. }
  8980. }
  8981. }
  8982. }
  8983. },
  8984. "/Qhj/QueryAreaFinanceConfig": {
  8985. "get": {
  8986. "security": [
  8987. {
  8988. "ApiKeyAuth": []
  8989. }
  8990. ],
  8991. "produces": [
  8992. "application/json"
  8993. ],
  8994. "tags": [
  8995. "大连千海金"
  8996. ],
  8997. "summary": "查询企业配置表",
  8998. "parameters": [
  8999. {
  9000. "type": "integer",
  9001. "description": "机构用户ID 其他做市关系,都设置为 1",
  9002. "name": "userid",
  9003. "in": "query"
  9004. }
  9005. ],
  9006. "responses": {
  9007. "200": {
  9008. "description": "OK",
  9009. "schema": {
  9010. "type": "array",
  9011. "items": {
  9012. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9013. }
  9014. }
  9015. },
  9016. "500": {
  9017. "description": "Internal Server Error",
  9018. "schema": {
  9019. "$ref": "#/definitions/app.Response"
  9020. }
  9021. }
  9022. }
  9023. }
  9024. },
  9025. "/Qhj/QueryBankAccountSign": {
  9026. "get": {
  9027. "security": [
  9028. {
  9029. "ApiKeyAuth": []
  9030. }
  9031. ],
  9032. "produces": [
  9033. "application/json"
  9034. ],
  9035. "tags": [
  9036. "大连千海金"
  9037. ],
  9038. "summary": "查询签约银行信息(提现账户管理)",
  9039. "parameters": [
  9040. {
  9041. "type": "integer",
  9042. "description": "用户ID",
  9043. "name": "userid",
  9044. "in": "query",
  9045. "required": true
  9046. }
  9047. ],
  9048. "responses": {
  9049. "200": {
  9050. "description": "OK",
  9051. "schema": {
  9052. "type": "array",
  9053. "items": {
  9054. "$ref": "#/definitions/models.QhjBankAccountSign"
  9055. }
  9056. }
  9057. },
  9058. "500": {
  9059. "description": "Internal Server Error",
  9060. "schema": {
  9061. "$ref": "#/definitions/app.Response"
  9062. }
  9063. }
  9064. }
  9065. }
  9066. },
  9067. "/Qhj/QueryBankInfo": {
  9068. "get": {
  9069. "security": [
  9070. {
  9071. "ApiKeyAuth": []
  9072. }
  9073. ],
  9074. "produces": [
  9075. "application/json"
  9076. ],
  9077. "tags": [
  9078. "大连千海金"
  9079. ],
  9080. "summary": "查询开户行",
  9081. "responses": {
  9082. "200": {
  9083. "description": "OK",
  9084. "schema": {
  9085. "type": "array",
  9086. "items": {
  9087. "$ref": "#/definitions/models.QhjBankInfo"
  9088. }
  9089. }
  9090. },
  9091. "500": {
  9092. "description": "Internal Server Error",
  9093. "schema": {
  9094. "$ref": "#/definitions/app.Response"
  9095. }
  9096. }
  9097. }
  9098. }
  9099. },
  9100. "/Qhj/QueryBrokerApply": {
  9101. "get": {
  9102. "security": [
  9103. {
  9104. "ApiKeyAuth": []
  9105. }
  9106. ],
  9107. "produces": [
  9108. "application/json"
  9109. ],
  9110. "tags": [
  9111. "大连千海金"
  9112. ],
  9113. "summary": "查询经纪人申请",
  9114. "parameters": [
  9115. {
  9116. "type": "integer",
  9117. "description": "所属机构ID",
  9118. "name": "userid",
  9119. "in": "query"
  9120. },
  9121. {
  9122. "type": "string",
  9123. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9124. "name": "filterstatus",
  9125. "in": "query"
  9126. }
  9127. ],
  9128. "responses": {
  9129. "200": {
  9130. "description": "OK",
  9131. "schema": {
  9132. "type": "array",
  9133. "items": {
  9134. "$ref": "#/definitions/models.QhjBrokerApply"
  9135. }
  9136. }
  9137. },
  9138. "500": {
  9139. "description": "Internal Server Error",
  9140. "schema": {
  9141. "$ref": "#/definitions/app.Response"
  9142. }
  9143. }
  9144. }
  9145. }
  9146. },
  9147. "/Qhj/QueryBrokerApplyEx": {
  9148. "get": {
  9149. "security": [
  9150. {
  9151. "ApiKeyAuth": []
  9152. }
  9153. ],
  9154. "produces": [
  9155. "application/json"
  9156. ],
  9157. "tags": [
  9158. "大连千海金"
  9159. ],
  9160. "summary": "查询经纪人信息和申请记录",
  9161. "parameters": [
  9162. {
  9163. "type": "integer",
  9164. "description": "所属机构ID",
  9165. "name": "userid",
  9166. "in": "query"
  9167. }
  9168. ],
  9169. "responses": {
  9170. "200": {
  9171. "description": "OK",
  9172. "schema": {
  9173. "type": "array",
  9174. "items": {
  9175. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9176. }
  9177. }
  9178. },
  9179. "500": {
  9180. "description": "Internal Server Error",
  9181. "schema": {
  9182. "$ref": "#/definitions/app.Response"
  9183. }
  9184. }
  9185. }
  9186. }
  9187. },
  9188. "/Qhj/QueryBrokerRewardLog": {
  9189. "get": {
  9190. "security": [
  9191. {
  9192. "ApiKeyAuth": []
  9193. }
  9194. ],
  9195. "produces": [
  9196. "application/json"
  9197. ],
  9198. "tags": [
  9199. "大连千海金"
  9200. ],
  9201. "summary": "查询奖励流水(我的奖励)",
  9202. "parameters": [
  9203. {
  9204. "type": "integer",
  9205. "description": "用户ID",
  9206. "name": "userid",
  9207. "in": "query",
  9208. "required": true
  9209. },
  9210. {
  9211. "type": "string",
  9212. "description": "开始交易日(yyyymmdd)",
  9213. "name": "begindate",
  9214. "in": "query"
  9215. },
  9216. {
  9217. "type": "string",
  9218. "description": "结束交易日(yyyymmdd)",
  9219. "name": "enddate",
  9220. "in": "query"
  9221. }
  9222. ],
  9223. "responses": {
  9224. "200": {
  9225. "description": "OK",
  9226. "schema": {
  9227. "type": "array",
  9228. "items": {
  9229. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9230. }
  9231. }
  9232. },
  9233. "500": {
  9234. "description": "Internal Server Error",
  9235. "schema": {
  9236. "$ref": "#/definitions/app.Response"
  9237. }
  9238. }
  9239. }
  9240. }
  9241. },
  9242. "/Qhj/QueryContract": {
  9243. "get": {
  9244. "security": [
  9245. {
  9246. "ApiKeyAuth": []
  9247. }
  9248. ],
  9249. "produces": [
  9250. "application/json"
  9251. ],
  9252. "tags": [
  9253. "大连千海金"
  9254. ],
  9255. "summary": "查询融资明细(合同)",
  9256. "parameters": [
  9257. {
  9258. "type": "integer",
  9259. "description": "用户ID",
  9260. "name": "userid",
  9261. "in": "query"
  9262. },
  9263. {
  9264. "type": "integer",
  9265. "description": "scf合同id",
  9266. "name": "scfcontractid",
  9267. "in": "query"
  9268. }
  9269. ],
  9270. "responses": {
  9271. "200": {
  9272. "description": "OK",
  9273. "schema": {
  9274. "type": "array",
  9275. "items": {
  9276. "$ref": "#/definitions/models.QhjContract"
  9277. }
  9278. }
  9279. },
  9280. "500": {
  9281. "description": "Internal Server Error",
  9282. "schema": {
  9283. "$ref": "#/definitions/app.Response"
  9284. }
  9285. }
  9286. }
  9287. }
  9288. },
  9289. "/Qhj/QueryContractLog": {
  9290. "get": {
  9291. "security": [
  9292. {
  9293. "ApiKeyAuth": []
  9294. }
  9295. ],
  9296. "produces": [
  9297. "application/json"
  9298. ],
  9299. "tags": [
  9300. "大连千海金"
  9301. ],
  9302. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9303. "parameters": [
  9304. {
  9305. "type": "integer",
  9306. "description": "scf合同id",
  9307. "name": "scfcontractid",
  9308. "in": "query",
  9309. "required": true
  9310. },
  9311. {
  9312. "type": "string",
  9313. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9314. "name": "amounttype",
  9315. "in": "query"
  9316. }
  9317. ],
  9318. "responses": {
  9319. "200": {
  9320. "description": "OK",
  9321. "schema": {
  9322. "type": "array",
  9323. "items": {
  9324. "$ref": "#/definitions/models.QhjContractLog"
  9325. }
  9326. }
  9327. },
  9328. "500": {
  9329. "description": "Internal Server Error",
  9330. "schema": {
  9331. "$ref": "#/definitions/app.Response"
  9332. }
  9333. }
  9334. }
  9335. }
  9336. },
  9337. "/Qhj/QueryCusBankSignBank": {
  9338. "get": {
  9339. "security": [
  9340. {
  9341. "ApiKeyAuth": []
  9342. }
  9343. ],
  9344. "produces": [
  9345. "application/json"
  9346. ],
  9347. "tags": [
  9348. "大连千海金"
  9349. ],
  9350. "summary": "查询托管银行",
  9351. "responses": {
  9352. "200": {
  9353. "description": "OK",
  9354. "schema": {
  9355. "type": "array",
  9356. "items": {
  9357. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9358. }
  9359. }
  9360. },
  9361. "500": {
  9362. "description": "Internal Server Error",
  9363. "schema": {
  9364. "$ref": "#/definitions/app.Response"
  9365. }
  9366. }
  9367. }
  9368. }
  9369. },
  9370. "/Qhj/QueryCustomerInfo": {
  9371. "get": {
  9372. "security": [
  9373. {
  9374. "ApiKeyAuth": []
  9375. }
  9376. ],
  9377. "produces": [
  9378. "application/json"
  9379. ],
  9380. "tags": [
  9381. "大连千海金"
  9382. ],
  9383. "summary": "查询客户资料",
  9384. "parameters": [
  9385. {
  9386. "type": "integer",
  9387. "description": "用户ID",
  9388. "name": "userid",
  9389. "in": "query",
  9390. "required": true
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9395. "name": "querytype",
  9396. "in": "query",
  9397. "required": true
  9398. },
  9399. {
  9400. "type": "integer",
  9401. "description": "客户类型 1-个人 2-企业",
  9402. "name": "userinfotype",
  9403. "in": "query"
  9404. },
  9405. {
  9406. "type": "string",
  9407. "description": "客户名称(模糊匹配)",
  9408. "name": "customername",
  9409. "in": "query"
  9410. },
  9411. {
  9412. "type": "string",
  9413. "description": "昵称(模糊匹配)",
  9414. "name": "nickname",
  9415. "in": "query"
  9416. },
  9417. {
  9418. "type": "integer",
  9419. "description": "是否包含子级 1-包含",
  9420. "name": "includesub",
  9421. "in": "query"
  9422. }
  9423. ],
  9424. "responses": {
  9425. "200": {
  9426. "description": "OK",
  9427. "schema": {
  9428. "type": "array",
  9429. "items": {
  9430. "$ref": "#/definitions/models.QhjCustomer"
  9431. }
  9432. }
  9433. },
  9434. "500": {
  9435. "description": "Internal Server Error",
  9436. "schema": {
  9437. "$ref": "#/definitions/app.Response"
  9438. }
  9439. }
  9440. }
  9441. }
  9442. },
  9443. "/Qhj/QueryGoodsEx": {
  9444. "get": {
  9445. "security": [
  9446. {
  9447. "ApiKeyAuth": []
  9448. }
  9449. ],
  9450. "produces": [
  9451. "application/json"
  9452. ],
  9453. "tags": [
  9454. "大连千海金"
  9455. ],
  9456. "summary": "交易商品扩展表",
  9457. "parameters": [
  9458. {
  9459. "type": "integer",
  9460. "description": "商品id",
  9461. "name": "goodsid",
  9462. "in": "query"
  9463. }
  9464. ],
  9465. "responses": {
  9466. "200": {
  9467. "description": "OK",
  9468. "schema": {
  9469. "type": "array",
  9470. "items": {
  9471. "$ref": "#/definitions/models.Qhjgoodsex"
  9472. }
  9473. }
  9474. },
  9475. "500": {
  9476. "description": "Internal Server Error",
  9477. "schema": {
  9478. "$ref": "#/definitions/app.Response"
  9479. }
  9480. }
  9481. }
  9482. }
  9483. },
  9484. "/Qhj/QueryMyTeam": {
  9485. "get": {
  9486. "security": [
  9487. {
  9488. "ApiKeyAuth": []
  9489. }
  9490. ],
  9491. "produces": [
  9492. "application/json"
  9493. ],
  9494. "tags": [
  9495. "大连千海金"
  9496. ],
  9497. "summary": "查询我的团队",
  9498. "parameters": [
  9499. {
  9500. "type": "integer",
  9501. "description": "用户ID",
  9502. "name": "userid",
  9503. "in": "query",
  9504. "required": true
  9505. }
  9506. ],
  9507. "responses": {
  9508. "200": {
  9509. "description": "OK",
  9510. "schema": {
  9511. "type": "array",
  9512. "items": {
  9513. "$ref": "#/definitions/models.QhjMyTeamEx"
  9514. }
  9515. }
  9516. },
  9517. "500": {
  9518. "description": "Internal Server Error",
  9519. "schema": {
  9520. "$ref": "#/definitions/app.Response"
  9521. }
  9522. }
  9523. }
  9524. }
  9525. },
  9526. "/Qhj/QueryMyTeamOrder": {
  9527. "get": {
  9528. "security": [
  9529. {
  9530. "ApiKeyAuth": []
  9531. }
  9532. ],
  9533. "produces": [
  9534. "application/json"
  9535. ],
  9536. "tags": [
  9537. "大连千海金"
  9538. ],
  9539. "summary": "查询团队订单(我的团队/团队订单)",
  9540. "parameters": [
  9541. {
  9542. "type": "integer",
  9543. "description": "页码",
  9544. "name": "page",
  9545. "in": "query"
  9546. },
  9547. {
  9548. "type": "integer",
  9549. "description": "每页条数",
  9550. "name": "pagesize",
  9551. "in": "query"
  9552. },
  9553. {
  9554. "type": "integer",
  9555. "description": "用户ID",
  9556. "name": "userid",
  9557. "in": "query",
  9558. "required": true
  9559. },
  9560. {
  9561. "type": "integer",
  9562. "description": "交易模式",
  9563. "name": "trademode",
  9564. "in": "query"
  9565. },
  9566. {
  9567. "type": "string",
  9568. "description": "名称(模糊搜索账户)",
  9569. "name": "filtername",
  9570. "in": "query"
  9571. }
  9572. ],
  9573. "responses": {
  9574. "200": {
  9575. "description": "OK",
  9576. "schema": {
  9577. "type": "array",
  9578. "items": {
  9579. "$ref": "#/definitions/models.QhjTeamOrder"
  9580. }
  9581. }
  9582. },
  9583. "500": {
  9584. "description": "Internal Server Error",
  9585. "schema": {
  9586. "$ref": "#/definitions/app.Response"
  9587. }
  9588. }
  9589. }
  9590. }
  9591. },
  9592. "/Qhj/QueryParentAreaList": {
  9593. "get": {
  9594. "security": [
  9595. {
  9596. "ApiKeyAuth": []
  9597. }
  9598. ],
  9599. "produces": [
  9600. "application/json"
  9601. ],
  9602. "tags": [
  9603. "大连千海金"
  9604. ],
  9605. "summary": "查询所属机构列表",
  9606. "parameters": [
  9607. {
  9608. "type": "integer",
  9609. "description": "用户ID",
  9610. "name": "userid",
  9611. "in": "query",
  9612. "required": true
  9613. }
  9614. ],
  9615. "responses": {
  9616. "200": {
  9617. "description": "OK",
  9618. "schema": {
  9619. "type": "array",
  9620. "items": {
  9621. "$ref": "#/definitions/models.QhjParentAreaList"
  9622. }
  9623. }
  9624. },
  9625. "500": {
  9626. "description": "Internal Server Error",
  9627. "schema": {
  9628. "$ref": "#/definitions/app.Response"
  9629. }
  9630. }
  9631. }
  9632. }
  9633. },
  9634. "/Qhj/QueryPayOrder": {
  9635. "get": {
  9636. "security": [
  9637. {
  9638. "ApiKeyAuth": []
  9639. }
  9640. ],
  9641. "produces": [
  9642. "application/json"
  9643. ],
  9644. "tags": [
  9645. "大连千海金"
  9646. ],
  9647. "summary": "查询待付款单据",
  9648. "parameters": [
  9649. {
  9650. "type": "integer",
  9651. "description": "资金账号id",
  9652. "name": "accountid",
  9653. "in": "query",
  9654. "required": true
  9655. },
  9656. {
  9657. "type": "integer",
  9658. "description": "成交单号",
  9659. "name": "tradeid",
  9660. "in": "query"
  9661. },
  9662. {
  9663. "type": "string",
  9664. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9665. "name": "payflag",
  9666. "in": "query"
  9667. }
  9668. ],
  9669. "responses": {
  9670. "200": {
  9671. "description": "OK",
  9672. "schema": {
  9673. "type": "array",
  9674. "items": {
  9675. "$ref": "#/definitions/models.QhjPayOrder"
  9676. }
  9677. }
  9678. },
  9679. "500": {
  9680. "description": "Internal Server Error",
  9681. "schema": {
  9682. "$ref": "#/definitions/app.Response"
  9683. }
  9684. }
  9685. }
  9686. }
  9687. },
  9688. "/Qhj/QueryPickArea": {
  9689. "get": {
  9690. "security": [
  9691. {
  9692. "ApiKeyAuth": []
  9693. }
  9694. ],
  9695. "produces": [
  9696. "application/json"
  9697. ],
  9698. "tags": [
  9699. "大连千海金"
  9700. ],
  9701. "summary": "查询提货门店",
  9702. "parameters": [
  9703. {
  9704. "type": "integer",
  9705. "description": "用户ID",
  9706. "name": "userid",
  9707. "in": "query"
  9708. }
  9709. ],
  9710. "responses": {
  9711. "200": {
  9712. "description": "OK",
  9713. "schema": {
  9714. "type": "array",
  9715. "items": {
  9716. "$ref": "#/definitions/models.QhjPickArea"
  9717. }
  9718. }
  9719. },
  9720. "500": {
  9721. "description": "Internal Server Error",
  9722. "schema": {
  9723. "$ref": "#/definitions/app.Response"
  9724. }
  9725. }
  9726. }
  9727. }
  9728. },
  9729. "/Qhj/QueryPickGoods": {
  9730. "get": {
  9731. "security": [
  9732. {
  9733. "ApiKeyAuth": []
  9734. }
  9735. ],
  9736. "produces": [
  9737. "application/json"
  9738. ],
  9739. "tags": [
  9740. "大连千海金"
  9741. ],
  9742. "summary": "查询提货商品",
  9743. "parameters": [
  9744. {
  9745. "type": "integer",
  9746. "description": "交易商品id",
  9747. "name": "goodsid",
  9748. "in": "query",
  9749. "required": true
  9750. },
  9751. {
  9752. "type": "string",
  9753. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9754. "name": "status",
  9755. "in": "query"
  9756. }
  9757. ],
  9758. "responses": {
  9759. "200": {
  9760. "description": "OK",
  9761. "schema": {
  9762. "type": "array",
  9763. "items": {
  9764. "$ref": "#/definitions/models.QhjPickGoods"
  9765. }
  9766. }
  9767. },
  9768. "500": {
  9769. "description": "Internal Server Error",
  9770. "schema": {
  9771. "$ref": "#/definitions/app.Response"
  9772. }
  9773. }
  9774. }
  9775. }
  9776. },
  9777. "/Qhj/QueryRSTriggerLog": {
  9778. "get": {
  9779. "security": [
  9780. {
  9781. "ApiKeyAuth": []
  9782. }
  9783. ],
  9784. "produces": [
  9785. "application/json"
  9786. ],
  9787. "tags": [
  9788. "大连千海金"
  9789. ],
  9790. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9791. "parameters": [
  9792. {
  9793. "type": "integer",
  9794. "description": "用户ID",
  9795. "name": "userid",
  9796. "in": "query"
  9797. },
  9798. {
  9799. "type": "integer",
  9800. "description": "定投策略id",
  9801. "name": "regularlystrategyid",
  9802. "in": "query"
  9803. },
  9804. {
  9805. "type": "integer",
  9806. "description": "商品id",
  9807. "name": "goodsid",
  9808. "in": "query"
  9809. },
  9810. {
  9811. "type": "string",
  9812. "description": "开始交易日(yyyymmdd)",
  9813. "name": "begindate",
  9814. "in": "query"
  9815. },
  9816. {
  9817. "type": "string",
  9818. "description": "结束交易日(yyyymmdd)",
  9819. "name": "enddate",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "string",
  9824. "description": "名称(模糊搜索账户)",
  9825. "name": "filtername",
  9826. "in": "query"
  9827. }
  9828. ],
  9829. "responses": {
  9830. "200": {
  9831. "description": "OK",
  9832. "schema": {
  9833. "type": "array",
  9834. "items": {
  9835. "$ref": "#/definitions/models.QhjRSTriggerLog"
  9836. }
  9837. }
  9838. },
  9839. "500": {
  9840. "description": "Internal Server Error",
  9841. "schema": {
  9842. "$ref": "#/definitions/app.Response"
  9843. }
  9844. }
  9845. }
  9846. }
  9847. },
  9848. "/Qhj/QueryRStrategy": {
  9849. "get": {
  9850. "security": [
  9851. {
  9852. "ApiKeyAuth": []
  9853. }
  9854. ],
  9855. "produces": [
  9856. "application/json"
  9857. ],
  9858. "tags": [
  9859. "大连千海金"
  9860. ],
  9861. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  9862. "parameters": [
  9863. {
  9864. "type": "integer",
  9865. "description": "用户ID",
  9866. "name": "userid",
  9867. "in": "query"
  9868. },
  9869. {
  9870. "type": "integer",
  9871. "description": "商品id",
  9872. "name": "goodsid",
  9873. "in": "query"
  9874. },
  9875. {
  9876. "type": "string",
  9877. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  9878. "name": "status",
  9879. "in": "query"
  9880. },
  9881. {
  9882. "type": "string",
  9883. "description": "名称(模糊搜索账户)",
  9884. "name": "filtername",
  9885. "in": "query"
  9886. }
  9887. ],
  9888. "responses": {
  9889. "200": {
  9890. "description": "OK",
  9891. "schema": {
  9892. "type": "array",
  9893. "items": {
  9894. "$ref": "#/definitions/models.QhjRStrategy"
  9895. }
  9896. }
  9897. },
  9898. "500": {
  9899. "description": "Internal Server Error",
  9900. "schema": {
  9901. "$ref": "#/definitions/app.Response"
  9902. }
  9903. }
  9904. }
  9905. }
  9906. },
  9907. "/Qhj/QueryReckonPriceLog": {
  9908. "get": {
  9909. "security": [
  9910. {
  9911. "ApiKeyAuth": []
  9912. }
  9913. ],
  9914. "produces": [
  9915. "application/json"
  9916. ],
  9917. "tags": [
  9918. "大连千海金"
  9919. ],
  9920. "summary": "查询定投价(结算价)",
  9921. "parameters": [
  9922. {
  9923. "type": "integer",
  9924. "description": "商品ID",
  9925. "name": "goodsid",
  9926. "in": "query"
  9927. },
  9928. {
  9929. "type": "string",
  9930. "description": "交易日 格式(yyyymmdd)",
  9931. "name": "tradedate",
  9932. "in": "query"
  9933. }
  9934. ],
  9935. "responses": {
  9936. "200": {
  9937. "description": "OK",
  9938. "schema": {
  9939. "type": "array",
  9940. "items": {
  9941. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9942. }
  9943. }
  9944. },
  9945. "500": {
  9946. "description": "Internal Server Error",
  9947. "schema": {
  9948. "$ref": "#/definitions/app.Response"
  9949. }
  9950. }
  9951. }
  9952. }
  9953. },
  9954. "/Qhj/QueryScoreLog": {
  9955. "get": {
  9956. "security": [
  9957. {
  9958. "ApiKeyAuth": []
  9959. }
  9960. ],
  9961. "produces": [
  9962. "application/json"
  9963. ],
  9964. "tags": [
  9965. "大连千海金"
  9966. ],
  9967. "summary": "查询积分流水(我的积分)",
  9968. "parameters": [
  9969. {
  9970. "type": "integer",
  9971. "description": "用户ID",
  9972. "name": "userid",
  9973. "in": "query",
  9974. "required": true
  9975. },
  9976. {
  9977. "type": "string",
  9978. "description": "开始交易日(yyyymmdd)",
  9979. "name": "begindate",
  9980. "in": "query"
  9981. },
  9982. {
  9983. "type": "string",
  9984. "description": "结束交易日(yyyymmdd)",
  9985. "name": "enddate",
  9986. "in": "query"
  9987. },
  9988. {
  9989. "type": "integer",
  9990. "description": "最近多少条",
  9991. "name": "lastnum",
  9992. "in": "query"
  9993. }
  9994. ],
  9995. "responses": {
  9996. "200": {
  9997. "description": "OK",
  9998. "schema": {
  9999. "type": "array",
  10000. "items": {
  10001. "$ref": "#/definitions/models.QhjScoreLog"
  10002. }
  10003. }
  10004. },
  10005. "500": {
  10006. "description": "Internal Server Error",
  10007. "schema": {
  10008. "$ref": "#/definitions/app.Response"
  10009. }
  10010. }
  10011. }
  10012. }
  10013. },
  10014. "/Qhj/QuerySiteColumnDetail": {
  10015. "get": {
  10016. "security": [
  10017. {
  10018. "ApiKeyAuth": []
  10019. }
  10020. ],
  10021. "produces": [
  10022. "application/json"
  10023. ],
  10024. "tags": [
  10025. "大连千海金"
  10026. ],
  10027. "summary": "查询资讯",
  10028. "parameters": [
  10029. {
  10030. "type": "integer",
  10031. "description": "用户ID",
  10032. "name": "userid",
  10033. "in": "query",
  10034. "required": true
  10035. }
  10036. ],
  10037. "responses": {
  10038. "200": {
  10039. "description": "OK",
  10040. "schema": {
  10041. "type": "array",
  10042. "items": {
  10043. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10044. }
  10045. }
  10046. },
  10047. "500": {
  10048. "description": "Internal Server Error",
  10049. "schema": {
  10050. "$ref": "#/definitions/app.Response"
  10051. }
  10052. }
  10053. }
  10054. }
  10055. },
  10056. "/Qhj/QueryTradeGoodsPickup": {
  10057. "get": {
  10058. "security": [
  10059. {
  10060. "ApiKeyAuth": []
  10061. }
  10062. ],
  10063. "produces": [
  10064. "application/json"
  10065. ],
  10066. "tags": [
  10067. "大连千海金"
  10068. ],
  10069. "summary": "查询提货",
  10070. "parameters": [
  10071. {
  10072. "type": "integer",
  10073. "description": "用户ID",
  10074. "name": "userid",
  10075. "in": "query",
  10076. "required": true
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10081. "name": "takeorderstatus",
  10082. "in": "query"
  10083. }
  10084. ],
  10085. "responses": {
  10086. "200": {
  10087. "description": "OK",
  10088. "schema": {
  10089. "type": "array",
  10090. "items": {
  10091. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10092. }
  10093. }
  10094. },
  10095. "500": {
  10096. "description": "Internal Server Error",
  10097. "schema": {
  10098. "$ref": "#/definitions/app.Response"
  10099. }
  10100. }
  10101. }
  10102. }
  10103. },
  10104. "/Qhj/QueryUserCollectConfig": {
  10105. "get": {
  10106. "security": [
  10107. {
  10108. "ApiKeyAuth": []
  10109. }
  10110. ],
  10111. "produces": [
  10112. "application/json"
  10113. ],
  10114. "tags": [
  10115. "大连千海金"
  10116. ],
  10117. "summary": "查询提现账户设置",
  10118. "parameters": [
  10119. {
  10120. "type": "integer",
  10121. "description": "用户ID",
  10122. "name": "userid",
  10123. "in": "query",
  10124. "required": true
  10125. }
  10126. ],
  10127. "responses": {
  10128. "200": {
  10129. "description": "OK",
  10130. "schema": {
  10131. "type": "array",
  10132. "items": {
  10133. "$ref": "#/definitions/models.UserCollectConfig"
  10134. }
  10135. }
  10136. },
  10137. "500": {
  10138. "description": "Internal Server Error",
  10139. "schema": {
  10140. "$ref": "#/definitions/app.Response"
  10141. }
  10142. }
  10143. }
  10144. }
  10145. },
  10146. "/Qhj/QueryUserReceiveInfo": {
  10147. "get": {
  10148. "security": [
  10149. {
  10150. "ApiKeyAuth": []
  10151. }
  10152. ],
  10153. "produces": [
  10154. "application/json"
  10155. ],
  10156. "tags": [
  10157. "大连千海金"
  10158. ],
  10159. "summary": "查询收货地址信息",
  10160. "parameters": [
  10161. {
  10162. "type": "integer",
  10163. "description": "用户ID",
  10164. "name": "userid",
  10165. "in": "query",
  10166. "required": true
  10167. }
  10168. ],
  10169. "responses": {
  10170. "200": {
  10171. "description": "OK",
  10172. "schema": {
  10173. "type": "array",
  10174. "items": {
  10175. "$ref": "#/definitions/models.UserReceiveInfo"
  10176. }
  10177. }
  10178. },
  10179. "500": {
  10180. "description": "Internal Server Error",
  10181. "schema": {
  10182. "$ref": "#/definitions/app.Response"
  10183. }
  10184. }
  10185. }
  10186. }
  10187. },
  10188. "/QhjMgr/QueryAccountInOutApply": {
  10189. "get": {
  10190. "security": [
  10191. {
  10192. "ApiKeyAuth": []
  10193. }
  10194. ],
  10195. "produces": [
  10196. "application/json"
  10197. ],
  10198. "tags": [
  10199. "大连千海金(PCWeb)"
  10200. ],
  10201. "summary": "查询充值提现",
  10202. "parameters": [
  10203. {
  10204. "type": "integer",
  10205. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10206. "name": "querytype",
  10207. "in": "query",
  10208. "required": true
  10209. },
  10210. {
  10211. "type": "integer",
  10212. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10213. "name": "applystatus",
  10214. "in": "query"
  10215. },
  10216. {
  10217. "type": "string",
  10218. "description": "申请起始日期(格式yyyymmdd)",
  10219. "name": "begindate",
  10220. "in": "query"
  10221. },
  10222. {
  10223. "type": "string",
  10224. "description": "申请截止日期(格式yyyymmdd)",
  10225. "name": "enddate",
  10226. "in": "query"
  10227. },
  10228. {
  10229. "type": "string",
  10230. "description": "模糊搜索名称",
  10231. "name": "likename",
  10232. "in": "query"
  10233. }
  10234. ],
  10235. "responses": {
  10236. "200": {
  10237. "description": "OK",
  10238. "schema": {
  10239. "type": "array",
  10240. "items": {
  10241. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10242. }
  10243. }
  10244. },
  10245. "500": {
  10246. "description": "Internal Server Error",
  10247. "schema": {
  10248. "$ref": "#/definitions/app.Response"
  10249. }
  10250. }
  10251. }
  10252. }
  10253. },
  10254. "/QhjMgr/QueryBrokerApply": {
  10255. "get": {
  10256. "security": [
  10257. {
  10258. "ApiKeyAuth": []
  10259. }
  10260. ],
  10261. "produces": [
  10262. "application/json"
  10263. ],
  10264. "tags": [
  10265. "大连千海金(PCWeb)"
  10266. ],
  10267. "summary": "查询经纪人申请",
  10268. "parameters": [
  10269. {
  10270. "type": "integer",
  10271. "description": "所属机构ID",
  10272. "name": "userid",
  10273. "in": "query"
  10274. },
  10275. {
  10276. "type": "string",
  10277. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10278. "name": "filterstatus",
  10279. "in": "query"
  10280. },
  10281. {
  10282. "type": "string",
  10283. "description": "名称(模糊匹配)",
  10284. "name": "filtername",
  10285. "in": "query"
  10286. },
  10287. {
  10288. "type": "integer",
  10289. "description": "是否包含子级 1-包含",
  10290. "name": "includesub",
  10291. "in": "query"
  10292. }
  10293. ],
  10294. "responses": {
  10295. "200": {
  10296. "description": "OK",
  10297. "schema": {
  10298. "type": "array",
  10299. "items": {
  10300. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10301. }
  10302. }
  10303. },
  10304. "500": {
  10305. "description": "Internal Server Error",
  10306. "schema": {
  10307. "$ref": "#/definitions/app.Response"
  10308. }
  10309. }
  10310. }
  10311. }
  10312. },
  10313. "/QhjMgr/QueryBrokerRewardReport": {
  10314. "get": {
  10315. "security": [
  10316. {
  10317. "ApiKeyAuth": []
  10318. }
  10319. ],
  10320. "produces": [
  10321. "application/json"
  10322. ],
  10323. "tags": [
  10324. "大连千海金(PCWeb)"
  10325. ],
  10326. "summary": "查询经纪人奖励报表(废弃)",
  10327. "parameters": [
  10328. {
  10329. "type": "integer",
  10330. "description": "所属机构ID",
  10331. "name": "userid",
  10332. "in": "query",
  10333. "required": true
  10334. },
  10335. {
  10336. "type": "integer",
  10337. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10338. "name": "cycletype",
  10339. "in": "query",
  10340. "required": true
  10341. },
  10342. {
  10343. "type": "string",
  10344. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10345. "name": "cycletime",
  10346. "in": "query",
  10347. "required": true
  10348. },
  10349. {
  10350. "type": "string",
  10351. "description": "名称(模糊匹配)",
  10352. "name": "filtername",
  10353. "in": "query"
  10354. },
  10355. {
  10356. "type": "integer",
  10357. "description": "是否包含子级 1-包含",
  10358. "name": "includesub",
  10359. "in": "query"
  10360. }
  10361. ],
  10362. "responses": {
  10363. "200": {
  10364. "description": "OK",
  10365. "schema": {
  10366. "type": "array",
  10367. "items": {
  10368. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10369. }
  10370. }
  10371. },
  10372. "500": {
  10373. "description": "Internal Server Error",
  10374. "schema": {
  10375. "$ref": "#/definitions/app.Response"
  10376. }
  10377. }
  10378. }
  10379. }
  10380. },
  10381. "/QhjMgr/QueryContract": {
  10382. "get": {
  10383. "security": [
  10384. {
  10385. "ApiKeyAuth": []
  10386. }
  10387. ],
  10388. "produces": [
  10389. "application/json"
  10390. ],
  10391. "tags": [
  10392. "大连千海金(PCWeb)"
  10393. ],
  10394. "summary": "查询融资信息(合同)",
  10395. "parameters": [
  10396. {
  10397. "type": "integer",
  10398. "description": "用户ID",
  10399. "name": "userid",
  10400. "in": "query"
  10401. },
  10402. {
  10403. "type": "integer",
  10404. "description": "商品id",
  10405. "name": "goodsid",
  10406. "in": "query"
  10407. },
  10408. {
  10409. "type": "string",
  10410. "description": "名称(模糊搜索账户)",
  10411. "name": "filtername",
  10412. "in": "query"
  10413. },
  10414. {
  10415. "type": "string",
  10416. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10417. "name": "risklevel",
  10418. "in": "query"
  10419. },
  10420. {
  10421. "type": "string",
  10422. "description": "开始交易日(yyyymmdd)",
  10423. "name": "begindate",
  10424. "in": "query"
  10425. },
  10426. {
  10427. "type": "string",
  10428. "description": "结束交易日(yyyymmdd)",
  10429. "name": "enddate",
  10430. "in": "query"
  10431. }
  10432. ],
  10433. "responses": {
  10434. "200": {
  10435. "description": "OK",
  10436. "schema": {
  10437. "type": "array",
  10438. "items": {
  10439. "$ref": "#/definitions/models.QhjMgrContract"
  10440. }
  10441. }
  10442. },
  10443. "500": {
  10444. "description": "Internal Server Error",
  10445. "schema": {
  10446. "$ref": "#/definitions/app.Response"
  10447. }
  10448. }
  10449. }
  10450. }
  10451. },
  10452. "/QhjMgr/QueryCustomerInfo": {
  10453. "get": {
  10454. "security": [
  10455. {
  10456. "ApiKeyAuth": []
  10457. }
  10458. ],
  10459. "produces": [
  10460. "application/json"
  10461. ],
  10462. "tags": [
  10463. "大连千海金(PCWeb)"
  10464. ],
  10465. "summary": "查询客户资料",
  10466. "parameters": [
  10467. {
  10468. "type": "integer",
  10469. "description": "用户ID",
  10470. "name": "userid",
  10471. "in": "query",
  10472. "required": true
  10473. },
  10474. {
  10475. "type": "integer",
  10476. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10477. "name": "querytype",
  10478. "in": "query",
  10479. "required": true
  10480. },
  10481. {
  10482. "type": "integer",
  10483. "description": "客户类型 1-个人 2-企业",
  10484. "name": "userinfotype",
  10485. "in": "query"
  10486. },
  10487. {
  10488. "type": "string",
  10489. "description": "客户名称(模糊匹配)",
  10490. "name": "customername",
  10491. "in": "query"
  10492. },
  10493. {
  10494. "type": "string",
  10495. "description": "昵称(模糊匹配)",
  10496. "name": "nickname",
  10497. "in": "query"
  10498. },
  10499. {
  10500. "type": "string",
  10501. "description": "所属客户经理(模糊匹配)",
  10502. "name": "brokername",
  10503. "in": "query"
  10504. },
  10505. {
  10506. "type": "string",
  10507. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10508. "name": "birthday",
  10509. "in": "query"
  10510. },
  10511. {
  10512. "type": "integer",
  10513. "description": "是否包含子级 1-包含",
  10514. "name": "includesub",
  10515. "in": "query"
  10516. }
  10517. ],
  10518. "responses": {
  10519. "200": {
  10520. "description": "OK",
  10521. "schema": {
  10522. "type": "array",
  10523. "items": {
  10524. "$ref": "#/definitions/models.QhjMgrCustomer"
  10525. }
  10526. }
  10527. },
  10528. "500": {
  10529. "description": "Internal Server Error",
  10530. "schema": {
  10531. "$ref": "#/definitions/app.Response"
  10532. }
  10533. }
  10534. }
  10535. }
  10536. },
  10537. "/QhjMgr/QueryPickGoods": {
  10538. "get": {
  10539. "security": [
  10540. {
  10541. "ApiKeyAuth": []
  10542. }
  10543. ],
  10544. "produces": [
  10545. "application/json"
  10546. ],
  10547. "tags": [
  10548. "大连千海金(PCWeb)"
  10549. ],
  10550. "summary": "查询提货商品",
  10551. "parameters": [
  10552. {
  10553. "type": "string",
  10554. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10555. "name": "status",
  10556. "in": "query"
  10557. }
  10558. ],
  10559. "responses": {
  10560. "200": {
  10561. "description": "OK",
  10562. "schema": {
  10563. "type": "array",
  10564. "items": {
  10565. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10566. }
  10567. }
  10568. },
  10569. "500": {
  10570. "description": "Internal Server Error",
  10571. "schema": {
  10572. "$ref": "#/definitions/app.Response"
  10573. }
  10574. }
  10575. }
  10576. }
  10577. },
  10578. "/QhjMgr/QuerySubArea": {
  10579. "get": {
  10580. "security": [
  10581. {
  10582. "ApiKeyAuth": []
  10583. }
  10584. ],
  10585. "produces": [
  10586. "application/json"
  10587. ],
  10588. "tags": [
  10589. "大连千海金(PCWeb)"
  10590. ],
  10591. "summary": "查询子机构列表",
  10592. "parameters": [
  10593. {
  10594. "type": "integer",
  10595. "description": "用户ID",
  10596. "name": "userid",
  10597. "in": "query",
  10598. "required": true
  10599. }
  10600. ],
  10601. "responses": {
  10602. "200": {
  10603. "description": "OK",
  10604. "schema": {
  10605. "type": "array",
  10606. "items": {
  10607. "$ref": "#/definitions/models.QhjMgrSubArea"
  10608. }
  10609. }
  10610. },
  10611. "500": {
  10612. "description": "Internal Server Error",
  10613. "schema": {
  10614. "$ref": "#/definitions/app.Response"
  10615. }
  10616. }
  10617. }
  10618. }
  10619. },
  10620. "/QhjMgr/QueryTradeDetail": {
  10621. "get": {
  10622. "security": [
  10623. {
  10624. "ApiKeyAuth": []
  10625. }
  10626. ],
  10627. "produces": [
  10628. "application/json"
  10629. ],
  10630. "tags": [
  10631. "大连千海金(PCWeb)"
  10632. ],
  10633. "summary": "查询成交明细",
  10634. "parameters": [
  10635. {
  10636. "type": "integer",
  10637. "description": "用户ID",
  10638. "name": "userid",
  10639. "in": "query",
  10640. "required": true
  10641. },
  10642. {
  10643. "type": "integer",
  10644. "description": "用户类型 1-个人 2-企业",
  10645. "name": "userinfotype",
  10646. "in": "query"
  10647. },
  10648. {
  10649. "type": "integer",
  10650. "description": "交易模式",
  10651. "name": "trademode",
  10652. "in": "query"
  10653. },
  10654. {
  10655. "type": "integer",
  10656. "description": "商品id",
  10657. "name": "goodsid",
  10658. "in": "query"
  10659. },
  10660. {
  10661. "type": "string",
  10662. "description": "名称(模糊搜索账户)",
  10663. "name": "filtername",
  10664. "in": "query"
  10665. },
  10666. {
  10667. "type": "string",
  10668. "description": "开始交易日(yyyymmdd)",
  10669. "name": "begindate",
  10670. "in": "query"
  10671. },
  10672. {
  10673. "type": "string",
  10674. "description": "结束交易日(yyyymmdd)",
  10675. "name": "enddate",
  10676. "in": "query"
  10677. },
  10678. {
  10679. "type": "integer",
  10680. "description": "是否包含子级 1-包含",
  10681. "name": "includesub",
  10682. "in": "query"
  10683. }
  10684. ],
  10685. "responses": {
  10686. "200": {
  10687. "description": "OK",
  10688. "schema": {
  10689. "type": "array",
  10690. "items": {
  10691. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10692. }
  10693. }
  10694. },
  10695. "500": {
  10696. "description": "Internal Server Error",
  10697. "schema": {
  10698. "$ref": "#/definitions/app.Response"
  10699. }
  10700. }
  10701. }
  10702. }
  10703. },
  10704. "/QhjMgr/QueryTradeOrderDetail": {
  10705. "get": {
  10706. "security": [
  10707. {
  10708. "ApiKeyAuth": []
  10709. }
  10710. ],
  10711. "produces": [
  10712. "application/json"
  10713. ],
  10714. "tags": [
  10715. "大连千海金(PCWeb)"
  10716. ],
  10717. "summary": "查询委托明细",
  10718. "parameters": [
  10719. {
  10720. "type": "integer",
  10721. "description": "用户ID",
  10722. "name": "userid",
  10723. "in": "query",
  10724. "required": true
  10725. },
  10726. {
  10727. "type": "integer",
  10728. "description": "用户类型 1-个人 2-企业",
  10729. "name": "userinfotype",
  10730. "in": "query"
  10731. },
  10732. {
  10733. "type": "integer",
  10734. "description": "交易模式",
  10735. "name": "trademode",
  10736. "in": "query"
  10737. },
  10738. {
  10739. "type": "integer",
  10740. "description": "商品id",
  10741. "name": "goodsid",
  10742. "in": "query"
  10743. },
  10744. {
  10745. "type": "string",
  10746. "description": "名称(模糊搜索账户)",
  10747. "name": "filtername",
  10748. "in": "query"
  10749. },
  10750. {
  10751. "type": "string",
  10752. "description": "开始交易日(yyyymmdd)",
  10753. "name": "begindate",
  10754. "in": "query"
  10755. },
  10756. {
  10757. "type": "string",
  10758. "description": "结束交易日(yyyymmdd)",
  10759. "name": "enddate",
  10760. "in": "query"
  10761. },
  10762. {
  10763. "type": "integer",
  10764. "description": "是否包含子级 1-包含",
  10765. "name": "includesub",
  10766. "in": "query"
  10767. }
  10768. ],
  10769. "responses": {
  10770. "200": {
  10771. "description": "OK",
  10772. "schema": {
  10773. "type": "array",
  10774. "items": {
  10775. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10776. }
  10777. }
  10778. },
  10779. "500": {
  10780. "description": "Internal Server Error",
  10781. "schema": {
  10782. "$ref": "#/definitions/app.Response"
  10783. }
  10784. }
  10785. }
  10786. }
  10787. },
  10788. "/QhjMgr/QueryTradePayOrder": {
  10789. "get": {
  10790. "security": [
  10791. {
  10792. "ApiKeyAuth": []
  10793. }
  10794. ],
  10795. "produces": [
  10796. "application/json"
  10797. ],
  10798. "tags": [
  10799. "大连千海金(PCWeb)"
  10800. ],
  10801. "summary": "查询待付款单",
  10802. "parameters": [
  10803. {
  10804. "type": "integer",
  10805. "description": "用户ID",
  10806. "name": "userid",
  10807. "in": "query",
  10808. "required": true
  10809. },
  10810. {
  10811. "type": "string",
  10812. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10813. "name": "payflag",
  10814. "in": "query"
  10815. },
  10816. {
  10817. "type": "integer",
  10818. "description": "用户类型 1-个人 2-企业",
  10819. "name": "userinfotype",
  10820. "in": "query"
  10821. },
  10822. {
  10823. "type": "integer",
  10824. "description": "交易模式",
  10825. "name": "trademode",
  10826. "in": "query"
  10827. },
  10828. {
  10829. "type": "integer",
  10830. "description": "商品id",
  10831. "name": "goodsid",
  10832. "in": "query"
  10833. },
  10834. {
  10835. "type": "string",
  10836. "description": "名称(模糊搜索账户)",
  10837. "name": "filtername",
  10838. "in": "query"
  10839. },
  10840. {
  10841. "type": "string",
  10842. "description": "开始交易日(yyyymmdd)",
  10843. "name": "begindate",
  10844. "in": "query"
  10845. },
  10846. {
  10847. "type": "string",
  10848. "description": "结束交易日(yyyymmdd)",
  10849. "name": "enddate",
  10850. "in": "query"
  10851. },
  10852. {
  10853. "type": "integer",
  10854. "description": "是否包含子级 1-包含",
  10855. "name": "includesub",
  10856. "in": "query"
  10857. }
  10858. ],
  10859. "responses": {
  10860. "200": {
  10861. "description": "OK",
  10862. "schema": {
  10863. "type": "array",
  10864. "items": {
  10865. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  10866. }
  10867. }
  10868. },
  10869. "500": {
  10870. "description": "Internal Server Error",
  10871. "schema": {
  10872. "$ref": "#/definitions/app.Response"
  10873. }
  10874. }
  10875. }
  10876. }
  10877. },
  10878. "/QhjMgr/QueryTradePosition": {
  10879. "get": {
  10880. "security": [
  10881. {
  10882. "ApiKeyAuth": []
  10883. }
  10884. ],
  10885. "produces": [
  10886. "application/json"
  10887. ],
  10888. "tags": [
  10889. "大连千海金(PCWeb)"
  10890. ],
  10891. "summary": "查询持仓汇总",
  10892. "parameters": [
  10893. {
  10894. "type": "integer",
  10895. "description": "用户ID",
  10896. "name": "userid",
  10897. "in": "query",
  10898. "required": true
  10899. },
  10900. {
  10901. "type": "integer",
  10902. "description": "用户类型 1-个人 2-企业",
  10903. "name": "userinfotype",
  10904. "in": "query"
  10905. },
  10906. {
  10907. "type": "integer",
  10908. "description": "交易模式",
  10909. "name": "trademode",
  10910. "in": "query"
  10911. },
  10912. {
  10913. "type": "integer",
  10914. "description": "商品id",
  10915. "name": "goodsid",
  10916. "in": "query"
  10917. },
  10918. {
  10919. "type": "string",
  10920. "description": "名称(模糊搜索账户)",
  10921. "name": "filtername",
  10922. "in": "query"
  10923. },
  10924. {
  10925. "type": "integer",
  10926. "description": "是否包含子级 1-包含",
  10927. "name": "includesub",
  10928. "in": "query"
  10929. }
  10930. ],
  10931. "responses": {
  10932. "200": {
  10933. "description": "OK",
  10934. "schema": {
  10935. "type": "array",
  10936. "items": {
  10937. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10938. }
  10939. }
  10940. },
  10941. "500": {
  10942. "description": "Internal Server Error",
  10943. "schema": {
  10944. "$ref": "#/definitions/app.Response"
  10945. }
  10946. }
  10947. }
  10948. }
  10949. },
  10950. "/QhjSys/QueryAgreementChangeLog": {
  10951. "get": {
  10952. "security": [
  10953. {
  10954. "ApiKeyAuth": []
  10955. }
  10956. ],
  10957. "produces": [
  10958. "application/json"
  10959. ],
  10960. "tags": [
  10961. "大连千海金(协议和签约信息)"
  10962. ],
  10963. "summary": "查询协议配置变更流水",
  10964. "parameters": [
  10965. {
  10966. "type": "integer",
  10967. "description": "协议ID",
  10968. "name": "agreementid",
  10969. "in": "query"
  10970. },
  10971. {
  10972. "type": "integer",
  10973. "description": "协议版本号",
  10974. "name": "agreementversion",
  10975. "in": "query"
  10976. },
  10977. {
  10978. "type": "integer",
  10979. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10980. "name": "agreementtype",
  10981. "in": "query"
  10982. },
  10983. {
  10984. "type": "string",
  10985. "description": "协议编号(模糊匹配)",
  10986. "name": "agreementno",
  10987. "in": "query"
  10988. },
  10989. {
  10990. "type": "string",
  10991. "description": "协议名称(模糊匹配)",
  10992. "name": "agreementname",
  10993. "in": "query"
  10994. }
  10995. ],
  10996. "responses": {
  10997. "200": {
  10998. "description": "OK",
  10999. "schema": {
  11000. "type": "array",
  11001. "items": {
  11002. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11003. }
  11004. }
  11005. },
  11006. "500": {
  11007. "description": "Internal Server Error",
  11008. "schema": {
  11009. "$ref": "#/definitions/app.Response"
  11010. }
  11011. }
  11012. }
  11013. }
  11014. },
  11015. "/QhjSys/QueryAgreementConfig": {
  11016. "get": {
  11017. "security": [
  11018. {
  11019. "ApiKeyAuth": []
  11020. }
  11021. ],
  11022. "produces": [
  11023. "application/json"
  11024. ],
  11025. "tags": [
  11026. "大连千海金(协议和签约信息)"
  11027. ],
  11028. "summary": "查询协议配置",
  11029. "parameters": [
  11030. {
  11031. "type": "integer",
  11032. "description": "协议ID",
  11033. "name": "agreementid",
  11034. "in": "query"
  11035. },
  11036. {
  11037. "type": "integer",
  11038. "description": "协议版本号",
  11039. "name": "agreementversion",
  11040. "in": "query"
  11041. },
  11042. {
  11043. "type": "integer",
  11044. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11045. "name": "agreementtype",
  11046. "in": "query"
  11047. },
  11048. {
  11049. "type": "integer",
  11050. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11051. "name": "isvalid",
  11052. "in": "query"
  11053. },
  11054. {
  11055. "type": "string",
  11056. "description": "协议编号(模糊匹配)",
  11057. "name": "agreementno",
  11058. "in": "query"
  11059. },
  11060. {
  11061. "type": "string",
  11062. "description": "协议名称(模糊匹配)",
  11063. "name": "agreementname",
  11064. "in": "query"
  11065. }
  11066. ],
  11067. "responses": {
  11068. "200": {
  11069. "description": "OK",
  11070. "schema": {
  11071. "type": "array",
  11072. "items": {
  11073. "$ref": "#/definitions/models.QhjAgreementConfig"
  11074. }
  11075. }
  11076. },
  11077. "500": {
  11078. "description": "Internal Server Error",
  11079. "schema": {
  11080. "$ref": "#/definitions/app.Response"
  11081. }
  11082. }
  11083. }
  11084. }
  11085. },
  11086. "/QhjSys/QueryCustomerSignStatus": {
  11087. "get": {
  11088. "security": [
  11089. {
  11090. "ApiKeyAuth": []
  11091. }
  11092. ],
  11093. "produces": [
  11094. "application/json"
  11095. ],
  11096. "tags": [
  11097. "大连千海金(协议和签约信息)"
  11098. ],
  11099. "summary": "查询客户协议签约状态",
  11100. "parameters": [
  11101. {
  11102. "type": "integer",
  11103. "description": "客户ID",
  11104. "name": "userid",
  11105. "in": "query"
  11106. },
  11107. {
  11108. "type": "integer",
  11109. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11110. "name": "nodetype",
  11111. "in": "query"
  11112. },
  11113. {
  11114. "type": "integer",
  11115. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11116. "name": "goodsid",
  11117. "in": "query"
  11118. },
  11119. {
  11120. "type": "string",
  11121. "description": "创建交易日(yyyyMMdd)",
  11122. "name": "tradedate",
  11123. "in": "query"
  11124. },
  11125. {
  11126. "type": "string",
  11127. "description": "用户名称(模糊匹配)",
  11128. "name": "username",
  11129. "in": "query"
  11130. }
  11131. ],
  11132. "responses": {
  11133. "200": {
  11134. "description": "OK",
  11135. "schema": {
  11136. "type": "array",
  11137. "items": {
  11138. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11139. }
  11140. }
  11141. },
  11142. "500": {
  11143. "description": "Internal Server Error",
  11144. "schema": {
  11145. "$ref": "#/definitions/app.Response"
  11146. }
  11147. }
  11148. }
  11149. }
  11150. },
  11151. "/QhjSys/QueryNodeAgreementConfig": {
  11152. "get": {
  11153. "security": [
  11154. {
  11155. "ApiKeyAuth": []
  11156. }
  11157. ],
  11158. "produces": [
  11159. "application/json"
  11160. ],
  11161. "tags": [
  11162. "大连千海金(协议和签约信息)"
  11163. ],
  11164. "summary": "查询协议节点配置",
  11165. "parameters": [
  11166. {
  11167. "type": "integer",
  11168. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11169. "name": "configid",
  11170. "in": "query"
  11171. },
  11172. {
  11173. "type": "integer",
  11174. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11175. "name": "nodetype",
  11176. "in": "query"
  11177. },
  11178. {
  11179. "type": "integer",
  11180. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11181. "name": "goodsid",
  11182. "in": "query"
  11183. },
  11184. {
  11185. "type": "integer",
  11186. "description": "协议ID",
  11187. "name": "agreementid",
  11188. "in": "query"
  11189. },
  11190. {
  11191. "type": "integer",
  11192. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11193. "name": "agreementtype",
  11194. "in": "query"
  11195. },
  11196. {
  11197. "type": "integer",
  11198. "description": "协议版本号",
  11199. "name": "agreementversion",
  11200. "in": "query"
  11201. },
  11202. {
  11203. "type": "string",
  11204. "description": "协议编号(模糊匹配)",
  11205. "name": "agreementno",
  11206. "in": "query"
  11207. },
  11208. {
  11209. "type": "string",
  11210. "description": "协议名称(模糊匹配)",
  11211. "name": "agreementname",
  11212. "in": "query"
  11213. }
  11214. ],
  11215. "responses": {
  11216. "200": {
  11217. "description": "OK",
  11218. "schema": {
  11219. "type": "array",
  11220. "items": {
  11221. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11222. }
  11223. }
  11224. },
  11225. "500": {
  11226. "description": "Internal Server Error",
  11227. "schema": {
  11228. "$ref": "#/definitions/app.Response"
  11229. }
  11230. }
  11231. }
  11232. }
  11233. },
  11234. "/QhjSys/QueryQhjCustomerSignLog": {
  11235. "get": {
  11236. "security": [
  11237. {
  11238. "ApiKeyAuth": []
  11239. }
  11240. ],
  11241. "produces": [
  11242. "application/json"
  11243. ],
  11244. "tags": [
  11245. "大连千海金(协议和签约信息)"
  11246. ],
  11247. "summary": "查询客户协议签约流水",
  11248. "parameters": [
  11249. {
  11250. "type": "integer",
  11251. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11252. "name": "logid",
  11253. "in": "query"
  11254. },
  11255. {
  11256. "type": "integer",
  11257. "description": "客户ID",
  11258. "name": "userid",
  11259. "in": "query"
  11260. },
  11261. {
  11262. "type": "integer",
  11263. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11264. "name": "nodetype",
  11265. "in": "query"
  11266. },
  11267. {
  11268. "type": "integer",
  11269. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11270. "name": "goodsid",
  11271. "in": "query"
  11272. },
  11273. {
  11274. "type": "integer",
  11275. "description": "协议ID",
  11276. "name": "agreementid",
  11277. "in": "query"
  11278. },
  11279. {
  11280. "type": "string",
  11281. "description": "用户名称(模糊匹配)",
  11282. "name": "username",
  11283. "in": "query"
  11284. },
  11285. {
  11286. "type": "string",
  11287. "description": "协议编号(模糊匹配)",
  11288. "name": "agreementno",
  11289. "in": "query"
  11290. },
  11291. {
  11292. "type": "string",
  11293. "description": "协议名称(模糊匹配)",
  11294. "name": "agreementname",
  11295. "in": "query"
  11296. }
  11297. ],
  11298. "responses": {
  11299. "200": {
  11300. "description": "OK",
  11301. "schema": {
  11302. "type": "array",
  11303. "items": {
  11304. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11305. }
  11306. }
  11307. },
  11308. "500": {
  11309. "description": "Internal Server Error",
  11310. "schema": {
  11311. "$ref": "#/definitions/app.Response"
  11312. }
  11313. }
  11314. }
  11315. }
  11316. },
  11317. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11318. "get": {
  11319. "security": [
  11320. {
  11321. "ApiKeyAuth": []
  11322. }
  11323. ],
  11324. "produces": [
  11325. "application/json"
  11326. ],
  11327. "tags": [
  11328. "大连千海金(协议和签约信息)"
  11329. ],
  11330. "summary": "查询用户协议节点配置和状态",
  11331. "parameters": [
  11332. {
  11333. "type": "integer",
  11334. "description": "客户ID",
  11335. "name": "userid",
  11336. "in": "query"
  11337. },
  11338. {
  11339. "type": "integer",
  11340. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11341. "name": "configid",
  11342. "in": "query"
  11343. },
  11344. {
  11345. "type": "string",
  11346. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11347. "name": "nodetype",
  11348. "in": "query"
  11349. },
  11350. {
  11351. "type": "integer",
  11352. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11353. "name": "goodsid",
  11354. "in": "query"
  11355. },
  11356. {
  11357. "type": "integer",
  11358. "description": "协议ID",
  11359. "name": "agreementid",
  11360. "in": "query"
  11361. },
  11362. {
  11363. "type": "integer",
  11364. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11365. "name": "agreementtype",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "integer",
  11370. "description": "协议版本号",
  11371. "name": "agreementversion",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "协议编号(模糊匹配)",
  11377. "name": "agreementno",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "协议名称(模糊匹配)",
  11383. "name": "agreementname",
  11384. "in": "query"
  11385. }
  11386. ],
  11387. "responses": {
  11388. "200": {
  11389. "description": "OK",
  11390. "schema": {
  11391. "type": "array",
  11392. "items": {
  11393. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11394. }
  11395. }
  11396. },
  11397. "500": {
  11398. "description": "Internal Server Error",
  11399. "schema": {
  11400. "$ref": "#/definitions/app.Response"
  11401. }
  11402. }
  11403. }
  11404. }
  11405. },
  11406. "/Quote/QueryHistoryDatas": {
  11407. "get": {
  11408. "security": [
  11409. {
  11410. "ApiKeyAuth": []
  11411. }
  11412. ],
  11413. "produces": [
  11414. "application/json"
  11415. ],
  11416. "tags": [
  11417. "行情服务"
  11418. ],
  11419. "summary": "查询行情历史数据",
  11420. "parameters": [
  11421. {
  11422. "type": "integer",
  11423. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11424. "name": "cycleType",
  11425. "in": "query",
  11426. "required": true
  11427. },
  11428. {
  11429. "type": "string",
  11430. "description": "商品代码",
  11431. "name": "goodsCode",
  11432. "in": "query",
  11433. "required": true
  11434. },
  11435. {
  11436. "type": "string",
  11437. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11438. "name": "startTime",
  11439. "in": "query"
  11440. },
  11441. {
  11442. "type": "string",
  11443. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11444. "name": "endTime",
  11445. "in": "query"
  11446. },
  11447. {
  11448. "type": "integer",
  11449. "description": "条数",
  11450. "name": "count",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "boolean",
  11455. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11456. "name": "isAsc",
  11457. "in": "query"
  11458. }
  11459. ],
  11460. "responses": {
  11461. "200": {
  11462. "description": "OK",
  11463. "schema": {
  11464. "$ref": "#/definitions/quote.HistoryData"
  11465. }
  11466. },
  11467. "500": {
  11468. "description": "Internal Server Error",
  11469. "schema": {
  11470. "$ref": "#/definitions/app.Response"
  11471. }
  11472. }
  11473. }
  11474. }
  11475. },
  11476. "/Quote/QueryHistoryTikDatas": {
  11477. "get": {
  11478. "security": [
  11479. {
  11480. "ApiKeyAuth": []
  11481. }
  11482. ],
  11483. "produces": [
  11484. "application/json"
  11485. ],
  11486. "tags": [
  11487. "行情服务"
  11488. ],
  11489. "summary": "查询行情Tik数据",
  11490. "parameters": [
  11491. {
  11492. "type": "string",
  11493. "description": "商品代码",
  11494. "name": "goodsCode",
  11495. "in": "query",
  11496. "required": true
  11497. },
  11498. {
  11499. "type": "string",
  11500. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11501. "name": "startTime",
  11502. "in": "query"
  11503. },
  11504. {
  11505. "type": "string",
  11506. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11507. "name": "endTime",
  11508. "in": "query"
  11509. },
  11510. {
  11511. "type": "integer",
  11512. "description": "条数",
  11513. "name": "count",
  11514. "in": "query"
  11515. },
  11516. {
  11517. "type": "boolean",
  11518. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11519. "name": "isAsc",
  11520. "in": "query"
  11521. }
  11522. ],
  11523. "responses": {
  11524. "200": {
  11525. "description": "OK",
  11526. "schema": {
  11527. "$ref": "#/definitions/quote.HistoryTikData"
  11528. }
  11529. },
  11530. "500": {
  11531. "description": "Internal Server Error",
  11532. "schema": {
  11533. "$ref": "#/definitions/app.Response"
  11534. }
  11535. }
  11536. }
  11537. }
  11538. },
  11539. "/Quote/QueryQuoteDay": {
  11540. "get": {
  11541. "security": [
  11542. {
  11543. "ApiKeyAuth": []
  11544. }
  11545. ],
  11546. "produces": [
  11547. "application/json"
  11548. ],
  11549. "tags": [
  11550. "行情服务"
  11551. ],
  11552. "summary": "获取商品盘面信息",
  11553. "parameters": [
  11554. {
  11555. "type": "string",
  11556. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11557. "name": "goodsCodes",
  11558. "in": "query"
  11559. }
  11560. ],
  11561. "responses": {
  11562. "200": {
  11563. "description": "OK",
  11564. "schema": {
  11565. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11566. }
  11567. },
  11568. "500": {
  11569. "description": "Internal Server Error",
  11570. "schema": {
  11571. "$ref": "#/definitions/app.Response"
  11572. }
  11573. }
  11574. }
  11575. }
  11576. },
  11577. "/Quote/QueryTSData": {
  11578. "get": {
  11579. "security": [
  11580. {
  11581. "ApiKeyAuth": []
  11582. }
  11583. ],
  11584. "produces": [
  11585. "application/json"
  11586. ],
  11587. "tags": [
  11588. "行情服务"
  11589. ],
  11590. "summary": "分时图数据查询",
  11591. "parameters": [
  11592. {
  11593. "type": "string",
  11594. "description": "商品代码",
  11595. "name": "goodsCode",
  11596. "in": "query",
  11597. "required": true
  11598. }
  11599. ],
  11600. "responses": {
  11601. "200": {
  11602. "description": "OK",
  11603. "schema": {
  11604. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11605. }
  11606. },
  11607. "500": {
  11608. "description": "Internal Server Error",
  11609. "schema": {
  11610. "$ref": "#/definitions/app.Response"
  11611. }
  11612. }
  11613. }
  11614. }
  11615. },
  11616. "/SZDZ/QueryConvertConfig": {
  11617. "get": {
  11618. "security": [
  11619. {
  11620. "ApiKeyAuth": []
  11621. }
  11622. ],
  11623. "produces": [
  11624. "application/json"
  11625. ],
  11626. "tags": [
  11627. "定制【尚志大宗】"
  11628. ],
  11629. "summary": "查询交易系统转换设置",
  11630. "parameters": [
  11631. {
  11632. "type": "integer",
  11633. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11634. "name": "convertType",
  11635. "in": "query"
  11636. },
  11637. {
  11638. "type": "string",
  11639. "description": "外部商品代码[JD\\PD]",
  11640. "name": "outerGoodsCode",
  11641. "in": "query"
  11642. },
  11643. {
  11644. "type": "string",
  11645. "description": "内部商品ID列表[交易],格式:1,2,3",
  11646. "name": "innerGoodsIDs",
  11647. "in": "query"
  11648. }
  11649. ],
  11650. "responses": {
  11651. "200": {
  11652. "description": "OK",
  11653. "schema": {
  11654. "$ref": "#/definitions/models.Szdz3convertconfig"
  11655. }
  11656. },
  11657. "500": {
  11658. "description": "Internal Server Error",
  11659. "schema": {
  11660. "$ref": "#/definitions/app.Response"
  11661. }
  11662. }
  11663. }
  11664. }
  11665. },
  11666. "/SZDZ/QueryConvertLog": {
  11667. "get": {
  11668. "security": [
  11669. {
  11670. "ApiKeyAuth": []
  11671. }
  11672. ],
  11673. "produces": [
  11674. "application/json"
  11675. ],
  11676. "tags": [
  11677. "定制【尚志大宗】"
  11678. ],
  11679. "summary": "交易系统转换流水查询",
  11680. "parameters": [
  11681. {
  11682. "type": "string",
  11683. "description": "资金账户 - 格式:1,2,3",
  11684. "name": "accountID",
  11685. "in": "query",
  11686. "required": true
  11687. },
  11688. {
  11689. "type": "string",
  11690. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11691. "name": "startDate",
  11692. "in": "query"
  11693. },
  11694. {
  11695. "type": "string",
  11696. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11697. "name": "endDate",
  11698. "in": "query"
  11699. }
  11700. ],
  11701. "responses": {
  11702. "200": {
  11703. "description": "OK",
  11704. "schema": {
  11705. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11706. }
  11707. },
  11708. "500": {
  11709. "description": "Internal Server Error",
  11710. "schema": {
  11711. "$ref": "#/definitions/app.Response"
  11712. }
  11713. }
  11714. }
  11715. }
  11716. },
  11717. "/SZDZ/QueryGoodsPickup": {
  11718. "get": {
  11719. "security": [
  11720. {
  11721. "ApiKeyAuth": []
  11722. }
  11723. ],
  11724. "produces": [
  11725. "application/json"
  11726. ],
  11727. "tags": [
  11728. "定制【尚志大宗】"
  11729. ],
  11730. "summary": "商品提货单查询",
  11731. "parameters": [
  11732. {
  11733. "type": "string",
  11734. "description": "资金账户 - 格式:1,2,3",
  11735. "name": "accountID",
  11736. "in": "query",
  11737. "required": true
  11738. },
  11739. {
  11740. "type": "integer",
  11741. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11742. "name": "takeOrderStatus",
  11743. "in": "query"
  11744. }
  11745. ],
  11746. "responses": {
  11747. "200": {
  11748. "description": "OK",
  11749. "schema": {
  11750. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11751. }
  11752. },
  11753. "500": {
  11754. "description": "Internal Server Error",
  11755. "schema": {
  11756. "$ref": "#/definitions/app.Response"
  11757. }
  11758. }
  11759. }
  11760. }
  11761. },
  11762. "/SZDZ/QueryRecieptOrder": {
  11763. "get": {
  11764. "security": [
  11765. {
  11766. "ApiKeyAuth": []
  11767. }
  11768. ],
  11769. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11770. "produces": [
  11771. "application/json"
  11772. ],
  11773. "tags": [
  11774. "定制【尚志大宗】"
  11775. ],
  11776. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11777. "parameters": [
  11778. {
  11779. "type": "integer",
  11780. "description": "页码",
  11781. "name": "page",
  11782. "in": "query"
  11783. },
  11784. {
  11785. "type": "integer",
  11786. "description": "每页条数",
  11787. "name": "pagesize",
  11788. "in": "query"
  11789. },
  11790. {
  11791. "type": "integer",
  11792. "description": "商品ID",
  11793. "name": "goodsID",
  11794. "in": "query",
  11795. "required": true
  11796. },
  11797. {
  11798. "type": "string",
  11799. "description": "所属账户名称",
  11800. "name": "accountName",
  11801. "in": "query"
  11802. },
  11803. {
  11804. "type": "integer",
  11805. "description": "市场ID",
  11806. "name": "marketID",
  11807. "in": "query"
  11808. },
  11809. {
  11810. "type": "integer",
  11811. "description": "方向 - 0:买 1:卖",
  11812. "name": "buyorsell",
  11813. "in": "query",
  11814. "required": true
  11815. }
  11816. ],
  11817. "responses": {
  11818. "200": {
  11819. "description": "OK",
  11820. "schema": {
  11821. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  11822. }
  11823. },
  11824. "500": {
  11825. "description": "Internal Server Error",
  11826. "schema": {
  11827. "$ref": "#/definitions/app.Response"
  11828. }
  11829. }
  11830. }
  11831. }
  11832. },
  11833. "/SZDZ/QuerySZDZTradePosition": {
  11834. "get": {
  11835. "security": [
  11836. {
  11837. "ApiKeyAuth": []
  11838. }
  11839. ],
  11840. "produces": [
  11841. "application/json"
  11842. ],
  11843. "tags": [
  11844. "定制【尚志大宗】"
  11845. ],
  11846. "summary": "持仓汇总查询(尚志大宗)",
  11847. "parameters": [
  11848. {
  11849. "type": "integer",
  11850. "description": "资金账户",
  11851. "name": "accountID",
  11852. "in": "query",
  11853. "required": true
  11854. }
  11855. ],
  11856. "responses": {
  11857. "200": {
  11858. "description": "OK",
  11859. "schema": {
  11860. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  11861. }
  11862. },
  11863. "500": {
  11864. "description": "Internal Server Error",
  11865. "schema": {
  11866. "$ref": "#/definitions/app.Response"
  11867. }
  11868. }
  11869. }
  11870. }
  11871. },
  11872. "/SZDZ/SearchWhite": {
  11873. "get": {
  11874. "security": [
  11875. {
  11876. "ApiKeyAuth": []
  11877. }
  11878. ],
  11879. "produces": [
  11880. "application/json"
  11881. ],
  11882. "tags": [
  11883. "定制【尚志大宗】"
  11884. ],
  11885. "summary": "搜索白名单",
  11886. "parameters": [
  11887. {
  11888. "type": "integer",
  11889. "description": "用户ID",
  11890. "name": "userID",
  11891. "in": "query",
  11892. "required": true
  11893. }
  11894. ],
  11895. "responses": {
  11896. "200": {
  11897. "description": "OK",
  11898. "schema": {
  11899. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11900. }
  11901. },
  11902. "500": {
  11903. "description": "Internal Server Error",
  11904. "schema": {
  11905. "$ref": "#/definitions/app.Response"
  11906. }
  11907. }
  11908. }
  11909. }
  11910. },
  11911. "/Search/SearchGoodses": {
  11912. "get": {
  11913. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11914. "produces": [
  11915. "application/json"
  11916. ],
  11917. "tags": [
  11918. "检索服务"
  11919. ],
  11920. "summary": "检索商品信息",
  11921. "parameters": [
  11922. {
  11923. "type": "string",
  11924. "description": "检索内容",
  11925. "name": "content",
  11926. "in": "query",
  11927. "required": true
  11928. },
  11929. {
  11930. "type": "string",
  11931. "description": "交易模式,格式:1,2,3",
  11932. "name": "tradeModes",
  11933. "in": "query"
  11934. }
  11935. ],
  11936. "responses": {
  11937. "200": {
  11938. "description": "OK",
  11939. "schema": {
  11940. "$ref": "#/definitions/models.SearchGoods"
  11941. }
  11942. },
  11943. "500": {
  11944. "description": "Internal Server Error",
  11945. "schema": {
  11946. "$ref": "#/definitions/app.Response"
  11947. }
  11948. }
  11949. }
  11950. }
  11951. },
  11952. "/TaAccount/GetTaAccounts": {
  11953. "get": {
  11954. "security": [
  11955. {
  11956. "ApiKeyAuth": []
  11957. }
  11958. ],
  11959. "produces": [
  11960. "application/json"
  11961. ],
  11962. "tags": [
  11963. "资金账户"
  11964. ],
  11965. "summary": "获取资金账户信息",
  11966. "parameters": [
  11967. {
  11968. "type": "integer",
  11969. "description": "登录账户",
  11970. "name": "loginID",
  11971. "in": "query",
  11972. "required": true
  11973. },
  11974. {
  11975. "type": "integer",
  11976. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  11977. "name": "taAccountType",
  11978. "in": "query"
  11979. }
  11980. ],
  11981. "responses": {
  11982. "200": {
  11983. "description": "OK",
  11984. "schema": {
  11985. "$ref": "#/definitions/models.Taaccount"
  11986. }
  11987. },
  11988. "500": {
  11989. "description": "Internal Server Error",
  11990. "schema": {
  11991. "$ref": "#/definitions/app.Response"
  11992. }
  11993. }
  11994. }
  11995. }
  11996. },
  11997. "/TaAccount/QueryAmountLog": {
  11998. "get": {
  11999. "security": [
  12000. {
  12001. "ApiKeyAuth": []
  12002. }
  12003. ],
  12004. "produces": [
  12005. "application/json"
  12006. ],
  12007. "tags": [
  12008. "资金账户"
  12009. ],
  12010. "summary": "资金流水查询(当前)",
  12011. "parameters": [
  12012. {
  12013. "type": "integer",
  12014. "description": "页码",
  12015. "name": "page",
  12016. "in": "query"
  12017. },
  12018. {
  12019. "type": "integer",
  12020. "description": "每页条数",
  12021. "name": "pagesize",
  12022. "in": "query"
  12023. },
  12024. {
  12025. "type": "string",
  12026. "description": "资金账户 - 格式:1,2,3",
  12027. "name": "accountID",
  12028. "in": "query",
  12029. "required": true
  12030. },
  12031. {
  12032. "type": "string",
  12033. "description": "资金操作类型 - 格式:1,2,3",
  12034. "name": "OperateType",
  12035. "in": "query"
  12036. }
  12037. ],
  12038. "responses": {
  12039. "200": {
  12040. "description": "OK",
  12041. "schema": {
  12042. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12043. }
  12044. },
  12045. "500": {
  12046. "description": "Internal Server Error",
  12047. "schema": {
  12048. "$ref": "#/definitions/app.Response"
  12049. }
  12050. }
  12051. }
  12052. }
  12053. },
  12054. "/TaAccount/QueryHisAmountLog": {
  12055. "get": {
  12056. "security": [
  12057. {
  12058. "ApiKeyAuth": []
  12059. }
  12060. ],
  12061. "produces": [
  12062. "application/json"
  12063. ],
  12064. "tags": [
  12065. "资金账户"
  12066. ],
  12067. "summary": "资金流水查询(历史)",
  12068. "parameters": [
  12069. {
  12070. "type": "integer",
  12071. "description": "页码",
  12072. "name": "page",
  12073. "in": "query"
  12074. },
  12075. {
  12076. "type": "integer",
  12077. "description": "每页条数",
  12078. "name": "pagesize",
  12079. "in": "query"
  12080. },
  12081. {
  12082. "type": "string",
  12083. "description": "资金账户 - 格式:1,2,3",
  12084. "name": "accountID",
  12085. "in": "query",
  12086. "required": true
  12087. },
  12088. {
  12089. "type": "string",
  12090. "description": "资金操作类型 - 格式:1,2,3",
  12091. "name": "OperateType",
  12092. "in": "query"
  12093. },
  12094. {
  12095. "type": "string",
  12096. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12097. "name": "startDate",
  12098. "in": "query"
  12099. },
  12100. {
  12101. "type": "string",
  12102. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12103. "name": "endDate",
  12104. "in": "query"
  12105. }
  12106. ],
  12107. "responses": {
  12108. "200": {
  12109. "description": "OK",
  12110. "schema": {
  12111. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12112. }
  12113. },
  12114. "500": {
  12115. "description": "Internal Server Error",
  12116. "schema": {
  12117. "$ref": "#/definitions/app.Response"
  12118. }
  12119. }
  12120. }
  12121. }
  12122. },
  12123. "/TaAccount/QueryRelatedTaAccount": {
  12124. "get": {
  12125. "security": [
  12126. {
  12127. "ApiKeyAuth": []
  12128. }
  12129. ],
  12130. "produces": [
  12131. "application/json"
  12132. ],
  12133. "tags": [
  12134. "资金账户"
  12135. ],
  12136. "summary": "查询关联资金账户信息",
  12137. "parameters": [
  12138. {
  12139. "type": "integer",
  12140. "description": "关联UserID",
  12141. "name": "relateduserid",
  12142. "in": "query",
  12143. "required": true
  12144. }
  12145. ],
  12146. "responses": {
  12147. "200": {
  12148. "description": "OK",
  12149. "schema": {
  12150. "type": "array",
  12151. "items": {
  12152. "$ref": "#/definitions/models.RelatedTaAccount"
  12153. }
  12154. }
  12155. },
  12156. "500": {
  12157. "description": "Internal Server Error",
  12158. "schema": {
  12159. "$ref": "#/definitions/app.Response"
  12160. }
  12161. }
  12162. }
  12163. }
  12164. },
  12165. "/Tjmd/QueryQuoteGoodsList": {
  12166. "get": {
  12167. "security": [
  12168. {
  12169. "ApiKeyAuth": []
  12170. }
  12171. ],
  12172. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12173. "produces": [
  12174. "application/json"
  12175. ],
  12176. "tags": [
  12177. "天津麦顿"
  12178. ],
  12179. "summary": "查询掉期报价列表",
  12180. "parameters": [
  12181. {
  12182. "type": "integer",
  12183. "description": "用户类型",
  12184. "name": "usertype",
  12185. "in": "query",
  12186. "required": true
  12187. },
  12188. {
  12189. "type": "string",
  12190. "description": "市场id, 格式 1,2,3",
  12191. "name": "marketids",
  12192. "in": "query"
  12193. },
  12194. {
  12195. "type": "integer",
  12196. "description": "商品组id",
  12197. "name": "goodsgroupid",
  12198. "in": "query"
  12199. },
  12200. {
  12201. "type": "integer",
  12202. "description": "商品id",
  12203. "name": "goodsid",
  12204. "in": "query"
  12205. }
  12206. ],
  12207. "responses": {
  12208. "200": {
  12209. "description": "OK",
  12210. "schema": {
  12211. "type": "array",
  12212. "items": {
  12213. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12214. }
  12215. }
  12216. },
  12217. "500": {
  12218. "description": "Internal Server Error",
  12219. "schema": {
  12220. "$ref": "#/definitions/app.Response"
  12221. }
  12222. }
  12223. }
  12224. }
  12225. },
  12226. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12227. "get": {
  12228. "security": [
  12229. {
  12230. "ApiKeyAuth": []
  12231. }
  12232. ],
  12233. "produces": [
  12234. "application/json"
  12235. ],
  12236. "tags": [
  12237. "天津麦顿"
  12238. ],
  12239. "summary": "掉期商品订单详情(交易确认书)",
  12240. "parameters": [
  12241. {
  12242. "type": "string",
  12243. "description": "成交单号",
  12244. "name": "tradeid",
  12245. "in": "query",
  12246. "required": true
  12247. }
  12248. ],
  12249. "responses": {
  12250. "200": {
  12251. "description": "OK",
  12252. "schema": {
  12253. "type": "array",
  12254. "items": {
  12255. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12256. }
  12257. }
  12258. },
  12259. "500": {
  12260. "description": "Internal Server Error",
  12261. "schema": {
  12262. "$ref": "#/definitions/app.Response"
  12263. }
  12264. }
  12265. }
  12266. }
  12267. },
  12268. "/Tjmd/QueryTjmdMarketSection": {
  12269. "get": {
  12270. "security": [
  12271. {
  12272. "ApiKeyAuth": []
  12273. }
  12274. ],
  12275. "produces": [
  12276. "application/json"
  12277. ],
  12278. "tags": [
  12279. "天津麦顿"
  12280. ],
  12281. "summary": "查询市场板块",
  12282. "responses": {
  12283. "200": {
  12284. "description": "OK",
  12285. "schema": {
  12286. "type": "array",
  12287. "items": {
  12288. "$ref": "#/definitions/models.TjmdMarketSection"
  12289. }
  12290. }
  12291. },
  12292. "500": {
  12293. "description": "Internal Server Error",
  12294. "schema": {
  12295. "$ref": "#/definitions/app.Response"
  12296. }
  12297. }
  12298. }
  12299. }
  12300. },
  12301. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12302. "get": {
  12303. "security": [
  12304. {
  12305. "ApiKeyAuth": []
  12306. }
  12307. ],
  12308. "produces": [
  12309. "application/json"
  12310. ],
  12311. "tags": [
  12312. "天津麦顿"
  12313. ],
  12314. "summary": "查询今日账户保证金配置",
  12315. "parameters": [
  12316. {
  12317. "type": "string",
  12318. "description": "市场id",
  12319. "name": "marketid",
  12320. "in": "query"
  12321. },
  12322. {
  12323. "type": "string",
  12324. "description": "商品id",
  12325. "name": "goodsid",
  12326. "in": "query"
  12327. },
  12328. {
  12329. "type": "string",
  12330. "description": "资金账号",
  12331. "name": "accountid",
  12332. "in": "query"
  12333. }
  12334. ],
  12335. "responses": {
  12336. "200": {
  12337. "description": "OK",
  12338. "schema": {
  12339. "type": "array",
  12340. "items": {
  12341. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12342. }
  12343. }
  12344. },
  12345. "500": {
  12346. "description": "Internal Server Error",
  12347. "schema": {
  12348. "$ref": "#/definitions/app.Response"
  12349. }
  12350. }
  12351. }
  12352. }
  12353. },
  12354. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12355. "get": {
  12356. "security": [
  12357. {
  12358. "ApiKeyAuth": []
  12359. }
  12360. ],
  12361. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12362. "produces": [
  12363. "application/json"
  12364. ],
  12365. "tags": [
  12366. "天津麦顿"
  12367. ],
  12368. "summary": "查询掉期买卖大厅",
  12369. "parameters": [
  12370. {
  12371. "type": "integer",
  12372. "description": "页码",
  12373. "name": "page",
  12374. "in": "query"
  12375. },
  12376. {
  12377. "type": "integer",
  12378. "description": "每页条数",
  12379. "name": "pagesize",
  12380. "in": "query"
  12381. },
  12382. {
  12383. "type": "integer",
  12384. "description": "用户id",
  12385. "name": "userid",
  12386. "in": "query",
  12387. "required": true
  12388. },
  12389. {
  12390. "type": "integer",
  12391. "description": "用户类型",
  12392. "name": "usertype",
  12393. "in": "query",
  12394. "required": true
  12395. },
  12396. {
  12397. "type": "string",
  12398. "description": "市场id, 格式 1,2,3",
  12399. "name": "marketids",
  12400. "in": "query"
  12401. },
  12402. {
  12403. "type": "integer",
  12404. "description": "商品id",
  12405. "name": "goodsid",
  12406. "in": "query",
  12407. "required": true
  12408. },
  12409. {
  12410. "type": "integer",
  12411. "description": "买卖方向 0-买 1-卖",
  12412. "name": "buyorsell",
  12413. "in": "query",
  12414. "required": true
  12415. }
  12416. ],
  12417. "responses": {
  12418. "200": {
  12419. "description": "OK",
  12420. "schema": {
  12421. "type": "array",
  12422. "items": {
  12423. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12424. }
  12425. }
  12426. },
  12427. "500": {
  12428. "description": "Internal Server Error",
  12429. "schema": {
  12430. "$ref": "#/definitions/app.Response"
  12431. }
  12432. }
  12433. }
  12434. }
  12435. },
  12436. "/Tjmd/QueryTjmdTransferApply": {
  12437. "get": {
  12438. "security": [
  12439. {
  12440. "ApiKeyAuth": []
  12441. }
  12442. ],
  12443. "produces": [
  12444. "application/json"
  12445. ],
  12446. "tags": [
  12447. "天津麦顿"
  12448. ],
  12449. "summary": "查询掉期协议单",
  12450. "parameters": [
  12451. {
  12452. "type": "integer",
  12453. "description": "类型 1-我的申请 2-对方申请",
  12454. "name": "applytype",
  12455. "in": "query",
  12456. "required": true
  12457. },
  12458. {
  12459. "type": "string",
  12460. "description": "市场id, 格式 1,2,3",
  12461. "name": "marketids",
  12462. "in": "query"
  12463. },
  12464. {
  12465. "type": "string",
  12466. "description": "资金账号, 格式 25000000001,25000000003",
  12467. "name": "accountids",
  12468. "in": "query"
  12469. },
  12470. {
  12471. "type": "string",
  12472. "description": "开始交易日(yyyymmdd)",
  12473. "name": "begindate",
  12474. "in": "query"
  12475. },
  12476. {
  12477. "type": "string",
  12478. "description": "结束交易日(yyyymmdd)",
  12479. "name": "enddate",
  12480. "in": "query"
  12481. }
  12482. ],
  12483. "responses": {
  12484. "200": {
  12485. "description": "OK",
  12486. "schema": {
  12487. "type": "array",
  12488. "items": {
  12489. "$ref": "#/definitions/models.TjmdTransferApply"
  12490. }
  12491. }
  12492. },
  12493. "500": {
  12494. "description": "Internal Server Error",
  12495. "schema": {
  12496. "$ref": "#/definitions/app.Response"
  12497. }
  12498. }
  12499. }
  12500. }
  12501. },
  12502. "/Trade/QueryRecieptOrder": {
  12503. "get": {
  12504. "security": [
  12505. {
  12506. "ApiKeyAuth": []
  12507. }
  12508. ],
  12509. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12510. "produces": [
  12511. "application/json"
  12512. ],
  12513. "tags": [
  12514. "通用交易"
  12515. ],
  12516. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12517. "parameters": [
  12518. {
  12519. "type": "integer",
  12520. "description": "页码",
  12521. "name": "page",
  12522. "in": "query"
  12523. },
  12524. {
  12525. "type": "integer",
  12526. "description": "每页条数",
  12527. "name": "pagesize",
  12528. "in": "query"
  12529. },
  12530. {
  12531. "type": "integer",
  12532. "description": "商品ID",
  12533. "name": "goodsID",
  12534. "in": "query",
  12535. "required": true
  12536. },
  12537. {
  12538. "type": "string",
  12539. "description": "所属账户名称",
  12540. "name": "accountName",
  12541. "in": "query"
  12542. },
  12543. {
  12544. "type": "integer",
  12545. "description": "市场ID",
  12546. "name": "marketID",
  12547. "in": "query"
  12548. },
  12549. {
  12550. "type": "integer",
  12551. "description": "方向 - 0:买 1:卖",
  12552. "name": "buyorsell",
  12553. "in": "query",
  12554. "required": true
  12555. }
  12556. ],
  12557. "responses": {
  12558. "200": {
  12559. "description": "OK",
  12560. "schema": {
  12561. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12562. }
  12563. },
  12564. "500": {
  12565. "description": "Internal Server Error",
  12566. "schema": {
  12567. "$ref": "#/definitions/app.Response"
  12568. }
  12569. }
  12570. }
  12571. }
  12572. },
  12573. "/User/AddMessageBoard": {
  12574. "post": {
  12575. "security": [
  12576. {
  12577. "ApiKeyAuth": []
  12578. }
  12579. ],
  12580. "produces": [
  12581. "application/json"
  12582. ],
  12583. "tags": [
  12584. "用户信息"
  12585. ],
  12586. "summary": "添加用户留言板信息",
  12587. "parameters": [
  12588. {
  12589. "type": "integer",
  12590. "description": "用户ID",
  12591. "name": "userID",
  12592. "in": "query",
  12593. "required": true
  12594. },
  12595. {
  12596. "type": "string",
  12597. "description": "留言信息",
  12598. "name": "message",
  12599. "in": "query",
  12600. "required": true
  12601. },
  12602. {
  12603. "type": "string",
  12604. "description": "联系电话",
  12605. "name": "contactNum",
  12606. "in": "query",
  12607. "required": true
  12608. }
  12609. ],
  12610. "responses": {
  12611. "200": {
  12612. "description": "OK",
  12613. "schema": {
  12614. "$ref": "#/definitions/app.Response"
  12615. }
  12616. },
  12617. "500": {
  12618. "description": "Internal Server Error",
  12619. "schema": {
  12620. "$ref": "#/definitions/app.Response"
  12621. }
  12622. }
  12623. }
  12624. }
  12625. },
  12626. "/User/AddUserFavoriteGoods": {
  12627. "post": {
  12628. "security": [
  12629. {
  12630. "ApiKeyAuth": []
  12631. }
  12632. ],
  12633. "produces": [
  12634. "application/json"
  12635. ],
  12636. "tags": [
  12637. "用户信息"
  12638. ],
  12639. "summary": "添加用户商品收藏信息",
  12640. "parameters": [
  12641. {
  12642. "type": "integer",
  12643. "description": "用户ID",
  12644. "name": "userID",
  12645. "in": "query",
  12646. "required": true
  12647. },
  12648. {
  12649. "type": "integer",
  12650. "description": "商品ID",
  12651. "name": "goodsID",
  12652. "in": "query",
  12653. "required": true
  12654. }
  12655. ],
  12656. "responses": {
  12657. "200": {
  12658. "description": "OK",
  12659. "schema": {
  12660. "$ref": "#/definitions/app.Response"
  12661. }
  12662. },
  12663. "500": {
  12664. "description": "Internal Server Error",
  12665. "schema": {
  12666. "$ref": "#/definitions/app.Response"
  12667. }
  12668. }
  12669. }
  12670. }
  12671. },
  12672. "/User/GetLoginID": {
  12673. "get": {
  12674. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12675. "produces": [
  12676. "application/json"
  12677. ],
  12678. "tags": [
  12679. "用户信息"
  12680. ],
  12681. "summary": "获取登录ID",
  12682. "parameters": [
  12683. {
  12684. "type": "string",
  12685. "description": "登录代码",
  12686. "name": "username",
  12687. "in": "query",
  12688. "required": true
  12689. }
  12690. ],
  12691. "responses": {
  12692. "200": {
  12693. "description": "OK",
  12694. "schema": {
  12695. "$ref": "#/definitions/app.Response"
  12696. }
  12697. },
  12698. "500": {
  12699. "description": "Internal Server Error",
  12700. "schema": {
  12701. "$ref": "#/definitions/app.Response"
  12702. }
  12703. }
  12704. }
  12705. }
  12706. },
  12707. "/User/GetUserAccount": {
  12708. "get": {
  12709. "security": [
  12710. {
  12711. "ApiKeyAuth": []
  12712. }
  12713. ],
  12714. "produces": [
  12715. "application/json"
  12716. ],
  12717. "tags": [
  12718. "用户信息"
  12719. ],
  12720. "summary": "获取用户账号信息",
  12721. "parameters": [
  12722. {
  12723. "type": "integer",
  12724. "description": "用户ID",
  12725. "name": "userID",
  12726. "in": "query",
  12727. "required": true
  12728. }
  12729. ],
  12730. "responses": {
  12731. "200": {
  12732. "description": "OK",
  12733. "schema": {
  12734. "$ref": "#/definitions/models.Useraccount"
  12735. }
  12736. },
  12737. "500": {
  12738. "description": "Internal Server Error",
  12739. "schema": {
  12740. "$ref": "#/definitions/app.Response"
  12741. }
  12742. }
  12743. }
  12744. }
  12745. },
  12746. "/User/GetUserAuthStatus": {
  12747. "get": {
  12748. "security": [
  12749. {
  12750. "ApiKeyAuth": []
  12751. }
  12752. ],
  12753. "produces": [
  12754. "application/json"
  12755. ],
  12756. "tags": [
  12757. "用户信息"
  12758. ],
  12759. "summary": "获取用户实名认证状态",
  12760. "parameters": [
  12761. {
  12762. "type": "integer",
  12763. "description": "用户ID",
  12764. "name": "userID",
  12765. "in": "query",
  12766. "required": true
  12767. }
  12768. ],
  12769. "responses": {
  12770. "200": {
  12771. "description": "OK",
  12772. "schema": {
  12773. "$ref": "#/definitions/app.Response"
  12774. }
  12775. },
  12776. "500": {
  12777. "description": "Internal Server Error",
  12778. "schema": {
  12779. "$ref": "#/definitions/app.Response"
  12780. }
  12781. }
  12782. }
  12783. }
  12784. },
  12785. "/User/LoginQuery": {
  12786. "get": {
  12787. "security": [
  12788. {
  12789. "ApiKeyAuth": []
  12790. }
  12791. ],
  12792. "produces": [
  12793. "application/json"
  12794. ],
  12795. "tags": [
  12796. "用户信息"
  12797. ],
  12798. "summary": "账户登录后信息查询",
  12799. "parameters": [
  12800. {
  12801. "type": "integer",
  12802. "description": "登录账号",
  12803. "name": "loginID",
  12804. "in": "query",
  12805. "required": true
  12806. }
  12807. ],
  12808. "responses": {
  12809. "200": {
  12810. "description": "OK",
  12811. "schema": {
  12812. "$ref": "#/definitions/user.LoginQueryRsp"
  12813. }
  12814. },
  12815. "500": {
  12816. "description": "Internal Server Error",
  12817. "schema": {
  12818. "$ref": "#/definitions/app.Response"
  12819. }
  12820. }
  12821. }
  12822. }
  12823. },
  12824. "/User/QueryMessageBoard": {
  12825. "get": {
  12826. "security": [
  12827. {
  12828. "ApiKeyAuth": []
  12829. }
  12830. ],
  12831. "produces": [
  12832. "application/json"
  12833. ],
  12834. "tags": [
  12835. "用户信息"
  12836. ],
  12837. "summary": "获取用户留言板信息",
  12838. "parameters": [
  12839. {
  12840. "type": "integer",
  12841. "description": "用户ID",
  12842. "name": "userID",
  12843. "in": "query",
  12844. "required": true
  12845. }
  12846. ],
  12847. "responses": {
  12848. "200": {
  12849. "description": "OK",
  12850. "schema": {
  12851. "$ref": "#/definitions/models.Messageboard"
  12852. }
  12853. },
  12854. "500": {
  12855. "description": "Internal Server Error",
  12856. "schema": {
  12857. "$ref": "#/definitions/app.Response"
  12858. }
  12859. }
  12860. }
  12861. }
  12862. },
  12863. "/User/QueryUserFavoriteGoodses": {
  12864. "get": {
  12865. "security": [
  12866. {
  12867. "ApiKeyAuth": []
  12868. }
  12869. ],
  12870. "produces": [
  12871. "application/json"
  12872. ],
  12873. "tags": [
  12874. "用户信息"
  12875. ],
  12876. "summary": "获取用户商品收藏信息",
  12877. "parameters": [
  12878. {
  12879. "type": "integer",
  12880. "description": "用户ID",
  12881. "name": "userID",
  12882. "in": "query",
  12883. "required": true
  12884. }
  12885. ],
  12886. "responses": {
  12887. "200": {
  12888. "description": "OK",
  12889. "schema": {
  12890. "$ref": "#/definitions/models.Userfavoritegoods"
  12891. }
  12892. },
  12893. "500": {
  12894. "description": "Internal Server Error",
  12895. "schema": {
  12896. "$ref": "#/definitions/app.Response"
  12897. }
  12898. }
  12899. }
  12900. }
  12901. },
  12902. "/User/QueryUserInfo": {
  12903. "get": {
  12904. "security": [
  12905. {
  12906. "ApiKeyAuth": []
  12907. }
  12908. ],
  12909. "produces": [
  12910. "application/json"
  12911. ],
  12912. "tags": [
  12913. "用户信息"
  12914. ],
  12915. "summary": "获取用户信息",
  12916. "parameters": [
  12917. {
  12918. "type": "integer",
  12919. "description": "用户ID",
  12920. "name": "userID",
  12921. "in": "query",
  12922. "required": true
  12923. },
  12924. {
  12925. "type": "boolean",
  12926. "description": "是否解密",
  12927. "name": "isDecrypt",
  12928. "in": "query"
  12929. }
  12930. ],
  12931. "responses": {
  12932. "200": {
  12933. "description": "OK",
  12934. "schema": {
  12935. "$ref": "#/definitions/models.Userinfo"
  12936. }
  12937. },
  12938. "500": {
  12939. "description": "Internal Server Error",
  12940. "schema": {
  12941. "$ref": "#/definitions/app.Response"
  12942. }
  12943. }
  12944. }
  12945. }
  12946. },
  12947. "/User/QueryUserReferNum": {
  12948. "get": {
  12949. "produces": [
  12950. "application/json"
  12951. ],
  12952. "tags": [
  12953. "用户信息"
  12954. ],
  12955. "summary": "获取用户邀请码",
  12956. "parameters": [
  12957. {
  12958. "type": "integer",
  12959. "description": "用户ID",
  12960. "name": "userID",
  12961. "in": "query",
  12962. "required": true
  12963. }
  12964. ],
  12965. "responses": {
  12966. "200": {
  12967. "description": "OK",
  12968. "schema": {
  12969. "$ref": "#/definitions/app.Response"
  12970. }
  12971. },
  12972. "500": {
  12973. "description": "Internal Server Error",
  12974. "schema": {
  12975. "$ref": "#/definitions/app.Response"
  12976. }
  12977. }
  12978. }
  12979. }
  12980. },
  12981. "/User/RemoveUserFavoriteGoods": {
  12982. "post": {
  12983. "security": [
  12984. {
  12985. "ApiKeyAuth": []
  12986. }
  12987. ],
  12988. "produces": [
  12989. "application/json"
  12990. ],
  12991. "tags": [
  12992. "用户信息"
  12993. ],
  12994. "summary": "移除用户商品收藏信息",
  12995. "parameters": [
  12996. {
  12997. "type": "integer",
  12998. "description": "用户ID",
  12999. "name": "userID",
  13000. "in": "query",
  13001. "required": true
  13002. },
  13003. {
  13004. "type": "integer",
  13005. "description": "商品ID",
  13006. "name": "goodsID",
  13007. "in": "query",
  13008. "required": true
  13009. }
  13010. ],
  13011. "responses": {
  13012. "200": {
  13013. "description": "OK",
  13014. "schema": {
  13015. "$ref": "#/definitions/app.Response"
  13016. }
  13017. },
  13018. "500": {
  13019. "description": "Internal Server Error",
  13020. "schema": {
  13021. "$ref": "#/definitions/app.Response"
  13022. }
  13023. }
  13024. }
  13025. }
  13026. },
  13027. "/User/UpdateUserAccountStatus": {
  13028. "post": {
  13029. "security": [
  13030. {
  13031. "ApiKeyAuth": []
  13032. }
  13033. ],
  13034. "produces": [
  13035. "application/json"
  13036. ],
  13037. "tags": [
  13038. "用户信息"
  13039. ],
  13040. "summary": "更新用户状态",
  13041. "parameters": [
  13042. {
  13043. "type": "integer",
  13044. "description": "用户ID",
  13045. "name": "userID",
  13046. "in": "query",
  13047. "required": true
  13048. },
  13049. {
  13050. "type": "integer",
  13051. "description": "账户状态 - 4:正常 6:注销(停用)",
  13052. "name": "accountStatus",
  13053. "in": "query",
  13054. "required": true
  13055. }
  13056. ],
  13057. "responses": {
  13058. "200": {
  13059. "description": "OK",
  13060. "schema": {
  13061. "$ref": "#/definitions/app.Response"
  13062. }
  13063. },
  13064. "500": {
  13065. "description": "Internal Server Error",
  13066. "schema": {
  13067. "$ref": "#/definitions/app.Response"
  13068. }
  13069. }
  13070. }
  13071. }
  13072. },
  13073. "/WRTrade/GetAllDeliveryGoods": {
  13074. "get": {
  13075. "security": [
  13076. {
  13077. "ApiKeyAuth": []
  13078. }
  13079. ],
  13080. "produces": [
  13081. "application/json"
  13082. ],
  13083. "tags": [
  13084. "仓单贸易",
  13085. "仓单贸易"
  13086. ],
  13087. "summary": "获取带仓单分类的种类信息",
  13088. "responses": {
  13089. "200": {
  13090. "description": "OK",
  13091. "schema": {
  13092. "$ref": "#/definitions/app.Response"
  13093. }
  13094. },
  13095. "500": {
  13096. "description": "Internal Server Error",
  13097. "schema": {
  13098. "$ref": "#/definitions/app.Response"
  13099. }
  13100. }
  13101. }
  13102. }
  13103. },
  13104. "/WrTrade2/InsertXhcpSellBackApply": {
  13105. "post": {
  13106. "security": [
  13107. {
  13108. "ApiKeyAuth": []
  13109. }
  13110. ],
  13111. "produces": [
  13112. "application/json"
  13113. ],
  13114. "tags": [
  13115. "仓单贸易v2"
  13116. ],
  13117. "summary": "新增回收申请(新会陈皮)",
  13118. "parameters": [
  13119. {
  13120. "description": "回收申请",
  13121. "name": "jsonBody",
  13122. "in": "body",
  13123. "required": true,
  13124. "schema": {
  13125. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13126. }
  13127. }
  13128. ],
  13129. "responses": {
  13130. "200": {
  13131. "description": "OK",
  13132. "schema": {
  13133. "$ref": "#/definitions/app.Response"
  13134. }
  13135. },
  13136. "500": {
  13137. "description": "Internal Server Error",
  13138. "schema": {
  13139. "$ref": "#/definitions/app.Response"
  13140. }
  13141. }
  13142. }
  13143. }
  13144. },
  13145. "/WrTrade2/QueryDeliveryGoodsSection": {
  13146. "get": {
  13147. "security": [
  13148. {
  13149. "ApiKeyAuth": []
  13150. }
  13151. ],
  13152. "produces": [
  13153. "application/json"
  13154. ],
  13155. "tags": [
  13156. "仓单贸易v2"
  13157. ],
  13158. "summary": "查询板块(分类)",
  13159. "responses": {
  13160. "200": {
  13161. "description": "OK",
  13162. "schema": {
  13163. "type": "array",
  13164. "items": {
  13165. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13166. }
  13167. }
  13168. },
  13169. "500": {
  13170. "description": "Internal Server Error",
  13171. "schema": {
  13172. "$ref": "#/definitions/app.Response"
  13173. }
  13174. }
  13175. }
  13176. }
  13177. },
  13178. "/WrTrade2/QueryFaProductDetail": {
  13179. "get": {
  13180. "security": [
  13181. {
  13182. "ApiKeyAuth": []
  13183. }
  13184. ],
  13185. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13186. "produces": [
  13187. "application/json"
  13188. ],
  13189. "tags": [
  13190. "仓单贸易v2"
  13191. ],
  13192. "summary": "查询融资产品列表",
  13193. "parameters": [
  13194. {
  13195. "type": "integer",
  13196. "description": "仓单要素id",
  13197. "name": "wrfactortypeid",
  13198. "in": "query",
  13199. "required": true
  13200. }
  13201. ],
  13202. "responses": {
  13203. "200": {
  13204. "description": "OK",
  13205. "schema": {
  13206. "type": "array",
  13207. "items": {
  13208. "$ref": "#/definitions/models.WrFAProductDetail"
  13209. }
  13210. }
  13211. },
  13212. "500": {
  13213. "description": "Internal Server Error",
  13214. "schema": {
  13215. "$ref": "#/definitions/app.Response"
  13216. }
  13217. }
  13218. }
  13219. }
  13220. },
  13221. "/WrTrade2/QueryFilterItem": {
  13222. "get": {
  13223. "security": [
  13224. {
  13225. "ApiKeyAuth": []
  13226. }
  13227. ],
  13228. "produces": [
  13229. "application/json"
  13230. ],
  13231. "tags": [
  13232. "仓单贸易v2"
  13233. ],
  13234. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13235. "parameters": [
  13236. {
  13237. "type": "string",
  13238. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13239. "name": "itype",
  13240. "in": "query",
  13241. "required": true
  13242. }
  13243. ],
  13244. "responses": {
  13245. "200": {
  13246. "description": "OK",
  13247. "schema": {
  13248. "type": "array",
  13249. "items": {
  13250. "$ref": "#/definitions/models.WrFilterItem"
  13251. }
  13252. }
  13253. },
  13254. "500": {
  13255. "description": "Internal Server Error",
  13256. "schema": {
  13257. "$ref": "#/definitions/app.Response"
  13258. }
  13259. }
  13260. }
  13261. }
  13262. },
  13263. "/WrTrade2/QueryFtDeliveryGoods": {
  13264. "get": {
  13265. "security": [
  13266. {
  13267. "ApiKeyAuth": []
  13268. }
  13269. ],
  13270. "produces": [
  13271. "application/json"
  13272. ],
  13273. "tags": [
  13274. "仓单贸易v2"
  13275. ],
  13276. "summary": "查询品种品类筛选框列表",
  13277. "responses": {
  13278. "200": {
  13279. "description": "OK",
  13280. "schema": {
  13281. "type": "array",
  13282. "items": {
  13283. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13284. }
  13285. }
  13286. },
  13287. "500": {
  13288. "description": "Internal Server Error",
  13289. "schema": {
  13290. "$ref": "#/definitions/app.Response"
  13291. }
  13292. }
  13293. }
  13294. }
  13295. },
  13296. "/WrTrade2/QueryHoldLB": {
  13297. "get": {
  13298. "security": [
  13299. {
  13300. "ApiKeyAuth": []
  13301. }
  13302. ],
  13303. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13304. "produces": [
  13305. "application/json"
  13306. ],
  13307. "tags": [
  13308. "仓单贸易v2"
  13309. ],
  13310. "summary": "查询仓单持有记录",
  13311. "parameters": [
  13312. {
  13313. "type": "integer",
  13314. "description": "资金账号",
  13315. "name": "accountid",
  13316. "in": "query",
  13317. "required": true
  13318. },
  13319. {
  13320. "type": "integer",
  13321. "description": "仓库id",
  13322. "name": "warehouseid",
  13323. "in": "query"
  13324. },
  13325. {
  13326. "type": "integer",
  13327. "description": "品种id",
  13328. "name": "deliverygoodsid",
  13329. "in": "query"
  13330. },
  13331. {
  13332. "type": "integer",
  13333. "description": "品类id",
  13334. "name": "wrstandardid",
  13335. "in": "query"
  13336. },
  13337. {
  13338. "type": "integer",
  13339. "description": "仓单要素id",
  13340. "name": "wrfactortypeid",
  13341. "in": "query"
  13342. },
  13343. {
  13344. "type": "string",
  13345. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13346. "name": "dgitemname",
  13347. "in": "query"
  13348. }
  13349. ],
  13350. "responses": {
  13351. "200": {
  13352. "description": "OK",
  13353. "schema": {
  13354. "type": "array",
  13355. "items": {
  13356. "$ref": "#/definitions/models.WrHoldLB"
  13357. }
  13358. }
  13359. },
  13360. "500": {
  13361. "description": "Internal Server Error",
  13362. "schema": {
  13363. "$ref": "#/definitions/app.Response"
  13364. }
  13365. }
  13366. }
  13367. }
  13368. },
  13369. "/WrTrade2/QueryOrderQuote": {
  13370. "get": {
  13371. "security": [
  13372. {
  13373. "ApiKeyAuth": []
  13374. }
  13375. ],
  13376. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13377. "produces": [
  13378. "application/json"
  13379. ],
  13380. "tags": [
  13381. "仓单贸易v2"
  13382. ],
  13383. "summary": "查询大厅行情列表",
  13384. "parameters": [
  13385. {
  13386. "type": "integer",
  13387. "description": "页码",
  13388. "name": "page",
  13389. "in": "query"
  13390. },
  13391. {
  13392. "type": "integer",
  13393. "description": "每页条数",
  13394. "name": "pagesize",
  13395. "in": "query"
  13396. },
  13397. {
  13398. "type": "integer",
  13399. "description": "仓单贸易市场id",
  13400. "name": "marketid",
  13401. "in": "query"
  13402. },
  13403. {
  13404. "type": "integer",
  13405. "description": "价格方式 - 1:固定价 2-浮动价",
  13406. "name": "wrpricetype",
  13407. "in": "query",
  13408. "required": true
  13409. },
  13410. {
  13411. "type": "integer",
  13412. "description": "0:仓单预售 1:仓单贸易",
  13413. "name": "haswr",
  13414. "in": "query"
  13415. },
  13416. {
  13417. "type": "string",
  13418. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13419. "name": "dgitemname",
  13420. "in": "query"
  13421. },
  13422. {
  13423. "type": "integer",
  13424. "description": "仓库id(筛选条件)",
  13425. "name": "warehouseid",
  13426. "in": "query"
  13427. },
  13428. {
  13429. "type": "integer",
  13430. "description": "品种id",
  13431. "name": "deliverygoodsid",
  13432. "in": "query"
  13433. },
  13434. {
  13435. "type": "integer",
  13436. "description": "品类id",
  13437. "name": "wrstandardid",
  13438. "in": "query"
  13439. },
  13440. {
  13441. "type": "integer",
  13442. "description": "品牌id(dgfactoryitemid)",
  13443. "name": "brandid",
  13444. "in": "query"
  13445. },
  13446. {
  13447. "type": "integer",
  13448. "description": "年份id(dgfactoryitemid)",
  13449. "name": "yearsid",
  13450. "in": "query"
  13451. },
  13452. {
  13453. "type": "integer",
  13454. "description": "仓单要素id",
  13455. "name": "wrfactortypeid",
  13456. "in": "query"
  13457. },
  13458. {
  13459. "type": "string",
  13460. "description": "交收月(yyyy-mm) 仓单预售填写",
  13461. "name": "deliverymonth",
  13462. "in": "query"
  13463. }
  13464. ],
  13465. "responses": {
  13466. "200": {
  13467. "description": "OK",
  13468. "schema": {
  13469. "type": "array",
  13470. "items": {
  13471. "$ref": "#/definitions/models.WrOrderQuote"
  13472. }
  13473. }
  13474. },
  13475. "500": {
  13476. "description": "Internal Server Error",
  13477. "schema": {
  13478. "$ref": "#/definitions/app.Response"
  13479. }
  13480. }
  13481. }
  13482. }
  13483. },
  13484. "/WrTrade2/QueryOrderQuoteDetail": {
  13485. "get": {
  13486. "security": [
  13487. {
  13488. "ApiKeyAuth": []
  13489. }
  13490. ],
  13491. "produces": [
  13492. "application/json"
  13493. ],
  13494. "tags": [
  13495. "仓单贸易v2"
  13496. ],
  13497. "summary": "查询买卖大厅",
  13498. "parameters": [
  13499. {
  13500. "type": "integer",
  13501. "description": "页码",
  13502. "name": "page",
  13503. "in": "query"
  13504. },
  13505. {
  13506. "type": "integer",
  13507. "description": "每页条数",
  13508. "name": "pagesize",
  13509. "in": "query"
  13510. },
  13511. {
  13512. "type": "integer",
  13513. "description": "仓单贸易市场id",
  13514. "name": "marketid",
  13515. "in": "query"
  13516. },
  13517. {
  13518. "type": "integer",
  13519. "description": "价格方式 - 1:固定价 2-浮动价",
  13520. "name": "wrpricetype",
  13521. "in": "query",
  13522. "required": true
  13523. },
  13524. {
  13525. "type": "integer",
  13526. "description": "0:仓单预售 1:仓单贸易",
  13527. "name": "haswr",
  13528. "in": "query"
  13529. },
  13530. {
  13531. "type": "integer",
  13532. "description": "仓单要素id",
  13533. "name": "wrfactortypeid",
  13534. "in": "query",
  13535. "required": true
  13536. },
  13537. {
  13538. "type": "integer",
  13539. "description": "期货商品id(浮动价方式时填)",
  13540. "name": "goodsid",
  13541. "in": "query"
  13542. },
  13543. {
  13544. "type": "integer",
  13545. "description": "买卖方向 0-买 1-卖",
  13546. "name": "buyorsell",
  13547. "in": "query",
  13548. "required": true
  13549. },
  13550. {
  13551. "type": "string",
  13552. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13553. "name": "deliverymonth",
  13554. "in": "query"
  13555. }
  13556. ],
  13557. "responses": {
  13558. "200": {
  13559. "description": "OK",
  13560. "schema": {
  13561. "type": "array",
  13562. "items": {
  13563. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13564. }
  13565. }
  13566. },
  13567. "500": {
  13568. "description": "Internal Server Error",
  13569. "schema": {
  13570. "$ref": "#/definitions/app.Response"
  13571. }
  13572. }
  13573. }
  13574. }
  13575. },
  13576. "/WrTrade2/QueryOrderQuoteMyq": {
  13577. "get": {
  13578. "security": [
  13579. {
  13580. "ApiKeyAuth": []
  13581. }
  13582. ],
  13583. "produces": [
  13584. "application/json"
  13585. ],
  13586. "tags": [
  13587. "仓单贸易v2"
  13588. ],
  13589. "summary": "查询贸易圈挂牌大厅",
  13590. "parameters": [
  13591. {
  13592. "type": "integer",
  13593. "description": "页码",
  13594. "name": "page",
  13595. "in": "query"
  13596. },
  13597. {
  13598. "type": "integer",
  13599. "description": "每页条数",
  13600. "name": "pagesize",
  13601. "in": "query"
  13602. },
  13603. {
  13604. "type": "integer",
  13605. "description": "用户id",
  13606. "name": "userid",
  13607. "in": "query",
  13608. "required": true
  13609. },
  13610. {
  13611. "type": "integer",
  13612. "description": "仓单贸易市场id",
  13613. "name": "marketid",
  13614. "in": "query"
  13615. },
  13616. {
  13617. "type": "integer",
  13618. "description": "0:仓单预售 1:仓单贸易",
  13619. "name": "haswr",
  13620. "in": "query"
  13621. },
  13622. {
  13623. "type": "integer",
  13624. "description": "买卖方向 0-买 1-卖",
  13625. "name": "buyorsell",
  13626. "in": "query",
  13627. "required": true
  13628. },
  13629. {
  13630. "type": "integer",
  13631. "description": "品种id",
  13632. "name": "deliverygoodsid",
  13633. "in": "query"
  13634. },
  13635. {
  13636. "type": "integer",
  13637. "description": "品类id",
  13638. "name": "wrstandardid",
  13639. "in": "query"
  13640. },
  13641. {
  13642. "type": "string",
  13643. "description": "交收月(yyyy-mm) 仓单预售填写",
  13644. "name": "deliverymonth",
  13645. "in": "query"
  13646. },
  13647. {
  13648. "type": "string",
  13649. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13650. "name": "dgitemname",
  13651. "in": "query"
  13652. }
  13653. ],
  13654. "responses": {
  13655. "200": {
  13656. "description": "OK",
  13657. "schema": {
  13658. "type": "array",
  13659. "items": {
  13660. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13661. }
  13662. }
  13663. },
  13664. "500": {
  13665. "description": "Internal Server Error",
  13666. "schema": {
  13667. "$ref": "#/definitions/app.Response"
  13668. }
  13669. }
  13670. }
  13671. }
  13672. },
  13673. "/WrTrade2/QueryPerformancePlan": {
  13674. "get": {
  13675. "security": [
  13676. {
  13677. "ApiKeyAuth": []
  13678. }
  13679. ],
  13680. "produces": [
  13681. "application/json"
  13682. ],
  13683. "tags": [
  13684. "仓单贸易v2"
  13685. ],
  13686. "summary": "查询履约信息",
  13687. "parameters": [
  13688. {
  13689. "type": "integer",
  13690. "description": "用户id",
  13691. "name": "userid",
  13692. "in": "query",
  13693. "required": true
  13694. },
  13695. {
  13696. "type": "integer",
  13697. "description": "买卖方向 0-买 1-卖",
  13698. "name": "buyorsell",
  13699. "in": "query",
  13700. "required": true
  13701. },
  13702. {
  13703. "type": "string",
  13704. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13705. "name": "status",
  13706. "in": "query"
  13707. },
  13708. {
  13709. "type": "string",
  13710. "description": "开始交易日(yyyymmdd)",
  13711. "name": "begindate",
  13712. "in": "query"
  13713. },
  13714. {
  13715. "type": "string",
  13716. "description": "结束交易日(yyyymmdd)",
  13717. "name": "enddate",
  13718. "in": "query"
  13719. }
  13720. ],
  13721. "responses": {
  13722. "200": {
  13723. "description": "OK",
  13724. "schema": {
  13725. "type": "array",
  13726. "items": {
  13727. "$ref": "#/definitions/models.WrPerformancePlan"
  13728. }
  13729. }
  13730. },
  13731. "500": {
  13732. "description": "Internal Server Error",
  13733. "schema": {
  13734. "$ref": "#/definitions/app.Response"
  13735. }
  13736. }
  13737. }
  13738. }
  13739. },
  13740. "/WrTrade2/QueryPermancePlanTmp": {
  13741. "get": {
  13742. "security": [
  13743. {
  13744. "ApiKeyAuth": []
  13745. }
  13746. ],
  13747. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13748. "produces": [
  13749. "application/json"
  13750. ],
  13751. "tags": [
  13752. "仓单贸易v2"
  13753. ],
  13754. "summary": "查询履约模板",
  13755. "parameters": [
  13756. {
  13757. "type": "integer",
  13758. "description": "用户id",
  13759. "name": "userid",
  13760. "in": "query"
  13761. },
  13762. {
  13763. "type": "string",
  13764. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13765. "name": "tmptype",
  13766. "in": "query"
  13767. },
  13768. {
  13769. "type": "integer",
  13770. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13771. "name": "includepub",
  13772. "in": "query"
  13773. },
  13774. {
  13775. "type": "integer",
  13776. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13777. "name": "marketid",
  13778. "in": "query"
  13779. }
  13780. ],
  13781. "responses": {
  13782. "200": {
  13783. "description": "OK",
  13784. "schema": {
  13785. "type": "array",
  13786. "items": {
  13787. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13788. }
  13789. }
  13790. },
  13791. "500": {
  13792. "description": "Internal Server Error",
  13793. "schema": {
  13794. "$ref": "#/definitions/app.Response"
  13795. }
  13796. }
  13797. }
  13798. }
  13799. },
  13800. "/WrTrade2/QuerySiteColumnDetail": {
  13801. "get": {
  13802. "security": [
  13803. {
  13804. "ApiKeyAuth": []
  13805. }
  13806. ],
  13807. "produces": [
  13808. "application/json"
  13809. ],
  13810. "tags": [
  13811. "仓单贸易v2"
  13812. ],
  13813. "summary": "查询资讯",
  13814. "parameters": [
  13815. {
  13816. "type": "integer",
  13817. "description": "页码",
  13818. "name": "page",
  13819. "in": "query"
  13820. },
  13821. {
  13822. "type": "integer",
  13823. "description": "每页条数",
  13824. "name": "pagesize",
  13825. "in": "query"
  13826. },
  13827. {
  13828. "type": "integer",
  13829. "description": "所属栏目id",
  13830. "name": "columnid",
  13831. "in": "query"
  13832. }
  13833. ],
  13834. "responses": {
  13835. "200": {
  13836. "description": "OK",
  13837. "schema": {
  13838. "type": "array",
  13839. "items": {
  13840. "$ref": "#/definitions/models.WrSiteColumnDetail"
  13841. }
  13842. }
  13843. },
  13844. "500": {
  13845. "description": "Internal Server Error",
  13846. "schema": {
  13847. "$ref": "#/definitions/app.Response"
  13848. }
  13849. }
  13850. }
  13851. }
  13852. },
  13853. "/WrTrade2/QuerySpotGroupTradeSum": {
  13854. "get": {
  13855. "security": [
  13856. {
  13857. "ApiKeyAuth": []
  13858. }
  13859. ],
  13860. "produces": [
  13861. "application/json"
  13862. ],
  13863. "tags": [
  13864. "仓单贸易v2"
  13865. ],
  13866. "summary": "查询指数",
  13867. "responses": {
  13868. "200": {
  13869. "description": "OK",
  13870. "schema": {
  13871. "type": "array",
  13872. "items": {
  13873. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  13874. }
  13875. }
  13876. },
  13877. "500": {
  13878. "description": "Internal Server Error",
  13879. "schema": {
  13880. "$ref": "#/definitions/app.Response"
  13881. }
  13882. }
  13883. }
  13884. }
  13885. },
  13886. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  13887. "get": {
  13888. "security": [
  13889. {
  13890. "ApiKeyAuth": []
  13891. }
  13892. ],
  13893. "description": "查询的结果将会按日期 从小到大 排序",
  13894. "produces": [
  13895. "application/json"
  13896. ],
  13897. "tags": [
  13898. "仓单贸易v2"
  13899. ],
  13900. "summary": "查询指数详细(价格走势图)",
  13901. "parameters": [
  13902. {
  13903. "type": "integer",
  13904. "description": "现货商品id",
  13905. "name": "deliverygoodsid",
  13906. "in": "query",
  13907. "required": true
  13908. },
  13909. {
  13910. "type": "integer",
  13911. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  13912. "name": "lastnum",
  13913. "in": "query"
  13914. }
  13915. ],
  13916. "responses": {
  13917. "200": {
  13918. "description": "OK",
  13919. "schema": {
  13920. "type": "array",
  13921. "items": {
  13922. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  13923. }
  13924. }
  13925. },
  13926. "500": {
  13927. "description": "Internal Server Error",
  13928. "schema": {
  13929. "$ref": "#/definitions/app.Response"
  13930. }
  13931. }
  13932. }
  13933. }
  13934. },
  13935. "/WrTrade2/QueryWrAverageTradePrice": {
  13936. "get": {
  13937. "security": [
  13938. {
  13939. "ApiKeyAuth": []
  13940. }
  13941. ],
  13942. "produces": [
  13943. "application/json"
  13944. ],
  13945. "tags": [
  13946. "仓单贸易v2"
  13947. ],
  13948. "summary": "查询成交价(历史走势)",
  13949. "parameters": [
  13950. {
  13951. "type": "integer",
  13952. "description": "页码",
  13953. "name": "page",
  13954. "in": "query"
  13955. },
  13956. {
  13957. "type": "integer",
  13958. "description": "每页条数",
  13959. "name": "pagesize",
  13960. "in": "query"
  13961. },
  13962. {
  13963. "type": "integer",
  13964. "description": "0:仓单预售 1:仓单贸易",
  13965. "name": "haswr",
  13966. "in": "query",
  13967. "required": true
  13968. },
  13969. {
  13970. "type": "integer",
  13971. "description": "仓单要素id",
  13972. "name": "wrfactortypeid",
  13973. "in": "query",
  13974. "required": true
  13975. }
  13976. ],
  13977. "responses": {
  13978. "200": {
  13979. "description": "OK",
  13980. "schema": {
  13981. "type": "array",
  13982. "items": {
  13983. "$ref": "#/definitions/models.WrAverageTradePrice"
  13984. }
  13985. }
  13986. },
  13987. "500": {
  13988. "description": "Internal Server Error",
  13989. "schema": {
  13990. "$ref": "#/definitions/app.Response"
  13991. }
  13992. }
  13993. }
  13994. }
  13995. },
  13996. "/WrTrade2/QueryWrBrandAndYears": {
  13997. "get": {
  13998. "security": [
  13999. {
  14000. "ApiKeyAuth": []
  14001. }
  14002. ],
  14003. "produces": [
  14004. "application/json"
  14005. ],
  14006. "tags": [
  14007. "仓单贸易v2"
  14008. ],
  14009. "summary": "查询品牌和年份",
  14010. "responses": {
  14011. "200": {
  14012. "description": "OK",
  14013. "schema": {
  14014. "type": "array",
  14015. "items": {
  14016. "$ref": "#/definitions/models.WrBrandAndYears"
  14017. }
  14018. }
  14019. },
  14020. "500": {
  14021. "description": "Internal Server Error",
  14022. "schema": {
  14023. "$ref": "#/definitions/app.Response"
  14024. }
  14025. }
  14026. }
  14027. }
  14028. },
  14029. "/WrTrade2/QueryWrBsGoodsInfo": {
  14030. "get": {
  14031. "security": [
  14032. {
  14033. "ApiKeyAuth": []
  14034. }
  14035. ],
  14036. "description": "合约交易/买卖大厅/详情",
  14037. "produces": [
  14038. "application/json"
  14039. ],
  14040. "tags": [
  14041. "仓单贸易v2"
  14042. ],
  14043. "summary": "查询合约交易买卖大厅详情",
  14044. "parameters": [
  14045. {
  14046. "type": "integer",
  14047. "description": "商品id",
  14048. "name": "goodsid",
  14049. "in": "query",
  14050. "required": true
  14051. }
  14052. ],
  14053. "responses": {
  14054. "200": {
  14055. "description": "OK",
  14056. "schema": {
  14057. "type": "array",
  14058. "items": {
  14059. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14060. }
  14061. }
  14062. },
  14063. "500": {
  14064. "description": "Internal Server Error",
  14065. "schema": {
  14066. "$ref": "#/definitions/app.Response"
  14067. }
  14068. }
  14069. }
  14070. }
  14071. },
  14072. "/WrTrade2/QueryWrBuybackDetail": {
  14073. "get": {
  14074. "security": [
  14075. {
  14076. "ApiKeyAuth": []
  14077. }
  14078. ],
  14079. "produces": [
  14080. "application/json"
  14081. ],
  14082. "tags": [
  14083. "仓单贸易v2"
  14084. ],
  14085. "summary": "查询仓单回购明细",
  14086. "parameters": [
  14087. {
  14088. "type": "integer",
  14089. "description": "融资合同id",
  14090. "name": "scfcontractid",
  14091. "in": "query"
  14092. }
  14093. ],
  14094. "responses": {
  14095. "200": {
  14096. "description": "OK",
  14097. "schema": {
  14098. "type": "array",
  14099. "items": {
  14100. "$ref": "#/definitions/models.WrBuybackDetail"
  14101. }
  14102. }
  14103. },
  14104. "500": {
  14105. "description": "Internal Server Error",
  14106. "schema": {
  14107. "$ref": "#/definitions/app.Response"
  14108. }
  14109. }
  14110. }
  14111. }
  14112. },
  14113. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14114. "get": {
  14115. "security": [
  14116. {
  14117. "ApiKeyAuth": []
  14118. }
  14119. ],
  14120. "produces": [
  14121. "application/json"
  14122. ],
  14123. "tags": [
  14124. "仓单贸易v2"
  14125. ],
  14126. "summary": "查询固定广告配置",
  14127. "responses": {
  14128. "200": {
  14129. "description": "OK",
  14130. "schema": {
  14131. "type": "array",
  14132. "items": {
  14133. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14134. }
  14135. }
  14136. },
  14137. "500": {
  14138. "description": "Internal Server Error",
  14139. "schema": {
  14140. "$ref": "#/definitions/app.Response"
  14141. }
  14142. }
  14143. }
  14144. }
  14145. },
  14146. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14147. "get": {
  14148. "security": [
  14149. {
  14150. "ApiKeyAuth": []
  14151. }
  14152. ],
  14153. "produces": [
  14154. "application/json"
  14155. ],
  14156. "tags": [
  14157. "仓单贸易v2"
  14158. ],
  14159. "summary": "查询合约交收可点选仓单",
  14160. "parameters": [
  14161. {
  14162. "type": "integer",
  14163. "description": "资金账号",
  14164. "name": "accountid",
  14165. "in": "query",
  14166. "required": true
  14167. },
  14168. {
  14169. "type": "integer",
  14170. "description": "商品id",
  14171. "name": "goodsid",
  14172. "in": "query",
  14173. "required": true
  14174. }
  14175. ],
  14176. "responses": {
  14177. "200": {
  14178. "description": "OK",
  14179. "schema": {
  14180. "type": "array",
  14181. "items": {
  14182. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14183. }
  14184. }
  14185. },
  14186. "500": {
  14187. "description": "Internal Server Error",
  14188. "schema": {
  14189. "$ref": "#/definitions/app.Response"
  14190. }
  14191. }
  14192. }
  14193. }
  14194. },
  14195. "/WrTrade2/QueryWrDeliveryDetail": {
  14196. "get": {
  14197. "security": [
  14198. {
  14199. "ApiKeyAuth": []
  14200. }
  14201. ],
  14202. "produces": [
  14203. "application/json"
  14204. ],
  14205. "tags": [
  14206. "仓单贸易v2"
  14207. ],
  14208. "summary": "查询交收",
  14209. "parameters": [
  14210. {
  14211. "type": "integer",
  14212. "description": "用户id",
  14213. "name": "userid",
  14214. "in": "query",
  14215. "required": true
  14216. },
  14217. {
  14218. "type": "integer",
  14219. "description": "资金账号id",
  14220. "name": "accountid",
  14221. "in": "query"
  14222. },
  14223. {
  14224. "type": "string",
  14225. "description": "开始交易日(yyyymmdd)",
  14226. "name": "begindate",
  14227. "in": "query"
  14228. },
  14229. {
  14230. "type": "string",
  14231. "description": "结束交易日(yyyymmdd)",
  14232. "name": "enddate",
  14233. "in": "query"
  14234. }
  14235. ],
  14236. "responses": {
  14237. "200": {
  14238. "description": "OK",
  14239. "schema": {
  14240. "type": "array",
  14241. "items": {
  14242. "$ref": "#/definitions/models.WrDeliveryDetail"
  14243. }
  14244. }
  14245. },
  14246. "500": {
  14247. "description": "Internal Server Error",
  14248. "schema": {
  14249. "$ref": "#/definitions/app.Response"
  14250. }
  14251. }
  14252. }
  14253. }
  14254. },
  14255. "/WrTrade2/QueryWrDraftUserInfo": {
  14256. "get": {
  14257. "security": [
  14258. {
  14259. "ApiKeyAuth": []
  14260. }
  14261. ],
  14262. "produces": [
  14263. "application/json"
  14264. ],
  14265. "tags": [
  14266. "仓单贸易v2"
  14267. ],
  14268. "summary": "查询实名认证信息",
  14269. "parameters": [
  14270. {
  14271. "type": "integer",
  14272. "description": "用户ID",
  14273. "name": "userid",
  14274. "in": "query",
  14275. "required": true
  14276. },
  14277. {
  14278. "type": "integer",
  14279. "description": "用户状态 1:正常 2:注销",
  14280. "name": "userstatus",
  14281. "in": "query"
  14282. }
  14283. ],
  14284. "responses": {
  14285. "200": {
  14286. "description": "OK",
  14287. "schema": {
  14288. "type": "array",
  14289. "items": {
  14290. "$ref": "#/definitions/models.WrDraftUserInfo"
  14291. }
  14292. }
  14293. },
  14294. "500": {
  14295. "description": "Internal Server Error",
  14296. "schema": {
  14297. "$ref": "#/definitions/app.Response"
  14298. }
  14299. }
  14300. }
  14301. }
  14302. },
  14303. "/WrTrade2/QueryWrFactorTypeInfo": {
  14304. "get": {
  14305. "security": [
  14306. {
  14307. "ApiKeyAuth": []
  14308. }
  14309. ],
  14310. "produces": [
  14311. "application/json"
  14312. ],
  14313. "tags": [
  14314. "仓单贸易v2"
  14315. ],
  14316. "summary": "查询仓单要素详细信息",
  14317. "parameters": [
  14318. {
  14319. "type": "integer",
  14320. "description": "仓单要素id",
  14321. "name": "wrfactortypeid",
  14322. "in": "query",
  14323. "required": true
  14324. }
  14325. ],
  14326. "responses": {
  14327. "200": {
  14328. "description": "OK",
  14329. "schema": {
  14330. "type": "array",
  14331. "items": {
  14332. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14333. }
  14334. }
  14335. },
  14336. "500": {
  14337. "description": "Internal Server Error",
  14338. "schema": {
  14339. "$ref": "#/definitions/app.Response"
  14340. }
  14341. }
  14342. }
  14343. }
  14344. },
  14345. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14346. "get": {
  14347. "security": [
  14348. {
  14349. "ApiKeyAuth": []
  14350. }
  14351. ],
  14352. "produces": [
  14353. "application/json"
  14354. ],
  14355. "tags": [
  14356. "仓单贸易v2"
  14357. ],
  14358. "summary": "查询仓单要素详细信息列表项",
  14359. "parameters": [
  14360. {
  14361. "type": "integer",
  14362. "description": "仓单要素id",
  14363. "name": "wrfactortypeid",
  14364. "in": "query",
  14365. "required": true
  14366. }
  14367. ],
  14368. "responses": {
  14369. "200": {
  14370. "description": "OK",
  14371. "schema": {
  14372. "type": "array",
  14373. "items": {
  14374. "$ref": "#/definitions/models.WrTypeItem"
  14375. }
  14376. }
  14377. },
  14378. "500": {
  14379. "description": "Internal Server Error",
  14380. "schema": {
  14381. "$ref": "#/definitions/app.Response"
  14382. }
  14383. }
  14384. }
  14385. }
  14386. },
  14387. "/WrTrade2/QueryWrFinanceBuyApply": {
  14388. "get": {
  14389. "security": [
  14390. {
  14391. "ApiKeyAuth": []
  14392. }
  14393. ],
  14394. "description": "页面 融资信息+ / 申请单",
  14395. "produces": [
  14396. "application/json"
  14397. ],
  14398. "tags": [
  14399. "仓单贸易v2"
  14400. ],
  14401. "summary": "查询融资购买申请",
  14402. "parameters": [
  14403. {
  14404. "type": "integer",
  14405. "description": "用户id",
  14406. "name": "userid",
  14407. "in": "query",
  14408. "required": true
  14409. }
  14410. ],
  14411. "responses": {
  14412. "200": {
  14413. "description": "OK",
  14414. "schema": {
  14415. "type": "array",
  14416. "items": {
  14417. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14418. }
  14419. }
  14420. },
  14421. "500": {
  14422. "description": "Internal Server Error",
  14423. "schema": {
  14424. "$ref": "#/definitions/app.Response"
  14425. }
  14426. }
  14427. }
  14428. }
  14429. },
  14430. "/WrTrade2/QueryWrFriendApply": {
  14431. "get": {
  14432. "security": [
  14433. {
  14434. "ApiKeyAuth": []
  14435. }
  14436. ],
  14437. "produces": [
  14438. "application/json"
  14439. ],
  14440. "tags": [
  14441. "仓单贸易v2"
  14442. ],
  14443. "summary": "查询好友申请记录",
  14444. "parameters": [
  14445. {
  14446. "type": "integer",
  14447. "description": "用户id",
  14448. "name": "userid",
  14449. "in": "query",
  14450. "required": true
  14451. }
  14452. ],
  14453. "responses": {
  14454. "200": {
  14455. "description": "OK",
  14456. "schema": {
  14457. "type": "array",
  14458. "items": {
  14459. "$ref": "#/definitions/models.WrFriendApply"
  14460. }
  14461. }
  14462. },
  14463. "500": {
  14464. "description": "Internal Server Error",
  14465. "schema": {
  14466. "$ref": "#/definitions/app.Response"
  14467. }
  14468. }
  14469. }
  14470. }
  14471. },
  14472. "/WrTrade2/QueryWrGoodsInfo": {
  14473. "get": {
  14474. "security": [
  14475. {
  14476. "ApiKeyAuth": []
  14477. }
  14478. ],
  14479. "produces": [
  14480. "application/json"
  14481. ],
  14482. "tags": [
  14483. "仓单贸易v2"
  14484. ],
  14485. "summary": "查询仓单商品信息",
  14486. "parameters": [
  14487. {
  14488. "type": "integer",
  14489. "description": "仓单贸易市场id",
  14490. "name": "marketid",
  14491. "in": "query"
  14492. },
  14493. {
  14494. "type": "integer",
  14495. "description": "0:仓单预售 1:仓单贸易",
  14496. "name": "haswr",
  14497. "in": "query",
  14498. "required": true
  14499. },
  14500. {
  14501. "type": "integer",
  14502. "description": "仓单要素id",
  14503. "name": "wrfactortypeid",
  14504. "in": "query",
  14505. "required": true
  14506. },
  14507. {
  14508. "type": "integer",
  14509. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14510. "name": "tmplateid",
  14511. "in": "query"
  14512. }
  14513. ],
  14514. "responses": {
  14515. "200": {
  14516. "description": "OK",
  14517. "schema": {
  14518. "type": "array",
  14519. "items": {
  14520. "$ref": "#/definitions/models.WrGoodsInfo"
  14521. }
  14522. }
  14523. },
  14524. "500": {
  14525. "description": "Internal Server Error",
  14526. "schema": {
  14527. "$ref": "#/definitions/app.Response"
  14528. }
  14529. }
  14530. }
  14531. }
  14532. },
  14533. "/WrTrade2/QueryWrMarketTradeConfig": {
  14534. "get": {
  14535. "security": [
  14536. {
  14537. "ApiKeyAuth": []
  14538. }
  14539. ],
  14540. "produces": [
  14541. "application/json"
  14542. ],
  14543. "tags": [
  14544. "仓单贸易v2"
  14545. ],
  14546. "summary": "查询市场交易参数配置",
  14547. "parameters": [
  14548. {
  14549. "type": "integer",
  14550. "description": "市场id",
  14551. "name": "marketid",
  14552. "in": "query"
  14553. }
  14554. ],
  14555. "responses": {
  14556. "200": {
  14557. "description": "OK",
  14558. "schema": {
  14559. "type": "array",
  14560. "items": {
  14561. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14562. }
  14563. }
  14564. },
  14565. "500": {
  14566. "description": "Internal Server Error",
  14567. "schema": {
  14568. "$ref": "#/definitions/app.Response"
  14569. }
  14570. }
  14571. }
  14572. }
  14573. },
  14574. "/WrTrade2/QueryWrOrderDetail": {
  14575. "get": {
  14576. "security": [
  14577. {
  14578. "ApiKeyAuth": []
  14579. }
  14580. ],
  14581. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14582. "produces": [
  14583. "application/json"
  14584. ],
  14585. "tags": [
  14586. "仓单贸易v2"
  14587. ],
  14588. "summary": "查询仓单委托单",
  14589. "parameters": [
  14590. {
  14591. "type": "integer",
  14592. "description": "页码",
  14593. "name": "page",
  14594. "in": "query"
  14595. },
  14596. {
  14597. "type": "integer",
  14598. "description": "每页条数",
  14599. "name": "pagesize",
  14600. "in": "query"
  14601. },
  14602. {
  14603. "type": "integer",
  14604. "description": "用户id",
  14605. "name": "userid",
  14606. "in": "query",
  14607. "required": true
  14608. },
  14609. {
  14610. "type": "integer",
  14611. "description": "仓单贸易市场id",
  14612. "name": "marketid",
  14613. "in": "query"
  14614. },
  14615. {
  14616. "type": "integer",
  14617. "description": "0:仓单预售 1:仓单贸易",
  14618. "name": "haswr",
  14619. "in": "query",
  14620. "required": true
  14621. },
  14622. {
  14623. "type": "integer",
  14624. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14625. "name": "bcancel",
  14626. "in": "query"
  14627. },
  14628. {
  14629. "type": "integer",
  14630. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14631. "name": "wrtradetype",
  14632. "in": "query"
  14633. },
  14634. {
  14635. "type": "string",
  14636. "description": "开始交易日(yyyymmdd)",
  14637. "name": "begindate",
  14638. "in": "query"
  14639. },
  14640. {
  14641. "type": "string",
  14642. "description": "结束交易日(yyyymmdd)",
  14643. "name": "enddate",
  14644. "in": "query"
  14645. }
  14646. ],
  14647. "responses": {
  14648. "200": {
  14649. "description": "OK",
  14650. "schema": {
  14651. "type": "array",
  14652. "items": {
  14653. "$ref": "#/definitions/models.WrOrderDetail"
  14654. }
  14655. }
  14656. },
  14657. "500": {
  14658. "description": "Internal Server Error",
  14659. "schema": {
  14660. "$ref": "#/definitions/app.Response"
  14661. }
  14662. }
  14663. }
  14664. }
  14665. },
  14666. "/WrTrade2/QueryWrOutInApply": {
  14667. "get": {
  14668. "security": [
  14669. {
  14670. "ApiKeyAuth": []
  14671. }
  14672. ],
  14673. "produces": [
  14674. "application/json"
  14675. ],
  14676. "tags": [
  14677. "仓单贸易v2"
  14678. ],
  14679. "summary": "查询提货申请",
  14680. "parameters": [
  14681. {
  14682. "type": "integer",
  14683. "description": "用户id",
  14684. "name": "userid",
  14685. "in": "query",
  14686. "required": true
  14687. },
  14688. {
  14689. "type": "string",
  14690. "description": "开始交易日(yyyymmdd)",
  14691. "name": "begindate",
  14692. "in": "query"
  14693. },
  14694. {
  14695. "type": "string",
  14696. "description": "结束交易日(yyyymmdd)",
  14697. "name": "enddate",
  14698. "in": "query"
  14699. }
  14700. ],
  14701. "responses": {
  14702. "200": {
  14703. "description": "OK",
  14704. "schema": {
  14705. "type": "array",
  14706. "items": {
  14707. "$ref": "#/definitions/models.WrOutInApply"
  14708. }
  14709. }
  14710. },
  14711. "500": {
  14712. "description": "Internal Server Error",
  14713. "schema": {
  14714. "$ref": "#/definitions/app.Response"
  14715. }
  14716. }
  14717. }
  14718. }
  14719. },
  14720. "/WrTrade2/QueryWrPerformancePlanStep": {
  14721. "get": {
  14722. "security": [
  14723. {
  14724. "ApiKeyAuth": []
  14725. }
  14726. ],
  14727. "produces": [
  14728. "application/json"
  14729. ],
  14730. "tags": [
  14731. "仓单贸易v2"
  14732. ],
  14733. "summary": "查询履约信息详情",
  14734. "parameters": [
  14735. {
  14736. "type": "integer",
  14737. "description": "履约计划id(performanceplanid)",
  14738. "name": "planid",
  14739. "in": "query",
  14740. "required": true
  14741. },
  14742. {
  14743. "type": "integer",
  14744. "description": "当前步骤id",
  14745. "name": "curstepid",
  14746. "in": "query"
  14747. }
  14748. ],
  14749. "responses": {
  14750. "200": {
  14751. "description": "OK",
  14752. "schema": {
  14753. "type": "array",
  14754. "items": {
  14755. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14756. }
  14757. }
  14758. },
  14759. "500": {
  14760. "description": "Internal Server Error",
  14761. "schema": {
  14762. "$ref": "#/definitions/app.Response"
  14763. }
  14764. }
  14765. }
  14766. }
  14767. },
  14768. "/WrTrade2/QueryWrPerformanceStepType": {
  14769. "get": {
  14770. "security": [
  14771. {
  14772. "ApiKeyAuth": []
  14773. }
  14774. ],
  14775. "produces": [
  14776. "application/json"
  14777. ],
  14778. "tags": [
  14779. "仓单贸易v2"
  14780. ],
  14781. "summary": "查询履约步骤枚举",
  14782. "responses": {
  14783. "200": {
  14784. "description": "OK",
  14785. "schema": {
  14786. "type": "array",
  14787. "items": {
  14788. "$ref": "#/definitions/models.WrPerformanceStepType"
  14789. }
  14790. }
  14791. },
  14792. "500": {
  14793. "description": "Internal Server Error",
  14794. "schema": {
  14795. "$ref": "#/definitions/app.Response"
  14796. }
  14797. }
  14798. }
  14799. }
  14800. },
  14801. "/WrTrade2/QueryWrPosition": {
  14802. "get": {
  14803. "security": [
  14804. {
  14805. "ApiKeyAuth": []
  14806. }
  14807. ],
  14808. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  14809. "produces": [
  14810. "application/json"
  14811. ],
  14812. "tags": [
  14813. "仓单贸易v2"
  14814. ],
  14815. "summary": "查询现货(预售)仓单持仓",
  14816. "parameters": [
  14817. {
  14818. "type": "integer",
  14819. "description": "用户id",
  14820. "name": "userid",
  14821. "in": "query",
  14822. "required": true
  14823. },
  14824. {
  14825. "type": "integer",
  14826. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  14827. "name": "querytype",
  14828. "in": "query",
  14829. "required": true
  14830. },
  14831. {
  14832. "type": "integer",
  14833. "description": "0:仓单预售 1:仓单贸易",
  14834. "name": "haswr",
  14835. "in": "query",
  14836. "required": true
  14837. },
  14838. {
  14839. "type": "string",
  14840. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14841. "name": "dgitemname",
  14842. "in": "query"
  14843. },
  14844. {
  14845. "type": "integer",
  14846. "description": "仓库id(筛选条件)",
  14847. "name": "warehouseid",
  14848. "in": "query"
  14849. },
  14850. {
  14851. "type": "integer",
  14852. "description": "品种id",
  14853. "name": "deliverygoodsid",
  14854. "in": "query"
  14855. },
  14856. {
  14857. "type": "integer",
  14858. "description": "品类id",
  14859. "name": "wrstandardid",
  14860. "in": "query"
  14861. }
  14862. ],
  14863. "responses": {
  14864. "200": {
  14865. "description": "OK",
  14866. "schema": {
  14867. "type": "array",
  14868. "items": {
  14869. "$ref": "#/definitions/models.WrPosition"
  14870. }
  14871. }
  14872. },
  14873. "500": {
  14874. "description": "Internal Server Error",
  14875. "schema": {
  14876. "$ref": "#/definitions/app.Response"
  14877. }
  14878. }
  14879. }
  14880. }
  14881. },
  14882. "/WrTrade2/QueryWrPreSaleInfo": {
  14883. "get": {
  14884. "security": [
  14885. {
  14886. "ApiKeyAuth": []
  14887. }
  14888. ],
  14889. "produces": [
  14890. "application/json"
  14891. ],
  14892. "tags": [
  14893. "仓单贸易v2"
  14894. ],
  14895. "summary": "查询新品发布",
  14896. "parameters": [
  14897. {
  14898. "type": "integer",
  14899. "description": "市场id",
  14900. "name": "marketid",
  14901. "in": "query"
  14902. },
  14903. {
  14904. "type": "string",
  14905. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  14906. "name": "presalestatus",
  14907. "in": "query"
  14908. },
  14909. {
  14910. "type": "integer",
  14911. "description": "摇号标识 - 0:未摇号 1:已摇号",
  14912. "name": "lotteryflag",
  14913. "in": "query"
  14914. },
  14915. {
  14916. "type": "integer",
  14917. "description": "最近多少条记录(按创建时间倒序)",
  14918. "name": "lastnum",
  14919. "in": "query"
  14920. }
  14921. ],
  14922. "responses": {
  14923. "200": {
  14924. "description": "OK",
  14925. "schema": {
  14926. "type": "array",
  14927. "items": {
  14928. "$ref": "#/definitions/models.WrPreSaleInfo"
  14929. }
  14930. }
  14931. },
  14932. "500": {
  14933. "description": "Internal Server Error",
  14934. "schema": {
  14935. "$ref": "#/definitions/app.Response"
  14936. }
  14937. }
  14938. }
  14939. }
  14940. },
  14941. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  14942. "get": {
  14943. "security": [
  14944. {
  14945. "ApiKeyAuth": []
  14946. }
  14947. ],
  14948. "produces": [
  14949. "application/json"
  14950. ],
  14951. "tags": [
  14952. "仓单贸易v2"
  14953. ],
  14954. "summary": "查询价格走势",
  14955. "parameters": [
  14956. {
  14957. "type": "integer",
  14958. "description": "市场id",
  14959. "name": "marketid",
  14960. "in": "query",
  14961. "required": true
  14962. },
  14963. {
  14964. "type": "integer",
  14965. "description": "现货商品id",
  14966. "name": "wrstandardid",
  14967. "in": "query",
  14968. "required": true
  14969. },
  14970. {
  14971. "type": "string",
  14972. "description": "开始交易日(yyyymmdd)",
  14973. "name": "begindate",
  14974. "in": "query"
  14975. },
  14976. {
  14977. "type": "string",
  14978. "description": "结束交易日(yyyymmdd)",
  14979. "name": "enddate",
  14980. "in": "query"
  14981. },
  14982. {
  14983. "type": "integer",
  14984. "description": "最近多少条记录(按交易日倒序)",
  14985. "name": "lastnum",
  14986. "in": "query"
  14987. },
  14988. {
  14989. "type": "boolean",
  14990. "description": "是否今日",
  14991. "name": "istoday",
  14992. "in": "query"
  14993. }
  14994. ],
  14995. "responses": {
  14996. "200": {
  14997. "description": "OK",
  14998. "schema": {
  14999. "type": "array",
  15000. "items": {
  15001. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15002. }
  15003. }
  15004. },
  15005. "500": {
  15006. "description": "Internal Server Error",
  15007. "schema": {
  15008. "$ref": "#/definitions/app.Response"
  15009. }
  15010. }
  15011. }
  15012. }
  15013. },
  15014. "/WrTrade2/QueryWrScfContract": {
  15015. "get": {
  15016. "security": [
  15017. {
  15018. "ApiKeyAuth": []
  15019. }
  15020. ],
  15021. "produces": [
  15022. "application/json"
  15023. ],
  15024. "tags": [
  15025. "仓单贸易v2"
  15026. ],
  15027. "summary": "查询仓单贸易融资合同",
  15028. "parameters": [
  15029. {
  15030. "type": "integer",
  15031. "description": "用户id",
  15032. "name": "userid",
  15033. "in": "query",
  15034. "required": true
  15035. },
  15036. {
  15037. "type": "integer",
  15038. "description": "融资合同id",
  15039. "name": "scfcontractid",
  15040. "in": "query"
  15041. }
  15042. ],
  15043. "responses": {
  15044. "200": {
  15045. "description": "OK",
  15046. "schema": {
  15047. "type": "array",
  15048. "items": {
  15049. "$ref": "#/definitions/models.WrScfContract"
  15050. }
  15051. }
  15052. },
  15053. "500": {
  15054. "description": "Internal Server Error",
  15055. "schema": {
  15056. "$ref": "#/definitions/app.Response"
  15057. }
  15058. }
  15059. }
  15060. }
  15061. },
  15062. "/WrTrade2/QueryWrScfContractInterest": {
  15063. "get": {
  15064. "security": [
  15065. {
  15066. "ApiKeyAuth": []
  15067. }
  15068. ],
  15069. "produces": [
  15070. "application/json"
  15071. ],
  15072. "tags": [
  15073. "仓单贸易v2"
  15074. ],
  15075. "summary": "查询融资合同费用明细",
  15076. "parameters": [
  15077. {
  15078. "type": "integer",
  15079. "description": "融资合同id",
  15080. "name": "scfcontractid",
  15081. "in": "query"
  15082. }
  15083. ],
  15084. "responses": {
  15085. "200": {
  15086. "description": "OK",
  15087. "schema": {
  15088. "type": "array",
  15089. "items": {
  15090. "$ref": "#/definitions/models.WrScfContractInterest"
  15091. }
  15092. }
  15093. },
  15094. "500": {
  15095. "description": "Internal Server Error",
  15096. "schema": {
  15097. "$ref": "#/definitions/app.Response"
  15098. }
  15099. }
  15100. }
  15101. }
  15102. },
  15103. "/WrTrade2/QueryWrSearchUser": {
  15104. "get": {
  15105. "security": [
  15106. {
  15107. "ApiKeyAuth": []
  15108. }
  15109. ],
  15110. "produces": [
  15111. "application/json"
  15112. ],
  15113. "tags": [
  15114. "仓单贸易v2"
  15115. ],
  15116. "summary": "查询用户",
  15117. "parameters": [
  15118. {
  15119. "type": "string",
  15120. "description": "用户名称(模糊匹配)",
  15121. "name": "username",
  15122. "in": "query",
  15123. "required": true
  15124. }
  15125. ],
  15126. "responses": {
  15127. "200": {
  15128. "description": "OK",
  15129. "schema": {
  15130. "type": "array",
  15131. "items": {
  15132. "$ref": "#/definitions/models.WrSearchUser"
  15133. }
  15134. }
  15135. },
  15136. "500": {
  15137. "description": "Internal Server Error",
  15138. "schema": {
  15139. "$ref": "#/definitions/app.Response"
  15140. }
  15141. }
  15142. }
  15143. }
  15144. },
  15145. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15146. "get": {
  15147. "security": [
  15148. {
  15149. "ApiKeyAuth": []
  15150. }
  15151. ],
  15152. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15153. "produces": [
  15154. "application/json"
  15155. ],
  15156. "tags": [
  15157. "仓单贸易v2"
  15158. ],
  15159. "summary": "查询指定成交",
  15160. "parameters": [
  15161. {
  15162. "type": "integer",
  15163. "description": "页码",
  15164. "name": "page",
  15165. "in": "query"
  15166. },
  15167. {
  15168. "type": "integer",
  15169. "description": "每页条数",
  15170. "name": "pagesize",
  15171. "in": "query"
  15172. },
  15173. {
  15174. "type": "integer",
  15175. "description": "用户id",
  15176. "name": "userid",
  15177. "in": "query",
  15178. "required": true
  15179. },
  15180. {
  15181. "type": "integer",
  15182. "description": "仓单贸易市场id",
  15183. "name": "marketid",
  15184. "in": "query"
  15185. },
  15186. {
  15187. "type": "integer",
  15188. "description": "0:仓单预售 1:仓单贸易",
  15189. "name": "haswr",
  15190. "in": "query",
  15191. "required": true
  15192. },
  15193. {
  15194. "type": "integer",
  15195. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15196. "name": "isspecified",
  15197. "in": "query"
  15198. }
  15199. ],
  15200. "responses": {
  15201. "200": {
  15202. "description": "OK",
  15203. "schema": {
  15204. "type": "array",
  15205. "items": {
  15206. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15207. }
  15208. }
  15209. },
  15210. "500": {
  15211. "description": "Internal Server Error",
  15212. "schema": {
  15213. "$ref": "#/definitions/app.Response"
  15214. }
  15215. }
  15216. }
  15217. }
  15218. },
  15219. "/WrTrade2/QueryWrStandardFactoryItem": {
  15220. "get": {
  15221. "security": [
  15222. {
  15223. "ApiKeyAuth": []
  15224. }
  15225. ],
  15226. "produces": [
  15227. "application/json"
  15228. ],
  15229. "tags": [
  15230. "仓单贸易v2"
  15231. ],
  15232. "summary": "查询品类要素定义项",
  15233. "parameters": [
  15234. {
  15235. "type": "integer",
  15236. "description": "品类id",
  15237. "name": "wrstandardid",
  15238. "in": "query",
  15239. "required": true
  15240. }
  15241. ],
  15242. "responses": {
  15243. "200": {
  15244. "description": "OK",
  15245. "schema": {
  15246. "type": "array",
  15247. "items": {
  15248. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15249. }
  15250. }
  15251. },
  15252. "500": {
  15253. "description": "Internal Server Error",
  15254. "schema": {
  15255. "$ref": "#/definitions/app.Response"
  15256. }
  15257. }
  15258. }
  15259. }
  15260. },
  15261. "/WrTrade2/QueryWrTradeBargainApply": {
  15262. "get": {
  15263. "security": [
  15264. {
  15265. "ApiKeyAuth": []
  15266. }
  15267. ],
  15268. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15269. "produces": [
  15270. "application/json"
  15271. ],
  15272. "tags": [
  15273. "仓单贸易v2"
  15274. ],
  15275. "summary": "查询议价单",
  15276. "parameters": [
  15277. {
  15278. "type": "integer",
  15279. "description": "议价人id(摘牌方)",
  15280. "name": "userid",
  15281. "in": "query"
  15282. },
  15283. {
  15284. "type": "integer",
  15285. "description": "挂牌方id(查对方议价时,填写此项)",
  15286. "name": "matchuserid",
  15287. "in": "query"
  15288. },
  15289. {
  15290. "type": "integer",
  15291. "description": "关联委托单id",
  15292. "name": "wrtradeorderid",
  15293. "in": "query"
  15294. },
  15295. {
  15296. "type": "integer",
  15297. "description": "0:仓单预售 1:仓单贸易",
  15298. "name": "haswr",
  15299. "in": "query",
  15300. "required": true
  15301. },
  15302. {
  15303. "type": "string",
  15304. "description": "开始交易日(yyyymmdd)",
  15305. "name": "begindate",
  15306. "in": "query"
  15307. },
  15308. {
  15309. "type": "string",
  15310. "description": "结束交易日(yyyymmdd)",
  15311. "name": "enddate",
  15312. "in": "query"
  15313. }
  15314. ],
  15315. "responses": {
  15316. "200": {
  15317. "description": "OK",
  15318. "schema": {
  15319. "type": "array",
  15320. "items": {
  15321. "$ref": "#/definitions/models.WRTradeBargainApply"
  15322. }
  15323. }
  15324. },
  15325. "500": {
  15326. "description": "Internal Server Error",
  15327. "schema": {
  15328. "$ref": "#/definitions/app.Response"
  15329. }
  15330. }
  15331. }
  15332. }
  15333. },
  15334. "/WrTrade2/QueryWrTradeDetail": {
  15335. "get": {
  15336. "security": [
  15337. {
  15338. "ApiKeyAuth": []
  15339. }
  15340. ],
  15341. "produces": [
  15342. "application/json"
  15343. ],
  15344. "tags": [
  15345. "仓单贸易v2"
  15346. ],
  15347. "summary": "查询仓单成交明细",
  15348. "parameters": [
  15349. {
  15350. "type": "integer",
  15351. "description": "页码",
  15352. "name": "page",
  15353. "in": "query"
  15354. },
  15355. {
  15356. "type": "integer",
  15357. "description": "每页条数",
  15358. "name": "pagesize",
  15359. "in": "query"
  15360. },
  15361. {
  15362. "type": "integer",
  15363. "description": "用户id",
  15364. "name": "userid",
  15365. "in": "query",
  15366. "required": true
  15367. },
  15368. {
  15369. "type": "integer",
  15370. "description": "仓单贸易市场id",
  15371. "name": "marketid",
  15372. "in": "query"
  15373. },
  15374. {
  15375. "type": "integer",
  15376. "description": "0:仓单预售 1:仓单贸易",
  15377. "name": "haswr",
  15378. "in": "query",
  15379. "required": true
  15380. },
  15381. {
  15382. "type": "string",
  15383. "description": "开始交易日(yyyymmdd)",
  15384. "name": "begindate",
  15385. "in": "query"
  15386. },
  15387. {
  15388. "type": "string",
  15389. "description": "结束交易日(yyyymmdd)",
  15390. "name": "enddate",
  15391. "in": "query"
  15392. }
  15393. ],
  15394. "responses": {
  15395. "200": {
  15396. "description": "OK",
  15397. "schema": {
  15398. "type": "array",
  15399. "items": {
  15400. "$ref": "#/definitions/models.WrTradeDetail"
  15401. }
  15402. }
  15403. },
  15404. "500": {
  15405. "description": "Internal Server Error",
  15406. "schema": {
  15407. "$ref": "#/definitions/app.Response"
  15408. }
  15409. }
  15410. }
  15411. }
  15412. },
  15413. "/WrTrade2/QueryWrTradeOrderDetail": {
  15414. "get": {
  15415. "security": [
  15416. {
  15417. "ApiKeyAuth": []
  15418. }
  15419. ],
  15420. "produces": [
  15421. "application/json"
  15422. ],
  15423. "tags": [
  15424. "仓单贸易v2"
  15425. ],
  15426. "summary": "查询合约交易买卖大厅",
  15427. "parameters": [
  15428. {
  15429. "type": "integer",
  15430. "description": "页码",
  15431. "name": "page",
  15432. "in": "query"
  15433. },
  15434. {
  15435. "type": "integer",
  15436. "description": "每页条数",
  15437. "name": "pagesize",
  15438. "in": "query"
  15439. },
  15440. {
  15441. "type": "integer",
  15442. "description": "商品id",
  15443. "name": "goodsid",
  15444. "in": "query",
  15445. "required": true
  15446. },
  15447. {
  15448. "type": "integer",
  15449. "description": "买卖方向 0-买 1-卖",
  15450. "name": "buyorsell",
  15451. "in": "query",
  15452. "required": true
  15453. }
  15454. ],
  15455. "responses": {
  15456. "200": {
  15457. "description": "OK",
  15458. "schema": {
  15459. "type": "array",
  15460. "items": {
  15461. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15462. }
  15463. }
  15464. },
  15465. "500": {
  15466. "description": "Internal Server Error",
  15467. "schema": {
  15468. "$ref": "#/definitions/app.Response"
  15469. }
  15470. }
  15471. }
  15472. }
  15473. },
  15474. "/WrTrade2/QueryWrTradeQuote": {
  15475. "get": {
  15476. "security": [
  15477. {
  15478. "ApiKeyAuth": []
  15479. }
  15480. ],
  15481. "produces": [
  15482. "application/json"
  15483. ],
  15484. "tags": [
  15485. "仓单贸易v2"
  15486. ],
  15487. "summary": "查询仓单贸易成交行情",
  15488. "parameters": [
  15489. {
  15490. "type": "integer",
  15491. "description": "现货商品id",
  15492. "name": "wrstandardid",
  15493. "in": "query",
  15494. "required": true
  15495. },
  15496. {
  15497. "type": "string",
  15498. "description": "开始日期(yyyymmdd)",
  15499. "name": "begindate",
  15500. "in": "query",
  15501. "required": true
  15502. },
  15503. {
  15504. "type": "string",
  15505. "description": "结束日期(yyyymmdd)",
  15506. "name": "enddate",
  15507. "in": "query",
  15508. "required": true
  15509. },
  15510. {
  15511. "type": "integer",
  15512. "description": "市场id",
  15513. "name": "marketid",
  15514. "in": "query"
  15515. }
  15516. ],
  15517. "responses": {
  15518. "200": {
  15519. "description": "OK",
  15520. "schema": {
  15521. "type": "array",
  15522. "items": {
  15523. "$ref": "#/definitions/models.Wrtradetradequote"
  15524. }
  15525. }
  15526. },
  15527. "500": {
  15528. "description": "Internal Server Error",
  15529. "schema": {
  15530. "$ref": "#/definitions/app.Response"
  15531. }
  15532. }
  15533. }
  15534. }
  15535. },
  15536. "/WrTrade2/QueryWrUserFriend": {
  15537. "get": {
  15538. "security": [
  15539. {
  15540. "ApiKeyAuth": []
  15541. }
  15542. ],
  15543. "produces": [
  15544. "application/json"
  15545. ],
  15546. "tags": [
  15547. "仓单贸易v2"
  15548. ],
  15549. "summary": "查询我的朋友",
  15550. "parameters": [
  15551. {
  15552. "type": "integer",
  15553. "description": "用户id",
  15554. "name": "userid",
  15555. "in": "query",
  15556. "required": true
  15557. },
  15558. {
  15559. "type": "integer",
  15560. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15561. "name": "newuserid",
  15562. "in": "query"
  15563. }
  15564. ],
  15565. "responses": {
  15566. "200": {
  15567. "description": "OK",
  15568. "schema": {
  15569. "type": "array",
  15570. "items": {
  15571. "$ref": "#/definitions/models.WrUserFriend"
  15572. }
  15573. }
  15574. },
  15575. "500": {
  15576. "description": "Internal Server Error",
  15577. "schema": {
  15578. "$ref": "#/definitions/app.Response"
  15579. }
  15580. }
  15581. }
  15582. }
  15583. },
  15584. "/WrTrade2/QueryWrUserReceiptInfo": {
  15585. "get": {
  15586. "security": [
  15587. {
  15588. "ApiKeyAuth": []
  15589. }
  15590. ],
  15591. "produces": [
  15592. "application/json"
  15593. ],
  15594. "tags": [
  15595. "仓单贸易v2"
  15596. ],
  15597. "summary": "查询发票信息",
  15598. "parameters": [
  15599. {
  15600. "type": "integer",
  15601. "description": "用户id",
  15602. "name": "userid",
  15603. "in": "query"
  15604. },
  15605. {
  15606. "type": "integer",
  15607. "description": "发票类型 - 1:个人 2:企业",
  15608. "name": "receipttype",
  15609. "in": "query"
  15610. }
  15611. ],
  15612. "responses": {
  15613. "200": {
  15614. "description": "OK",
  15615. "schema": {
  15616. "type": "array",
  15617. "items": {
  15618. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15619. }
  15620. }
  15621. },
  15622. "500": {
  15623. "description": "Internal Server Error",
  15624. "schema": {
  15625. "$ref": "#/definitions/app.Response"
  15626. }
  15627. }
  15628. }
  15629. }
  15630. },
  15631. "/WrTrade2/QueryXhcpSellBackApply": {
  15632. "get": {
  15633. "security": [
  15634. {
  15635. "ApiKeyAuth": []
  15636. }
  15637. ],
  15638. "produces": [
  15639. "application/json"
  15640. ],
  15641. "tags": [
  15642. "仓单贸易v2"
  15643. ],
  15644. "summary": "查询我的回收申请(新会陈皮)",
  15645. "parameters": [
  15646. {
  15647. "type": "integer",
  15648. "description": "用户ID",
  15649. "name": "userid",
  15650. "in": "query",
  15651. "required": true
  15652. }
  15653. ],
  15654. "responses": {
  15655. "200": {
  15656. "description": "OK",
  15657. "schema": {
  15658. "type": "array",
  15659. "items": {
  15660. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15661. }
  15662. }
  15663. },
  15664. "500": {
  15665. "description": "Internal Server Error",
  15666. "schema": {
  15667. "$ref": "#/definitions/app.Response"
  15668. }
  15669. }
  15670. }
  15671. }
  15672. },
  15673. "/ZJ/GetBankTip": {
  15674. "get": {
  15675. "produces": [
  15676. "application/json"
  15677. ],
  15678. "tags": [
  15679. "中江"
  15680. ],
  15681. "summary": "获取中江网银端出入金提示信息",
  15682. "responses": {
  15683. "200": {
  15684. "description": "OK",
  15685. "schema": {
  15686. "type": "string"
  15687. }
  15688. },
  15689. "500": {
  15690. "description": "Internal Server Error",
  15691. "schema": {
  15692. "$ref": "#/definitions/app.Response"
  15693. }
  15694. }
  15695. }
  15696. }
  15697. },
  15698. "/ZJ/GetCusBankChannels": {
  15699. "get": {
  15700. "produces": [
  15701. "application/json"
  15702. ],
  15703. "tags": [
  15704. "中江"
  15705. ],
  15706. "summary": "获取中江出入金渠道显示列表",
  15707. "responses": {
  15708. "200": {
  15709. "description": "OK",
  15710. "schema": {
  15711. "type": "array",
  15712. "items": {
  15713. "type": "string"
  15714. }
  15715. }
  15716. },
  15717. "500": {
  15718. "description": "Internal Server Error",
  15719. "schema": {
  15720. "$ref": "#/definitions/app.Response"
  15721. }
  15722. }
  15723. }
  15724. }
  15725. }
  15726. },
  15727. "definitions": {
  15728. "app.Response": {
  15729. "type": "object",
  15730. "properties": {
  15731. "code": {
  15732. "type": "integer"
  15733. },
  15734. "data": {
  15735. "type": "object"
  15736. },
  15737. "msg": {
  15738. "type": "string"
  15739. },
  15740. "page": {
  15741. "description": "页码",
  15742. "type": "integer"
  15743. },
  15744. "pagesize": {
  15745. "description": "每页条数",
  15746. "type": "integer"
  15747. },
  15748. "total": {
  15749. "description": "总条数",
  15750. "type": "integer"
  15751. }
  15752. }
  15753. },
  15754. "common.ClientMenu": {
  15755. "type": "object",
  15756. "properties": {
  15757. "children": {
  15758. "description": "子菜单列表",
  15759. "type": "array",
  15760. "items": {
  15761. "$ref": "#/definitions/common.ClientMenu"
  15762. }
  15763. },
  15764. "code": {
  15765. "description": "ID",
  15766. "type": "string"
  15767. },
  15768. "isshow": {
  15769. "description": "是否显示",
  15770. "type": "boolean"
  15771. },
  15772. "remark": {
  15773. "description": "备注",
  15774. "type": "string"
  15775. },
  15776. "rulekey": {
  15777. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15778. "type": "string"
  15779. },
  15780. "sort": {
  15781. "description": "排序",
  15782. "type": "integer"
  15783. },
  15784. "title": {
  15785. "description": "标题",
  15786. "type": "string"
  15787. },
  15788. "type": {
  15789. "description": "类型,1:菜单 2:按钮",
  15790. "type": "integer"
  15791. },
  15792. "url": {
  15793. "description": "URL",
  15794. "type": "string"
  15795. }
  15796. }
  15797. },
  15798. "common.PCWebMenu": {
  15799. "type": "object",
  15800. "properties": {
  15801. "auth": {
  15802. "description": "页面权限列表",
  15803. "type": "array",
  15804. "items": {
  15805. "$ref": "#/definitions/common.PCWebMenuAuth"
  15806. }
  15807. },
  15808. "children": {
  15809. "description": "子菜单列表",
  15810. "type": "array",
  15811. "items": {
  15812. "$ref": "#/definitions/common.PCWebMenu"
  15813. }
  15814. },
  15815. "code": {
  15816. "description": "ID,新版本中权限KEY也是这个字段",
  15817. "type": "string"
  15818. },
  15819. "component": {
  15820. "description": "路由组件",
  15821. "type": "string"
  15822. },
  15823. "isshow": {
  15824. "description": "是否显示",
  15825. "type": "boolean"
  15826. },
  15827. "path": {
  15828. "description": "路由路径",
  15829. "type": "string"
  15830. },
  15831. "remark": {
  15832. "description": "备注",
  15833. "type": "string"
  15834. },
  15835. "rulekey": {
  15836. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15837. "type": "string"
  15838. },
  15839. "sort": {
  15840. "description": "排序",
  15841. "type": "integer"
  15842. },
  15843. "title": {
  15844. "description": "标题",
  15845. "type": "string"
  15846. },
  15847. "url": {
  15848. "description": "URL",
  15849. "type": "string"
  15850. }
  15851. }
  15852. },
  15853. "common.PCWebMenuAuth": {
  15854. "type": "object",
  15855. "properties": {
  15856. "code": {
  15857. "description": "ID,新版本中权限KEY也是这个字段",
  15858. "type": "string"
  15859. },
  15860. "isshow": {
  15861. "description": "是否显示",
  15862. "type": "boolean"
  15863. },
  15864. "label": {
  15865. "description": "标题",
  15866. "type": "string"
  15867. },
  15868. "remark": {
  15869. "description": "备注",
  15870. "type": "string"
  15871. },
  15872. "rulekey": {
  15873. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15874. "type": "string"
  15875. }
  15876. }
  15877. },
  15878. "common.QueryImageConfigsRsp": {
  15879. "type": "object",
  15880. "required": [
  15881. "configid"
  15882. ],
  15883. "properties": {
  15884. "areauserid": {
  15885. "description": "所属机构ID",
  15886. "type": "integer"
  15887. },
  15888. "configid": {
  15889. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  15890. "type": "integer"
  15891. },
  15892. "createdate": {
  15893. "description": "创建时间",
  15894. "type": "string"
  15895. },
  15896. "creatorid": {
  15897. "description": "创建人",
  15898. "type": "integer"
  15899. },
  15900. "imagedetailpath": {
  15901. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  15902. "type": "string"
  15903. },
  15904. "imagepath": {
  15905. "description": "图片",
  15906. "type": "string"
  15907. },
  15908. "imagetype": {
  15909. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  15910. "type": "integer"
  15911. },
  15912. "isshow": {
  15913. "description": "是否展示 - 0:不展示 1:展示",
  15914. "type": "integer"
  15915. },
  15916. "marketid": {
  15917. "description": "市场ID",
  15918. "type": "integer"
  15919. },
  15920. "modifierid": {
  15921. "description": "操作人",
  15922. "type": "integer"
  15923. },
  15924. "sort": {
  15925. "description": "排序",
  15926. "type": "integer"
  15927. },
  15928. "title": {
  15929. "description": "标题",
  15930. "type": "string"
  15931. },
  15932. "trademode": {
  15933. "description": "交易模式",
  15934. "type": "integer"
  15935. },
  15936. "updatedate": {
  15937. "description": "修改时间",
  15938. "type": "string"
  15939. },
  15940. "url": {
  15941. "description": "链接(地址或商品ID)",
  15942. "type": "string"
  15943. },
  15944. "urltype": {
  15945. "description": "链接类型 - 1:直接地址 2:商品ID",
  15946. "type": "integer"
  15947. }
  15948. }
  15949. },
  15950. "common.QueryNoticeRsp": {
  15951. "type": "object",
  15952. "required": [
  15953. "autoid"
  15954. ],
  15955. "properties": {
  15956. "auditoruserid": {
  15957. "description": "审核人",
  15958. "type": "integer"
  15959. },
  15960. "auditremark": {
  15961. "description": "审核备注",
  15962. "type": "string"
  15963. },
  15964. "audittime": {
  15965. "description": "审核日期",
  15966. "type": "string"
  15967. },
  15968. "autoid": {
  15969. "description": "自增ID",
  15970. "type": "integer"
  15971. },
  15972. "content": {
  15973. "description": "内容",
  15974. "type": "string"
  15975. },
  15976. "createtime": {
  15977. "description": "创建时间",
  15978. "type": "string"
  15979. },
  15980. "creatorid": {
  15981. "description": "建仓人",
  15982. "type": "integer"
  15983. },
  15984. "endtime": {
  15985. "description": "结束时间",
  15986. "type": "string"
  15987. },
  15988. "istop": {
  15989. "description": "是否置顶 - 0:不置顶 1:置顶",
  15990. "type": "integer"
  15991. },
  15992. "msgiconurl": {
  15993. "description": "消息图标Url",
  15994. "type": "string"
  15995. },
  15996. "msgtype": {
  15997. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  15998. "type": "integer"
  15999. },
  16000. "publisher": {
  16001. "description": "消息发布者",
  16002. "type": "string"
  16003. },
  16004. "readed": {
  16005. "description": "是否已读",
  16006. "type": "boolean"
  16007. },
  16008. "scheduletime": {
  16009. "description": "计划发送时间",
  16010. "type": "string"
  16011. },
  16012. "sendtype": {
  16013. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16014. "type": "integer"
  16015. },
  16016. "sentstatus": {
  16017. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16018. "type": "integer"
  16019. },
  16020. "title": {
  16021. "description": "标题",
  16022. "type": "string"
  16023. },
  16024. "userid": {
  16025. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16026. "type": "integer"
  16027. }
  16028. }
  16029. },
  16030. "common.QueryProvincesAndCitiesRsp": {
  16031. "type": "object",
  16032. "properties": {
  16033. "cities": {
  16034. "description": "市",
  16035. "type": "array",
  16036. "items": {
  16037. "$ref": "#/definitions/models.Division"
  16038. }
  16039. },
  16040. "province": {
  16041. "description": "省",
  16042. "$ref": "#/definitions/models.Division"
  16043. }
  16044. }
  16045. },
  16046. "common.QueryTableDefineRsp": {
  16047. "type": "object",
  16048. "required": [
  16049. "tablekey"
  16050. ],
  16051. "properties": {
  16052. "columns": {
  16053. "description": "列头信息数组",
  16054. "type": "array",
  16055. "items": {
  16056. "$ref": "#/definitions/models.Tablecolumnconfig"
  16057. }
  16058. },
  16059. "remark": {
  16060. "description": "Remark",
  16061. "type": "string"
  16062. },
  16063. "tabelmenu": {
  16064. "description": "列表菜单",
  16065. "type": "string"
  16066. },
  16067. "tablekey": {
  16068. "description": "列表Key",
  16069. "type": "string"
  16070. },
  16071. "tablename": {
  16072. "description": "列表名称",
  16073. "type": "string"
  16074. },
  16075. "tabletype": {
  16076. "description": "列表类型 - 1:管理端 2:终端",
  16077. "type": "integer"
  16078. }
  16079. }
  16080. },
  16081. "common.QueryTraderMenuRsp": {
  16082. "type": "object",
  16083. "properties": {
  16084. "OperationMenu": {
  16085. "description": "功能菜单",
  16086. "type": "array",
  16087. "items": {
  16088. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16089. }
  16090. },
  16091. "QuoteMenu": {
  16092. "description": "报价牌分类菜单",
  16093. "type": "array",
  16094. "items": {
  16095. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16096. }
  16097. }
  16098. }
  16099. },
  16100. "cptrade.Cptradepositioncancel": {
  16101. "type": "object",
  16102. "required": [
  16103. "cancelid"
  16104. ],
  16105. "properties": {
  16106. "accountid": {
  16107. "description": "申请人账户ID",
  16108. "type": "integer"
  16109. },
  16110. "applystatus": {
  16111. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16112. "type": "integer"
  16113. },
  16114. "applytime": {
  16115. "description": "申请时间",
  16116. "type": "string"
  16117. },
  16118. "cancelid": {
  16119. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16120. "type": "integer"
  16121. },
  16122. "cancelqty": {
  16123. "description": "注销数量",
  16124. "type": "integer"
  16125. },
  16126. "createtime": {
  16127. "description": "创建时间",
  16128. "type": "string"
  16129. },
  16130. "creatorid": {
  16131. "description": "创建人ID",
  16132. "type": "integer"
  16133. },
  16134. "creatorname": {
  16135. "description": "创建人",
  16136. "type": "string"
  16137. },
  16138. "goodscode": {
  16139. "description": "订单商品代码",
  16140. "type": "string"
  16141. },
  16142. "goodsid": {
  16143. "description": "商品ID",
  16144. "type": "integer"
  16145. },
  16146. "goodsname": {
  16147. "description": "订单商品名称",
  16148. "type": "string"
  16149. },
  16150. "goodunit": {
  16151. "description": "报价单位",
  16152. "type": "string"
  16153. },
  16154. "handlestatus": {
  16155. "description": "处理状态",
  16156. "type": "integer"
  16157. },
  16158. "marketid": {
  16159. "description": "市场ID",
  16160. "type": "integer"
  16161. },
  16162. "marketname": {
  16163. "description": "市场名称",
  16164. "type": "string"
  16165. },
  16166. "tradedate": {
  16167. "description": "交易日(yyyyMMdd)",
  16168. "type": "string"
  16169. },
  16170. "userid": {
  16171. "description": "申请人ID",
  16172. "type": "integer"
  16173. }
  16174. }
  16175. },
  16176. "cptrade.Cptradepresaleapply": {
  16177. "type": "object",
  16178. "required": [
  16179. "applyid"
  16180. ],
  16181. "properties": {
  16182. "accountid": {
  16183. "description": "申请人账户ID",
  16184. "type": "integer"
  16185. },
  16186. "applyid": {
  16187. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16188. "type": "integer"
  16189. },
  16190. "applyremark": {
  16191. "description": "申请备注",
  16192. "type": "string"
  16193. },
  16194. "applystatus": {
  16195. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16196. "type": "integer"
  16197. },
  16198. "applytime": {
  16199. "description": "申请时间",
  16200. "type": "string"
  16201. },
  16202. "attachmenturl": {
  16203. "description": "附件地址",
  16204. "type": "string"
  16205. },
  16206. "endtime": {
  16207. "description": "预售结束时间",
  16208. "type": "string"
  16209. },
  16210. "goodscode": {
  16211. "description": "商品代码",
  16212. "type": "string"
  16213. },
  16214. "goodsid": {
  16215. "description": "商品ID",
  16216. "type": "integer"
  16217. },
  16218. "goodsname": {
  16219. "description": "商品名称",
  16220. "type": "string"
  16221. },
  16222. "goodunit": {
  16223. "description": "报价单位",
  16224. "type": "string"
  16225. },
  16226. "handlestatus": {
  16227. "description": "处理状态",
  16228. "type": "integer"
  16229. },
  16230. "marketid": {
  16231. "description": "预售市场ID",
  16232. "type": "integer"
  16233. },
  16234. "marketname": {
  16235. "description": "预售市场名称",
  16236. "type": "string"
  16237. },
  16238. "presaleqty": {
  16239. "description": "预售数量",
  16240. "type": "integer"
  16241. },
  16242. "relatedgoodscode": {
  16243. "description": "关联交易合约代码",
  16244. "type": "string"
  16245. },
  16246. "relatedgoodsid": {
  16247. "description": "关联交易合约ID",
  16248. "type": "integer"
  16249. },
  16250. "relatedgoodsname": {
  16251. "description": "关联交易合约名称",
  16252. "type": "string"
  16253. },
  16254. "starttime": {
  16255. "description": "预售开始时间",
  16256. "type": "string"
  16257. },
  16258. "tradedate": {
  16259. "description": "交易日(yyyyMMdd)",
  16260. "type": "string"
  16261. },
  16262. "trademode": {
  16263. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16264. "type": "integer"
  16265. },
  16266. "userid": {
  16267. "description": "申请人ID",
  16268. "type": "integer"
  16269. }
  16270. }
  16271. },
  16272. "cptrade.Cptradeusergoodsdata": {
  16273. "type": "object",
  16274. "required": [
  16275. "accountid",
  16276. "goodsid"
  16277. ],
  16278. "properties": {
  16279. "EnabledQty": {
  16280. "description": "可用量",
  16281. "type": "integer"
  16282. },
  16283. "GoodsCode": {
  16284. "description": "订单商品代码",
  16285. "type": "string"
  16286. },
  16287. "GoodsName": {
  16288. "description": "订单商品名称",
  16289. "type": "string"
  16290. },
  16291. "WRStandardCode": {
  16292. "description": "仓单标准代码",
  16293. "type": "string"
  16294. },
  16295. "WRStandardName": {
  16296. "description": "仓单标准名称",
  16297. "type": "string"
  16298. },
  16299. "accountid": {
  16300. "description": "账户ID",
  16301. "type": "integer"
  16302. },
  16303. "cancelqty": {
  16304. "description": "注销量",
  16305. "type": "integer"
  16306. },
  16307. "curpresaleqty": {
  16308. "description": "当前预售量",
  16309. "type": "integer"
  16310. },
  16311. "deliveryqty": {
  16312. "description": "交割量",
  16313. "type": "integer"
  16314. },
  16315. "freezeamount": {
  16316. "description": "冻结金额",
  16317. "type": "number"
  16318. },
  16319. "goodsid": {
  16320. "description": "商品ID",
  16321. "type": "integer"
  16322. },
  16323. "goodunit": {
  16324. "description": "报价单位",
  16325. "type": "string"
  16326. },
  16327. "hasspotfreeze": {
  16328. "description": "是否有现货冻结 - 0:否 1:有",
  16329. "type": "integer"
  16330. },
  16331. "inqty": {
  16332. "description": "转入量(总数量)",
  16333. "type": "integer"
  16334. },
  16335. "marketid": {
  16336. "description": "市场ID",
  16337. "type": "integer"
  16338. },
  16339. "presaledamount": {
  16340. "description": "已预售总金额",
  16341. "type": "integer"
  16342. },
  16343. "presaledqty": {
  16344. "description": "已预售量",
  16345. "type": "integer"
  16346. },
  16347. "userid": {
  16348. "description": "用户ID",
  16349. "type": "integer"
  16350. },
  16351. "wrstandardid": {
  16352. "description": "仓单标准ID",
  16353. "type": "integer"
  16354. }
  16355. }
  16356. },
  16357. "cptrade.QueryCPTradeMyBidRsp": {
  16358. "type": "object",
  16359. "required": [
  16360. "accountid",
  16361. "goodsid",
  16362. "marketid",
  16363. "orderid",
  16364. "orderqty",
  16365. "ordertime",
  16366. "tradeprice",
  16367. "tradeqty"
  16368. ],
  16369. "properties": {
  16370. "accountid": {
  16371. "description": "账户ID[报价币种]",
  16372. "type": "integer"
  16373. },
  16374. "goodsid": {
  16375. "description": "商品ID",
  16376. "type": "integer"
  16377. },
  16378. "goodunit": {
  16379. "description": "报价单位",
  16380. "type": "string"
  16381. },
  16382. "marketid": {
  16383. "description": "市场ID",
  16384. "type": "integer"
  16385. },
  16386. "orderid": {
  16387. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16388. "type": "integer"
  16389. },
  16390. "orderprice": {
  16391. "description": "委托价格",
  16392. "type": "number"
  16393. },
  16394. "orderqty": {
  16395. "description": "委托数量",
  16396. "type": "integer"
  16397. },
  16398. "ordertime": {
  16399. "description": "委托时间",
  16400. "type": "string"
  16401. },
  16402. "ordertotalprice": {
  16403. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16404. "type": "number"
  16405. },
  16406. "ordertotalweight": {
  16407. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16408. "type": "integer"
  16409. },
  16410. "totaltotalprice": {
  16411. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16412. "type": "number"
  16413. },
  16414. "tradeprice": {
  16415. "description": "成交价格",
  16416. "type": "number"
  16417. },
  16418. "tradeqty": {
  16419. "description": "成交数量",
  16420. "type": "integer"
  16421. }
  16422. }
  16423. },
  16424. "cptrade.QueryCPTradeOrderDetailRsq": {
  16425. "type": "object",
  16426. "required": [
  16427. "accountid",
  16428. "buildtype",
  16429. "buyorsell",
  16430. "goodsid",
  16431. "marketid",
  16432. "memberuserid",
  16433. "operatetype",
  16434. "orderqty",
  16435. "ordertime",
  16436. "pricemode",
  16437. "strorderid",
  16438. "tradedate",
  16439. "validtype"
  16440. ],
  16441. "properties": {
  16442. "accountid": {
  16443. "description": "账户ID[报价币种]",
  16444. "type": "integer"
  16445. },
  16446. "buildtype": {
  16447. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16448. "type": "integer"
  16449. },
  16450. "buyorsell": {
  16451. "description": "买卖 - 0:买 1:卖",
  16452. "type": "integer"
  16453. },
  16454. "cancelorderid": {
  16455. "description": "撤单单号(撤单时填写)",
  16456. "type": "integer"
  16457. },
  16458. "cancelqty": {
  16459. "description": "撤单数量",
  16460. "type": "integer"
  16461. },
  16462. "clientordertime": {
  16463. "description": "客户端委托时间",
  16464. "type": "string"
  16465. },
  16466. "clientticket": {
  16467. "description": "客户端流水号",
  16468. "type": "string"
  16469. },
  16470. "clienttype": {
  16471. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16472. "type": "integer"
  16473. },
  16474. "closeexchagechargevalue": {
  16475. "description": "平仓交易所手续费设置值",
  16476. "type": "number"
  16477. },
  16478. "closefeealgorithm": {
  16479. "description": "平仓手续费收取方式 1:比率 2:固定",
  16480. "type": "integer"
  16481. },
  16482. "closefreezecharge": {
  16483. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16484. "type": "number"
  16485. },
  16486. "closememberchargevalue": {
  16487. "description": "平仓会员手续费设置值",
  16488. "type": "number"
  16489. },
  16490. "closeqty": {
  16491. "description": "平仓数量(先建后平操作 需要记录)",
  16492. "type": "integer"
  16493. },
  16494. "closetradeqty": {
  16495. "description": "平仓成交数量(先建后平操作,需要记录)",
  16496. "type": "integer"
  16497. },
  16498. "closeunfreezecharge": {
  16499. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16500. "type": "number"
  16501. },
  16502. "delistingtype": {
  16503. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16504. "type": "integer"
  16505. },
  16506. "freezecharge": {
  16507. "description": "冻结手续费",
  16508. "type": "number"
  16509. },
  16510. "freezemargin": {
  16511. "description": "冻结保证金(冻结交易金额)",
  16512. "type": "number"
  16513. },
  16514. "gcaccountid": {
  16515. "description": "账户ID[合约币种]",
  16516. "type": "integer"
  16517. },
  16518. "goodsid": {
  16519. "description": "商品ID",
  16520. "type": "integer"
  16521. },
  16522. "isconfirmexercise": {
  16523. "description": "是否确认行权- 0:否 1:是",
  16524. "type": "integer"
  16525. },
  16526. "ispreexercise": {
  16527. "description": "是否预申报- 0:否 1:是",
  16528. "type": "integer"
  16529. },
  16530. "listingselecttype": {
  16531. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16532. "type": "integer"
  16533. },
  16534. "marginalgorithm": {
  16535. "description": "保证金收取方式 1:比率 2:固定",
  16536. "type": "integer"
  16537. },
  16538. "marginvalue": {
  16539. "description": "即市保证金设置值",
  16540. "type": "number"
  16541. },
  16542. "marketid": {
  16543. "description": "市场ID",
  16544. "type": "integer"
  16545. },
  16546. "marketmaxsub": {
  16547. "description": "市价最大偏移范围",
  16548. "type": "number"
  16549. },
  16550. "memberuserid": {
  16551. "description": "所属会员UserID",
  16552. "type": "integer"
  16553. },
  16554. "openexchagechargevalue": {
  16555. "description": "建仓交易所手续费设置值",
  16556. "type": "number"
  16557. },
  16558. "openfeealgorithm": {
  16559. "description": "建仓手续费收取方式 1:比率 2:固定",
  16560. "type": "integer"
  16561. },
  16562. "openfreezecharge": {
  16563. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16564. "type": "number"
  16565. },
  16566. "openmemberchargevalue": {
  16567. "description": "建仓会员手续费设置值",
  16568. "type": "number"
  16569. },
  16570. "openqty": {
  16571. "description": "开仓数量(先建后平操作,需要记录)",
  16572. "type": "integer"
  16573. },
  16574. "opentradeqty": {
  16575. "description": "开仓成交数量(先建后平操作,需要记录)",
  16576. "type": "integer"
  16577. },
  16578. "openunfreezecharge": {
  16579. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16580. "type": "number"
  16581. },
  16582. "operatetype": {
  16583. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16584. "type": "integer"
  16585. },
  16586. "operatorid": {
  16587. "description": "登录账号(LoginID)",
  16588. "type": "integer"
  16589. },
  16590. "optiontype": {
  16591. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16592. "type": "integer"
  16593. },
  16594. "orderprice": {
  16595. "description": "委托价格",
  16596. "type": "number"
  16597. },
  16598. "orderqty": {
  16599. "description": "委托数量",
  16600. "type": "integer"
  16601. },
  16602. "ordersrc": {
  16603. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16604. "type": "integer"
  16605. },
  16606. "orderstatus": {
  16607. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16608. "type": "integer"
  16609. },
  16610. "ordertime": {
  16611. "description": "委托时间",
  16612. "type": "string"
  16613. },
  16614. "preexerciseprice": {
  16615. "description": "预申报价格",
  16616. "type": "number"
  16617. },
  16618. "premium": {
  16619. "description": "权利金",
  16620. "type": "number"
  16621. },
  16622. "preorderid": {
  16623. "description": "关联预埋单号(止盈止损单时填写)",
  16624. "type": "integer"
  16625. },
  16626. "pricemode": {
  16627. "description": "取价方式 - 1:市价 2: 限价",
  16628. "type": "integer"
  16629. },
  16630. "quoteid": {
  16631. "description": "报价单ID",
  16632. "type": "integer"
  16633. },
  16634. "relatedid": {
  16635. "description": "关联单号(交割单)",
  16636. "type": "integer"
  16637. },
  16638. "retcode": {
  16639. "description": "错误代码",
  16640. "type": "integer"
  16641. },
  16642. "sessionid": {
  16643. "description": "会话ID",
  16644. "type": "integer"
  16645. },
  16646. "strorderid": {
  16647. "description": "委托单号",
  16648. "type": "string"
  16649. },
  16650. "tradedate": {
  16651. "description": "交易日(yyyyMMdd)",
  16652. "type": "string"
  16653. },
  16654. "tradeproperty": {
  16655. "description": "交易属性",
  16656. "type": "integer"
  16657. },
  16658. "tradeqty": {
  16659. "description": "成交数量",
  16660. "type": "integer"
  16661. },
  16662. "unfreezecharge": {
  16663. "description": "解冻手续费",
  16664. "type": "number"
  16665. },
  16666. "unfreezemargin": {
  16667. "description": "解冻保证金",
  16668. "type": "number"
  16669. },
  16670. "updatetime": {
  16671. "description": "更新时间",
  16672. "type": "string"
  16673. },
  16674. "uuid": {
  16675. "description": "发起端唯一id",
  16676. "type": "string"
  16677. },
  16678. "validtime": {
  16679. "description": "有效期限",
  16680. "type": "string"
  16681. },
  16682. "validtype": {
  16683. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16684. "type": "integer"
  16685. },
  16686. "volumetype": {
  16687. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16688. "type": "integer"
  16689. }
  16690. }
  16691. },
  16692. "cptrade.QueryMyCPTradeGoodsRsp": {
  16693. "type": "object",
  16694. "required": [
  16695. "goodscode",
  16696. "goodsid",
  16697. "goodsname",
  16698. "marketid",
  16699. "relatedgoodscode",
  16700. "relatedgoodsname"
  16701. ],
  16702. "properties": {
  16703. "accountid": {
  16704. "description": "卖方账户ID",
  16705. "type": "integer"
  16706. },
  16707. "agreeunit": {
  16708. "description": "合约单位",
  16709. "type": "number"
  16710. },
  16711. "applyid": {
  16712. "description": "关联申请ID",
  16713. "type": "integer"
  16714. },
  16715. "attachmenturl": {
  16716. "description": "附件地址",
  16717. "type": "string"
  16718. },
  16719. "createtime": {
  16720. "description": "创建时间",
  16721. "type": "string"
  16722. },
  16723. "currencyid": {
  16724. "description": "报价货币ID",
  16725. "type": "integer"
  16726. },
  16727. "decimalplace": {
  16728. "description": "报价小数位",
  16729. "type": "integer"
  16730. },
  16731. "endtime": {
  16732. "description": "预售结束时间",
  16733. "type": "string"
  16734. },
  16735. "floorprice": {
  16736. "description": "底价[大宗式竞拍]",
  16737. "type": "number"
  16738. },
  16739. "goodscode": {
  16740. "description": "商品代码(预售)",
  16741. "type": "string"
  16742. },
  16743. "goodsdetail": {
  16744. "description": "详情[大宗]",
  16745. "type": "string"
  16746. },
  16747. "goodsid": {
  16748. "description": "商品ID(自增ID SEQ_GOODS)",
  16749. "type": "integer"
  16750. },
  16751. "goodsname": {
  16752. "description": "商品名称(预售)",
  16753. "type": "string"
  16754. },
  16755. "goodunit": {
  16756. "description": "报价单位",
  16757. "type": "string"
  16758. },
  16759. "goodunitid": {
  16760. "description": "报价单位ID",
  16761. "type": "integer"
  16762. },
  16763. "marketid": {
  16764. "description": "所属市场ID",
  16765. "type": "integer"
  16766. },
  16767. "marketname": {
  16768. "description": "预售市场名称",
  16769. "type": "string"
  16770. },
  16771. "presaledamount": {
  16772. "description": "已预售总金额(预售结束时更新)",
  16773. "type": "number"
  16774. },
  16775. "presaledqty": {
  16776. "description": "已预售量(预售结束时更新)",
  16777. "type": "integer"
  16778. },
  16779. "presalemode": {
  16780. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16781. "type": "integer"
  16782. },
  16783. "presaleqty": {
  16784. "description": "预售数量",
  16785. "type": "integer"
  16786. },
  16787. "refprice": {
  16788. "description": "参考价格[一口价]",
  16789. "type": "number"
  16790. },
  16791. "relatedgoodscode": {
  16792. "description": "商品代码(订单)",
  16793. "type": "string"
  16794. },
  16795. "relatedgoodsid": {
  16796. "description": "关联交易合约ID",
  16797. "type": "integer"
  16798. },
  16799. "relatedgoodsname": {
  16800. "description": "商品名称(订单)",
  16801. "type": "string"
  16802. },
  16803. "relatedmarketid": {
  16804. "description": "关联交易合约市场ID",
  16805. "type": "integer"
  16806. },
  16807. "sellstatus": {
  16808. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16809. "type": "integer"
  16810. },
  16811. "startprice": {
  16812. "description": "起拍价[大宗式竞拍]",
  16813. "type": "number"
  16814. },
  16815. "starttime": {
  16816. "description": "预售开始时间",
  16817. "type": "string"
  16818. },
  16819. "tradedate": {
  16820. "description": "交易日(yyyyMMdd)",
  16821. "type": "string"
  16822. },
  16823. "tradeprice": {
  16824. "description": "成交价[大宗]",
  16825. "type": "number"
  16826. },
  16827. "userid": {
  16828. "description": "卖方用户ID",
  16829. "type": "integer"
  16830. }
  16831. }
  16832. },
  16833. "cptrade.QueryPresaleGoodsExRsp": {
  16834. "type": "object",
  16835. "required": [
  16836. "goodsid"
  16837. ],
  16838. "properties": {
  16839. "attachmenturl": {
  16840. "description": "附件地址",
  16841. "type": "string"
  16842. },
  16843. "createtime": {
  16844. "description": "创建时间",
  16845. "type": "string"
  16846. },
  16847. "endtime": {
  16848. "description": "预售结束时间",
  16849. "type": "string"
  16850. },
  16851. "floorprice": {
  16852. "description": "底价[大宗式竞拍]",
  16853. "type": "number"
  16854. },
  16855. "goodsdetail": {
  16856. "description": "详情[大宗]",
  16857. "type": "string"
  16858. },
  16859. "goodsid": {
  16860. "description": "商品ID(预售)",
  16861. "type": "integer"
  16862. },
  16863. "goodunit": {
  16864. "description": "报价单位",
  16865. "type": "string"
  16866. },
  16867. "marketid": {
  16868. "description": "预售市场ID - 根据预售模式选择市场",
  16869. "type": "integer"
  16870. },
  16871. "presaledamount": {
  16872. "description": "已预售总金额(预售结束时更新)",
  16873. "type": "number"
  16874. },
  16875. "presaledqty": {
  16876. "description": "已预售量(预售结束时更新)",
  16877. "type": "integer"
  16878. },
  16879. "presalemode": {
  16880. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16881. "type": "integer"
  16882. },
  16883. "presaleqty": {
  16884. "description": "预售数量",
  16885. "type": "integer"
  16886. },
  16887. "refprice": {
  16888. "description": "参考价格[一口价]",
  16889. "type": "number"
  16890. },
  16891. "relatedgoodsid": {
  16892. "description": "关联交易合约ID",
  16893. "type": "integer"
  16894. },
  16895. "relatedmarketid": {
  16896. "description": "关联交易合约市场ID",
  16897. "type": "integer"
  16898. },
  16899. "sellstatus": {
  16900. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16901. "type": "integer"
  16902. },
  16903. "startprice": {
  16904. "description": "起拍价[大宗式竞拍]",
  16905. "type": "number"
  16906. },
  16907. "starttime": {
  16908. "description": "预售开始时间",
  16909. "type": "string"
  16910. },
  16911. "tradedate": {
  16912. "description": "交易日(yyyyMMdd)",
  16913. "type": "string"
  16914. },
  16915. "tradeprice": {
  16916. "description": "成交价[大宗]",
  16917. "type": "number"
  16918. }
  16919. }
  16920. },
  16921. "delivery.QueryDeliveryRelationRsp": {
  16922. "type": "object",
  16923. "required": [
  16924. "begindate",
  16925. "enddate",
  16926. "goodsid",
  16927. "mindeliveryqty",
  16928. "xdeliveryratio"
  16929. ],
  16930. "properties": {
  16931. "begindate": {
  16932. "description": "起始日期(yyyyMMdd)",
  16933. "type": "string"
  16934. },
  16935. "buytemplateid": {
  16936. "description": "买履约计划模板ID",
  16937. "type": "integer"
  16938. },
  16939. "deliverygoodscode": {
  16940. "description": "品种代码",
  16941. "type": "string"
  16942. },
  16943. "deliverygoodsid": {
  16944. "description": "交割商品",
  16945. "type": "integer"
  16946. },
  16947. "deliverygoodsname": {
  16948. "description": "品种名称",
  16949. "type": "string"
  16950. },
  16951. "deliverymode": {
  16952. "description": "交割方式 - 1:点选式 2:申报式",
  16953. "type": "integer"
  16954. },
  16955. "deliverypricerule": {
  16956. "description": "交割价规则- 1:行情价 2:建仓价",
  16957. "type": "integer"
  16958. },
  16959. "deliverytype": {
  16960. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  16961. "type": "integer"
  16962. },
  16963. "enddate": {
  16964. "description": "结束日期(yyyyMMdd)",
  16965. "type": "string"
  16966. },
  16967. "enumdicname": {
  16968. "description": "品类单位名称",
  16969. "type": "string"
  16970. },
  16971. "goodscode": {
  16972. "description": "商品代码",
  16973. "type": "string"
  16974. },
  16975. "goodsid": {
  16976. "description": "交易合约ID",
  16977. "type": "integer"
  16978. },
  16979. "goodsname": {
  16980. "description": "商品名称",
  16981. "type": "string"
  16982. },
  16983. "marketid": {
  16984. "description": "市场ID",
  16985. "type": "integer"
  16986. },
  16987. "mindeliveryqty": {
  16988. "description": "最小交割系数(K)",
  16989. "type": "integer"
  16990. },
  16991. "p2deliveryprice": {
  16992. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  16993. "type": "number"
  16994. },
  16995. "p2deliveryratio": {
  16996. "description": "P2合约系数(p)",
  16997. "type": "integer"
  16998. },
  16999. "p2goodsid": {
  17000. "description": "P2合约ID",
  17001. "type": "integer"
  17002. },
  17003. "p2pricemode": {
  17004. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17005. "type": "integer"
  17006. },
  17007. "pdeliveryprice": {
  17008. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17009. "type": "number"
  17010. },
  17011. "pdeliveryratio": {
  17012. "description": "P合约系数(n)",
  17013. "type": "integer"
  17014. },
  17015. "pgoodscode": {
  17016. "description": "p合约代码",
  17017. "type": "string"
  17018. },
  17019. "pgoodsid": {
  17020. "description": "P合约ID",
  17021. "type": "integer"
  17022. },
  17023. "ppricemode": {
  17024. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17025. "type": "integer"
  17026. },
  17027. "rratio": {
  17028. "description": "兑换系数(R)",
  17029. "type": "integer"
  17030. },
  17031. "rratio1": {
  17032. "description": "兑换系数(交易合约)(R1)",
  17033. "type": "integer"
  17034. },
  17035. "rratio2": {
  17036. "description": "兑换系数(仓单标准)(R2)",
  17037. "type": "integer"
  17038. },
  17039. "selltemplateid": {
  17040. "description": "卖履约计划模板ID",
  17041. "type": "integer"
  17042. },
  17043. "wrstandardid": {
  17044. "description": "仓单标准ID",
  17045. "type": "integer"
  17046. },
  17047. "xdeliveryratio": {
  17048. "description": "交易合约系数(m)",
  17049. "type": "integer"
  17050. }
  17051. }
  17052. },
  17053. "ermcp.ExposureDetailRsp": {
  17054. "type": "object",
  17055. "properties": {
  17056. "areauserid": {
  17057. "description": "机构ID",
  17058. "type": "integer"
  17059. },
  17060. "changeQty": {
  17061. "description": "套保变动量",
  17062. "type": "number"
  17063. },
  17064. "contracttype": {
  17065. "description": "现货合同类型 - 1:采购 -1:销售",
  17066. "type": "integer"
  17067. },
  17068. "convertfactor": {
  17069. "description": "标仓系数",
  17070. "type": "number"
  17071. },
  17072. "convertratio": {
  17073. "description": "套保系数",
  17074. "type": "number"
  17075. },
  17076. "createtime": {
  17077. "description": "时间",
  17078. "type": "string"
  17079. },
  17080. "enumdicname": {
  17081. "description": "现货商品单位名称",
  17082. "type": "string"
  17083. },
  17084. "logtype": {
  17085. "description": "类型 - 1:套保计划 2:现货合同",
  17086. "type": "integer"
  17087. },
  17088. "middlegoodsId": {
  17089. "description": "套保商品id",
  17090. "type": "integer"
  17091. },
  17092. "middlegoodscode": {
  17093. "description": "套保商品代码",
  17094. "type": "string"
  17095. },
  17096. "middlegoodsname": {
  17097. "description": "套保商品名称",
  17098. "type": "string"
  17099. },
  17100. "qty": {
  17101. "description": "数量",
  17102. "type": "number"
  17103. },
  17104. "relateNo": {
  17105. "description": "现货合同/套保计划编号",
  17106. "type": "string"
  17107. },
  17108. "wrstandardcode": {
  17109. "description": "现货商品代码",
  17110. "type": "string"
  17111. },
  17112. "wrstandardid": {
  17113. "description": "现货商品ID",
  17114. "type": "integer"
  17115. },
  17116. "wrstandardname": {
  17117. "description": "现货商品名称",
  17118. "type": "string"
  17119. }
  17120. }
  17121. },
  17122. "ermcp.ExposureHedgePosDetailRsp": {
  17123. "type": "object",
  17124. "properties": {
  17125. "buyorsell": {
  17126. "description": "买卖方向 0-买 1-卖",
  17127. "type": "integer"
  17128. },
  17129. "channelbuildtype": {
  17130. "description": "开平方向 1-建仓 2-平仓",
  17131. "type": "integer"
  17132. },
  17133. "goodscode": {
  17134. "description": "商品代码",
  17135. "type": "string"
  17136. },
  17137. "goodsname": {
  17138. "description": "商品名称",
  17139. "type": "string"
  17140. },
  17141. "hedgegoodsid": {
  17142. "description": "商品id",
  17143. "type": "integer"
  17144. },
  17145. "tradeqty": {
  17146. "description": "数量(成交数量)",
  17147. "type": "integer"
  17148. },
  17149. "tradetime": {
  17150. "description": "时间(成交时间)",
  17151. "type": "string"
  17152. }
  17153. }
  17154. },
  17155. "ermcp.ExposureHedgePositionRsp": {
  17156. "type": "object",
  17157. "properties": {
  17158. "accountid": {
  17159. "description": "资金账号[外部母账户]",
  17160. "type": "integer"
  17161. },
  17162. "curbuyposition": {
  17163. "description": "期末买头寸",
  17164. "type": "integer"
  17165. },
  17166. "cursellposition": {
  17167. "description": "期末卖头寸",
  17168. "type": "integer"
  17169. },
  17170. "curtdbuyposition": {
  17171. "description": "期末今日买头寸",
  17172. "type": "integer"
  17173. },
  17174. "curtdsellposition": {
  17175. "description": "期末今日卖头寸",
  17176. "type": "integer"
  17177. },
  17178. "curydbuyposition": {
  17179. "description": "期末上日买头寸",
  17180. "type": "integer"
  17181. },
  17182. "curydsellposition": {
  17183. "description": "期末上日卖头寸",
  17184. "type": "integer"
  17185. },
  17186. "decreaseqty": {
  17187. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17188. "type": "integer"
  17189. },
  17190. "fretdbuyposition": {
  17191. "description": "冻结今日买头寸",
  17192. "type": "integer"
  17193. },
  17194. "fretdsellposition": {
  17195. "description": "冻结今日卖头寸",
  17196. "type": "integer"
  17197. },
  17198. "freydbuyposition": {
  17199. "description": "冻结上日买头寸",
  17200. "type": "integer"
  17201. },
  17202. "freydsellposition": {
  17203. "description": "冻结上日卖头寸",
  17204. "type": "integer"
  17205. },
  17206. "goodscode": {
  17207. "description": "商品代码",
  17208. "type": "string"
  17209. },
  17210. "goodsid": {
  17211. "description": "商品id",
  17212. "type": "integer"
  17213. },
  17214. "goodsname": {
  17215. "description": "商品名称",
  17216. "type": "string"
  17217. },
  17218. "hedgeaccountcode": {
  17219. "description": "对冲账号",
  17220. "type": "string"
  17221. },
  17222. "hedgegoodsid": {
  17223. "description": "对冲合约ID",
  17224. "type": "integer"
  17225. },
  17226. "increaseqty": {
  17227. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17228. "type": "integer"
  17229. },
  17230. "marketid": {
  17231. "description": "市场ID",
  17232. "type": "integer"
  17233. },
  17234. "relateduserid": {
  17235. "description": "关联用户id",
  17236. "type": "integer"
  17237. },
  17238. "totalcurqty": {
  17239. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17240. "type": "integer"
  17241. },
  17242. "totalydqty": {
  17243. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17244. "type": "integer"
  17245. },
  17246. "tradedate": {
  17247. "description": "交易日(yyyyMMdd)",
  17248. "type": "string"
  17249. },
  17250. "ydbuyposition": {
  17251. "description": "期初买头寸",
  17252. "type": "integer"
  17253. },
  17254. "ydsellposition": {
  17255. "description": "期初卖头寸",
  17256. "type": "integer"
  17257. }
  17258. }
  17259. },
  17260. "ermcp.ExposureSpotDetailRsp": {
  17261. "type": "object",
  17262. "properties": {
  17263. "contracttype": {
  17264. "description": "合同类型 1-采购 -1-销售",
  17265. "type": "integer"
  17266. },
  17267. "createtime": {
  17268. "description": "创建时间",
  17269. "type": "string"
  17270. },
  17271. "enumdicname": {
  17272. "description": "现货商品单位名称",
  17273. "type": "string"
  17274. },
  17275. "logtype": {
  17276. "description": "记录类型 1-套保 2-现货合同",
  17277. "type": "integer"
  17278. },
  17279. "qty": {
  17280. "description": "数量",
  17281. "type": "number"
  17282. },
  17283. "recordname": {
  17284. "description": "类型名称",
  17285. "type": "string"
  17286. },
  17287. "relatedid": {
  17288. "description": "套保计划ID/现货合同ID",
  17289. "type": "string"
  17290. },
  17291. "relatedno": {
  17292. "description": "编号",
  17293. "type": "string"
  17294. },
  17295. "strtime": {
  17296. "description": "时间",
  17297. "type": "string"
  17298. },
  17299. "wrstandardcode": {
  17300. "description": "现货商品代码",
  17301. "type": "string"
  17302. },
  17303. "wrstandardname": {
  17304. "description": "现货商品名称",
  17305. "type": "string"
  17306. }
  17307. }
  17308. },
  17309. "ermcp.ExposureSpotRsp": {
  17310. "type": "object",
  17311. "properties": {
  17312. "areauserid": {
  17313. "description": "所属机构",
  17314. "type": "integer"
  17315. },
  17316. "decreaseqty": {
  17317. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17318. "type": "number"
  17319. },
  17320. "increaseqty": {
  17321. "description": "增加数量=销售计划数量+采购已定价数量",
  17322. "type": "number"
  17323. },
  17324. "oritoalspotqty": {
  17325. "description": "昨日数量",
  17326. "type": "number"
  17327. },
  17328. "totalspotqty": {
  17329. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17330. "type": "number"
  17331. },
  17332. "updatetime": {
  17333. "description": "更新时间",
  17334. "type": "string"
  17335. },
  17336. "wrstandardcode": {
  17337. "description": "现货品种代码",
  17338. "type": "string"
  17339. },
  17340. "wrstandardid": {
  17341. "description": "现货商品ID",
  17342. "type": "integer"
  17343. },
  17344. "wrstandardname": {
  17345. "description": "现货品种",
  17346. "type": "string"
  17347. }
  17348. }
  17349. },
  17350. "ermcp.HisExposureRsp": {
  17351. "type": "object",
  17352. "properties": {
  17353. "data": {
  17354. "description": "历史敞口",
  17355. "type": "array",
  17356. "items": {
  17357. "$ref": "#/definitions/models.ErmcpHisExposure"
  17358. }
  17359. },
  17360. "enumdicname": {
  17361. "description": "单位名称",
  17362. "type": "string"
  17363. },
  17364. "middlegoodscode": {
  17365. "description": "套保品种代码",
  17366. "type": "string"
  17367. },
  17368. "middlegoodsid": {
  17369. "description": "套保品种ID",
  17370. "type": "integer"
  17371. },
  17372. "middlegoodsname": {
  17373. "description": "套保品种名称",
  17374. "type": "string"
  17375. }
  17376. }
  17377. },
  17378. "ermcp.PendingAuditCntRsp": {
  17379. "type": "object",
  17380. "properties": {
  17381. "areastockqty": {
  17382. "description": "待审核数量: 库存申请",
  17383. "type": "integer"
  17384. },
  17385. "businessdjqty": {
  17386. "description": "待审核数量: 点价",
  17387. "type": "integer"
  17388. },
  17389. "businessfpqty": {
  17390. "description": "待审核数量: 发票",
  17391. "type": "integer"
  17392. },
  17393. "businessjsqty": {
  17394. "description": "待审核数量: 结算",
  17395. "type": "integer"
  17396. },
  17397. "businesskxqty": {
  17398. "description": "待审核数量: 款项",
  17399. "type": "integer"
  17400. },
  17401. "hedgeplanqty": {
  17402. "description": "待审核数量: 套保计划",
  17403. "type": "integer"
  17404. },
  17405. "spotcontractqty": {
  17406. "description": "待审核数量: 现货合同",
  17407. "type": "integer"
  17408. },
  17409. "userqty": {
  17410. "description": "待审核数量: 用户",
  17411. "type": "integer"
  17412. }
  17413. }
  17414. },
  17415. "ermcp.QryAvalidGPRsp": {
  17416. "type": "object",
  17417. "properties": {
  17418. "goodsgroupid": {
  17419. "description": "期货品种id",
  17420. "type": "integer"
  17421. },
  17422. "goodsgroupname": {
  17423. "description": "期货品种名称",
  17424. "type": "string"
  17425. },
  17426. "goodunitid": {
  17427. "description": "品种单位id",
  17428. "type": "integer"
  17429. },
  17430. "goodunitname": {
  17431. "description": "品种单位名称",
  17432. "type": "string"
  17433. },
  17434. "outergroupcode": {
  17435. "description": "期货品种代码",
  17436. "type": "string"
  17437. }
  17438. }
  17439. },
  17440. "ermcp.QryBusinessDjRsp": {
  17441. "type": "object",
  17442. "properties": {
  17443. "amount": {
  17444. "description": "点价金额=(点价价格+升贴水)*点价数量",
  17445. "type": "number"
  17446. },
  17447. "applyid": {
  17448. "description": "申请人",
  17449. "type": "string"
  17450. },
  17451. "applyname": {
  17452. "description": "申请人名称",
  17453. "type": "string"
  17454. },
  17455. "applystatus": {
  17456. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17457. "type": "integer"
  17458. },
  17459. "applytime": {
  17460. "description": "申请时间",
  17461. "type": "string"
  17462. },
  17463. "attachurl": {
  17464. "description": "附件",
  17465. "type": "string"
  17466. },
  17467. "auditid": {
  17468. "description": "审核人ID",
  17469. "type": "string"
  17470. },
  17471. "auditname": {
  17472. "description": "审核人名称",
  17473. "type": "string"
  17474. },
  17475. "auditremark": {
  17476. "description": "审核备注",
  17477. "type": "string"
  17478. },
  17479. "audittime": {
  17480. "description": "审核时间",
  17481. "type": "string"
  17482. },
  17483. "buyusername": {
  17484. "description": "采购方名称",
  17485. "type": "string"
  17486. },
  17487. "contractno": {
  17488. "description": "合同编号",
  17489. "type": "string"
  17490. },
  17491. "contractstatus": {
  17492. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17493. "type": "integer"
  17494. },
  17495. "contracttype": {
  17496. "description": "现货合同类型 - 1:采购 -1:销售",
  17497. "type": "integer"
  17498. },
  17499. "deliverygoodscode": {
  17500. "description": "现货品种代码",
  17501. "type": "string"
  17502. },
  17503. "deliverygoodsid": {
  17504. "description": "现货商品ID",
  17505. "type": "integer"
  17506. },
  17507. "deliverygoodsname": {
  17508. "description": "现货品种名称",
  17509. "type": "string"
  17510. },
  17511. "enumdicname": {
  17512. "description": "单位名称",
  17513. "type": "string"
  17514. },
  17515. "goodscode": {
  17516. "description": "点价合约",
  17517. "type": "string"
  17518. },
  17519. "goodsname": {
  17520. "description": "商品名称",
  17521. "type": "string"
  17522. },
  17523. "operateapplyid": {
  17524. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17525. "type": "string"
  17526. },
  17527. "operateapplytype": {
  17528. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17529. "type": "integer"
  17530. },
  17531. "pricedPrice": {
  17532. "description": "点价价格(非必填)",
  17533. "type": "number"
  17534. },
  17535. "pricedQty": {
  17536. "description": "点价数量(非必填)",
  17537. "type": "number"
  17538. },
  17539. "pricemove": {
  17540. "description": "升贴水",
  17541. "type": "number"
  17542. },
  17543. "pricetype": {
  17544. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17545. "type": "integer"
  17546. },
  17547. "relatedid": {
  17548. "description": "现货合同ID",
  17549. "type": "string"
  17550. },
  17551. "sellusername": {
  17552. "description": "销售方名字",
  17553. "type": "string"
  17554. },
  17555. "userid": {
  17556. "description": "用户ID",
  17557. "type": "integer"
  17558. },
  17559. "wrstandardcode": {
  17560. "description": "品类代码",
  17561. "type": "string"
  17562. },
  17563. "wrstandardid": {
  17564. "description": "品类id",
  17565. "type": "integer"
  17566. },
  17567. "wrstandardname": {
  17568. "description": "品类名称",
  17569. "type": "string"
  17570. }
  17571. }
  17572. },
  17573. "ermcp.QryBussinessFpRsp": {
  17574. "type": "object",
  17575. "properties": {
  17576. "applyid": {
  17577. "description": "申请人",
  17578. "type": "string"
  17579. },
  17580. "applyname": {
  17581. "description": "申请人名称",
  17582. "type": "string"
  17583. },
  17584. "applystatus": {
  17585. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17586. "type": "integer"
  17587. },
  17588. "applytime": {
  17589. "description": "申请时间",
  17590. "type": "string"
  17591. },
  17592. "attachurl": {
  17593. "description": "附件",
  17594. "type": "string"
  17595. },
  17596. "auditid": {
  17597. "description": "审核人ID",
  17598. "type": "string"
  17599. },
  17600. "auditname": {
  17601. "description": "审核人名称",
  17602. "type": "string"
  17603. },
  17604. "auditremark": {
  17605. "description": "审核备注",
  17606. "type": "string"
  17607. },
  17608. "audittime": {
  17609. "description": "审核时间",
  17610. "type": "string"
  17611. },
  17612. "buyusername": {
  17613. "description": "采购方名称",
  17614. "type": "string"
  17615. },
  17616. "contractno": {
  17617. "description": "合同编号",
  17618. "type": "string"
  17619. },
  17620. "contractstatus": {
  17621. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17622. "type": "integer"
  17623. },
  17624. "contracttype": {
  17625. "description": "现货合同类型 - 1:采购 -1:销售",
  17626. "type": "integer"
  17627. },
  17628. "deliverygoodscode": {
  17629. "description": "现货品种代码",
  17630. "type": "string"
  17631. },
  17632. "deliverygoodsid": {
  17633. "description": "现货商品ID",
  17634. "type": "integer"
  17635. },
  17636. "deliverygoodsname": {
  17637. "description": "现货品种名称",
  17638. "type": "string"
  17639. },
  17640. "enumdicname": {
  17641. "description": "单位名称",
  17642. "type": "string"
  17643. },
  17644. "goodscode": {
  17645. "description": "点价合约",
  17646. "type": "string"
  17647. },
  17648. "goodsname": {
  17649. "description": "商品名称",
  17650. "type": "string"
  17651. },
  17652. "invoiceamount": {
  17653. "description": "已开收票金额(销售为开票,采购为收票)",
  17654. "type": "number"
  17655. },
  17656. "operateapplyid": {
  17657. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17658. "type": "string"
  17659. },
  17660. "operateapplytype": {
  17661. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17662. "type": "integer"
  17663. },
  17664. "pricemove": {
  17665. "description": "升贴水",
  17666. "type": "number"
  17667. },
  17668. "pricetype": {
  17669. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17670. "type": "integer"
  17671. },
  17672. "relatedid": {
  17673. "description": "现货合同ID",
  17674. "type": "string"
  17675. },
  17676. "sellusername": {
  17677. "description": "销售方名字",
  17678. "type": "string"
  17679. },
  17680. "userid": {
  17681. "description": "用户ID",
  17682. "type": "integer"
  17683. },
  17684. "wrstandardcode": {
  17685. "description": "品类代码",
  17686. "type": "string"
  17687. },
  17688. "wrstandardid": {
  17689. "description": "品类id",
  17690. "type": "integer"
  17691. },
  17692. "wrstandardname": {
  17693. "description": "品类名称",
  17694. "type": "string"
  17695. }
  17696. }
  17697. },
  17698. "ermcp.QryBussinessJsExRsp": {
  17699. "type": "object",
  17700. "properties": {
  17701. "applyid": {
  17702. "description": "申请人",
  17703. "type": "string"
  17704. },
  17705. "applyname": {
  17706. "description": "申请人名称",
  17707. "type": "string"
  17708. },
  17709. "applystatus": {
  17710. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17711. "type": "integer"
  17712. },
  17713. "applytime": {
  17714. "description": "申请时间",
  17715. "type": "string"
  17716. },
  17717. "attachurl": {
  17718. "description": "附件",
  17719. "type": "string"
  17720. },
  17721. "auditid": {
  17722. "description": "审核人ID",
  17723. "type": "string"
  17724. },
  17725. "auditname": {
  17726. "description": "审核人名称",
  17727. "type": "string"
  17728. },
  17729. "auditremark": {
  17730. "description": "审核备注",
  17731. "type": "string"
  17732. },
  17733. "audittime": {
  17734. "description": "审核时间",
  17735. "type": "string"
  17736. },
  17737. "buyusername": {
  17738. "description": "采购方名称",
  17739. "type": "string"
  17740. },
  17741. "contractno": {
  17742. "description": "合同编号",
  17743. "type": "string"
  17744. },
  17745. "contractstatus": {
  17746. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17747. "type": "integer"
  17748. },
  17749. "contracttype": {
  17750. "description": "现货合同类型 - 1:采购 -1:销售",
  17751. "type": "integer"
  17752. },
  17753. "deliverygoodscode": {
  17754. "description": "现货品种代码",
  17755. "type": "string"
  17756. },
  17757. "deliverygoodsid": {
  17758. "description": "现货商品ID",
  17759. "type": "integer"
  17760. },
  17761. "deliverygoodsname": {
  17762. "description": "现货品种名称",
  17763. "type": "string"
  17764. },
  17765. "enumdicname": {
  17766. "description": "单位名称",
  17767. "type": "string"
  17768. },
  17769. "goodscode": {
  17770. "description": "点价合约",
  17771. "type": "string"
  17772. },
  17773. "goodsname": {
  17774. "description": "商品名称",
  17775. "type": "string"
  17776. },
  17777. "operateapplyid": {
  17778. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17779. "type": "string"
  17780. },
  17781. "operateapplytype": {
  17782. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17783. "type": "integer"
  17784. },
  17785. "pricemove": {
  17786. "description": "升贴水",
  17787. "type": "number"
  17788. },
  17789. "pricetype": {
  17790. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17791. "type": "integer"
  17792. },
  17793. "reckontype": {
  17794. "description": "结算类型",
  17795. "type": "string"
  17796. },
  17797. "reckonvalue": {
  17798. "description": "值",
  17799. "type": "number"
  17800. },
  17801. "relatedid": {
  17802. "description": "现货合同ID",
  17803. "type": "string"
  17804. },
  17805. "sellusername": {
  17806. "description": "销售方名字",
  17807. "type": "string"
  17808. },
  17809. "userid": {
  17810. "description": "用户ID",
  17811. "type": "integer"
  17812. },
  17813. "wrstandardcode": {
  17814. "description": "品类代码",
  17815. "type": "string"
  17816. },
  17817. "wrstandardid": {
  17818. "description": "品类id",
  17819. "type": "integer"
  17820. },
  17821. "wrstandardname": {
  17822. "description": "品类名称",
  17823. "type": "string"
  17824. }
  17825. }
  17826. },
  17827. "ermcp.QryBussinessJsRsp": {
  17828. "type": "object",
  17829. "properties": {
  17830. "addmargin": {
  17831. "description": "追加保证金(非必填)",
  17832. "type": "number"
  17833. },
  17834. "applyid": {
  17835. "description": "申请人",
  17836. "type": "string"
  17837. },
  17838. "applyname": {
  17839. "description": "申请人名称",
  17840. "type": "string"
  17841. },
  17842. "applystatus": {
  17843. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17844. "type": "integer"
  17845. },
  17846. "applytime": {
  17847. "description": "申请时间",
  17848. "type": "string"
  17849. },
  17850. "attachurl": {
  17851. "description": "附件",
  17852. "type": "string"
  17853. },
  17854. "auditid": {
  17855. "description": "审核人ID",
  17856. "type": "string"
  17857. },
  17858. "auditname": {
  17859. "description": "审核人名称",
  17860. "type": "string"
  17861. },
  17862. "auditremark": {
  17863. "description": "审核备注",
  17864. "type": "string"
  17865. },
  17866. "audittime": {
  17867. "description": "审核时间",
  17868. "type": "string"
  17869. },
  17870. "buyusername": {
  17871. "description": "采购方名称",
  17872. "type": "string"
  17873. },
  17874. "contractno": {
  17875. "description": "合同编号",
  17876. "type": "string"
  17877. },
  17878. "contractstatus": {
  17879. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17880. "type": "integer"
  17881. },
  17882. "contracttype": {
  17883. "description": "现货合同类型 - 1:采购 -1:销售",
  17884. "type": "integer"
  17885. },
  17886. "decmargin": {
  17887. "description": "减少保证金(非必填)",
  17888. "type": "number"
  17889. },
  17890. "deliverygoodscode": {
  17891. "description": "现货品种代码",
  17892. "type": "string"
  17893. },
  17894. "deliverygoodsid": {
  17895. "description": "现货商品ID",
  17896. "type": "integer"
  17897. },
  17898. "deliverygoodsname": {
  17899. "description": "现货品种名称",
  17900. "type": "string"
  17901. },
  17902. "enumdicname": {
  17903. "description": "单位名称",
  17904. "type": "string"
  17905. },
  17906. "goodscode": {
  17907. "description": "点价合约",
  17908. "type": "string"
  17909. },
  17910. "goodsname": {
  17911. "description": "商品名称",
  17912. "type": "string"
  17913. },
  17914. "operateapplyid": {
  17915. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17916. "type": "string"
  17917. },
  17918. "operateapplytype": {
  17919. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17920. "type": "integer"
  17921. },
  17922. "pricemove": {
  17923. "description": "升贴水",
  17924. "type": "number"
  17925. },
  17926. "pricetype": {
  17927. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17928. "type": "integer"
  17929. },
  17930. "reckonadjustamount": {
  17931. "description": "结算调整金额(非必填)",
  17932. "type": "number"
  17933. },
  17934. "reckonosamount": {
  17935. "description": "结算溢短金额(非必填)",
  17936. "type": "number"
  17937. },
  17938. "reckonotheramount": {
  17939. "description": "结算其他费用(非必填)",
  17940. "type": "number"
  17941. },
  17942. "reckonrealqty": {
  17943. "description": "结算实际数量(非必填)",
  17944. "type": "number"
  17945. },
  17946. "relatedid": {
  17947. "description": "现货合同ID",
  17948. "type": "string"
  17949. },
  17950. "sellusername": {
  17951. "description": "销售方名字",
  17952. "type": "string"
  17953. },
  17954. "userid": {
  17955. "description": "用户ID",
  17956. "type": "integer"
  17957. },
  17958. "wrstandardcode": {
  17959. "description": "品类代码",
  17960. "type": "string"
  17961. },
  17962. "wrstandardid": {
  17963. "description": "品类id",
  17964. "type": "integer"
  17965. },
  17966. "wrstandardname": {
  17967. "description": "品类名称",
  17968. "type": "string"
  17969. }
  17970. }
  17971. },
  17972. "ermcp.QryBussinessKxRsp": {
  17973. "type": "object",
  17974. "properties": {
  17975. "applyid": {
  17976. "description": "申请人",
  17977. "type": "string"
  17978. },
  17979. "applyname": {
  17980. "description": "申请人名称",
  17981. "type": "string"
  17982. },
  17983. "applystatus": {
  17984. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17985. "type": "integer"
  17986. },
  17987. "applytime": {
  17988. "description": "申请时间",
  17989. "type": "string"
  17990. },
  17991. "attachurl": {
  17992. "description": "附件",
  17993. "type": "string"
  17994. },
  17995. "auditid": {
  17996. "description": "审核人ID",
  17997. "type": "string"
  17998. },
  17999. "auditname": {
  18000. "description": "审核人名称",
  18001. "type": "string"
  18002. },
  18003. "auditremark": {
  18004. "description": "审核备注",
  18005. "type": "string"
  18006. },
  18007. "audittime": {
  18008. "description": "审核时间",
  18009. "type": "string"
  18010. },
  18011. "buyusername": {
  18012. "description": "采购方名称",
  18013. "type": "string"
  18014. },
  18015. "contractno": {
  18016. "description": "合同编号",
  18017. "type": "string"
  18018. },
  18019. "contractstatus": {
  18020. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18021. "type": "integer"
  18022. },
  18023. "contracttype": {
  18024. "description": "现货合同类型 - 1:采购 -1:销售",
  18025. "type": "integer"
  18026. },
  18027. "deductamount": {
  18028. "description": "退款(非必填)",
  18029. "type": "number"
  18030. },
  18031. "deliverygoodscode": {
  18032. "description": "现货品种代码",
  18033. "type": "string"
  18034. },
  18035. "deliverygoodsid": {
  18036. "description": "现货商品ID",
  18037. "type": "integer"
  18038. },
  18039. "deliverygoodsname": {
  18040. "description": "现货品种名称",
  18041. "type": "string"
  18042. },
  18043. "enumdicname": {
  18044. "description": "单位名称",
  18045. "type": "string"
  18046. },
  18047. "goodscode": {
  18048. "description": "点价合约",
  18049. "type": "string"
  18050. },
  18051. "goodsname": {
  18052. "description": "商品名称",
  18053. "type": "string"
  18054. },
  18055. "kxtype": {
  18056. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18057. "type": "integer"
  18058. },
  18059. "operateapplyid": {
  18060. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18061. "type": "string"
  18062. },
  18063. "operateapplytype": {
  18064. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18065. "type": "integer"
  18066. },
  18067. "payamount": {
  18068. "description": "收付款(非必填)",
  18069. "type": "number"
  18070. },
  18071. "pricemove": {
  18072. "description": "升贴水",
  18073. "type": "number"
  18074. },
  18075. "pricetype": {
  18076. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18077. "type": "integer"
  18078. },
  18079. "relatedid": {
  18080. "description": "现货合同ID",
  18081. "type": "string"
  18082. },
  18083. "sellusername": {
  18084. "description": "销售方名字",
  18085. "type": "string"
  18086. },
  18087. "userid": {
  18088. "description": "用户ID",
  18089. "type": "integer"
  18090. },
  18091. "wrstandardcode": {
  18092. "description": "品类代码",
  18093. "type": "string"
  18094. },
  18095. "wrstandardid": {
  18096. "description": "品类id",
  18097. "type": "integer"
  18098. },
  18099. "wrstandardname": {
  18100. "description": "品类名称",
  18101. "type": "string"
  18102. }
  18103. }
  18104. },
  18105. "ermcp.QryGGCovertCfgRsp": {
  18106. "type": "object",
  18107. "properties": {
  18108. "convertratio": {
  18109. "description": "折算系数",
  18110. "type": "number"
  18111. },
  18112. "destgoodsgroupid": {
  18113. "description": "目标品种ID",
  18114. "type": "integer"
  18115. },
  18116. "dstcode": {
  18117. "description": "目录品种代码",
  18118. "type": "string"
  18119. },
  18120. "dstexchangecode": {
  18121. "description": "目标期货交易所",
  18122. "type": "string"
  18123. },
  18124. "dstname": {
  18125. "description": "目标品种名称",
  18126. "type": "string"
  18127. },
  18128. "dstunitid": {
  18129. "description": "目标品种单位ID",
  18130. "type": "integer"
  18131. },
  18132. "dstunitidname": {
  18133. "description": "目标品种单位名称",
  18134. "type": "string"
  18135. },
  18136. "modifytime": {
  18137. "description": "修改时间",
  18138. "type": "string"
  18139. },
  18140. "srccode": {
  18141. "description": "源品种代码",
  18142. "type": "string"
  18143. },
  18144. "srcexchangecode": {
  18145. "description": "源期货交易所",
  18146. "type": "string"
  18147. },
  18148. "srcgoodsgroupid": {
  18149. "description": "源品种ID",
  18150. "type": "integer"
  18151. },
  18152. "srcname": {
  18153. "description": "源品种名称",
  18154. "type": "string"
  18155. },
  18156. "srcunitid": {
  18157. "description": "源品种单位ID",
  18158. "type": "integer"
  18159. },
  18160. "srcunitidname": {
  18161. "description": "源品种单位名称",
  18162. "type": "string"
  18163. }
  18164. }
  18165. },
  18166. "ermcp.QryMGChangeLogRsp": {
  18167. "type": "object",
  18168. "properties": {
  18169. "aftervalue": {
  18170. "description": "变更后",
  18171. "type": "number"
  18172. },
  18173. "applyid": {
  18174. "description": "操作人",
  18175. "type": "integer"
  18176. },
  18177. "applyname": {
  18178. "description": "操作人名称",
  18179. "type": "string"
  18180. },
  18181. "applysrc": {
  18182. "description": "操作来源 - 1:管理端 2:终端",
  18183. "type": "integer"
  18184. },
  18185. "beforevalue": {
  18186. "description": "变更前",
  18187. "type": "number"
  18188. },
  18189. "changelogtype": {
  18190. "description": "变更流水类型 - 1:套保比率变更",
  18191. "type": "integer"
  18192. },
  18193. "handlestatus": {
  18194. "description": "处理状态",
  18195. "type": "integer"
  18196. },
  18197. "logdatetime": {
  18198. "description": "流水日期",
  18199. "type": "string"
  18200. },
  18201. "logid": {
  18202. "description": "流水ID",
  18203. "type": "integer"
  18204. },
  18205. "logremark": {
  18206. "description": "流水备注",
  18207. "type": "string"
  18208. },
  18209. "middlegoodsid": {
  18210. "description": "套保品种ID",
  18211. "type": "integer"
  18212. },
  18213. "tradedate": {
  18214. "description": "交易日(yyyyMMdd)",
  18215. "type": "string"
  18216. },
  18217. "updatetime": {
  18218. "description": "更新时间",
  18219. "type": "string"
  18220. }
  18221. }
  18222. },
  18223. "ermcp.QryMiddleGoodsDetailRsp": {
  18224. "type": "object",
  18225. "properties": {
  18226. "cvList": {
  18227. "description": "期货品种折算列表",
  18228. "type": "array",
  18229. "items": {
  18230. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18231. }
  18232. },
  18233. "mg": {
  18234. "description": "套保品种基本信息",
  18235. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18236. },
  18237. "wrcList": {
  18238. "description": "现货品种列表(现货商品折算配置)",
  18239. "type": "array",
  18240. "items": {
  18241. "$ref": "#/definitions/models.WRSConverTDetail"
  18242. }
  18243. }
  18244. }
  18245. },
  18246. "ermcp.QryMiddleGoodsRsp": {
  18247. "type": "object",
  18248. "properties": {
  18249. "areauserid": {
  18250. "description": "机构用户ID",
  18251. "type": "integer"
  18252. },
  18253. "createtime": {
  18254. "description": "修改时间",
  18255. "type": "string"
  18256. },
  18257. "enumdicname": {
  18258. "description": "单位名称",
  18259. "type": "string"
  18260. },
  18261. "evaluateratio": {
  18262. "description": "估价系数",
  18263. "type": "number"
  18264. },
  18265. "goodsgroupid": {
  18266. "description": "关联期货品种ID",
  18267. "type": "integer"
  18268. },
  18269. "goodsunitid": {
  18270. "description": "单位ID",
  18271. "type": "integer"
  18272. },
  18273. "isvalid": {
  18274. "description": "状态 0-无效(停用) 1-有效(正常)",
  18275. "type": "integer"
  18276. },
  18277. "middlegoodscode": {
  18278. "description": "套保品种代码",
  18279. "type": "string"
  18280. },
  18281. "middlegoodsid": {
  18282. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18283. "type": "integer"
  18284. },
  18285. "middlegoodsname": {
  18286. "description": "套保品种名称",
  18287. "type": "string"
  18288. },
  18289. "modifytime": {
  18290. "description": "修改时间",
  18291. "type": "string"
  18292. },
  18293. "needarbitrageratio": {
  18294. "description": "套利比例",
  18295. "type": "number"
  18296. },
  18297. "needhedgeratio": {
  18298. "description": "套保比率",
  18299. "type": "number"
  18300. },
  18301. "qtydecimalplace": {
  18302. "description": "数量小数位",
  18303. "type": "integer"
  18304. },
  18305. "relatedgoodsid": {
  18306. "description": "关联交易商品ID",
  18307. "type": "integer"
  18308. },
  18309. "relatedgoodstype": {
  18310. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18311. "type": "integer"
  18312. },
  18313. "remark": {
  18314. "description": "备注",
  18315. "type": "string"
  18316. }
  18317. }
  18318. },
  18319. "ermcp.QryOPLogRsp": {
  18320. "type": "object",
  18321. "properties": {
  18322. "aftervalue": {
  18323. "description": "变更后",
  18324. "type": "number"
  18325. },
  18326. "applyid": {
  18327. "description": "操作人ID",
  18328. "type": "string"
  18329. },
  18330. "applyname": {
  18331. "description": "操作人名称",
  18332. "type": "string"
  18333. },
  18334. "beforevalue": {
  18335. "description": "变更前",
  18336. "type": "number"
  18337. },
  18338. "biztype": {
  18339. "description": "业务类型 - 1:套保计划 2:现货合同",
  18340. "type": "integer"
  18341. },
  18342. "contracttype": {
  18343. "description": "现货合同类型 - 1:采购 -1:销售",
  18344. "type": "integer"
  18345. },
  18346. "logvalue": {
  18347. "description": "数值",
  18348. "type": "number"
  18349. },
  18350. "operatelogtype": {
  18351. "description": "操作流水类型",
  18352. "type": "integer"
  18353. },
  18354. "operatelogtypedesc": {
  18355. "description": "操作流水类型名称",
  18356. "type": "string"
  18357. },
  18358. "relatedid": {
  18359. "description": "现货合同ID\\套保计划",
  18360. "type": "string"
  18361. },
  18362. "updatetime": {
  18363. "description": "更新时间",
  18364. "type": "string"
  18365. }
  18366. }
  18367. },
  18368. "ermcp.QryUserInfoRsp": {
  18369. "type": "object",
  18370. "properties": {
  18371. "address": {
  18372. "description": "通讯地址",
  18373. "type": "string"
  18374. },
  18375. "attachment1": {
  18376. "description": "附件1",
  18377. "type": "string"
  18378. },
  18379. "audittime": {
  18380. "description": "审核时间",
  18381. "type": "string"
  18382. },
  18383. "cardbackphotourl": {
  18384. "description": "证件反面图片地址",
  18385. "type": "string"
  18386. },
  18387. "cardfrontphotourl": {
  18388. "description": "证件正面图片地址",
  18389. "type": "string"
  18390. },
  18391. "cardnum": {
  18392. "description": "证件号码",
  18393. "type": "string"
  18394. },
  18395. "cardtype": {
  18396. "description": "证件类型",
  18397. "type": "integer"
  18398. },
  18399. "cardtypename": {
  18400. "description": "证件类型名称",
  18401. "type": "string"
  18402. },
  18403. "cityid": {
  18404. "description": "市",
  18405. "type": "integer"
  18406. },
  18407. "contactname": {
  18408. "description": "联系人",
  18409. "type": "string"
  18410. },
  18411. "countryid": {
  18412. "description": "国家",
  18413. "type": "integer"
  18414. },
  18415. "createtime": {
  18416. "description": "创建时间",
  18417. "type": "string"
  18418. },
  18419. "customername": {
  18420. "description": "企业名称",
  18421. "type": "string"
  18422. },
  18423. "districtid": {
  18424. "description": "区域",
  18425. "type": "integer"
  18426. },
  18427. "email": {
  18428. "description": "邮件",
  18429. "type": "string"
  18430. },
  18431. "legalpersonname": {
  18432. "description": "法人姓名(企业)",
  18433. "type": "string"
  18434. },
  18435. "memberuserid": {
  18436. "description": "所属机构ID",
  18437. "type": "integer"
  18438. },
  18439. "mobile": {
  18440. "description": "手机号码",
  18441. "type": "string"
  18442. },
  18443. "modifytime": {
  18444. "description": "修改时间",
  18445. "type": "string"
  18446. },
  18447. "nickname": {
  18448. "description": "昵称",
  18449. "type": "string"
  18450. },
  18451. "provinceid": {
  18452. "description": "省",
  18453. "type": "integer"
  18454. },
  18455. "remark": {
  18456. "description": "备注",
  18457. "type": "string"
  18458. },
  18459. "status": {
  18460. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18461. "type": "integer"
  18462. },
  18463. "statusdesc": {
  18464. "description": "账户状态中文描述",
  18465. "type": "string"
  18466. },
  18467. "taxpayernum": {
  18468. "description": "纳税人识别号",
  18469. "type": "string"
  18470. },
  18471. "telphone": {
  18472. "description": "联系电话",
  18473. "type": "string"
  18474. },
  18475. "userid": {
  18476. "description": "用户ID",
  18477. "type": "integer"
  18478. },
  18479. "userinfotype": {
  18480. "description": "客户类型",
  18481. "type": "string"
  18482. }
  18483. }
  18484. },
  18485. "ermcp.QryWarehouseRsp": {
  18486. "type": "object",
  18487. "properties": {
  18488. "address": {
  18489. "description": "详细地址",
  18490. "type": "string"
  18491. },
  18492. "areauserid": {
  18493. "description": "所属机构",
  18494. "type": "integer"
  18495. },
  18496. "autoid": {
  18497. "description": "自增ID(仓库ID)",
  18498. "type": "integer"
  18499. },
  18500. "cityid": {
  18501. "description": "市",
  18502. "type": "integer"
  18503. },
  18504. "contactname": {
  18505. "description": "联系人",
  18506. "type": "string"
  18507. },
  18508. "contactnum": {
  18509. "description": "联系电话",
  18510. "type": "string"
  18511. },
  18512. "countryid": {
  18513. "description": "国家",
  18514. "type": "integer"
  18515. },
  18516. "createtime": {
  18517. "description": "创建时间",
  18518. "type": "string"
  18519. },
  18520. "districtid": {
  18521. "description": "区",
  18522. "type": "integer"
  18523. },
  18524. "hasvideo": {
  18525. "description": "是否有视频 - 0:无 1:有",
  18526. "type": "integer"
  18527. },
  18528. "provinceid": {
  18529. "description": "省",
  18530. "type": "integer"
  18531. },
  18532. "remark": {
  18533. "description": "审核备注",
  18534. "type": "string"
  18535. },
  18536. "videourl": {
  18537. "description": "视频地址",
  18538. "type": "string"
  18539. },
  18540. "warehousecode": {
  18541. "description": "仓库代码",
  18542. "type": "string"
  18543. },
  18544. "warehousename": {
  18545. "description": "仓库名称",
  18546. "type": "string"
  18547. },
  18548. "warehousestatus": {
  18549. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18550. "type": "integer"
  18551. },
  18552. "warehousetype": {
  18553. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18554. "type": "integer"
  18555. }
  18556. }
  18557. },
  18558. "ermcp.QueryErmcpTradePositionRsp": {
  18559. "type": "object",
  18560. "properties": {
  18561. "agreeunit": {
  18562. "description": "合约单位",
  18563. "type": "number"
  18564. },
  18565. "buyorsell": {
  18566. "description": "方向 - 0:买 1:卖",
  18567. "type": "integer"
  18568. },
  18569. "curpositionqty": {
  18570. "description": "持仓(总仓数量, 期末头寸)",
  18571. "type": "integer"
  18572. },
  18573. "curtdposition": {
  18574. "description": "今仓数量(期末今日头寸)",
  18575. "type": "integer"
  18576. },
  18577. "curtdpositionenabled": {
  18578. "description": "今仓可用",
  18579. "type": "integer"
  18580. },
  18581. "decimalplace": {
  18582. "description": "报价小数位",
  18583. "type": "integer"
  18584. },
  18585. "enableqty": {
  18586. "description": "可用(总仓可用)",
  18587. "type": "integer"
  18588. },
  18589. "exexchangename": {
  18590. "description": "外部交易所名称",
  18591. "type": "string"
  18592. },
  18593. "exexehangecode": {
  18594. "description": "外部交易所代码",
  18595. "type": "string"
  18596. },
  18597. "exexehangeid": {
  18598. "description": "外部交易所id",
  18599. "type": "integer"
  18600. },
  18601. "goodscode": {
  18602. "description": "商品代码(内部)",
  18603. "type": "string"
  18604. },
  18605. "goodsid": {
  18606. "description": "商品ID(自增ID SEQ_GOODS)",
  18607. "type": "integer"
  18608. },
  18609. "goodsname": {
  18610. "description": "商品名称",
  18611. "type": "string"
  18612. },
  18613. "last": {
  18614. "description": "现价",
  18615. "type": "number"
  18616. },
  18617. "marketid": {
  18618. "description": "所属市场ID",
  18619. "type": "integer"
  18620. },
  18621. "openaverageprice": {
  18622. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18623. "type": "number"
  18624. },
  18625. "opencost": {
  18626. "description": "开仓成本",
  18627. "type": "number"
  18628. },
  18629. "openpl": {
  18630. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18631. "type": "number"
  18632. },
  18633. "outgoodscode": {
  18634. "description": "商品代码(外部)",
  18635. "type": "string"
  18636. },
  18637. "positionaverageprice": {
  18638. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18639. "type": "number"
  18640. },
  18641. "positioncost": {
  18642. "description": "持仓成本",
  18643. "type": "number"
  18644. },
  18645. "positionpl": {
  18646. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18647. "type": "number"
  18648. },
  18649. "positionplrate": {
  18650. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18651. "type": "number"
  18652. },
  18653. "usedmargin": {
  18654. "description": "占用保证金",
  18655. "type": "number"
  18656. }
  18657. }
  18658. },
  18659. "ermcp.RealtimeExposurePositionRsp": {
  18660. "type": "object",
  18661. "properties": {
  18662. "agreeunit": {
  18663. "description": "合约单位",
  18664. "type": "string"
  18665. },
  18666. "areauserid": {
  18667. "description": "所属机构id",
  18668. "type": "integer"
  18669. },
  18670. "convertratio": {
  18671. "description": "期货品种系数(折算系数)",
  18672. "type": "number"
  18673. },
  18674. "curhedgeqty": {
  18675. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18676. "type": "number"
  18677. },
  18678. "curqty": {
  18679. "description": "当前持仓",
  18680. "type": "integer"
  18681. },
  18682. "diffhedgeqty": {
  18683. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18684. "type": "number"
  18685. },
  18686. "diffqty": {
  18687. "description": "持仓变动量=当前持仓-昨日持仓",
  18688. "type": "integer"
  18689. },
  18690. "goodscode": {
  18691. "description": "商品代码",
  18692. "type": "string"
  18693. },
  18694. "goodsid": {
  18695. "description": "商品id",
  18696. "type": "integer"
  18697. },
  18698. "goodsname": {
  18699. "description": "商品名称",
  18700. "type": "string"
  18701. },
  18702. "hedgeaccountcode": {
  18703. "description": "对冲账号(只有外部账号才有值)",
  18704. "type": "string"
  18705. },
  18706. "middlegoodscode": {
  18707. "description": "套保商品代码",
  18708. "type": "string"
  18709. },
  18710. "middlegoodsid": {
  18711. "description": "套保商品id",
  18712. "type": "integer"
  18713. },
  18714. "middlegoodsname": {
  18715. "description": "套保商品名称",
  18716. "type": "string"
  18717. },
  18718. "ydqty": {
  18719. "description": "昨日持仓",
  18720. "type": "integer"
  18721. }
  18722. }
  18723. },
  18724. "ermcp.RealtimeExposureRsp": {
  18725. "type": "object",
  18726. "properties": {
  18727. "AreaUserID": {
  18728. "description": "所属机构",
  18729. "type": "integer"
  18730. },
  18731. "BuyFutureQty": {
  18732. "description": "买入期货数量",
  18733. "type": "number"
  18734. },
  18735. "BuyPlanQty": {
  18736. "description": "采购计划数量",
  18737. "type": "number"
  18738. },
  18739. "BuyPricedQty": {
  18740. "description": "采购合同已定价数量",
  18741. "type": "number"
  18742. },
  18743. "MiddleGoodsCode": {
  18744. "description": "套保品种代码",
  18745. "type": "string"
  18746. },
  18747. "MiddleGoodsHedgeRatio": {
  18748. "description": "套保比例",
  18749. "type": "number"
  18750. },
  18751. "MiddleGoodsID": {
  18752. "description": "套保品种",
  18753. "type": "integer"
  18754. },
  18755. "MiddleGoodsName": {
  18756. "description": "套保品种名称",
  18757. "type": "string"
  18758. },
  18759. "NeedHedgeExposoure": {
  18760. "description": "应套保敞口(套保敞口)",
  18761. "type": "number"
  18762. },
  18763. "NeedHedgeRatio": {
  18764. "description": "应套保敞口比例",
  18765. "type": "number"
  18766. },
  18767. "OriBuyFutureQty": {
  18768. "description": "期初买入期货数量",
  18769. "type": "number"
  18770. },
  18771. "OriBuyPlanQty": {
  18772. "description": "期初采购计划数量",
  18773. "type": "number"
  18774. },
  18775. "OriBuyPricedQty": {
  18776. "description": "期初采购合同已定价数量",
  18777. "type": "number"
  18778. },
  18779. "OriSellFutureQty": {
  18780. "description": "期初卖出期货数量",
  18781. "type": "number"
  18782. },
  18783. "OriSellPlanQty": {
  18784. "description": "期初销售计划数量",
  18785. "type": "number"
  18786. },
  18787. "OriSellPricedQty": {
  18788. "description": "期初销售合同已定价数量",
  18789. "type": "number"
  18790. },
  18791. "OriTotalSpotQty": {
  18792. "description": "期初现货总量",
  18793. "type": "number"
  18794. },
  18795. "SellFutureQty": {
  18796. "description": "卖出期货数量",
  18797. "type": "number"
  18798. },
  18799. "SellPlanQty": {
  18800. "description": "销售计划数量",
  18801. "type": "number"
  18802. },
  18803. "SellPricedQty": {
  18804. "description": "销售合同已定价数量",
  18805. "type": "number"
  18806. },
  18807. "TotalExposure": {
  18808. "description": "总敞口 平安:净敞口",
  18809. "type": "number"
  18810. },
  18811. "TotalFutureQty": {
  18812. "description": "期货总量 平安:保值净持仓量",
  18813. "type": "number"
  18814. },
  18815. "TotalHedgeRatio": {
  18816. "description": "敞口比例",
  18817. "type": "number"
  18818. },
  18819. "TotalNeedHedgeQty": {
  18820. "description": "应套保总量(现货应套保总量)",
  18821. "type": "number"
  18822. },
  18823. "TotalSpotQty": {
  18824. "description": "现货总量 平安:采销定价净值",
  18825. "type": "number"
  18826. },
  18827. "arbitrageqty": {
  18828. "description": "套利量",
  18829. "type": "number"
  18830. },
  18831. "diffArbitrageQty": {
  18832. "description": "套利变动量",
  18833. "type": "number"
  18834. },
  18835. "diffExposoureQty": {
  18836. "description": "变动量(套保敞口)",
  18837. "type": "number"
  18838. },
  18839. "diffFutuQty": {
  18840. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  18841. "type": "number"
  18842. },
  18843. "diffHedgeQty": {
  18844. "description": "套保变动量",
  18845. "type": "number"
  18846. },
  18847. "diffQty": {
  18848. "description": "变动量(总敞口) 平安:净敞口今日变动",
  18849. "type": "number"
  18850. },
  18851. "diffSpotHedgeQty": {
  18852. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  18853. "type": "number"
  18854. },
  18855. "diffSpotQty": {
  18856. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  18857. "type": "number"
  18858. },
  18859. "enumdicname": {
  18860. "description": "单位名称",
  18861. "type": "string"
  18862. },
  18863. "hedgeqty": {
  18864. "description": "套保量",
  18865. "type": "number"
  18866. },
  18867. "needarbitrageqty": {
  18868. "description": "应套利量",
  18869. "type": "number"
  18870. },
  18871. "needarbitrageratio": {
  18872. "description": "套利比例",
  18873. "type": "number"
  18874. },
  18875. "needhedgeqty": {
  18876. "description": "应套保量",
  18877. "type": "number"
  18878. },
  18879. "oriarbitrageqty": {
  18880. "description": "期初套利量",
  18881. "type": "number"
  18882. },
  18883. "orihedgeqty": {
  18884. "description": "期初套保量",
  18885. "type": "number"
  18886. },
  18887. "orineedhedgeexposoure": {
  18888. "description": "期初套保敞口",
  18889. "type": "number"
  18890. },
  18891. "oritotalexposure": {
  18892. "description": "期初总敞口",
  18893. "type": "number"
  18894. },
  18895. "oritotalfutureqty": {
  18896. "description": "期初期货总量",
  18897. "type": "number"
  18898. },
  18899. "oritotalneedhedgeqty": {
  18900. "description": "期初现货应套保量",
  18901. "type": "number"
  18902. }
  18903. }
  18904. },
  18905. "erms2.QueryArbitrageStrategyRsp": {
  18906. "type": "object",
  18907. "required": [
  18908. "asapplyid"
  18909. ],
  18910. "properties": {
  18911. "applybasis": {
  18912. "description": "申请基差",
  18913. "type": "number"
  18914. },
  18915. "asapplyid": {
  18916. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  18917. "type": "string"
  18918. },
  18919. "asname": {
  18920. "description": "策略名称",
  18921. "type": "string"
  18922. },
  18923. "asno": {
  18924. "description": "策略编号",
  18925. "type": "string"
  18926. },
  18927. "basischangepl": {
  18928. "description": "基差变动损益[结算更新]",
  18929. "type": "number"
  18930. },
  18931. "biztype": {
  18932. "description": "业务类型 - 1:正向套利 -1:反向套利",
  18933. "type": "integer"
  18934. },
  18935. "closetradedate": {
  18936. "description": "完结交易日(yyyyMMdd)",
  18937. "type": "string"
  18938. },
  18939. "curbasis": {
  18940. "description": "当前基差[结算更新]",
  18941. "type": "number"
  18942. },
  18943. "deliverygoodsid": {
  18944. "description": "现货品种ID",
  18945. "type": "integer"
  18946. },
  18947. "futureavgprice": {
  18948. "description": "期货建仓均价",
  18949. "type": "number"
  18950. },
  18951. "futurecloseamount": {
  18952. "description": "期货平仓金额",
  18953. "type": "number"
  18954. },
  18955. "futurecloseqty": {
  18956. "description": "期货平仓数量",
  18957. "type": "number"
  18958. },
  18959. "futureopenamount": {
  18960. "description": "期货开仓金额",
  18961. "type": "number"
  18962. },
  18963. "futureopenqty": {
  18964. "description": "期货开仓数量",
  18965. "type": "number"
  18966. },
  18967. "futurepl": {
  18968. "description": "期货总盈亏[结算更新]",
  18969. "type": "number"
  18970. },
  18971. "futureqty": {
  18972. "description": "期货持仓数量",
  18973. "type": "number"
  18974. },
  18975. "futurequote": {
  18976. "description": "期货额度",
  18977. "type": "number"
  18978. },
  18979. "goodsgroupid": {
  18980. "description": "期货品种ID",
  18981. "type": "integer"
  18982. },
  18983. "marketid": {
  18984. "description": "市场ID",
  18985. "type": "integer"
  18986. },
  18987. "netexposure": {
  18988. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  18989. "type": "number"
  18990. },
  18991. "netexposurepl": {
  18992. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  18993. "type": "number"
  18994. },
  18995. "netexposurerate": {
  18996. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  18997. "type": "number"
  18998. },
  18999. "openbasis": {
  19000. "description": "建仓基差",
  19001. "type": "number"
  19002. },
  19003. "pricedspotqty": {
  19004. "description": "已定价现货数量",
  19005. "type": "number"
  19006. },
  19007. "pricedspotqtynotax": {
  19008. "description": "已定价现货不含税数量",
  19009. "type": "number"
  19010. },
  19011. "remark": {
  19012. "description": "备注",
  19013. "type": "string"
  19014. },
  19015. "spotavgprice": {
  19016. "description": "现货均价",
  19017. "type": "number"
  19018. },
  19019. "spotbuyamount": {
  19020. "description": "现货采购金额",
  19021. "type": "number"
  19022. },
  19023. "spotbuyqty": {
  19024. "description": "现货采购数量",
  19025. "type": "number"
  19026. },
  19027. "spotpl": {
  19028. "description": "现货总盈亏[结算更新]",
  19029. "type": "number"
  19030. },
  19031. "spotquota": {
  19032. "description": "现货额度",
  19033. "type": "number"
  19034. },
  19035. "spotsellamount": {
  19036. "description": "现货销售金额",
  19037. "type": "number"
  19038. },
  19039. "spotsellqty": {
  19040. "description": "现货销售数量",
  19041. "type": "number"
  19042. },
  19043. "spotusedquota": {
  19044. "description": "现货占用资金",
  19045. "type": "number"
  19046. },
  19047. "strategystatus": {
  19048. "description": "策略状态 - 0:未结束 1:已结束",
  19049. "type": "integer"
  19050. },
  19051. "totalpl": {
  19052. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19053. "type": "number"
  19054. },
  19055. "tradedate": {
  19056. "description": "交易日(yyyyMMdd)",
  19057. "type": "string"
  19058. },
  19059. "updatetime": {
  19060. "description": "更新时间",
  19061. "type": "string"
  19062. },
  19063. "usedquota": {
  19064. "description": "已占用资金",
  19065. "type": "number"
  19066. },
  19067. "userid": {
  19068. "description": "所属机构",
  19069. "type": "integer"
  19070. }
  19071. }
  19072. },
  19073. "erms2.QueryInnerTradeDetailRsp": {
  19074. "type": "object",
  19075. "required": [
  19076. "asapplyid",
  19077. "buyorsell",
  19078. "goodscode",
  19079. "goodsgroupid",
  19080. "goodsgroupname",
  19081. "goodsname",
  19082. "tradeid"
  19083. ],
  19084. "properties": {
  19085. "accountid": {
  19086. "description": "账号ID",
  19087. "type": "integer"
  19088. },
  19089. "agreeunit": {
  19090. "description": "合约单位",
  19091. "type": "number"
  19092. },
  19093. "asapplyid": {
  19094. "description": "策略申请ID",
  19095. "type": "integer"
  19096. },
  19097. "asname": {
  19098. "description": "策略名称",
  19099. "type": "string"
  19100. },
  19101. "asno": {
  19102. "description": "策略编号",
  19103. "type": "string"
  19104. },
  19105. "buyorsell": {
  19106. "description": "方向 - 0:买 1:卖",
  19107. "type": "integer"
  19108. },
  19109. "channelbuildtype": {
  19110. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19111. "type": "integer"
  19112. },
  19113. "closetype": {
  19114. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19115. "type": "integer"
  19116. },
  19117. "decimalplace": {
  19118. "description": "报价小数位",
  19119. "type": "integer"
  19120. },
  19121. "detailtype": {
  19122. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19123. "type": "integer"
  19124. },
  19125. "exexchangecode": {
  19126. "description": "外部交易所代码",
  19127. "type": "string"
  19128. },
  19129. "exexchangename": {
  19130. "description": "外部交易所名称",
  19131. "type": "string"
  19132. },
  19133. "goodscode": {
  19134. "description": "商品代码(合约)",
  19135. "type": "string"
  19136. },
  19137. "goodsgroupid": {
  19138. "description": "商品组ID(品种ID)",
  19139. "type": "integer"
  19140. },
  19141. "goodsgroupname": {
  19142. "description": "商品组名称(品种)",
  19143. "type": "string"
  19144. },
  19145. "goodsid": {
  19146. "description": "商品ID",
  19147. "type": "integer"
  19148. },
  19149. "goodsname": {
  19150. "description": "商品名称(合约)",
  19151. "type": "string"
  19152. },
  19153. "goodunit": {
  19154. "description": "报价单位",
  19155. "type": "string"
  19156. },
  19157. "marketid": {
  19158. "description": "市场ID",
  19159. "type": "integer"
  19160. },
  19161. "orderid": {
  19162. "description": "委托单号",
  19163. "type": "string"
  19164. },
  19165. "outgoodscode": {
  19166. "description": "商品代码(外部)",
  19167. "type": "string"
  19168. },
  19169. "relatedouttradeid": {
  19170. "description": "关联外部成交单ID",
  19171. "type": "string"
  19172. },
  19173. "remark": {
  19174. "description": "备注",
  19175. "type": "string"
  19176. },
  19177. "spotcontractid": {
  19178. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19179. "type": "integer"
  19180. },
  19181. "spotcontractno": {
  19182. "description": "现货合同编号",
  19183. "type": "string"
  19184. },
  19185. "tradeid": {
  19186. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19187. "type": "string"
  19188. },
  19189. "tradeprice": {
  19190. "description": "成交价格",
  19191. "type": "number"
  19192. },
  19193. "tradeqty": {
  19194. "description": "成交数量",
  19195. "type": "integer"
  19196. },
  19197. "tradetime": {
  19198. "description": "成交时间",
  19199. "type": "string"
  19200. },
  19201. "updatetime": {
  19202. "description": "更新时间",
  19203. "type": "string"
  19204. }
  19205. }
  19206. },
  19207. "erms2.QuerySpotContractRsp": {
  19208. "type": "object",
  19209. "required": [
  19210. "spotcontractid"
  19211. ],
  19212. "properties": {
  19213. "accountid": {
  19214. "description": "资金账户ID",
  19215. "type": "integer"
  19216. },
  19217. "areauserid": {
  19218. "description": "所属机构",
  19219. "type": "integer"
  19220. },
  19221. "closedate": {
  19222. "description": "终止日期",
  19223. "type": "string"
  19224. },
  19225. "closeremark": {
  19226. "description": "结束备注",
  19227. "type": "string"
  19228. },
  19229. "closetradedate": {
  19230. "description": "完结交易日(yyyyMMdd)",
  19231. "type": "string"
  19232. },
  19233. "closetype": {
  19234. "description": "终止类型 - 1:违约 2:提前终止",
  19235. "type": "integer"
  19236. },
  19237. "contractamount": {
  19238. "description": "合同金额",
  19239. "type": "number"
  19240. },
  19241. "contractattachment": {
  19242. "description": "合同附件",
  19243. "type": "string"
  19244. },
  19245. "contractno": {
  19246. "description": "现货合同编号",
  19247. "type": "string"
  19248. },
  19249. "contractqty": {
  19250. "description": "合同数量(数值) (用于计算)",
  19251. "type": "number"
  19252. },
  19253. "contractqtychar": {
  19254. "description": "合同数量\\已订价数量 (用于显示)",
  19255. "type": "string"
  19256. },
  19257. "contractstatus": {
  19258. "description": "合同状态 - 0:未结束 1:已结束",
  19259. "type": "integer"
  19260. },
  19261. "contracttype": {
  19262. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19263. "type": "integer"
  19264. },
  19265. "customeraccountid": {
  19266. "description": "客户资金账户ID",
  19267. "type": "integer"
  19268. },
  19269. "customeruserid": {
  19270. "description": "客户ID",
  19271. "type": "integer"
  19272. },
  19273. "deliverygoodsdesc": {
  19274. "description": "品种说明",
  19275. "type": "string"
  19276. },
  19277. "deliverygoodsid": {
  19278. "description": "现货品种ID",
  19279. "type": "integer"
  19280. },
  19281. "handlestatus": {
  19282. "description": "处理状态",
  19283. "type": "integer"
  19284. },
  19285. "invoiceatt": {
  19286. "description": "发票附件",
  19287. "type": "string"
  19288. },
  19289. "invoicedatetime": {
  19290. "description": "开收票更新时间",
  19291. "type": "string"
  19292. },
  19293. "invoiceopentime": {
  19294. "description": "开票时间",
  19295. "type": "string"
  19296. },
  19297. "invoiceremark": {
  19298. "description": "发票备注",
  19299. "type": "string"
  19300. },
  19301. "invoicestatus": {
  19302. "description": "开收票状态 - 0:未开票 1:已开票",
  19303. "type": "integer"
  19304. },
  19305. "lastdate": {
  19306. "description": "交货时间",
  19307. "type": "string"
  19308. },
  19309. "marketid": {
  19310. "description": "市场ID",
  19311. "type": "integer"
  19312. },
  19313. "paydatetime": {
  19314. "description": "收付款更新时间",
  19315. "type": "string"
  19316. },
  19317. "payremark": {
  19318. "description": "收付款备注",
  19319. "type": "string"
  19320. },
  19321. "paystatus": {
  19322. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19323. "type": "integer"
  19324. },
  19325. "positionqty": {
  19326. "description": "头寸数量 - 合同数量去小数部分",
  19327. "type": "integer"
  19328. },
  19329. "producttype": {
  19330. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19331. "type": "integer"
  19332. },
  19333. "relatedqty": {
  19334. "description": "已关联数量",
  19335. "type": "number"
  19336. },
  19337. "relatedstatus": {
  19338. "description": "关联完结状态 - 0:未结束 1:已结束",
  19339. "type": "integer"
  19340. },
  19341. "remark": {
  19342. "description": "备注",
  19343. "type": "string"
  19344. },
  19345. "signdate": {
  19346. "description": "签订日期",
  19347. "type": "string"
  19348. },
  19349. "spotcontractid": {
  19350. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19351. "type": "string"
  19352. },
  19353. "spotdatetime": {
  19354. "description": "收发货更新时间",
  19355. "type": "string"
  19356. },
  19357. "spotprice": {
  19358. "description": "价格",
  19359. "type": "number"
  19360. },
  19361. "spotremark": {
  19362. "description": "收发货备注",
  19363. "type": "string"
  19364. },
  19365. "spotstatus": {
  19366. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19367. "type": "integer"
  19368. },
  19369. "tradedate": {
  19370. "description": "交易日(yyyyMMdd)",
  19371. "type": "string"
  19372. },
  19373. "userid": {
  19374. "description": "业务员用户ID",
  19375. "type": "integer"
  19376. },
  19377. "warehouseid": {
  19378. "description": "仓库ID",
  19379. "type": "integer"
  19380. },
  19381. "wrfactortypeid": {
  19382. "description": "仓单要素类型ID",
  19383. "type": "integer"
  19384. },
  19385. "wrstandardid": {
  19386. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19387. "type": "integer"
  19388. }
  19389. }
  19390. },
  19391. "erms3.AddErms2ASApplyReq": {
  19392. "type": "object",
  19393. "required": [
  19394. "asapplyid"
  19395. ],
  19396. "properties": {
  19397. "applybasis": {
  19398. "description": "申请基差",
  19399. "type": "number"
  19400. },
  19401. "applystatus": {
  19402. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19403. "type": "integer"
  19404. },
  19405. "asapplyid": {
  19406. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19407. "type": "integer"
  19408. },
  19409. "asname": {
  19410. "description": "策略名称",
  19411. "type": "string"
  19412. },
  19413. "asno": {
  19414. "description": "策略编号",
  19415. "type": "string"
  19416. },
  19417. "auditid": {
  19418. "description": "审核人",
  19419. "type": "integer"
  19420. },
  19421. "auditremark": {
  19422. "description": "审核备注",
  19423. "type": "string"
  19424. },
  19425. "audittime": {
  19426. "description": "审核时间",
  19427. "type": "string"
  19428. },
  19429. "biztype": {
  19430. "description": "业务类型 - 1:正向套利 2:反向套利",
  19431. "type": "integer"
  19432. },
  19433. "createtime": {
  19434. "description": "创建时间",
  19435. "type": "string"
  19436. },
  19437. "creatorid": {
  19438. "description": "创建人",
  19439. "type": "integer"
  19440. },
  19441. "deliverygoodsid": {
  19442. "description": "现货品种ID",
  19443. "type": "integer"
  19444. },
  19445. "futurequote": {
  19446. "description": "期货额度",
  19447. "type": "number"
  19448. },
  19449. "goodsgroupid": {
  19450. "description": "期货品种ID",
  19451. "type": "integer"
  19452. },
  19453. "marketid": {
  19454. "description": "市场ID",
  19455. "type": "integer"
  19456. },
  19457. "remark": {
  19458. "description": "备注",
  19459. "type": "string"
  19460. },
  19461. "spotquota": {
  19462. "description": "现货额度",
  19463. "type": "number"
  19464. },
  19465. "tradedate": {
  19466. "description": "交易日(yyyyMMdd)",
  19467. "type": "string"
  19468. },
  19469. "userid": {
  19470. "description": "所属机构",
  19471. "type": "integer"
  19472. }
  19473. }
  19474. },
  19475. "erms3.AddErms2SpotTradeApplyReq": {
  19476. "type": "object",
  19477. "required": [
  19478. "spottradeid"
  19479. ],
  19480. "properties": {
  19481. "applyjsondetail": {
  19482. "description": "申请明细(JSON)",
  19483. "type": "string"
  19484. },
  19485. "applystatus": {
  19486. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19487. "type": "integer"
  19488. },
  19489. "areauserid": {
  19490. "description": "所属机构",
  19491. "type": "integer"
  19492. },
  19493. "auditid": {
  19494. "description": "审核人",
  19495. "type": "integer"
  19496. },
  19497. "auditremark": {
  19498. "description": "审核备注",
  19499. "type": "string"
  19500. },
  19501. "audittime": {
  19502. "description": "审核时间",
  19503. "type": "string"
  19504. },
  19505. "createtime": {
  19506. "description": "创建时间",
  19507. "type": "string"
  19508. },
  19509. "creatorid": {
  19510. "description": "创建人",
  19511. "type": "integer"
  19512. },
  19513. "deliverygoodsid": {
  19514. "description": "现货品种ID",
  19515. "type": "integer"
  19516. },
  19517. "futureaccountid": {
  19518. "description": "期货资金账户",
  19519. "type": "integer"
  19520. },
  19521. "goodsgroupid": {
  19522. "description": "期货品种",
  19523. "type": "integer"
  19524. },
  19525. "marketid": {
  19526. "description": "市场ID",
  19527. "type": "integer"
  19528. },
  19529. "remark": {
  19530. "description": "备注",
  19531. "type": "string"
  19532. },
  19533. "spotaccountid": {
  19534. "description": "现货资金账户",
  19535. "type": "integer"
  19536. },
  19537. "spottradeid": {
  19538. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19539. "type": "integer"
  19540. },
  19541. "spottradename": {
  19542. "description": "业务名称",
  19543. "type": "string"
  19544. },
  19545. "spottradeno": {
  19546. "description": "业务编号",
  19547. "type": "string"
  19548. },
  19549. "tradedate": {
  19550. "description": "交易日(yyyyMMdd)",
  19551. "type": "string"
  19552. },
  19553. "wrstandardid": {
  19554. "description": "仓单标准ID",
  19555. "type": "integer"
  19556. }
  19557. }
  19558. },
  19559. "erms3.AddSpotContractApplyReq": {
  19560. "type": "object",
  19561. "required": [
  19562. "accountid",
  19563. "areauserid",
  19564. "contractno",
  19565. "contracttype",
  19566. "customeraccountid",
  19567. "customeruserid",
  19568. "details",
  19569. "orimargin",
  19570. "signdate"
  19571. ],
  19572. "properties": {
  19573. "accountid": {
  19574. "description": "资金账户ID",
  19575. "type": "integer"
  19576. },
  19577. "areauserid": {
  19578. "description": "所属机构",
  19579. "type": "integer"
  19580. },
  19581. "contractattachment": {
  19582. "description": "合同附件",
  19583. "type": "string"
  19584. },
  19585. "contractno": {
  19586. "description": "现货合同编号",
  19587. "type": "string"
  19588. },
  19589. "contracttype": {
  19590. "description": "现货合同类型 - 1:采购 -1:销售",
  19591. "type": "integer"
  19592. },
  19593. "creatorid": {
  19594. "description": "申请人",
  19595. "type": "integer"
  19596. },
  19597. "customeraccountid": {
  19598. "description": "客户资金账户ID",
  19599. "type": "integer"
  19600. },
  19601. "customeruserid": {
  19602. "description": "客户ID",
  19603. "type": "integer"
  19604. },
  19605. "details": {
  19606. "description": "明细",
  19607. "type": "array",
  19608. "items": {
  19609. "$ref": "#/definitions/erms3.SoptContractDetail"
  19610. }
  19611. },
  19612. "orimargin": {
  19613. "description": "初始保证金",
  19614. "type": "number"
  19615. },
  19616. "remark": {
  19617. "description": "备注",
  19618. "type": "string"
  19619. },
  19620. "signdate": {
  19621. "description": "签订日期",
  19622. "type": "string"
  19623. }
  19624. }
  19625. },
  19626. "erms3.AddSpotContractApplyRsp": {
  19627. "type": "object",
  19628. "required": [
  19629. "contractno"
  19630. ],
  19631. "properties": {
  19632. "contractno": {
  19633. "description": "现货合同编号",
  19634. "type": "string"
  19635. },
  19636. "spotcontractid": {
  19637. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19638. "type": "integer"
  19639. }
  19640. }
  19641. },
  19642. "erms3.AddUserInfoApplyReq": {
  19643. "type": "object",
  19644. "required": [
  19645. "userid"
  19646. ],
  19647. "properties": {
  19648. "accountid": {
  19649. "description": "交易系统帐号Id (加密存储)",
  19650. "type": "integer"
  19651. },
  19652. "areacode": {
  19653. "description": "机构代码",
  19654. "type": "string"
  19655. },
  19656. "areaid": {
  19657. "description": "机构Id",
  19658. "type": "integer"
  19659. },
  19660. "attachment1": {
  19661. "description": "附件1",
  19662. "type": "string"
  19663. },
  19664. "attachment2": {
  19665. "description": "附件2",
  19666. "type": "string"
  19667. },
  19668. "attachment3": {
  19669. "description": "附件3",
  19670. "type": "string"
  19671. },
  19672. "attachment4": {
  19673. "description": "附件4",
  19674. "type": "string"
  19675. },
  19676. "attachment5": {
  19677. "description": "附件5",
  19678. "type": "string"
  19679. },
  19680. "auditedby": {
  19681. "description": "审核人",
  19682. "type": "string"
  19683. },
  19684. "auditime": {
  19685. "description": "审核时间",
  19686. "type": "string"
  19687. },
  19688. "auditsrc": {
  19689. "description": "审核来源 - 1:管理端 2:终端",
  19690. "type": "integer"
  19691. },
  19692. "bankaccount": {
  19693. "description": "银行帐号 (加密存储)",
  19694. "type": "string"
  19695. },
  19696. "bankaccountname": {
  19697. "description": "收款人名称",
  19698. "type": "string"
  19699. },
  19700. "bankcardbackphotourl": {
  19701. "description": "银行卡背面照地址",
  19702. "type": "string"
  19703. },
  19704. "bankcardfrontphotourl": {
  19705. "description": "银行卡正面照地址",
  19706. "type": "string"
  19707. },
  19708. "bankid": {
  19709. "description": "银行编码",
  19710. "type": "string"
  19711. },
  19712. "bankname": {
  19713. "description": "银行名称",
  19714. "type": "string"
  19715. },
  19716. "bankpictureurl": {
  19717. "description": "银行卡正面地址",
  19718. "type": "string"
  19719. },
  19720. "biznature": {
  19721. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19722. "type": "integer"
  19723. },
  19724. "bizscope": {
  19725. "description": "企业经营范围(企业)",
  19726. "type": "string"
  19727. },
  19728. "biztype": {
  19729. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19730. "type": "integer"
  19731. },
  19732. "brokerid": {
  19733. "description": "经纪人ID(加密存储)",
  19734. "type": "string"
  19735. },
  19736. "cardaddress": {
  19737. "description": "证件地址 (加密存储)",
  19738. "type": "string"
  19739. },
  19740. "cardbackphotourl": {
  19741. "description": "背面证件照地址",
  19742. "type": "string"
  19743. },
  19744. "cardfrontphotourl": {
  19745. "description": "正面证件照地址",
  19746. "type": "string"
  19747. },
  19748. "cardnum": {
  19749. "description": "证件号码 (加密存储)",
  19750. "type": "string"
  19751. },
  19752. "cardtype": {
  19753. "description": "证件类型",
  19754. "type": "integer"
  19755. },
  19756. "cityid": {
  19757. "description": "市",
  19758. "type": "integer"
  19759. },
  19760. "company": {
  19761. "description": "公司(个人)",
  19762. "type": "string"
  19763. },
  19764. "contactcardbackphotourl": {
  19765. "description": "联系人证件背面图片地址",
  19766. "type": "string"
  19767. },
  19768. "contactcardfrontphotourl": {
  19769. "description": "联系人证件正面图片地址",
  19770. "type": "string"
  19771. },
  19772. "contactname": {
  19773. "description": "联系人",
  19774. "type": "string"
  19775. },
  19776. "countryid": {
  19777. "description": "国家",
  19778. "type": "integer"
  19779. },
  19780. "createtime": {
  19781. "description": "开户申请时间",
  19782. "type": "string"
  19783. },
  19784. "cusbankid": {
  19785. "description": "签约类型",
  19786. "type": "string"
  19787. },
  19788. "cusbankname": {
  19789. "description": "签约类型名称",
  19790. "type": "string"
  19791. },
  19792. "customername": {
  19793. "description": "客户名称(企业名称)",
  19794. "type": "string"
  19795. },
  19796. "districtid": {
  19797. "description": "地区",
  19798. "type": "integer"
  19799. },
  19800. "email": {
  19801. "description": "Email地址(加密存储)",
  19802. "type": "string"
  19803. },
  19804. "halfbodyphotourl": {
  19805. "description": "半身照地址",
  19806. "type": "string"
  19807. },
  19808. "headurl": {
  19809. "description": "头像地址",
  19810. "type": "string"
  19811. },
  19812. "ipaddress": {
  19813. "description": "IP地址",
  19814. "type": "string"
  19815. },
  19816. "isvalidate": {
  19817. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19818. "type": "string"
  19819. },
  19820. "legalcardbackphotourl": {
  19821. "description": "法人身份证背面照地址",
  19822. "type": "string"
  19823. },
  19824. "legalcardfrontphotourl": {
  19825. "description": "法人身份证正面照地址",
  19826. "type": "string"
  19827. },
  19828. "legalpersonname": {
  19829. "description": "法人姓名(企业)",
  19830. "type": "string"
  19831. },
  19832. "logincode": {
  19833. "description": "登录帐号 (加密存储)",
  19834. "type": "string"
  19835. },
  19836. "memberareaid": {
  19837. "description": "所属会员ID",
  19838. "type": "integer"
  19839. },
  19840. "mobile2": {
  19841. "description": "手机号码[明文-尚志]",
  19842. "type": "string"
  19843. },
  19844. "mobilephone": {
  19845. "description": "手机号码 (加密存储)",
  19846. "type": "string"
  19847. },
  19848. "modifiedby": {
  19849. "description": "修改人帐号",
  19850. "type": "integer"
  19851. },
  19852. "modifiedtime": {
  19853. "description": "修改时间",
  19854. "type": "string"
  19855. },
  19856. "nickname": {
  19857. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19858. "type": "string"
  19859. },
  19860. "openmode": {
  19861. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19862. "type": "integer"
  19863. },
  19864. "otherurl": {
  19865. "description": "其它图片地址[使用分号分隔]",
  19866. "type": "string"
  19867. },
  19868. "postalcode": {
  19869. "description": "邮政编码",
  19870. "type": "string"
  19871. },
  19872. "provinceid": {
  19873. "description": "省",
  19874. "type": "integer"
  19875. },
  19876. "proxystatementurl": {
  19877. "description": "授权委托书",
  19878. "type": "string"
  19879. },
  19880. "qq": {
  19881. "description": "QQ(加密存储",
  19882. "type": "string"
  19883. },
  19884. "referral": {
  19885. "description": "推荐人编码",
  19886. "type": "string"
  19887. },
  19888. "remark": {
  19889. "description": "备注",
  19890. "type": "string"
  19891. },
  19892. "removebeforestatus": {
  19893. "description": "REMOVEBEFORESTATUS",
  19894. "type": "integer"
  19895. },
  19896. "sex": {
  19897. "description": "性别 - 0:女 1:男",
  19898. "type": "integer"
  19899. },
  19900. "signedstatus": {
  19901. "description": "账户一号签签约状态",
  19902. "type": "integer"
  19903. },
  19904. "signpdfurl": {
  19905. "description": "签约pdf文件",
  19906. "type": "string"
  19907. },
  19908. "subbranch": {
  19909. "description": "开户支行",
  19910. "type": "string"
  19911. },
  19912. "taxpayernum": {
  19913. "description": "纳税人识别号",
  19914. "type": "string"
  19915. },
  19916. "telphone": {
  19917. "description": "联系电话(加密存储)",
  19918. "type": "string"
  19919. },
  19920. "userid": {
  19921. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19922. "type": "integer"
  19923. },
  19924. "userinfotype": {
  19925. "description": "用户信息类型 - 1:个人 2:企业",
  19926. "type": "integer"
  19927. },
  19928. "username": {
  19929. "description": "用户姓名",
  19930. "type": "string"
  19931. },
  19932. "userstate": {
  19933. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19934. "type": "integer"
  19935. },
  19936. "usertype": {
  19937. "description": "用户类型 - 1:投资者 2:机构",
  19938. "type": "integer"
  19939. },
  19940. "videourl": {
  19941. "description": "视频地址",
  19942. "type": "string"
  19943. },
  19944. "wechat": {
  19945. "description": "微信号 (加密存储)",
  19946. "type": "string"
  19947. }
  19948. }
  19949. },
  19950. "erms3.CustomerInfo": {
  19951. "type": "object",
  19952. "required": [
  19953. "userid"
  19954. ],
  19955. "properties": {
  19956. "accountids": {
  19957. "description": "资金账户ID列表",
  19958. "type": "array",
  19959. "items": {
  19960. "type": "integer"
  19961. }
  19962. },
  19963. "customername": {
  19964. "description": "名称(企业名称)",
  19965. "type": "string"
  19966. },
  19967. "mobile": {
  19968. "description": "手机号码",
  19969. "type": "string"
  19970. },
  19971. "userid": {
  19972. "description": "用户ID",
  19973. "type": "integer"
  19974. }
  19975. }
  19976. },
  19977. "erms3.ModifyUserInfoApplyReq": {
  19978. "type": "object",
  19979. "required": [
  19980. "userid"
  19981. ],
  19982. "properties": {
  19983. "accountid": {
  19984. "description": "交易系统帐号Id (加密存储)",
  19985. "type": "integer"
  19986. },
  19987. "areacode": {
  19988. "description": "机构代码",
  19989. "type": "string"
  19990. },
  19991. "areaid": {
  19992. "description": "机构Id",
  19993. "type": "integer"
  19994. },
  19995. "attachment1": {
  19996. "description": "附件1",
  19997. "type": "string"
  19998. },
  19999. "attachment2": {
  20000. "description": "附件2",
  20001. "type": "string"
  20002. },
  20003. "attachment3": {
  20004. "description": "附件3",
  20005. "type": "string"
  20006. },
  20007. "attachment4": {
  20008. "description": "附件4",
  20009. "type": "string"
  20010. },
  20011. "attachment5": {
  20012. "description": "附件5",
  20013. "type": "string"
  20014. },
  20015. "auditedby": {
  20016. "description": "审核人",
  20017. "type": "string"
  20018. },
  20019. "auditime": {
  20020. "description": "审核时间",
  20021. "type": "string"
  20022. },
  20023. "auditsrc": {
  20024. "description": "审核来源 - 1:管理端 2:终端",
  20025. "type": "integer"
  20026. },
  20027. "bankaccount": {
  20028. "description": "银行帐号 (加密存储)",
  20029. "type": "string"
  20030. },
  20031. "bankaccountname": {
  20032. "description": "收款人名称",
  20033. "type": "string"
  20034. },
  20035. "bankcardbackphotourl": {
  20036. "description": "银行卡背面照地址",
  20037. "type": "string"
  20038. },
  20039. "bankcardfrontphotourl": {
  20040. "description": "银行卡正面照地址",
  20041. "type": "string"
  20042. },
  20043. "bankid": {
  20044. "description": "银行编码",
  20045. "type": "string"
  20046. },
  20047. "bankname": {
  20048. "description": "银行名称",
  20049. "type": "string"
  20050. },
  20051. "bankpictureurl": {
  20052. "description": "银行卡正面地址",
  20053. "type": "string"
  20054. },
  20055. "biznature": {
  20056. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20057. "type": "integer"
  20058. },
  20059. "bizscope": {
  20060. "description": "企业经营范围(企业)",
  20061. "type": "string"
  20062. },
  20063. "biztype": {
  20064. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20065. "type": "integer"
  20066. },
  20067. "brokerid": {
  20068. "description": "经纪人ID(加密存储)",
  20069. "type": "string"
  20070. },
  20071. "cardaddress": {
  20072. "description": "证件地址 (加密存储)",
  20073. "type": "string"
  20074. },
  20075. "cardbackphotourl": {
  20076. "description": "背面证件照地址",
  20077. "type": "string"
  20078. },
  20079. "cardfrontphotourl": {
  20080. "description": "正面证件照地址",
  20081. "type": "string"
  20082. },
  20083. "cardnum": {
  20084. "description": "证件号码 (加密存储)",
  20085. "type": "string"
  20086. },
  20087. "cardtype": {
  20088. "description": "证件类型",
  20089. "type": "integer"
  20090. },
  20091. "cityid": {
  20092. "description": "市",
  20093. "type": "integer"
  20094. },
  20095. "company": {
  20096. "description": "公司(个人)",
  20097. "type": "string"
  20098. },
  20099. "contactcardbackphotourl": {
  20100. "description": "联系人证件背面图片地址",
  20101. "type": "string"
  20102. },
  20103. "contactcardfrontphotourl": {
  20104. "description": "联系人证件正面图片地址",
  20105. "type": "string"
  20106. },
  20107. "contactname": {
  20108. "description": "联系人",
  20109. "type": "string"
  20110. },
  20111. "countryid": {
  20112. "description": "国家",
  20113. "type": "integer"
  20114. },
  20115. "createtime": {
  20116. "description": "开户申请时间",
  20117. "type": "string"
  20118. },
  20119. "cusbankid": {
  20120. "description": "签约类型",
  20121. "type": "string"
  20122. },
  20123. "cusbankname": {
  20124. "description": "签约类型名称",
  20125. "type": "string"
  20126. },
  20127. "customername": {
  20128. "description": "客户名称(企业名称)",
  20129. "type": "string"
  20130. },
  20131. "districtid": {
  20132. "description": "地区",
  20133. "type": "integer"
  20134. },
  20135. "email": {
  20136. "description": "Email地址(加密存储)",
  20137. "type": "string"
  20138. },
  20139. "halfbodyphotourl": {
  20140. "description": "半身照地址",
  20141. "type": "string"
  20142. },
  20143. "headurl": {
  20144. "description": "头像地址",
  20145. "type": "string"
  20146. },
  20147. "ipaddress": {
  20148. "description": "IP地址",
  20149. "type": "string"
  20150. },
  20151. "isvalidate": {
  20152. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20153. "type": "string"
  20154. },
  20155. "legalcardbackphotourl": {
  20156. "description": "法人身份证背面照地址",
  20157. "type": "string"
  20158. },
  20159. "legalcardfrontphotourl": {
  20160. "description": "法人身份证正面照地址",
  20161. "type": "string"
  20162. },
  20163. "legalpersonname": {
  20164. "description": "法人姓名(企业)",
  20165. "type": "string"
  20166. },
  20167. "logincode": {
  20168. "description": "登录帐号 (加密存储)",
  20169. "type": "string"
  20170. },
  20171. "memberareaid": {
  20172. "description": "所属会员ID",
  20173. "type": "integer"
  20174. },
  20175. "mobile2": {
  20176. "description": "手机号码[明文-尚志]",
  20177. "type": "string"
  20178. },
  20179. "mobilephone": {
  20180. "description": "手机号码 (加密存储)",
  20181. "type": "string"
  20182. },
  20183. "modifiedby": {
  20184. "description": "修改人帐号",
  20185. "type": "integer"
  20186. },
  20187. "modifiedtime": {
  20188. "description": "修改时间",
  20189. "type": "string"
  20190. },
  20191. "nickname": {
  20192. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20193. "type": "string"
  20194. },
  20195. "openmode": {
  20196. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20197. "type": "integer"
  20198. },
  20199. "otherurl": {
  20200. "description": "其它图片地址[使用分号分隔]",
  20201. "type": "string"
  20202. },
  20203. "postalcode": {
  20204. "description": "邮政编码",
  20205. "type": "string"
  20206. },
  20207. "provinceid": {
  20208. "description": "省",
  20209. "type": "integer"
  20210. },
  20211. "proxystatementurl": {
  20212. "description": "授权委托书",
  20213. "type": "string"
  20214. },
  20215. "qq": {
  20216. "description": "QQ(加密存储",
  20217. "type": "string"
  20218. },
  20219. "referral": {
  20220. "description": "推荐人编码",
  20221. "type": "string"
  20222. },
  20223. "remark": {
  20224. "description": "备注",
  20225. "type": "string"
  20226. },
  20227. "removebeforestatus": {
  20228. "description": "REMOVEBEFORESTATUS",
  20229. "type": "integer"
  20230. },
  20231. "sex": {
  20232. "description": "性别 - 0:女 1:男",
  20233. "type": "integer"
  20234. },
  20235. "signedstatus": {
  20236. "description": "账户一号签签约状态",
  20237. "type": "integer"
  20238. },
  20239. "signpdfurl": {
  20240. "description": "签约pdf文件",
  20241. "type": "string"
  20242. },
  20243. "subbranch": {
  20244. "description": "开户支行",
  20245. "type": "string"
  20246. },
  20247. "taxpayernum": {
  20248. "description": "纳税人识别号",
  20249. "type": "string"
  20250. },
  20251. "telphone": {
  20252. "description": "联系电话(加密存储)",
  20253. "type": "string"
  20254. },
  20255. "userid": {
  20256. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20257. "type": "integer"
  20258. },
  20259. "userinfotype": {
  20260. "description": "用户信息类型 - 1:个人 2:企业",
  20261. "type": "integer"
  20262. },
  20263. "username": {
  20264. "description": "用户姓名",
  20265. "type": "string"
  20266. },
  20267. "userstate": {
  20268. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20269. "type": "integer"
  20270. },
  20271. "usertype": {
  20272. "description": "用户类型 - 1:投资者 2:机构",
  20273. "type": "integer"
  20274. },
  20275. "videourl": {
  20276. "description": "视频地址",
  20277. "type": "string"
  20278. },
  20279. "wechat": {
  20280. "description": "微信号 (加密存储)",
  20281. "type": "string"
  20282. }
  20283. }
  20284. },
  20285. "erms3.QryAuditContractRsp": {
  20286. "type": "object",
  20287. "required": [
  20288. "matchcustomername",
  20289. "spotcontractid"
  20290. ],
  20291. "properties": {
  20292. "accountid": {
  20293. "description": "交易员ID",
  20294. "type": "string"
  20295. },
  20296. "applystatus": {
  20297. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20298. "type": "integer"
  20299. },
  20300. "curdeliveryqty": {
  20301. "description": "未交收量",
  20302. "type": "integer"
  20303. },
  20304. "customername": {
  20305. "description": "采购方ID",
  20306. "type": "string"
  20307. },
  20308. "deliverygoodsid": {
  20309. "description": "品种ID",
  20310. "type": "string"
  20311. },
  20312. "deliveryqty": {
  20313. "description": "交收量",
  20314. "type": "integer"
  20315. },
  20316. "enumdicname": {
  20317. "description": "单位名称",
  20318. "type": "string"
  20319. },
  20320. "matchaccountid": {
  20321. "description": "业务员ID",
  20322. "type": "string"
  20323. },
  20324. "matchcustomername": {
  20325. "description": "销售方ID",
  20326. "type": "string"
  20327. },
  20328. "pricedqty": {
  20329. "description": "定价量",
  20330. "type": "number"
  20331. },
  20332. "signdate": {
  20333. "description": "签订日期",
  20334. "type": "string"
  20335. },
  20336. "spotcontractid": {
  20337. "description": "合同ID",
  20338. "type": "string"
  20339. },
  20340. "totaldqty": {
  20341. "description": "合同量",
  20342. "type": "number"
  20343. },
  20344. "unpricedqty": {
  20345. "description": "未定价量",
  20346. "type": "number"
  20347. },
  20348. "wrstandardname": {
  20349. "description": "商品名称",
  20350. "type": "string"
  20351. }
  20352. }
  20353. },
  20354. "erms3.QryPendingBizRsp": {
  20355. "type": "object",
  20356. "properties": {
  20357. "accountid": {
  20358. "description": "现货账户",
  20359. "type": "string"
  20360. },
  20361. "areaname": {
  20362. "description": "所属部门",
  20363. "type": "string"
  20364. },
  20365. "bizid": {
  20366. "description": "业务ID",
  20367. "type": "string"
  20368. },
  20369. "bizname": {
  20370. "description": "业务名称",
  20371. "type": "string"
  20372. },
  20373. "status": {
  20374. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20375. "type": "integer"
  20376. },
  20377. "type": {
  20378. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20379. "type": "integer"
  20380. }
  20381. }
  20382. },
  20383. "erms3.QueryBusinessInfoRsp": {
  20384. "type": "object",
  20385. "properties": {
  20386. "businessid": {
  20387. "description": "业务ID.",
  20388. "type": "integer"
  20389. },
  20390. "buyamount": {
  20391. "description": "采购额.",
  20392. "type": "number"
  20393. },
  20394. "buyqty": {
  20395. "description": "采购量.",
  20396. "type": "string"
  20397. },
  20398. "futurepl": {
  20399. "description": "期货盈亏.",
  20400. "type": "number"
  20401. },
  20402. "futureqty": {
  20403. "description": "期货敞口.",
  20404. "type": "string"
  20405. },
  20406. "goodsid": {
  20407. "description": "商品名称/商品代码.",
  20408. "type": "string"
  20409. },
  20410. "hedgingqty": {
  20411. "description": "套保量.",
  20412. "type": "string"
  20413. },
  20414. "sellamount": {
  20415. "description": "销售额.",
  20416. "type": "number"
  20417. },
  20418. "sellqty": {
  20419. "description": "销售量.",
  20420. "type": "string"
  20421. },
  20422. "spotmarketvalue": {
  20423. "description": "现货市值.",
  20424. "type": "number"
  20425. },
  20426. "spotpl": {
  20427. "description": "浮动权益.",
  20428. "type": "number"
  20429. },
  20430. "spotqty": {
  20431. "description": "现货量.",
  20432. "type": "string"
  20433. },
  20434. "statu": {
  20435. "description": "状态,0-未结束 1-已结束.",
  20436. "type": "integer"
  20437. },
  20438. "totalpl": {
  20439. "description": "总盈亏.",
  20440. "type": "number"
  20441. },
  20442. "totalqty": {
  20443. "description": "总敞口.",
  20444. "type": "string"
  20445. },
  20446. "type": {
  20447. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20448. "type": "integer"
  20449. }
  20450. }
  20451. },
  20452. "erms3.QuerySpotContractAppleFormRsp": {
  20453. "type": "object",
  20454. "properties": {
  20455. "goodses": {
  20456. "description": "合约列表",
  20457. "type": "array",
  20458. "items": {
  20459. "$ref": "#/definitions/models.GoodsIDAndName"
  20460. }
  20461. },
  20462. "oppositeusers": {
  20463. "description": "对方账号列表",
  20464. "type": "array",
  20465. "items": {
  20466. "$ref": "#/definitions/erms3.CustomerInfo"
  20467. }
  20468. },
  20469. "ouruser": {
  20470. "description": "我方账号",
  20471. "$ref": "#/definitions/erms3.CustomerInfo"
  20472. },
  20473. "warehouseinfos": {
  20474. "description": "仓库信息列表",
  20475. "type": "array",
  20476. "items": {
  20477. "$ref": "#/definitions/models.Warehouseinfo"
  20478. }
  20479. },
  20480. "wrstandards": {
  20481. "description": "仓单标准列表",
  20482. "type": "array",
  20483. "items": {
  20484. "$ref": "#/definitions/models.WRStandardInfo"
  20485. }
  20486. }
  20487. }
  20488. },
  20489. "erms3.QuerySpotContractInfoRsp": {
  20490. "type": "object",
  20491. "properties": {
  20492. "accountid": {
  20493. "description": "表示交易员ID.",
  20494. "type": "integer"
  20495. },
  20496. "curdeliveryqty": {
  20497. "description": "表示未交收量.",
  20498. "type": "number"
  20499. },
  20500. "customername": {
  20501. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20502. "type": "string"
  20503. },
  20504. "deliverygoodsid": {
  20505. "description": "表示品种ID.",
  20506. "type": "string"
  20507. },
  20508. "deliveryqty": {
  20509. "description": "表示交收量.",
  20510. "type": "number"
  20511. },
  20512. "matchaccountid": {
  20513. "description": "表示业务员ID.",
  20514. "type": "integer"
  20515. },
  20516. "matchcustomername": {
  20517. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20518. "type": "string"
  20519. },
  20520. "priceqty": {
  20521. "description": "表示定价量.",
  20522. "type": "number"
  20523. },
  20524. "relatedbizid": {
  20525. "description": "表示业务ID.",
  20526. "type": "string"
  20527. },
  20528. "signdate": {
  20529. "description": "表示签订日期.",
  20530. "type": "string"
  20531. },
  20532. "spotcontractid": {
  20533. "description": "合同ID",
  20534. "type": "string"
  20535. },
  20536. "status": {
  20537. "description": "表示状态,0-履约中 1-已完成.",
  20538. "type": "integer"
  20539. },
  20540. "totalqty": {
  20541. "description": "表示合同量.",
  20542. "type": "number"
  20543. },
  20544. "unpricedqty": {
  20545. "description": "表示未定价量.",
  20546. "type": "number"
  20547. },
  20548. "wrstandardname": {
  20549. "description": "表示商品ID.",
  20550. "type": "string"
  20551. }
  20552. }
  20553. },
  20554. "erms3.QueryUserInfoAppliesRsp": {
  20555. "type": "object",
  20556. "required": [
  20557. "userid"
  20558. ],
  20559. "properties": {
  20560. "biznature": {
  20561. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20562. "type": "integer"
  20563. },
  20564. "contactname": {
  20565. "description": "联系人",
  20566. "type": "string"
  20567. },
  20568. "createtime": {
  20569. "description": "开户申请时间",
  20570. "type": "string"
  20571. },
  20572. "userid": {
  20573. "description": "用户ID(自增ID)",
  20574. "type": "integer"
  20575. },
  20576. "userinfotype": {
  20577. "description": "用户信息类型 - 1:个人 2:企业",
  20578. "type": "integer"
  20579. },
  20580. "username": {
  20581. "description": "用户姓名",
  20582. "type": "string"
  20583. },
  20584. "userstate": {
  20585. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20586. "type": "integer"
  20587. }
  20588. }
  20589. },
  20590. "erms3.QueryUserInfosRsp": {
  20591. "type": "object",
  20592. "required": [
  20593. "userid"
  20594. ],
  20595. "properties": {
  20596. "biznature": {
  20597. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20598. "type": "integer"
  20599. },
  20600. "contactname": {
  20601. "description": "联系人",
  20602. "type": "string"
  20603. },
  20604. "customername": {
  20605. "description": "客户名称(企业名称)",
  20606. "type": "string"
  20607. },
  20608. "userid": {
  20609. "description": "用户ID",
  20610. "type": "integer"
  20611. },
  20612. "userinfotype": {
  20613. "description": "用户信息类型 - 1:个人 2:企业",
  20614. "type": "integer"
  20615. },
  20616. "userstatus": {
  20617. "description": "用户状态 - 1:正常 2:注销",
  20618. "type": "integer"
  20619. }
  20620. }
  20621. },
  20622. "erms3.SoptContractDetail": {
  20623. "type": "object",
  20624. "required": [
  20625. "deliverygoodsid",
  20626. "producttype",
  20627. "unitname",
  20628. "warehouseid",
  20629. "wrstandardid",
  20630. "wrstandardname"
  20631. ],
  20632. "properties": {
  20633. "deliverygoodsdesc": {
  20634. "description": "现货品种说明",
  20635. "type": "string"
  20636. },
  20637. "deliverygoodsid": {
  20638. "description": "现货品种ID",
  20639. "type": "integer"
  20640. },
  20641. "deliverygoodsname": {
  20642. "description": "现货品种名称",
  20643. "type": "string"
  20644. },
  20645. "pointdesc": {
  20646. "description": "点价描述",
  20647. "type": "string"
  20648. },
  20649. "producttype": {
  20650. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20651. "type": "integer"
  20652. },
  20653. "producttypename": {
  20654. "description": "产品类型名称",
  20655. "type": "string"
  20656. },
  20657. "spotPointOrderVoList": {
  20658. "description": "点价列表",
  20659. "type": "array",
  20660. "items": {
  20661. "$ref": "#/definitions/erms3.SpotPointOrder"
  20662. }
  20663. },
  20664. "spotPriceOrderList": {
  20665. "description": "定价列表",
  20666. "type": "array",
  20667. "items": {
  20668. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20669. }
  20670. },
  20671. "unitname": {
  20672. "description": "单位名称",
  20673. "type": "string"
  20674. },
  20675. "warehouseid": {
  20676. "description": "仓库ID",
  20677. "type": "integer"
  20678. },
  20679. "warehousename": {
  20680. "description": "仓库名称",
  20681. "type": "string"
  20682. },
  20683. "wrstandardid": {
  20684. "description": "交易标的ID",
  20685. "type": "integer"
  20686. },
  20687. "wrstandardname": {
  20688. "description": "交易标的名称",
  20689. "type": "string"
  20690. }
  20691. }
  20692. },
  20693. "erms3.SpotPointOrder": {
  20694. "type": "object",
  20695. "required": [
  20696. "basic",
  20697. "goodsid",
  20698. "qty"
  20699. ],
  20700. "properties": {
  20701. "basic": {
  20702. "description": "基差",
  20703. "type": "number"
  20704. },
  20705. "deliveryenddate": {
  20706. "description": "交收结束日期",
  20707. "type": "string"
  20708. },
  20709. "deliverystartdate": {
  20710. "description": "交收开始日期",
  20711. "type": "string"
  20712. },
  20713. "enddate": {
  20714. "description": "点价结束日期",
  20715. "type": "string"
  20716. },
  20717. "goodsid": {
  20718. "description": "商品ID",
  20719. "type": "integer"
  20720. },
  20721. "goodsname": {
  20722. "description": "商品名称",
  20723. "type": "string"
  20724. },
  20725. "qty": {
  20726. "description": "数量",
  20727. "type": "number"
  20728. },
  20729. "startdate": {
  20730. "description": "点价开始日期",
  20731. "type": "string"
  20732. }
  20733. }
  20734. },
  20735. "erms3.SpotPriceOrder": {
  20736. "type": "object",
  20737. "required": [
  20738. "amount",
  20739. "price",
  20740. "qty"
  20741. ],
  20742. "properties": {
  20743. "amount": {
  20744. "description": "金额",
  20745. "type": "number"
  20746. },
  20747. "deliveryenddate": {
  20748. "description": "交收结束日期",
  20749. "type": "string"
  20750. },
  20751. "deliverystartdate": {
  20752. "description": "交收开始日期",
  20753. "type": "string"
  20754. },
  20755. "price": {
  20756. "description": "价格",
  20757. "type": "number"
  20758. },
  20759. "qty": {
  20760. "description": "数量",
  20761. "type": "number"
  20762. }
  20763. }
  20764. },
  20765. "hsby.GetHsbyMyCountRsp": {
  20766. "type": "object",
  20767. "properties": {
  20768. "myCouponCount": {
  20769. "description": "我的优惠卷数量",
  20770. "type": "integer"
  20771. },
  20772. "myOrderDetailListingCount": {
  20773. "description": "我的订单求购中数量",
  20774. "type": "integer"
  20775. },
  20776. "myOrderDetailPreCount": {
  20777. "description": "我的订单抢购中数量",
  20778. "type": "integer"
  20779. },
  20780. "myPackageUnReceiveCount": {
  20781. "description": "我的包裹待收货数量",
  20782. "type": "integer"
  20783. },
  20784. "myPackageUnSendCount": {
  20785. "description": "我的包裹待发货数量",
  20786. "type": "integer"
  20787. },
  20788. "myPayOrderCount": {
  20789. "description": "我的订单待付款数量",
  20790. "type": "integer"
  20791. }
  20792. }
  20793. },
  20794. "hsby.QueryProvincesAndCitiesRsp": {
  20795. "type": "object",
  20796. "properties": {
  20797. "cities": {
  20798. "description": "市",
  20799. "type": "array",
  20800. "items": {
  20801. "$ref": "#/definitions/models.Division"
  20802. }
  20803. },
  20804. "province": {
  20805. "description": "省",
  20806. "$ref": "#/definitions/models.Division"
  20807. }
  20808. }
  20809. },
  20810. "models.Arearole": {
  20811. "type": "object",
  20812. "required": [
  20813. "roletype",
  20814. "userid"
  20815. ],
  20816. "properties": {
  20817. "createtime": {
  20818. "description": "创建时间",
  20819. "type": "string"
  20820. },
  20821. "creatorid": {
  20822. "description": "创建人ID",
  20823. "type": "integer"
  20824. },
  20825. "fromuserid": {
  20826. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20827. "type": "integer"
  20828. },
  20829. "isreturnscore": {
  20830. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20831. "type": "integer"
  20832. },
  20833. "modifierid": {
  20834. "description": "修改人ID",
  20835. "type": "integer"
  20836. },
  20837. "modifytime": {
  20838. "description": "修改时间",
  20839. "type": "string"
  20840. },
  20841. "orgtype": {
  20842. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  20843. "type": "integer"
  20844. },
  20845. "outuserid": {
  20846. "description": "外部账户[场外期权做市商]",
  20847. "type": "string"
  20848. },
  20849. "parentuserid": {
  20850. "description": "上级组织机构(组织机构)",
  20851. "type": "integer"
  20852. },
  20853. "roletype": {
  20854. "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:门店",
  20855. "type": "integer"
  20856. },
  20857. "rootuserid": {
  20858. "description": "顶级组织机构用户ID(组织机构)",
  20859. "type": "integer"
  20860. },
  20861. "shoppassword": {
  20862. "description": "商城店铺登陆密码(商城店铺角色使用)",
  20863. "type": "string"
  20864. },
  20865. "sublevelpath": {
  20866. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  20867. "type": "string"
  20868. },
  20869. "suborgtype": {
  20870. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20871. "type": "integer"
  20872. },
  20873. "tradeaccountid": {
  20874. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  20875. "type": "integer"
  20876. },
  20877. "transurl": {
  20878. "description": "物流地址(物流机构)",
  20879. "type": "string"
  20880. },
  20881. "userid": {
  20882. "description": "机构用户ID其他做市关系,都设置为 1",
  20883. "type": "integer"
  20884. }
  20885. }
  20886. },
  20887. "models.Clientfixedadconfig": {
  20888. "type": "object",
  20889. "required": [
  20890. "adsort",
  20891. "adtype"
  20892. ],
  20893. "properties": {
  20894. "adsort": {
  20895. "description": "排序",
  20896. "type": "integer"
  20897. },
  20898. "adtype": {
  20899. "description": "广告位类型 - 1:新品抢购(HSBY)",
  20900. "type": "integer"
  20901. },
  20902. "areauserid": {
  20903. "description": "所属机构ID",
  20904. "type": "integer"
  20905. },
  20906. "createdate": {
  20907. "description": "创建时间",
  20908. "type": "string"
  20909. },
  20910. "creatorid": {
  20911. "description": "创建人",
  20912. "type": "integer"
  20913. },
  20914. "imagepath": {
  20915. "description": "图片",
  20916. "type": "string"
  20917. },
  20918. "isshow": {
  20919. "description": "是否展示 - 0:不展示 1:展示",
  20920. "type": "integer"
  20921. },
  20922. "modifierid": {
  20923. "description": "操作人",
  20924. "type": "integer"
  20925. },
  20926. "recsize": {
  20927. "description": "推荐尺寸",
  20928. "type": "string"
  20929. },
  20930. "title": {
  20931. "description": "标题",
  20932. "type": "string"
  20933. },
  20934. "updatedate": {
  20935. "description": "更新时间",
  20936. "type": "string"
  20937. },
  20938. "urlcontent": {
  20939. "description": "链接(地址或商品ID)",
  20940. "type": "string"
  20941. },
  20942. "urltype": {
  20943. "description": "链接类型 - 1:直接地址 2:商品ID",
  20944. "type": "integer"
  20945. }
  20946. }
  20947. },
  20948. "models.DgFactoryItem": {
  20949. "type": "object",
  20950. "properties": {
  20951. "dgfactoryitemid": {
  20952. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20953. "type": "integer"
  20954. },
  20955. "dgfactoryitemtypeid": {
  20956. "description": "要素项类型",
  20957. "type": "integer"
  20958. },
  20959. "dgfactoryitemvalue": {
  20960. "description": "要素项值(类型为仓库时填写仓库名称)",
  20961. "type": "string"
  20962. },
  20963. "orderindex": {
  20964. "description": "顺序",
  20965. "type": "integer"
  20966. }
  20967. }
  20968. },
  20969. "models.Division": {
  20970. "type": "object",
  20971. "required": [
  20972. "autoid",
  20973. "divisioncode"
  20974. ],
  20975. "properties": {
  20976. "autoid": {
  20977. "description": "自增ID",
  20978. "type": "integer"
  20979. },
  20980. "divisioncode": {
  20981. "description": "行政代码",
  20982. "type": "string"
  20983. },
  20984. "divisionlevel": {
  20985. "description": "行政级别",
  20986. "type": "string"
  20987. },
  20988. "divisionname": {
  20989. "description": "行政名称",
  20990. "type": "string"
  20991. },
  20992. "modifierid": {
  20993. "description": "修改人",
  20994. "type": "integer"
  20995. },
  20996. "modifytime": {
  20997. "description": "修改时间",
  20998. "type": "string"
  20999. },
  21000. "parentcode": {
  21001. "description": "上级行政代码",
  21002. "type": "string"
  21003. },
  21004. "pathname": {
  21005. "description": "路径名称",
  21006. "type": "string"
  21007. },
  21008. "postcode": {
  21009. "description": "邮政编码",
  21010. "type": "string"
  21011. },
  21012. "separablename": {
  21013. "description": "可拆分的全称",
  21014. "type": "string"
  21015. },
  21016. "shortcode": {
  21017. "description": "地区简码",
  21018. "type": "string"
  21019. }
  21020. }
  21021. },
  21022. "models.Enumdicitem": {
  21023. "type": "object",
  21024. "required": [
  21025. "autoid",
  21026. "enumdiccode",
  21027. "enumdicid",
  21028. "enumitemname"
  21029. ],
  21030. "properties": {
  21031. "autoid": {
  21032. "description": "自增ID",
  21033. "type": "integer"
  21034. },
  21035. "bankmappedvalue": {
  21036. "description": "银行服务对应值",
  21037. "type": "string"
  21038. },
  21039. "enumdiccode": {
  21040. "description": "所属枚举代码",
  21041. "type": "string"
  21042. },
  21043. "enumdicid": {
  21044. "description": "所属枚举ID",
  21045. "type": "integer"
  21046. },
  21047. "enumdicname": {
  21048. "description": "枚举项名称",
  21049. "type": "string"
  21050. },
  21051. "enumitemname": {
  21052. "description": "枚举项值",
  21053. "type": "integer"
  21054. },
  21055. "enumitemstatus": {
  21056. "description": "枚举项状态 - 1.启用 2.不启用",
  21057. "type": "integer"
  21058. },
  21059. "enumitemvalue": {
  21060. "description": "通用值 - [币种通用简写]",
  21061. "type": "string"
  21062. },
  21063. "param1": {
  21064. "description": "参数1[币种:币种小数位]",
  21065. "type": "string"
  21066. },
  21067. "param2": {
  21068. "description": "参数1[币种:币种显示单位]",
  21069. "type": "string"
  21070. },
  21071. "remark": {
  21072. "description": "备注",
  21073. "type": "string"
  21074. }
  21075. }
  21076. },
  21077. "models.Ermcp2AreaExposure": {
  21078. "type": "object",
  21079. "properties": {
  21080. "areauserid": {
  21081. "description": "所属机构",
  21082. "type": "integer"
  21083. },
  21084. "enumdicname": {
  21085. "description": "单位",
  21086. "type": "string"
  21087. },
  21088. "futureqty": {
  21089. "description": "期货套期量",
  21090. "type": "number"
  21091. },
  21092. "futureqtychange": {
  21093. "description": "期货变动量 = FutureQty - OriFutureQty",
  21094. "type": "number"
  21095. },
  21096. "goodsunitid": {
  21097. "description": "单位ID",
  21098. "type": "integer"
  21099. },
  21100. "hedgedspotexposure": {
  21101. "description": "被套期现货敞口量",
  21102. "type": "number"
  21103. },
  21104. "hedgedspratio": {
  21105. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21106. "type": "number"
  21107. },
  21108. "hedgedtotalexposourechange": {
  21109. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21110. "type": "number"
  21111. },
  21112. "hedgedtotalexposure": {
  21113. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21114. "type": "number"
  21115. },
  21116. "hedgeplanqty": {
  21117. "description": "套期计划量",
  21118. "type": "number"
  21119. },
  21120. "hedgeplanqtychange": {
  21121. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21122. "type": "number"
  21123. },
  21124. "hedgespotqty": {
  21125. "description": "被套期现货量",
  21126. "type": "number"
  21127. },
  21128. "middlegoodsid": {
  21129. "description": "套保品种",
  21130. "type": "integer"
  21131. },
  21132. "middlegoodsname": {
  21133. "description": "套保品种名称",
  21134. "type": "string"
  21135. },
  21136. "orifutureqty": {
  21137. "description": "期初期货套期量",
  21138. "type": "number"
  21139. },
  21140. "orihedgedspotexposure": {
  21141. "description": "期初被套期现货敞口量",
  21142. "type": "number"
  21143. },
  21144. "orihedgedtotalexposure": {
  21145. "description": "期初套期敞口量",
  21146. "type": "number"
  21147. },
  21148. "orihedgeplanqty": {
  21149. "description": "期初套期计划量",
  21150. "type": "number"
  21151. },
  21152. "orihedgespotqty": {
  21153. "description": "期初被套期现货量",
  21154. "type": "number"
  21155. },
  21156. "orispotexposure": {
  21157. "description": "期初现货敞口量",
  21158. "type": "number"
  21159. },
  21160. "orispotqty": {
  21161. "description": "期初现货总量",
  21162. "type": "number"
  21163. },
  21164. "oritotalexposure": {
  21165. "description": "期初总敞口量",
  21166. "type": "number"
  21167. },
  21168. "spotexposure": {
  21169. "description": "现货敞口量",
  21170. "type": "number"
  21171. },
  21172. "spotqty": {
  21173. "description": "现货总量",
  21174. "type": "number"
  21175. },
  21176. "spotqtychange": {
  21177. "description": "现货变动量 = SpotQty - OriSpotQty",
  21178. "type": "number"
  21179. },
  21180. "spratio": {
  21181. "description": "总期现比例 = 期货套期量/现货敞口量",
  21182. "type": "number"
  21183. },
  21184. "totalexposure": {
  21185. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21186. "type": "number"
  21187. },
  21188. "totalexposurechange": {
  21189. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21190. "type": "number"
  21191. },
  21192. "updatetime": {
  21193. "description": "更新时间 --DATE",
  21194. "type": "string"
  21195. }
  21196. }
  21197. },
  21198. "models.Ermcp2hedgeditem": {
  21199. "type": "object",
  21200. "properties": {
  21201. "accountname": {
  21202. "description": "套期主体",
  21203. "type": "string"
  21204. },
  21205. "applyid": {
  21206. "description": "申请人",
  21207. "type": "integer"
  21208. },
  21209. "applysrc": {
  21210. "description": "申请来源 - 1:管理端 2:终端",
  21211. "type": "integer"
  21212. },
  21213. "areauserid": {
  21214. "description": "企业ID",
  21215. "type": "integer"
  21216. },
  21217. "auditid": {
  21218. "description": "审核人",
  21219. "type": "integer"
  21220. },
  21221. "auditremark": {
  21222. "description": "审核备注",
  21223. "type": "string"
  21224. },
  21225. "auditsrc": {
  21226. "description": "审核来源 - 1:管理端 2:终端",
  21227. "type": "integer"
  21228. },
  21229. "audittime": {
  21230. "description": "审核时间",
  21231. "type": "string"
  21232. },
  21233. "audittradedate": {
  21234. "description": "审核交易日(yyyyMMdd)",
  21235. "type": "string"
  21236. },
  21237. "createtime": {
  21238. "description": "申请时间",
  21239. "type": "string"
  21240. },
  21241. "curprice": {
  21242. "description": "当前市场价",
  21243. "type": "number"
  21244. },
  21245. "curstock": {
  21246. "description": "期末库存量 = 采购总量 - 销售总量",
  21247. "type": "number"
  21248. },
  21249. "deliverygoodsid": {
  21250. "description": "现货品种ID",
  21251. "type": "integer"
  21252. },
  21253. "enddate": {
  21254. "description": "完成日期",
  21255. "type": "string"
  21256. },
  21257. "endtradedate": {
  21258. "description": "完成交易日",
  21259. "type": "string"
  21260. },
  21261. "enumdicname": {
  21262. "description": "单位",
  21263. "type": "string"
  21264. },
  21265. "exeamount": {
  21266. "description": "执行市价总额",
  21267. "type": "number"
  21268. },
  21269. "exeavgprice": {
  21270. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21271. "type": "number"
  21272. },
  21273. "execontractamount": {
  21274. "description": "执行定价总额",
  21275. "type": "number"
  21276. },
  21277. "exeqty": {
  21278. "description": "执行现货量",
  21279. "type": "number"
  21280. },
  21281. "exerestamount": {
  21282. "description": "执行剩余市价总额【现货贸易】",
  21283. "type": "number"
  21284. },
  21285. "futurefloatpl": {
  21286. "description": "期货浮动损益",
  21287. "type": "number"
  21288. },
  21289. "futurehedgepl": {
  21290. "description": "期货实际损益",
  21291. "type": "number"
  21292. },
  21293. "futurehedgeplchange": {
  21294. "description": "期货实际损益变动",
  21295. "type": "number"
  21296. },
  21297. "futurepl": {
  21298. "description": "期货套期损益",
  21299. "type": "number"
  21300. },
  21301. "futureplchange": {
  21302. "description": "期货套期损益变动",
  21303. "type": "number"
  21304. },
  21305. "hedgeamount": {
  21306. "description": "套期市价总额",
  21307. "type": "number"
  21308. },
  21309. "hedgecontractamount": {
  21310. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21311. "type": "number"
  21312. },
  21313. "hedgeditemid": {
  21314. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21315. "type": "string"
  21316. },
  21317. "hedgeditemname": {
  21318. "description": "项目名称",
  21319. "type": "string"
  21320. },
  21321. "hedgeditemnum": {
  21322. "description": "项目编号",
  21323. "type": "string"
  21324. },
  21325. "hedgeditemstatus": {
  21326. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21327. "type": "integer"
  21328. },
  21329. "hedgedtype": {
  21330. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21331. "type": "integer"
  21332. },
  21333. "hedgeqty": {
  21334. "description": "套期现货量",
  21335. "type": "number"
  21336. },
  21337. "hedgerate": {
  21338. "description": "套保比率",
  21339. "type": "number"
  21340. },
  21341. "hedgerestamount": {
  21342. "description": "套期剩余市价总额【现货贸易】",
  21343. "type": "number"
  21344. },
  21345. "hedgesumpl": {
  21346. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21347. "type": "number"
  21348. },
  21349. "middlegoodslist": {
  21350. "description": "套期商品列表",
  21351. "type": "array",
  21352. "items": {
  21353. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21354. }
  21355. },
  21356. "oriavgprice": {
  21357. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21358. "type": "number"
  21359. },
  21360. "orifuturehedgepl": {
  21361. "description": "期初期货实际损益",
  21362. "type": "number"
  21363. },
  21364. "orifuturepl": {
  21365. "description": "期初期货套期损益",
  21366. "type": "number"
  21367. },
  21368. "orispothedgepl": {
  21369. "description": "期初现货实际损益",
  21370. "type": "number"
  21371. },
  21372. "orispotpl": {
  21373. "description": "期初现货套期损益",
  21374. "type": "number"
  21375. },
  21376. "planenddate": {
  21377. "description": "计划结束日期",
  21378. "type": "string"
  21379. },
  21380. "planstartdate": {
  21381. "description": "计划开始日期",
  21382. "type": "string"
  21383. },
  21384. "remark": {
  21385. "description": "备注",
  21386. "type": "string"
  21387. },
  21388. "spotbookamount": {
  21389. "description": "现货账面总额",
  21390. "type": "number"
  21391. },
  21392. "spotfloatpl": {
  21393. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21394. "type": "number"
  21395. },
  21396. "spothedgepl": {
  21397. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21398. "type": "number"
  21399. },
  21400. "spothedgeplchange": {
  21401. "description": "现货实际损益变动",
  21402. "type": "number"
  21403. },
  21404. "spotpl": {
  21405. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21406. "type": "number"
  21407. },
  21408. "spotplchange": {
  21409. "description": "现货套期损益变动",
  21410. "type": "number"
  21411. },
  21412. "spottradepl": {
  21413. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21414. "type": "number"
  21415. },
  21416. "sumobspl": {
  21417. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21418. "type": "number"
  21419. },
  21420. "tradeuserid": {
  21421. "description": "交易用户ID",
  21422. "type": "integer"
  21423. },
  21424. "unexeqty": {
  21425. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21426. "type": "number"
  21427. },
  21428. "updatetime": {
  21429. "description": "更新时间",
  21430. "type": "string"
  21431. },
  21432. "vatpl": {
  21433. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21434. "type": "number"
  21435. },
  21436. "vatrate": {
  21437. "description": "增值税",
  21438. "type": "number"
  21439. },
  21440. "wrstandardid": {
  21441. "description": "现货商品ID",
  21442. "type": "integer"
  21443. },
  21444. "wrstandardname": {
  21445. "description": "商品名称",
  21446. "type": "string"
  21447. }
  21448. }
  21449. },
  21450. "models.Ermcp2hedgeditemlink": {
  21451. "type": "object",
  21452. "required": [
  21453. "relatedspotcontractid"
  21454. ],
  21455. "properties": {
  21456. "areauserid": {
  21457. "description": "企业ID",
  21458. "type": "integer"
  21459. },
  21460. "createtime": {
  21461. "description": "[关联时间]创建时间",
  21462. "type": "string"
  21463. },
  21464. "customeruserid": {
  21465. "description": "对手方 【3:采购合同 4:销售合同】",
  21466. "type": "integer"
  21467. },
  21468. "deliverygoodsid": {
  21469. "description": "现货品种ID",
  21470. "type": "integer"
  21471. },
  21472. "enumdicname": {
  21473. "description": "单位",
  21474. "type": "string"
  21475. },
  21476. "hedgeditemid": {
  21477. "description": "被套期项目ID",
  21478. "type": "integer"
  21479. },
  21480. "hedgeditemlinkid": {
  21481. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  21482. "type": "integer"
  21483. },
  21484. "hedgeditemnum": {
  21485. "description": "项目编号",
  21486. "type": "string"
  21487. },
  21488. "hedgedtype": {
  21489. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21490. "type": "integer"
  21491. },
  21492. "relatedamount": {
  21493. "description": "市价总额 = 关联数量 * 期初市场价",
  21494. "type": "number"
  21495. },
  21496. "relatedhedgeplanid": {
  21497. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21498. "type": "integer"
  21499. },
  21500. "relatedqty": {
  21501. "description": "关联数量",
  21502. "type": "number"
  21503. },
  21504. "relatedspotcontractid": {
  21505. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21506. "type": "integer"
  21507. },
  21508. "relatedtype": {
  21509. "description": "关联类型 - 1:套期关联 2:执行关联",
  21510. "type": "integer"
  21511. },
  21512. "spotgoodsbrandid": {
  21513. "description": "现货品牌ID",
  21514. "type": "integer"
  21515. },
  21516. "spotpricedamount": {
  21517. "description": "[关联定价总额]定价总额",
  21518. "type": "number"
  21519. },
  21520. "spotpricedavgprice": {
  21521. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  21522. "type": "number"
  21523. },
  21524. "spottype": {
  21525. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21526. "type": "integer"
  21527. },
  21528. "tradeuserid": {
  21529. "description": "交易用户ID",
  21530. "type": "integer"
  21531. },
  21532. "unexeqty": {
  21533. "description": "未执行现货量【项目关联时值】",
  21534. "type": "number"
  21535. },
  21536. "wrstandardid": {
  21537. "description": "现货商品ID",
  21538. "type": "integer"
  21539. },
  21540. "wrstandardname": {
  21541. "description": "现货商品",
  21542. "type": "string"
  21543. }
  21544. }
  21545. },
  21546. "models.Ermcp2hedgeditemsDetail": {
  21547. "type": "object",
  21548. "properties": {
  21549. "accountname": {
  21550. "description": "套期主体",
  21551. "type": "string"
  21552. },
  21553. "areauserid": {
  21554. "description": "企业ID",
  21555. "type": "integer"
  21556. },
  21557. "createtime": {
  21558. "description": "[日期时间]创建时间",
  21559. "type": "string"
  21560. },
  21561. "customeruserid": {
  21562. "description": "对手方 【3:采购合同 4:销售合同】",
  21563. "type": "integer"
  21564. },
  21565. "deliverygoodsid": {
  21566. "description": "现货品种ID",
  21567. "type": "integer"
  21568. },
  21569. "enumdicname": {
  21570. "description": "单位",
  21571. "type": "string"
  21572. },
  21573. "hedgeditemid": {
  21574. "description": "被套期项目ID",
  21575. "type": "string"
  21576. },
  21577. "hedgeditemspotid": {
  21578. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21579. "type": "string"
  21580. },
  21581. "hedgedtype": {
  21582. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21583. "type": "integer"
  21584. },
  21585. "hedgeplanno": {
  21586. "description": "计划编号",
  21587. "type": "string"
  21588. },
  21589. "middlegoodschange": {
  21590. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21591. "type": "number"
  21592. },
  21593. "oriavgprice": {
  21594. "description": "期初市场价[当初市场价]",
  21595. "type": "number"
  21596. },
  21597. "relatedamount": {
  21598. "description": "市价总额 = 关联数量 * 期初市场价",
  21599. "type": "number"
  21600. },
  21601. "relatedhedgeplanid": {
  21602. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21603. "type": "integer"
  21604. },
  21605. "relatedqty": {
  21606. "description": "[期间变化量]关联数量",
  21607. "type": "number"
  21608. },
  21609. "relatedspotcontractid": {
  21610. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21611. "type": "integer"
  21612. },
  21613. "relatedtype": {
  21614. "description": "关联类型 - 1:套期关联 2:执行关联",
  21615. "type": "integer"
  21616. },
  21617. "spotgoodsbrandid": {
  21618. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21619. "type": "integer"
  21620. },
  21621. "spotpricedamount": {
  21622. "description": "定价总额",
  21623. "type": "number"
  21624. },
  21625. "spotpricedavgprice": {
  21626. "description": "现货均价 = 定价总额 / 关联数量",
  21627. "type": "number"
  21628. },
  21629. "spottype": {
  21630. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21631. "type": "integer"
  21632. },
  21633. "tradeuserid": {
  21634. "description": "交易用户ID",
  21635. "type": "integer"
  21636. },
  21637. "unexeqty": {
  21638. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21639. "type": "number"
  21640. },
  21641. "wrstandardid": {
  21642. "description": "现货商品ID",
  21643. "type": "integer"
  21644. },
  21645. "wrstandardname": {
  21646. "description": "现货商品",
  21647. "type": "string"
  21648. }
  21649. }
  21650. },
  21651. "models.Ermcp2hedgeditemspot": {
  21652. "type": "object",
  21653. "required": [
  21654. "hedgeditemid"
  21655. ],
  21656. "properties": {
  21657. "areauserid": {
  21658. "description": "企业ID",
  21659. "type": "integer"
  21660. },
  21661. "createtime": {
  21662. "description": "创建时间",
  21663. "type": "string"
  21664. },
  21665. "customeruserid": {
  21666. "description": "对手方 【3:采购合同 4:销售合同】",
  21667. "type": "integer"
  21668. },
  21669. "deliverygoodsid": {
  21670. "description": "现货品种ID",
  21671. "type": "integer"
  21672. },
  21673. "enumdicname": {
  21674. "description": "单位",
  21675. "type": "string"
  21676. },
  21677. "hedgeditemid": {
  21678. "description": "被套期项目ID",
  21679. "type": "string"
  21680. },
  21681. "hedgeditemspotid": {
  21682. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21683. "type": "string"
  21684. },
  21685. "hedgedtype": {
  21686. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21687. "type": "integer"
  21688. },
  21689. "hedgeplanno": {
  21690. "description": "计划编号",
  21691. "type": "string"
  21692. },
  21693. "oriavgprice": {
  21694. "description": "期初市场价[当初市场价]",
  21695. "type": "number"
  21696. },
  21697. "relatedamount": {
  21698. "description": "市价总额 = 关联数量 * 期初市场价",
  21699. "type": "number"
  21700. },
  21701. "relatedhedgeplanid": {
  21702. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21703. "type": "integer"
  21704. },
  21705. "relatedqty": {
  21706. "description": "关联数量[数量]",
  21707. "type": "number"
  21708. },
  21709. "relatedspotcontractid": {
  21710. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21711. "type": "integer"
  21712. },
  21713. "relatedtype": {
  21714. "description": "关联类型 - 1:套期关联 2:执行关联",
  21715. "type": "integer"
  21716. },
  21717. "spotgoodsbrandid": {
  21718. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21719. "type": "integer"
  21720. },
  21721. "spotpricedamount": {
  21722. "description": "定价总额",
  21723. "type": "number"
  21724. },
  21725. "spotpricedavgprice": {
  21726. "description": "现货均价 = 定价总额 / 关联数量",
  21727. "type": "number"
  21728. },
  21729. "spottype": {
  21730. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21731. "type": "integer"
  21732. },
  21733. "tradeuserid": {
  21734. "description": "交易用户ID",
  21735. "type": "integer"
  21736. },
  21737. "wrstandardid": {
  21738. "description": "现货商品ID",
  21739. "type": "integer"
  21740. },
  21741. "wrstandardname": {
  21742. "description": "现货商品",
  21743. "type": "string"
  21744. }
  21745. }
  21746. },
  21747. "models.Ermcp2hedgeditemspotDetail": {
  21748. "type": "object",
  21749. "required": [
  21750. "hedgeditemid"
  21751. ],
  21752. "properties": {
  21753. "accountname": {
  21754. "description": "对手方",
  21755. "type": "string"
  21756. },
  21757. "areauserid": {
  21758. "description": "企业ID",
  21759. "type": "integer"
  21760. },
  21761. "brandname": {
  21762. "description": "品牌",
  21763. "type": "string"
  21764. },
  21765. "contractno": {
  21766. "description": "合同编号",
  21767. "type": "string"
  21768. },
  21769. "createtime": {
  21770. "description": "创建时间",
  21771. "type": "string"
  21772. },
  21773. "customeruserid": {
  21774. "description": "对手方 【3:采购合同 4:销售合同】",
  21775. "type": "integer"
  21776. },
  21777. "deliverygoodsid": {
  21778. "description": "现货品种ID",
  21779. "type": "integer"
  21780. },
  21781. "enumdicname": {
  21782. "description": "单位",
  21783. "type": "string"
  21784. },
  21785. "hedgeditemid": {
  21786. "description": "被套期项目ID",
  21787. "type": "string"
  21788. },
  21789. "hedgeditemspotid": {
  21790. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21791. "type": "string"
  21792. },
  21793. "hedgedtype": {
  21794. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21795. "type": "integer"
  21796. },
  21797. "oriavgprice": {
  21798. "description": "期初市场价[当初市场价]",
  21799. "type": "number"
  21800. },
  21801. "relatedamount": {
  21802. "description": "市价总额 = 关联数量 * 期初市场价",
  21803. "type": "number"
  21804. },
  21805. "relatedhedgeplanid": {
  21806. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21807. "type": "integer"
  21808. },
  21809. "relatedqty": {
  21810. "description": "关联数量[数量]",
  21811. "type": "number"
  21812. },
  21813. "relatedspotcontractid": {
  21814. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21815. "type": "integer"
  21816. },
  21817. "relatedtype": {
  21818. "description": "关联类型 - 1:套期关联 2:执行关联",
  21819. "type": "integer"
  21820. },
  21821. "spotgoodsbrandid": {
  21822. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21823. "type": "integer"
  21824. },
  21825. "spotpricedamount": {
  21826. "description": "定价总额[金额]",
  21827. "type": "number"
  21828. },
  21829. "spotpricedavgprice": {
  21830. "description": "现货均价 = 定价总额 / 关联数量",
  21831. "type": "number"
  21832. },
  21833. "spottype": {
  21834. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21835. "type": "integer"
  21836. },
  21837. "tradeuserid": {
  21838. "description": "交易用户ID",
  21839. "type": "integer"
  21840. },
  21841. "wrstandardid": {
  21842. "description": "现货商品ID",
  21843. "type": "integer"
  21844. },
  21845. "wrstandardname": {
  21846. "description": "现货商品",
  21847. "type": "string"
  21848. }
  21849. }
  21850. },
  21851. "models.Ermcp2himiddlegoods": {
  21852. "type": "object",
  21853. "required": [
  21854. "hedgeditemid",
  21855. "middlegoodsid"
  21856. ],
  21857. "properties": {
  21858. "futurehedgeqty": {
  21859. "description": "期货持仓套期量",
  21860. "type": "number"
  21861. },
  21862. "hedgeditemid": {
  21863. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21864. "type": "integer"
  21865. },
  21866. "hiexpsoure": {
  21867. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  21868. "type": "number"
  21869. },
  21870. "middlegoodscode": {
  21871. "description": "套保商品代码",
  21872. "type": "string"
  21873. },
  21874. "middlegoodsid": {
  21875. "description": "套保品种ID",
  21876. "type": "integer"
  21877. },
  21878. "middlegoodsname": {
  21879. "description": "套保商品名称",
  21880. "type": "string"
  21881. },
  21882. "unexehedgeqty": {
  21883. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  21884. "type": "number"
  21885. }
  21886. }
  21887. },
  21888. "models.Ermcp2stockspotchangelog": {
  21889. "type": "object",
  21890. "properties": {
  21891. "accountname": {
  21892. "description": "套期主体",
  21893. "type": "string"
  21894. },
  21895. "aftervalue": {
  21896. "description": "现货量",
  21897. "type": "number"
  21898. },
  21899. "beforevalue": {
  21900. "description": "变更前现货量",
  21901. "type": "number"
  21902. },
  21903. "contractno": {
  21904. "description": "[编号]现货合同编号",
  21905. "type": "string"
  21906. },
  21907. "contracttype": {
  21908. "description": "现货合同类型 - 1:采购 -1:销售",
  21909. "type": "integer"
  21910. },
  21911. "createtime": {
  21912. "description": "创建时间",
  21913. "type": "string"
  21914. },
  21915. "customerusername": {
  21916. "description": "对手方",
  21917. "type": "string"
  21918. },
  21919. "deliverygoodsid": {
  21920. "description": "现货品种ID",
  21921. "type": "integer"
  21922. },
  21923. "exetype": {
  21924. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  21925. "type": "integer"
  21926. },
  21927. "logid": {
  21928. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  21929. "type": "string"
  21930. },
  21931. "logvalue": {
  21932. "description": "[期间变化量]现货量变更值",
  21933. "type": "number"
  21934. },
  21935. "middlegoodschange": {
  21936. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  21937. "type": "number"
  21938. },
  21939. "operatelogtype": {
  21940. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  21941. "type": "integer"
  21942. },
  21943. "relatedid": {
  21944. "description": "现货合同ID",
  21945. "type": "integer"
  21946. },
  21947. "spotgoodsbrandid": {
  21948. "description": "现货品牌ID",
  21949. "type": "integer"
  21950. },
  21951. "tradedate": {
  21952. "description": "交易日(yyyyMMdd)",
  21953. "type": "string"
  21954. },
  21955. "userid": {
  21956. "description": "机构ID",
  21957. "type": "integer"
  21958. },
  21959. "warehouseinfoid": {
  21960. "description": "仓库ID",
  21961. "type": "integer"
  21962. },
  21963. "wrfactortypeid": {
  21964. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21965. "type": "integer"
  21966. },
  21967. "wrstandardid": {
  21968. "description": "现货商品ID",
  21969. "type": "integer"
  21970. },
  21971. "wrstandardname": {
  21972. "description": "商品名称",
  21973. "type": "string"
  21974. }
  21975. }
  21976. },
  21977. "models.Ermcp3AreaSpot": {
  21978. "type": "object",
  21979. "properties": {
  21980. "areauserid": {
  21981. "description": "所属机构",
  21982. "type": "integer"
  21983. },
  21984. "convertratio": {
  21985. "description": "套保系数",
  21986. "type": "number"
  21987. },
  21988. "decreaseqty": {
  21989. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  21990. "type": "number"
  21991. },
  21992. "enumdicname": {
  21993. "description": "单位名称",
  21994. "type": "string"
  21995. },
  21996. "increaseqty": {
  21997. "description": "增加数量=销售计划数量+采购已定价数量",
  21998. "type": "number"
  21999. },
  22000. "oritoalspotqty": {
  22001. "description": "昨日数量",
  22002. "type": "number"
  22003. },
  22004. "totalspotqty": {
  22005. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22006. "type": "number"
  22007. },
  22008. "unitid": {
  22009. "description": "现货商品单位id",
  22010. "type": "integer"
  22011. },
  22012. "updatetime": {
  22013. "description": "更新时间",
  22014. "type": "string"
  22015. },
  22016. "wrstandardcode": {
  22017. "description": "现货商品代码",
  22018. "type": "string"
  22019. },
  22020. "wrstandardid": {
  22021. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22022. "type": "integer"
  22023. },
  22024. "wrstandardname": {
  22025. "description": "现货商品名称",
  22026. "type": "string"
  22027. }
  22028. }
  22029. },
  22030. "models.Ermcp3AreaSpotDetail": {
  22031. "type": "object",
  22032. "properties": {
  22033. "contracttype": {
  22034. "description": "合同类型 1-采购 -1-销售",
  22035. "type": "integer"
  22036. },
  22037. "createtime": {
  22038. "description": "创建时间",
  22039. "type": "string"
  22040. },
  22041. "enumdicname": {
  22042. "description": "现货商品单位名称",
  22043. "type": "string"
  22044. },
  22045. "logtype": {
  22046. "description": "记录类型 1-套保 2-现货合同",
  22047. "type": "integer"
  22048. },
  22049. "qty": {
  22050. "description": "数量",
  22051. "type": "number"
  22052. },
  22053. "recordname": {
  22054. "description": "类型名称",
  22055. "type": "string"
  22056. },
  22057. "relatedid": {
  22058. "description": "套保计划ID/现货合同ID",
  22059. "type": "string"
  22060. },
  22061. "relatedno": {
  22062. "description": "编号",
  22063. "type": "string"
  22064. },
  22065. "strtime": {
  22066. "description": "时间",
  22067. "type": "string"
  22068. },
  22069. "wrstandardcode": {
  22070. "description": "现货商品代码",
  22071. "type": "string"
  22072. },
  22073. "wrstandardid": {
  22074. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22075. "type": "integer"
  22076. },
  22077. "wrstandardname": {
  22078. "description": "现货商品名称",
  22079. "type": "string"
  22080. }
  22081. }
  22082. },
  22083. "models.Ermcp3AreaSpotPLReport": {
  22084. "type": "object",
  22085. "properties": {
  22086. "accountid": {
  22087. "description": "期货账户ID (作废, 默认为0)",
  22088. "type": "integer"
  22089. },
  22090. "accountname": {
  22091. "description": "机构名称",
  22092. "type": "string"
  22093. },
  22094. "actualpl": {
  22095. "description": "现货损益",
  22096. "type": "number"
  22097. },
  22098. "areauserid": {
  22099. "description": "所属机构\\交易用户ID",
  22100. "type": "integer"
  22101. },
  22102. "begindate": {
  22103. "description": "开始交易日",
  22104. "type": "string"
  22105. },
  22106. "biztype": {
  22107. "description": "业务类型 - 1:套保 2:套利",
  22108. "type": "integer"
  22109. },
  22110. "brandname": {
  22111. "description": "品牌名称",
  22112. "type": "string"
  22113. },
  22114. "curamount": {
  22115. "description": "期末额",
  22116. "type": "number"
  22117. },
  22118. "curaverageprice": {
  22119. "description": "期末均价",
  22120. "type": "number"
  22121. },
  22122. "curbuyamount": {
  22123. "description": "期末采购总额",
  22124. "type": "number"
  22125. },
  22126. "curbuyqty": {
  22127. "description": "期末采购总量",
  22128. "type": "number"
  22129. },
  22130. "curmarketvalue": {
  22131. "description": "参考市值(期末市值)",
  22132. "type": "number"
  22133. },
  22134. "curqty": {
  22135. "description": "期末量",
  22136. "type": "number"
  22137. },
  22138. "currencyid": {
  22139. "description": "结算币种ID【原值】",
  22140. "type": "integer"
  22141. },
  22142. "currencyname": {
  22143. "description": "币种名称",
  22144. "type": "string"
  22145. },
  22146. "cursellamount": {
  22147. "description": "期末销售总额",
  22148. "type": "number"
  22149. },
  22150. "cursellqty": {
  22151. "description": "期末销售总量",
  22152. "type": "number"
  22153. },
  22154. "curspotprice": {
  22155. "description": "参考市价(最新价)",
  22156. "type": "number"
  22157. },
  22158. "cycletime": {
  22159. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22160. "type": "string"
  22161. },
  22162. "cycletype": {
  22163. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22164. "type": "integer"
  22165. },
  22166. "deliverygoodscode": {
  22167. "description": "现货品种代码",
  22168. "type": "string"
  22169. },
  22170. "deliverygoodsid": {
  22171. "description": "现货品种ID",
  22172. "type": "integer"
  22173. },
  22174. "deliverygoodsname": {
  22175. "description": "现货品种名称",
  22176. "type": "string"
  22177. },
  22178. "enddate": {
  22179. "description": "结束交易日",
  22180. "type": "string"
  22181. },
  22182. "enumdicname": {
  22183. "description": "现货品种单位名称(作废)",
  22184. "type": "string"
  22185. },
  22186. "floatpl": {
  22187. "description": "浮动损益",
  22188. "type": "number"
  22189. },
  22190. "goodsunitid": {
  22191. "description": "现货品种单位id(作废)",
  22192. "type": "integer"
  22193. },
  22194. "oriamount": {
  22195. "description": "期初额",
  22196. "type": "number"
  22197. },
  22198. "oriaverageprice": {
  22199. "description": "期初均价",
  22200. "type": "number"
  22201. },
  22202. "oribuyamount": {
  22203. "description": "期初采购总额",
  22204. "type": "number"
  22205. },
  22206. "oribuyqty": {
  22207. "description": "期初采购总量",
  22208. "type": "number"
  22209. },
  22210. "oriqty": {
  22211. "description": "期初量",
  22212. "type": "number"
  22213. },
  22214. "orisellamount": {
  22215. "description": "期初销售总额",
  22216. "type": "number"
  22217. },
  22218. "orisellqty": {
  22219. "description": "期初销售总量",
  22220. "type": "number"
  22221. },
  22222. "reckondate": {
  22223. "description": "日照时期(yyyyMMdd)",
  22224. "type": "string"
  22225. },
  22226. "spotgoodsbrandid": {
  22227. "description": "现货品牌ID",
  22228. "type": "integer"
  22229. },
  22230. "todaybuyamount": {
  22231. "description": "今日采购额(今采购额)",
  22232. "type": "number"
  22233. },
  22234. "todaybuyaverageprice": {
  22235. "description": "今日采购均价",
  22236. "type": "number"
  22237. },
  22238. "todaybuyqty": {
  22239. "description": "今日采购量(今采购量)",
  22240. "type": "number"
  22241. },
  22242. "todayinqty": {
  22243. "description": "今日入库量(今入库量)",
  22244. "type": "number"
  22245. },
  22246. "todayoutqty": {
  22247. "description": "今日出库量(今出库量)",
  22248. "type": "number"
  22249. },
  22250. "todaysellamount": {
  22251. "description": "今日销售额(今销售额)",
  22252. "type": "number"
  22253. },
  22254. "todaysellaverageprice": {
  22255. "description": "今日销售均价",
  22256. "type": "number"
  22257. },
  22258. "todaysellqty": {
  22259. "description": "今日销售量(今销售量)",
  22260. "type": "number"
  22261. },
  22262. "unitid": {
  22263. "description": "品类单位id",
  22264. "type": "integer"
  22265. },
  22266. "unitidname": {
  22267. "description": "品类单位名称",
  22268. "type": "string"
  22269. },
  22270. "updatetime": {
  22271. "description": "更新时间",
  22272. "type": "string"
  22273. },
  22274. "wrfactortypeid": {
  22275. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22276. "type": "integer"
  22277. },
  22278. "wrstandardcode": {
  22279. "description": "现货商品(品类)代码",
  22280. "type": "string"
  22281. },
  22282. "wrstandardid": {
  22283. "description": "现货品类ID",
  22284. "type": "integer"
  22285. },
  22286. "wrstandardname": {
  22287. "description": "现货商品(品类)名称",
  22288. "type": "string"
  22289. }
  22290. }
  22291. },
  22292. "models.Ermcp3AreaStock": {
  22293. "type": "object",
  22294. "required": [
  22295. "userid"
  22296. ],
  22297. "properties": {
  22298. "brandname": {
  22299. "description": "品牌名称",
  22300. "type": "string"
  22301. },
  22302. "curstock": {
  22303. "description": "期末库存量(今日量)",
  22304. "type": "number"
  22305. },
  22306. "deliverygoodscode": {
  22307. "description": "现货品种代码",
  22308. "type": "string"
  22309. },
  22310. "deliverygoodsid": {
  22311. "description": "现货品种id",
  22312. "type": "integer"
  22313. },
  22314. "deliverygoodsname": {
  22315. "description": "现货品种名称",
  22316. "type": "string"
  22317. },
  22318. "enumdicname": {
  22319. "description": "单位名称",
  22320. "type": "string"
  22321. },
  22322. "goodsunitid": {
  22323. "description": "现货商品单位id",
  22324. "type": "integer"
  22325. },
  22326. "oristock": {
  22327. "description": "期初库存量(昨日量)",
  22328. "type": "number"
  22329. },
  22330. "spotgoodsbrandid": {
  22331. "description": "现货品牌ID",
  22332. "type": "integer"
  22333. },
  22334. "todaybuyinqty": {
  22335. "description": "今日采购入库量",
  22336. "type": "number"
  22337. },
  22338. "todayproduceinqty": {
  22339. "description": "今日生产入库量",
  22340. "type": "number"
  22341. },
  22342. "todayproduceoutqty": {
  22343. "description": "今日生产出库量",
  22344. "type": "number"
  22345. },
  22346. "todayselloutqty": {
  22347. "description": "今日销售出库量",
  22348. "type": "number"
  22349. },
  22350. "unitid": {
  22351. "description": "单位id",
  22352. "type": "integer"
  22353. },
  22354. "updatetime": {
  22355. "description": "更新时间",
  22356. "type": "string"
  22357. },
  22358. "userid": {
  22359. "description": "机构ID",
  22360. "type": "integer"
  22361. },
  22362. "username": {
  22363. "description": "机构名称",
  22364. "type": "string"
  22365. },
  22366. "warehousecode": {
  22367. "description": "仓库代码",
  22368. "type": "string"
  22369. },
  22370. "warehouseinfoid": {
  22371. "description": "仓库ID",
  22372. "type": "string"
  22373. },
  22374. "warehousename": {
  22375. "description": "仓库名称",
  22376. "type": "string"
  22377. },
  22378. "warehousetype": {
  22379. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22380. "type": "integer"
  22381. },
  22382. "wrstandardcode": {
  22383. "description": "品类代码",
  22384. "type": "string"
  22385. },
  22386. "wrstandardid": {
  22387. "description": "品类ID",
  22388. "type": "string"
  22389. },
  22390. "wrstandardname": {
  22391. "description": "品类名称",
  22392. "type": "string"
  22393. }
  22394. }
  22395. },
  22396. "models.Ermcp3AreaStockApply": {
  22397. "type": "object",
  22398. "properties": {
  22399. "applyid": {
  22400. "description": "申请人",
  22401. "type": "integer"
  22402. },
  22403. "applyname": {
  22404. "description": "申请人名称",
  22405. "type": "string"
  22406. },
  22407. "applyremark": {
  22408. "description": "申请备注",
  22409. "type": "string"
  22410. },
  22411. "applysrc": {
  22412. "description": "申请来源 - 1:管理端 2:终端",
  22413. "type": "integer"
  22414. },
  22415. "applystatus": {
  22416. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22417. "type": "integer"
  22418. },
  22419. "applytime": {
  22420. "description": "申请时间",
  22421. "type": "string"
  22422. },
  22423. "auditid": {
  22424. "description": "审核人",
  22425. "type": "integer"
  22426. },
  22427. "auditname": {
  22428. "description": "审核人名称",
  22429. "type": "string"
  22430. },
  22431. "auditremark": {
  22432. "description": "审核备注",
  22433. "type": "string"
  22434. },
  22435. "auditsrc": {
  22436. "description": "审核来源 - 1:管理端 2:终端",
  22437. "type": "integer"
  22438. },
  22439. "audittime": {
  22440. "description": "审核时间",
  22441. "type": "string"
  22442. },
  22443. "audittradedate": {
  22444. "description": "审核交易日(yyyyMMdd)",
  22445. "type": "string"
  22446. },
  22447. "brandname": {
  22448. "description": "品牌名称",
  22449. "type": "string"
  22450. },
  22451. "buynickname": {
  22452. "description": "采购方昵称",
  22453. "type": "string"
  22454. },
  22455. "buyuserid": {
  22456. "description": "采购方userid",
  22457. "type": "integer"
  22458. },
  22459. "buyusername": {
  22460. "description": "采购方名称",
  22461. "type": "string"
  22462. },
  22463. "contractno": {
  22464. "description": "合同编号",
  22465. "type": "string"
  22466. },
  22467. "contractqty": {
  22468. "description": "合同量",
  22469. "type": "number"
  22470. },
  22471. "contracttype": {
  22472. "description": "现货合同类型 - 1:采购 -1:销售",
  22473. "type": "integer"
  22474. },
  22475. "deliverygoodscode": {
  22476. "description": "现货品种代码",
  22477. "type": "string"
  22478. },
  22479. "deliverygoodsid": {
  22480. "description": "现货品种id",
  22481. "type": "integer"
  22482. },
  22483. "deliverygoodsname": {
  22484. "description": "现货品种名称",
  22485. "type": "string"
  22486. },
  22487. "detailjson": {
  22488. "description": "明细数据",
  22489. "type": "string"
  22490. },
  22491. "enumdicname": {
  22492. "description": "现货商品单位名称",
  22493. "type": "string"
  22494. },
  22495. "inoutapplyid": {
  22496. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22497. "type": "string"
  22498. },
  22499. "inouttype": {
  22500. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22501. "type": "integer"
  22502. },
  22503. "pricetype": {
  22504. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22505. "type": "integer"
  22506. },
  22507. "qty": {
  22508. "description": "数量",
  22509. "type": "number"
  22510. },
  22511. "sellnickname": {
  22512. "description": "销售方昵称",
  22513. "type": "string"
  22514. },
  22515. "selluserid": {
  22516. "description": "销售方userid",
  22517. "type": "integer"
  22518. },
  22519. "sellusername": {
  22520. "description": "销售方名称",
  22521. "type": "string"
  22522. },
  22523. "spotcontractid": {
  22524. "description": "关联现货合同ID",
  22525. "type": "string"
  22526. },
  22527. "spotgoodsbrandid": {
  22528. "description": "现货品牌ID",
  22529. "type": "integer"
  22530. },
  22531. "unitid": {
  22532. "description": "单位id",
  22533. "type": "integer"
  22534. },
  22535. "userid": {
  22536. "description": "机构ID",
  22537. "type": "integer"
  22538. },
  22539. "warehousecode": {
  22540. "description": "仓库代码",
  22541. "type": "string"
  22542. },
  22543. "warehouseinfoid": {
  22544. "description": "现货仓库ID",
  22545. "type": "string"
  22546. },
  22547. "warehousename": {
  22548. "description": "仓库名称",
  22549. "type": "string"
  22550. },
  22551. "warehousetype": {
  22552. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22553. "type": "integer"
  22554. },
  22555. "wrstandardcode": {
  22556. "description": "品类代码",
  22557. "type": "string"
  22558. },
  22559. "wrstandardid": {
  22560. "description": "品类ID",
  22561. "type": "integer"
  22562. },
  22563. "wrstandardname": {
  22564. "description": "品类名称",
  22565. "type": "string"
  22566. }
  22567. }
  22568. },
  22569. "models.Ermcp3AreaStockApplySum": {
  22570. "type": "object",
  22571. "properties": {
  22572. "brandname": {
  22573. "description": "品牌名称",
  22574. "type": "string"
  22575. },
  22576. "inouttype": {
  22577. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22578. "type": "integer"
  22579. },
  22580. "spotcontractid": {
  22581. "description": "关联现货合同ID",
  22582. "type": "string"
  22583. },
  22584. "spotgoodsbrandid": {
  22585. "description": "品牌id",
  22586. "type": "integer"
  22587. },
  22588. "totalqty": {
  22589. "description": "总数量",
  22590. "type": "number"
  22591. },
  22592. "wrstandardid": {
  22593. "description": "品类id",
  22594. "type": "integer"
  22595. },
  22596. "wrstandardname": {
  22597. "description": "品类名称",
  22598. "type": "string"
  22599. }
  22600. }
  22601. },
  22602. "models.Ermcp3AreaStockReportEx": {
  22603. "type": "object",
  22604. "properties": {
  22605. "begindate": {
  22606. "description": "开始交易日",
  22607. "type": "string"
  22608. },
  22609. "brandname": {
  22610. "description": "品牌名称",
  22611. "type": "string"
  22612. },
  22613. "curstock": {
  22614. "description": "期末库存量",
  22615. "type": "number"
  22616. },
  22617. "cycletime": {
  22618. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22619. "type": "string"
  22620. },
  22621. "cycletype": {
  22622. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22623. "type": "integer"
  22624. },
  22625. "deliverygoodscode": {
  22626. "description": "现货品种代码",
  22627. "type": "string"
  22628. },
  22629. "deliverygoodsid": {
  22630. "description": "现货品种id",
  22631. "type": "integer"
  22632. },
  22633. "deliverygoodsname": {
  22634. "description": "现货品种名称",
  22635. "type": "string"
  22636. },
  22637. "diffqty": {
  22638. "description": "库存变化量 = 期末 - 期初",
  22639. "type": "number"
  22640. },
  22641. "enddate": {
  22642. "description": "结束交易日",
  22643. "type": "string"
  22644. },
  22645. "enumdicname": {
  22646. "description": "单位名称",
  22647. "type": "string"
  22648. },
  22649. "goodsunitid": {
  22650. "description": "现货单位id",
  22651. "type": "integer"
  22652. },
  22653. "oristock": {
  22654. "description": "期初库存量",
  22655. "type": "number"
  22656. },
  22657. "reckondate": {
  22658. "description": "日照时期(yyyyMMdd)",
  22659. "type": "string"
  22660. },
  22661. "spotgoodsbrandid": {
  22662. "description": "现货品牌ID",
  22663. "type": "integer"
  22664. },
  22665. "todaybuyinqty": {
  22666. "description": "今采购入库量",
  22667. "type": "number"
  22668. },
  22669. "todayproduceinqty": {
  22670. "description": "今内部入库量",
  22671. "type": "number"
  22672. },
  22673. "todayproduceoutqty": {
  22674. "description": "今内部出库量",
  22675. "type": "number"
  22676. },
  22677. "todayselloutqty": {
  22678. "description": "今销售出库量",
  22679. "type": "number"
  22680. },
  22681. "unbuyinqty": {
  22682. "description": "采购未入库量(数据库未找到相关字段?)",
  22683. "type": "number"
  22684. },
  22685. "unitid": {
  22686. "description": "品类单位id",
  22687. "type": "integer"
  22688. },
  22689. "unselloutqty": {
  22690. "description": "销售未出库量(数据库未找到相关字段?)",
  22691. "type": "number"
  22692. },
  22693. "updatetime": {
  22694. "description": "更新时间",
  22695. "type": "string"
  22696. },
  22697. "userid": {
  22698. "description": "机构ID",
  22699. "type": "integer"
  22700. },
  22701. "username": {
  22702. "description": "机构名称",
  22703. "type": "string"
  22704. },
  22705. "warehousecode": {
  22706. "description": "仓库代码",
  22707. "type": "string"
  22708. },
  22709. "warehouseinfoid": {
  22710. "description": "仓库ID",
  22711. "type": "string"
  22712. },
  22713. "warehousename": {
  22714. "description": "仓库名称",
  22715. "type": "string"
  22716. },
  22717. "warehousetype": {
  22718. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22719. "type": "integer"
  22720. },
  22721. "wrstandardcode": {
  22722. "description": "品类代码",
  22723. "type": "string"
  22724. },
  22725. "wrstandardid": {
  22726. "description": "品类ID",
  22727. "type": "integer"
  22728. },
  22729. "wrstandardname": {
  22730. "description": "品类名称",
  22731. "type": "string"
  22732. }
  22733. }
  22734. },
  22735. "models.Ermcp3ArealSumPL": {
  22736. "type": "object",
  22737. "properties": {
  22738. "accountname": {
  22739. "description": "机构名称",
  22740. "type": "string"
  22741. },
  22742. "areauserid": {
  22743. "description": "所属机构\\交易用户ID",
  22744. "type": "integer"
  22745. },
  22746. "begindate": {
  22747. "description": "开始交易日",
  22748. "type": "string"
  22749. },
  22750. "currencyid": {
  22751. "description": "结算币种ID",
  22752. "type": "integer"
  22753. },
  22754. "currencyname": {
  22755. "description": "币种名称",
  22756. "type": "string"
  22757. },
  22758. "cycletime": {
  22759. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22760. "type": "string"
  22761. },
  22762. "cycletype": {
  22763. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22764. "type": "integer"
  22765. },
  22766. "enddate": {
  22767. "description": "结束交易日",
  22768. "type": "string"
  22769. },
  22770. "enumdicname": {
  22771. "description": "单位名称(套保品种)",
  22772. "type": "string"
  22773. },
  22774. "futureactualpl": {
  22775. "description": "期货损益",
  22776. "type": "number"
  22777. },
  22778. "futurefloatpl": {
  22779. "description": "期货浮动损益",
  22780. "type": "number"
  22781. },
  22782. "futurespotratio": {
  22783. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  22784. "type": "number"
  22785. },
  22786. "goodsunitid": {
  22787. "description": "套保品种单位id",
  22788. "type": "integer"
  22789. },
  22790. "hedgeexposurepl": {
  22791. "description": "套保敞口损益",
  22792. "type": "number"
  22793. },
  22794. "middlegoodscode": {
  22795. "description": "套保品种代码",
  22796. "type": "string"
  22797. },
  22798. "middlegoodsid": {
  22799. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22800. "type": "integer"
  22801. },
  22802. "middlegoodsname": {
  22803. "description": "套保品种名称",
  22804. "type": "string"
  22805. },
  22806. "reckondate": {
  22807. "description": "日照时期(yyyyMMdd)",
  22808. "type": "string"
  22809. },
  22810. "spotactualpl": {
  22811. "description": "现货损益",
  22812. "type": "number"
  22813. },
  22814. "spotfloatpl": {
  22815. "description": "现货浮动损益",
  22816. "type": "number"
  22817. },
  22818. "sumactualpl": {
  22819. "description": "实际损益 = (ActualPL + FutureActualPL)",
  22820. "type": "number"
  22821. },
  22822. "sumpl": {
  22823. "description": "总敞口损益 | 汇总损益",
  22824. "type": "number"
  22825. },
  22826. "totalfutureqty": {
  22827. "description": "期货头寸总量",
  22828. "type": "number"
  22829. },
  22830. "totalneedhedgeqty": {
  22831. "description": "应套保总量",
  22832. "type": "number"
  22833. },
  22834. "totalspotqty": {
  22835. "description": "现货头寸总量",
  22836. "type": "number"
  22837. },
  22838. "updatetime": {
  22839. "description": "更新时间",
  22840. "type": "string"
  22841. }
  22842. }
  22843. },
  22844. "models.Ermcp3Brand": {
  22845. "type": "object",
  22846. "properties": {
  22847. "areauserid": {
  22848. "description": "用户id",
  22849. "type": "integer"
  22850. },
  22851. "brandid": {
  22852. "description": "品牌id",
  22853. "type": "integer"
  22854. },
  22855. "brandname": {
  22856. "description": "品牌名称",
  22857. "type": "string"
  22858. },
  22859. "deliverygoodsid": {
  22860. "description": "品种ID",
  22861. "type": "integer"
  22862. },
  22863. "isvalid": {
  22864. "description": "是否有效",
  22865. "type": "integer"
  22866. }
  22867. }
  22868. },
  22869. "models.Ermcp3Contract": {
  22870. "type": "object",
  22871. "properties": {
  22872. "accountid": {
  22873. "description": "期货账户id",
  22874. "type": "string"
  22875. },
  22876. "amount": {
  22877. "description": "金额 [1:一口价、3:暂定价]",
  22878. "type": "number"
  22879. },
  22880. "attachment": {
  22881. "description": "附件",
  22882. "type": "string"
  22883. },
  22884. "auditremark": {
  22885. "description": "审核意见",
  22886. "type": "string"
  22887. },
  22888. "audittime": {
  22889. "description": "审核时间",
  22890. "type": "string"
  22891. },
  22892. "biztype": {
  22893. "description": "业务类型 1-套保 2-套利",
  22894. "type": "integer"
  22895. },
  22896. "brandname": {
  22897. "description": "品牌名称",
  22898. "type": "string"
  22899. },
  22900. "buynickname": {
  22901. "description": "销售方昵称",
  22902. "type": "string"
  22903. },
  22904. "buyuserid": {
  22905. "description": "采购方ID",
  22906. "type": "integer"
  22907. },
  22908. "buyusername": {
  22909. "description": "采购方名称",
  22910. "type": "string"
  22911. },
  22912. "contracctstatus": {
  22913. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22914. "type": "integer"
  22915. },
  22916. "contractmargin": {
  22917. "description": "合同保证金",
  22918. "type": "number"
  22919. },
  22920. "contractno": {
  22921. "description": "现货合同编号",
  22922. "type": "string"
  22923. },
  22924. "contracttype": {
  22925. "description": "现货合同类型 - 1:采购 -1:销售",
  22926. "type": "integer"
  22927. },
  22928. "convertfactor": {
  22929. "description": "标仓系数(品类)",
  22930. "type": "number"
  22931. },
  22932. "createtime": {
  22933. "description": "创建时间",
  22934. "type": "string"
  22935. },
  22936. "currencyid": {
  22937. "description": "币种id",
  22938. "type": "integer"
  22939. },
  22940. "currencyname": {
  22941. "description": "币种名称",
  22942. "type": "string"
  22943. },
  22944. "deliveryenddate": {
  22945. "description": "交收期(结束)",
  22946. "type": "string"
  22947. },
  22948. "deliverygoodscode": {
  22949. "description": "现货品种代码",
  22950. "type": "string"
  22951. },
  22952. "deliverygoodsid": {
  22953. "description": "现货品种ID",
  22954. "type": "integer"
  22955. },
  22956. "deliverygoodsname": {
  22957. "description": "现货品种名称",
  22958. "type": "string"
  22959. },
  22960. "deliverystartdate": {
  22961. "description": "交收期(开始)",
  22962. "type": "string"
  22963. },
  22964. "enddate": {
  22965. "description": "点价结束日期 [2:点价 3:暂定价]",
  22966. "type": "string"
  22967. },
  22968. "enumdicname": {
  22969. "description": "单位名称",
  22970. "type": "string"
  22971. },
  22972. "goodscode": {
  22973. "description": "点价合约代码",
  22974. "type": "string"
  22975. },
  22976. "goodsid": {
  22977. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  22978. "type": "integer"
  22979. },
  22980. "goodsname": {
  22981. "description": "点价商品名称",
  22982. "type": "string"
  22983. },
  22984. "margin": {
  22985. "description": "当前保证金",
  22986. "type": "number"
  22987. },
  22988. "meruserid": {
  22989. "description": "跟单员id",
  22990. "type": "integer"
  22991. },
  22992. "meruserlogincode": {
  22993. "description": "跟单员登录代码",
  22994. "type": "string"
  22995. },
  22996. "merusername": {
  22997. "description": "跟单员名称",
  22998. "type": "string"
  22999. },
  23000. "pointdesc": {
  23001. "description": "点价备注",
  23002. "type": "string"
  23003. },
  23004. "price": {
  23005. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23006. "type": "number"
  23007. },
  23008. "pricemove": {
  23009. "description": "升贴水 [2:点价 3:暂定价]",
  23010. "type": "number"
  23011. },
  23012. "pricetype": {
  23013. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23014. "type": "integer"
  23015. },
  23016. "producttype": {
  23017. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23018. "type": "integer"
  23019. },
  23020. "qty": {
  23021. "description": "数量",
  23022. "type": "number"
  23023. },
  23024. "remark": {
  23025. "description": "备注",
  23026. "type": "string"
  23027. },
  23028. "saleuserid": {
  23029. "description": "业务员id",
  23030. "type": "integer"
  23031. },
  23032. "saleuserlogincode": {
  23033. "description": "业务员登录代码",
  23034. "type": "string"
  23035. },
  23036. "saleusername": {
  23037. "description": "业务员名称",
  23038. "type": "string"
  23039. },
  23040. "sellnickname": {
  23041. "description": "采购方昵称",
  23042. "type": "string"
  23043. },
  23044. "selluserid": {
  23045. "description": "销售方ID",
  23046. "type": "integer"
  23047. },
  23048. "sellusername": {
  23049. "description": "销售方名称",
  23050. "type": "string"
  23051. },
  23052. "spotcontractid": {
  23053. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23054. "type": "string"
  23055. },
  23056. "spotgoodsbrandid": {
  23057. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23058. "type": "integer"
  23059. },
  23060. "spotgoodsdesc": {
  23061. "description": "商品型号",
  23062. "type": "string"
  23063. },
  23064. "startdate": {
  23065. "description": "点价开始日期 [2:点价 3:暂定价]",
  23066. "type": "string"
  23067. },
  23068. "subjectid": {
  23069. "description": "交易主体ID",
  23070. "type": "integer"
  23071. },
  23072. "subjectname": {
  23073. "description": "交易主体名称",
  23074. "type": "string"
  23075. },
  23076. "tradeuserid": {
  23077. "description": "交易员id",
  23078. "type": "integer"
  23079. },
  23080. "tradeuserlogincode": {
  23081. "description": "交易员登录代码",
  23082. "type": "string"
  23083. },
  23084. "tradeusername": {
  23085. "description": "交易员名称",
  23086. "type": "string"
  23087. },
  23088. "unitid": {
  23089. "description": "单位id(取品类上的单位id)",
  23090. "type": "integer"
  23091. },
  23092. "updatetime": {
  23093. "description": "更新时间",
  23094. "type": "string"
  23095. },
  23096. "userid": {
  23097. "description": "所属机构ID",
  23098. "type": "integer"
  23099. },
  23100. "vatrate": {
  23101. "description": "增值税率",
  23102. "type": "number"
  23103. },
  23104. "wrstandardcode": {
  23105. "description": "品类代码",
  23106. "type": "string"
  23107. },
  23108. "wrstandardid": {
  23109. "description": "品类ID",
  23110. "type": "integer"
  23111. },
  23112. "wrstandardname": {
  23113. "description": "品类名称",
  23114. "type": "string"
  23115. }
  23116. }
  23117. },
  23118. "models.Ermcp3ContractMiddleGoodsCfg": {
  23119. "type": "object",
  23120. "properties": {
  23121. "agreeunit": {
  23122. "description": "合约乘数",
  23123. "type": "number"
  23124. },
  23125. "convertratio": {
  23126. "description": "期货品种系数",
  23127. "type": "number"
  23128. },
  23129. "covertqty": {
  23130. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23131. "type": "integer"
  23132. },
  23133. "middlegoodsid": {
  23134. "description": "套保品种ID",
  23135. "type": "integer"
  23136. },
  23137. "middlegoodspricedqty3": {
  23138. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23139. "type": "string",
  23140. "example": "0"
  23141. },
  23142. "pendingpricedqty": {
  23143. "description": "待点价量",
  23144. "type": "string",
  23145. "example": "0"
  23146. },
  23147. "relatedmiddlegoodsqty": {
  23148. "description": "已关联量(套保品种-期货)",
  23149. "type": "string",
  23150. "example": "0"
  23151. },
  23152. "spotcontractid": {
  23153. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23154. "type": "string"
  23155. }
  23156. }
  23157. },
  23158. "models.Ermcp3ExposureContractDetail": {
  23159. "type": "object",
  23160. "properties": {
  23161. "biztype": {
  23162. "description": "业务类型 1-套保 2-套利",
  23163. "type": "integer"
  23164. },
  23165. "brandname": {
  23166. "description": "品牌名称",
  23167. "type": "string"
  23168. },
  23169. "buyuserid": {
  23170. "description": "采购方id",
  23171. "type": "integer"
  23172. },
  23173. "buyusername": {
  23174. "description": "采购方名称",
  23175. "type": "string"
  23176. },
  23177. "contractno": {
  23178. "description": "合同编号",
  23179. "type": "string"
  23180. },
  23181. "contracttype": {
  23182. "description": "现货合同类型 - 1:采购 -1:销售",
  23183. "type": "integer"
  23184. },
  23185. "convertfactor": {
  23186. "description": "标仓系数",
  23187. "type": "number"
  23188. },
  23189. "convertratio": {
  23190. "description": "折算系数(套保品种)",
  23191. "type": "number"
  23192. },
  23193. "curqty": {
  23194. "description": "今定价量",
  23195. "type": "number"
  23196. },
  23197. "deliverygoodscode": {
  23198. "description": "现货品种代码",
  23199. "type": "string"
  23200. },
  23201. "deliverygoodsid": {
  23202. "description": "现货品种id",
  23203. "type": "integer"
  23204. },
  23205. "deliverygoodsname": {
  23206. "description": "现货品种名称",
  23207. "type": "string"
  23208. },
  23209. "diffhedgeqty": {
  23210. "description": "套保变动量",
  23211. "type": "number"
  23212. },
  23213. "diffneedhedgeqty": {
  23214. "description": "应套保变动量",
  23215. "type": "number"
  23216. },
  23217. "diffqty": {
  23218. "description": "套保品种今变动量",
  23219. "type": "number"
  23220. },
  23221. "enumdicname": {
  23222. "description": "单位名称",
  23223. "type": "string"
  23224. },
  23225. "mgunitname": {
  23226. "description": "套保品种单位名称",
  23227. "type": "string"
  23228. },
  23229. "middlegoodscode": {
  23230. "description": "套保品种代码",
  23231. "type": "string"
  23232. },
  23233. "middlegoodsid": {
  23234. "description": "套保品种id",
  23235. "type": "integer"
  23236. },
  23237. "middlegoodsname": {
  23238. "description": "套保品种名称",
  23239. "type": "string"
  23240. },
  23241. "needarbitrageratio": {
  23242. "description": "应套利比例",
  23243. "type": "number"
  23244. },
  23245. "needhedgeratio": {
  23246. "description": "应套保比例",
  23247. "type": "number"
  23248. },
  23249. "pricedqty": {
  23250. "description": "已定价量",
  23251. "type": "number"
  23252. },
  23253. "qty": {
  23254. "description": "合同量",
  23255. "type": "number"
  23256. },
  23257. "reckondate": {
  23258. "description": "交易日(reckondate)",
  23259. "type": "string"
  23260. },
  23261. "selluserid": {
  23262. "description": "销售方id",
  23263. "type": "integer"
  23264. },
  23265. "sellusername": {
  23266. "description": "销售方名称",
  23267. "type": "string"
  23268. },
  23269. "spotcontractid": {
  23270. "description": "合同id",
  23271. "type": "string"
  23272. },
  23273. "todaypricedqty": {
  23274. "description": "今定价量",
  23275. "type": "number"
  23276. },
  23277. "tradedate": {
  23278. "description": "交易日",
  23279. "type": "string"
  23280. },
  23281. "unitid": {
  23282. "description": "品类单位id",
  23283. "type": "integer"
  23284. },
  23285. "userid": {
  23286. "description": "机构id",
  23287. "type": "integer"
  23288. },
  23289. "username": {
  23290. "description": "交易用户",
  23291. "type": "string"
  23292. },
  23293. "wrstandardcode": {
  23294. "description": "现货商品代码",
  23295. "type": "string"
  23296. },
  23297. "wrstandardid": {
  23298. "description": "现货商品id",
  23299. "type": "integer"
  23300. },
  23301. "wrstandardname": {
  23302. "description": "现货商品名称",
  23303. "type": "string"
  23304. }
  23305. }
  23306. },
  23307. "models.Ermcp3ExposureDetail": {
  23308. "type": "object",
  23309. "properties": {
  23310. "areauserid": {
  23311. "description": "机构ID",
  23312. "type": "integer"
  23313. },
  23314. "changeQty": {
  23315. "description": "套保变动量",
  23316. "type": "number"
  23317. },
  23318. "contracttype": {
  23319. "description": "现货合同类型 - 1:采购 -1:销售",
  23320. "type": "integer"
  23321. },
  23322. "convertfactor": {
  23323. "description": "标仓系数",
  23324. "type": "number"
  23325. },
  23326. "convertratio": {
  23327. "description": "折算系数",
  23328. "type": "number"
  23329. },
  23330. "createtime": {
  23331. "description": "时间",
  23332. "type": "string"
  23333. },
  23334. "enumdicname": {
  23335. "description": "现货商品单位名称",
  23336. "type": "string"
  23337. },
  23338. "logtype": {
  23339. "description": "类型 - 1:套保计划 2:现货合同",
  23340. "type": "integer"
  23341. },
  23342. "mgunitid": {
  23343. "description": "套保品种单位id",
  23344. "type": "integer"
  23345. },
  23346. "mgunitidname": {
  23347. "description": "套保品种单位名称",
  23348. "type": "string"
  23349. },
  23350. "middlegoodsId": {
  23351. "description": "套保商品id",
  23352. "type": "integer"
  23353. },
  23354. "middlegoodscode": {
  23355. "description": "套保商品代码",
  23356. "type": "string"
  23357. },
  23358. "middlegoodsname": {
  23359. "description": "套保商品名称",
  23360. "type": "string"
  23361. },
  23362. "qty": {
  23363. "description": "数量",
  23364. "type": "number"
  23365. },
  23366. "relateNo": {
  23367. "description": "现货合同/套保计划编号",
  23368. "type": "string"
  23369. },
  23370. "unitid": {
  23371. "description": "现货商品单位id",
  23372. "type": "integer"
  23373. },
  23374. "wrstandardcode": {
  23375. "description": "现货商品代码",
  23376. "type": "string"
  23377. },
  23378. "wrstandardid": {
  23379. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23380. "type": "integer"
  23381. },
  23382. "wrstandardname": {
  23383. "description": "现货商品名称",
  23384. "type": "string"
  23385. }
  23386. }
  23387. },
  23388. "models.Ermcp3ExposureFutuDetail": {
  23389. "type": "object",
  23390. "properties": {
  23391. "accountid": {
  23392. "description": "交易账户id",
  23393. "type": "integer"
  23394. },
  23395. "accountname": {
  23396. "description": "交易账户",
  23397. "type": "string"
  23398. },
  23399. "begindate": {
  23400. "description": "开始交易日",
  23401. "type": "string"
  23402. },
  23403. "buyorsell": {
  23404. "description": "方向 0-买 1-卖",
  23405. "type": "integer"
  23406. },
  23407. "diffmgqty": {
  23408. "description": "套保品种今变化量",
  23409. "type": "number"
  23410. },
  23411. "diffneedqty": {
  23412. "description": "应套保总量变化量",
  23413. "type": "number"
  23414. },
  23415. "difftradeqty": {
  23416. "description": "交易品种今变化量",
  23417. "type": "number"
  23418. },
  23419. "enddate": {
  23420. "description": "结束交易日",
  23421. "type": "string"
  23422. },
  23423. "enumdicname": {
  23424. "description": "单位名称",
  23425. "type": "string"
  23426. },
  23427. "goodscode": {
  23428. "description": "商品代码",
  23429. "type": "string"
  23430. },
  23431. "goodsid": {
  23432. "description": "商品id",
  23433. "type": "integer"
  23434. },
  23435. "goodsname": {
  23436. "description": "商品名称",
  23437. "type": "string"
  23438. },
  23439. "holdqty": {
  23440. "description": "期末持仓量",
  23441. "type": "number"
  23442. },
  23443. "middlegoodscode": {
  23444. "description": "套保商品代码",
  23445. "type": "string"
  23446. },
  23447. "middlegoodsid": {
  23448. "description": "套保商品id",
  23449. "type": "integer"
  23450. },
  23451. "middlegoodsname": {
  23452. "description": "套保商品名称",
  23453. "type": "string"
  23454. },
  23455. "oriholdqty": {
  23456. "description": "期初持仓量",
  23457. "type": "number"
  23458. },
  23459. "reckondate": {
  23460. "description": "交易日(RECKONDATE)",
  23461. "type": "string"
  23462. },
  23463. "todaycloseqty": {
  23464. "description": "今平仓量",
  23465. "type": "number"
  23466. },
  23467. "todayopenqty": {
  23468. "description": "今开仓量",
  23469. "type": "number"
  23470. },
  23471. "tradedate": {
  23472. "description": "交易日(RECKONDATE)",
  23473. "type": "string"
  23474. },
  23475. "username": {
  23476. "description": "用户名称(交易用户)",
  23477. "type": "string"
  23478. }
  23479. }
  23480. },
  23481. "models.Ermcp3ExposureHedgeplanDetail": {
  23482. "type": "object",
  23483. "properties": {
  23484. "biztype": {
  23485. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23486. "type": "integer"
  23487. },
  23488. "changqty": {
  23489. "description": "应套保总量变化量",
  23490. "type": "number"
  23491. },
  23492. "contracttype": {
  23493. "description": "计划类型 - 1:采购 -1:销售",
  23494. "type": "integer"
  23495. },
  23496. "convertratio": {
  23497. "description": "折算系数(套保品种)",
  23498. "type": "number"
  23499. },
  23500. "deliverygoodscode": {
  23501. "description": "现货商品代码",
  23502. "type": "string"
  23503. },
  23504. "deliverygoodsid": {
  23505. "description": "现货商品id",
  23506. "type": "integer"
  23507. },
  23508. "deliverygoodsname": {
  23509. "description": "现货商吕名称",
  23510. "type": "string"
  23511. },
  23512. "dgunitid": {
  23513. "description": "现货商品单位id",
  23514. "type": "integer"
  23515. },
  23516. "dgunitidname": {
  23517. "description": "单位名称(现货商品)",
  23518. "type": "string"
  23519. },
  23520. "diffqty": {
  23521. "description": "套保品种今变动量",
  23522. "type": "number"
  23523. },
  23524. "enumdicname": {
  23525. "description": "单位名称(品类)",
  23526. "type": "string"
  23527. },
  23528. "hedgeplanid": {
  23529. "description": "套保计划id",
  23530. "type": "string"
  23531. },
  23532. "hedgeplanno": {
  23533. "description": "套保计划名称",
  23534. "type": "string"
  23535. },
  23536. "hedgeplanstatus": {
  23537. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23538. "type": "integer"
  23539. },
  23540. "mgunitidname": {
  23541. "description": "单位名称(套保商品)",
  23542. "type": "string"
  23543. },
  23544. "middlegoodscode": {
  23545. "description": "套保品种代码",
  23546. "type": "string"
  23547. },
  23548. "middlegoodsid": {
  23549. "description": "套保品种id",
  23550. "type": "integer"
  23551. },
  23552. "middlegoodsname": {
  23553. "description": "套保品种名称",
  23554. "type": "string"
  23555. },
  23556. "needarbitrageratio": {
  23557. "description": "应套利比例",
  23558. "type": "number"
  23559. },
  23560. "needhedgeratio": {
  23561. "description": "应套保比例",
  23562. "type": "number"
  23563. },
  23564. "pricedqty": {
  23565. "description": "已定价量",
  23566. "type": "number"
  23567. },
  23568. "qty": {
  23569. "description": "合同量",
  23570. "type": "number"
  23571. },
  23572. "reckondate": {
  23573. "description": "交易日(reckondate)",
  23574. "type": "string"
  23575. },
  23576. "tradedate": {
  23577. "description": "交易日(登记日)",
  23578. "type": "string"
  23579. },
  23580. "unitid": {
  23581. "description": "品类单位id",
  23582. "type": "integer"
  23583. },
  23584. "userid": {
  23585. "description": "机构id",
  23586. "type": "integer"
  23587. },
  23588. "wrstandardcode": {
  23589. "description": "品类代码",
  23590. "type": "string"
  23591. },
  23592. "wrstandardid": {
  23593. "description": "品类id",
  23594. "type": "integer"
  23595. },
  23596. "wrstandardname": {
  23597. "description": "品类名称",
  23598. "type": "string"
  23599. }
  23600. }
  23601. },
  23602. "models.Ermcp3ExposureParamChLog": {
  23603. "type": "object",
  23604. "properties": {
  23605. "accountid": {
  23606. "description": "期货账户ID (作废, 默认为0)",
  23607. "type": "integer"
  23608. },
  23609. "aftervalue": {
  23610. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23611. "type": "number"
  23612. },
  23613. "areauserid": {
  23614. "description": "所属机构\\交易用户ID",
  23615. "type": "integer"
  23616. },
  23617. "beforevalue": {
  23618. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23619. "type": "number"
  23620. },
  23621. "begindate": {
  23622. "description": "开始交易日",
  23623. "type": "string"
  23624. },
  23625. "changelogtype": {
  23626. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23627. "type": "integer"
  23628. },
  23629. "curvalue": {
  23630. "description": "当前套保\\套利量(套保总量|套利总量)",
  23631. "type": "number"
  23632. },
  23633. "diffvalue": {
  23634. "description": "应套保总量变化量",
  23635. "type": "number"
  23636. },
  23637. "enddate": {
  23638. "description": "结束交易日",
  23639. "type": "string"
  23640. },
  23641. "logdatetime": {
  23642. "description": "流水日期",
  23643. "type": "string"
  23644. },
  23645. "logid": {
  23646. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23647. "type": "string"
  23648. },
  23649. "middlegoodscode": {
  23650. "description": "套保品种代码",
  23651. "type": "string"
  23652. },
  23653. "middlegoodsid": {
  23654. "description": "套保品种",
  23655. "type": "integer"
  23656. },
  23657. "middlegoodsname": {
  23658. "description": "套保品种名称",
  23659. "type": "string"
  23660. },
  23661. "paramaftervalue": {
  23662. "description": "参数变更后(调整后参数值)",
  23663. "type": "number"
  23664. },
  23665. "parambeforevalue": {
  23666. "description": "参数变更前(调整前参数值)",
  23667. "type": "number"
  23668. },
  23669. "reckondate": {
  23670. "description": "交易日(reckondate)",
  23671. "type": "string"
  23672. },
  23673. "tradedate": {
  23674. "description": "交易日(yyyyMMdd)",
  23675. "type": "string"
  23676. }
  23677. }
  23678. },
  23679. "models.Ermcp3ExpourseReport": {
  23680. "type": "object",
  23681. "properties": {
  23682. "accountid": {
  23683. "description": "期货账户ID (作废, 默认为0)",
  23684. "type": "integer"
  23685. },
  23686. "accountname": {
  23687. "description": "机构名称",
  23688. "type": "string"
  23689. },
  23690. "arbitrageqty": {
  23691. "description": "套利量",
  23692. "type": "number"
  23693. },
  23694. "areauserid": {
  23695. "description": "所属机构\\交易用户ID",
  23696. "type": "integer"
  23697. },
  23698. "begindate": {
  23699. "description": "开始交易日",
  23700. "type": "string"
  23701. },
  23702. "buyfutureqty": {
  23703. "description": "买入期货数量",
  23704. "type": "number"
  23705. },
  23706. "buyplanqty": {
  23707. "description": "采购计划数量",
  23708. "type": "number"
  23709. },
  23710. "buypricedqty": {
  23711. "description": "采购合同已定价数量",
  23712. "type": "number"
  23713. },
  23714. "cycletime": {
  23715. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23716. "type": "string"
  23717. },
  23718. "cycletype": {
  23719. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23720. "type": "integer"
  23721. },
  23722. "diffexposure": {
  23723. "description": "变动量(套保敞口)",
  23724. "type": "number"
  23725. },
  23726. "difffutuqty": {
  23727. "description": "变动量(期货)",
  23728. "type": "number"
  23729. },
  23730. "diffhedgeqty": {
  23731. "description": "变动量(现货应套保总量)",
  23732. "type": "number"
  23733. },
  23734. "diffmgqtya": {
  23735. "description": "套保变动量",
  23736. "type": "number"
  23737. },
  23738. "diffmgqtyb": {
  23739. "description": "套利变动量",
  23740. "type": "number"
  23741. },
  23742. "diffneedqty": {
  23743. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23744. "type": "number"
  23745. },
  23746. "diffqty": {
  23747. "description": "变动量(总敞口)",
  23748. "type": "number"
  23749. },
  23750. "diffspotqty": {
  23751. "description": "变动量(现货) | 除税变动量",
  23752. "type": "number"
  23753. },
  23754. "enddate": {
  23755. "description": "结束交易日",
  23756. "type": "string"
  23757. },
  23758. "enumdicname": {
  23759. "description": "单位名称",
  23760. "type": "string"
  23761. },
  23762. "hedgeqty": {
  23763. "description": "套保量",
  23764. "type": "number"
  23765. },
  23766. "mgneedhedgeratio": {
  23767. "description": "套保比例(套保品的)",
  23768. "type": "number"
  23769. },
  23770. "middlegoodsid": {
  23771. "description": "套保品种ID",
  23772. "type": "integer"
  23773. },
  23774. "middlegoodsname": {
  23775. "description": "套保商品名称",
  23776. "type": "string"
  23777. },
  23778. "middlgoodscode": {
  23779. "description": "套保商品代码",
  23780. "type": "string"
  23781. },
  23782. "needarbitrageqty": {
  23783. "description": "应套利量",
  23784. "type": "number"
  23785. },
  23786. "needarbitrageratio": {
  23787. "description": "套利比例(套保品的)",
  23788. "type": "number"
  23789. },
  23790. "needhedgeexposoure": {
  23791. "description": "应套保敞口(套保敞口)",
  23792. "type": "number"
  23793. },
  23794. "needhedgeqty": {
  23795. "description": "应套保量",
  23796. "type": "number"
  23797. },
  23798. "needhedgeratio": {
  23799. "description": "应套保敞口比例",
  23800. "type": "number"
  23801. },
  23802. "needqty": {
  23803. "description": "应套总量 = 应套保量 + 应套利量",
  23804. "type": "number"
  23805. },
  23806. "oriarbitrageqty": {
  23807. "description": "期初套利量",
  23808. "type": "number"
  23809. },
  23810. "oribuyfutureqty": {
  23811. "description": "期初买入期货数量",
  23812. "type": "number"
  23813. },
  23814. "oribuyplanqty": {
  23815. "description": "期初采购计划数量",
  23816. "type": "number"
  23817. },
  23818. "oribuypricedqty": {
  23819. "description": "期初采购合同已定价数量",
  23820. "type": "number"
  23821. },
  23822. "orihedgeqty": {
  23823. "description": "期初套保量",
  23824. "type": "number"
  23825. },
  23826. "orineedarbitrageqty": {
  23827. "description": "期初应套利量",
  23828. "type": "number"
  23829. },
  23830. "orineedhedgeexposoure": {
  23831. "description": "期初应套保敞口",
  23832. "type": "number"
  23833. },
  23834. "orineedhedgeqty": {
  23835. "description": "期初应套保量",
  23836. "type": "number"
  23837. },
  23838. "orisellfutureqty": {
  23839. "description": "期初卖出期货数量",
  23840. "type": "number"
  23841. },
  23842. "orisellplanqty": {
  23843. "description": "期初销售计划数量",
  23844. "type": "number"
  23845. },
  23846. "orisellpricedqty": {
  23847. "description": "期初销售合同已定价数量",
  23848. "type": "number"
  23849. },
  23850. "oritotalexposure": {
  23851. "description": "期初实时总敞口",
  23852. "type": "number"
  23853. },
  23854. "oritotalfutureqty": {
  23855. "description": "期初期货头寸总量",
  23856. "type": "number"
  23857. },
  23858. "oritotalneedhedgeqty": {
  23859. "description": "期初应套保总量",
  23860. "type": "number"
  23861. },
  23862. "oritotalspotqty": {
  23863. "description": "期初现货头寸总量",
  23864. "type": "number"
  23865. },
  23866. "reckondate": {
  23867. "description": "日照时期(yyyyMMdd)",
  23868. "type": "string"
  23869. },
  23870. "sellfutureqty": {
  23871. "description": "卖出期货数量",
  23872. "type": "number"
  23873. },
  23874. "sellplanqty": {
  23875. "description": "销售计划数量",
  23876. "type": "number"
  23877. },
  23878. "sellpricedqty": {
  23879. "description": "销售合同已定价数量",
  23880. "type": "number"
  23881. },
  23882. "totalexposure": {
  23883. "description": "实时总敞口(总敞口)",
  23884. "type": "number"
  23885. },
  23886. "totalfutureqty": {
  23887. "description": "期货头寸总量(期货总量)",
  23888. "type": "number"
  23889. },
  23890. "totalhedgeratio": {
  23891. "description": "敞口比例",
  23892. "type": "number"
  23893. },
  23894. "totalneedhedgeqty": {
  23895. "description": "应套保总量(现货应套保总量)",
  23896. "type": "number"
  23897. },
  23898. "totalspotqty": {
  23899. "description": "现货头寸总量 | 除税总量",
  23900. "type": "number"
  23901. },
  23902. "unitid": {
  23903. "description": "单位id",
  23904. "type": "integer"
  23905. },
  23906. "updatetime": {
  23907. "description": "更新时间",
  23908. "type": "string"
  23909. }
  23910. }
  23911. },
  23912. "models.Ermcp3FinanceReport": {
  23913. "type": "object",
  23914. "properties": {
  23915. "accountname": {
  23916. "description": "机构名称",
  23917. "type": "string"
  23918. },
  23919. "areauserid": {
  23920. "description": "所属机构\\交易用户ID",
  23921. "type": "integer"
  23922. },
  23923. "begindate": {
  23924. "description": "开始交易日",
  23925. "type": "string"
  23926. },
  23927. "biztype": {
  23928. "description": "业务类型 - 1:套保 2:套利",
  23929. "type": "integer"
  23930. },
  23931. "brandname": {
  23932. "description": "品牌名称",
  23933. "type": "string"
  23934. },
  23935. "buypreinvoicedamount": {
  23936. "description": "采购预收票额(预收票额)",
  23937. "type": "number"
  23938. },
  23939. "buyprepaidamount": {
  23940. "description": "采购预付款额(预付货款额)",
  23941. "type": "number"
  23942. },
  23943. "buytodayinvoiceamount": {
  23944. "description": "采购今收票额(今收票额)",
  23945. "type": "number"
  23946. },
  23947. "buytodayrefundamount": {
  23948. "description": "采购今收退款额(今收退款额)",
  23949. "type": "number"
  23950. },
  23951. "buytodaysettleamount": {
  23952. "description": "采购今付款额(今付货款额)",
  23953. "type": "number"
  23954. },
  23955. "buyuninvoicedamount": {
  23956. "description": "采购应收票额(应收票额)",
  23957. "type": "number"
  23958. },
  23959. "buyunpaidamount": {
  23960. "description": "采购应付款额(应付货款额)",
  23961. "type": "number"
  23962. },
  23963. "currencyid": {
  23964. "description": "结算币种ID",
  23965. "type": "integer"
  23966. },
  23967. "currencyname": {
  23968. "description": "币种名称",
  23969. "type": "string"
  23970. },
  23971. "cycletime": {
  23972. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23973. "type": "string"
  23974. },
  23975. "cycletype": {
  23976. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23977. "type": "integer"
  23978. },
  23979. "deliverygoodscode": {
  23980. "description": "现货品种代码",
  23981. "type": "string"
  23982. },
  23983. "deliverygoodsid": {
  23984. "description": "现货品种ID",
  23985. "type": "integer"
  23986. },
  23987. "deliverygoodsname": {
  23988. "description": "现货品种名称",
  23989. "type": "string"
  23990. },
  23991. "enddate": {
  23992. "description": "结束交易日",
  23993. "type": "string"
  23994. },
  23995. "reckondate": {
  23996. "description": "日照时期(yyyyMMdd)",
  23997. "type": "string"
  23998. },
  23999. "sellpreinvoicedamount": {
  24000. "description": "销售预开票额(预开票额)",
  24001. "type": "number"
  24002. },
  24003. "sellprepaidamount": {
  24004. "description": "销售预收款额(预收货款额)",
  24005. "type": "number"
  24006. },
  24007. "selltodayinvoiceamount": {
  24008. "description": "销售今开票额(今开票额)",
  24009. "type": "number"
  24010. },
  24011. "selltodayrefundamount": {
  24012. "description": "销售今付退款额(今付退款额)",
  24013. "type": "number"
  24014. },
  24015. "selltodaysettleamount": {
  24016. "description": "销售今收款额(今收货款额)",
  24017. "type": "number"
  24018. },
  24019. "selluninvoicedamount": {
  24020. "description": "销售应开票额(应开票额)",
  24021. "type": "number"
  24022. },
  24023. "sellunpaidamount": {
  24024. "description": "销售应收款额(应收货款额)",
  24025. "type": "number"
  24026. },
  24027. "spotgoodsbrandid": {
  24028. "description": "现货品牌ID",
  24029. "type": "integer"
  24030. },
  24031. "todaypaysum": {
  24032. "description": "今付款合计",
  24033. "type": "number"
  24034. },
  24035. "todayreceivesum": {
  24036. "description": "今收款合计",
  24037. "type": "number"
  24038. },
  24039. "updatetime": {
  24040. "description": "更新时间",
  24041. "type": "string"
  24042. },
  24043. "wrfactortypeid": {
  24044. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24045. "type": "integer"
  24046. },
  24047. "wrstandardcode": {
  24048. "description": "品类代码",
  24049. "type": "string"
  24050. },
  24051. "wrstandardid": {
  24052. "description": "现货商品ID",
  24053. "type": "integer"
  24054. },
  24055. "wrstandardname": {
  24056. "description": "品类名称",
  24057. "type": "string"
  24058. }
  24059. }
  24060. },
  24061. "models.Ermcp3GoodsGroup": {
  24062. "type": "object",
  24063. "required": [
  24064. "areauserid"
  24065. ],
  24066. "properties": {
  24067. "agreeunit": {
  24068. "description": "合约单位",
  24069. "type": "number"
  24070. },
  24071. "areauserid": {
  24072. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24073. "type": "integer"
  24074. },
  24075. "canshort": {
  24076. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24077. "type": "integer"
  24078. },
  24079. "closepricemode": {
  24080. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24081. "type": "integer"
  24082. },
  24083. "createtime": {
  24084. "description": "创建时间",
  24085. "type": "string"
  24086. },
  24087. "creatorid": {
  24088. "description": "创建人",
  24089. "type": "integer"
  24090. },
  24091. "currencyid": {
  24092. "description": "报价货币ID",
  24093. "type": "integer"
  24094. },
  24095. "decimalplace": {
  24096. "description": "报价小数位",
  24097. "type": "integer"
  24098. },
  24099. "enumdicname": {
  24100. "description": "单位名称",
  24101. "type": "string"
  24102. },
  24103. "exchangefullname": {
  24104. "description": "交易所全称",
  24105. "type": "string"
  24106. },
  24107. "excludecfg": {
  24108. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24109. "type": "integer"
  24110. },
  24111. "exexchangecode": {
  24112. "description": "交易所代码",
  24113. "type": "string"
  24114. },
  24115. "exexchangeid": {
  24116. "description": "外部交易所ID[通道交易]",
  24117. "type": "integer"
  24118. },
  24119. "exexchangename": {
  24120. "description": "交易所名称",
  24121. "type": "string"
  24122. },
  24123. "goodsgroupid": {
  24124. "description": "商品组ID(自增ID)",
  24125. "type": "integer"
  24126. },
  24127. "goodsgroupname": {
  24128. "description": "商品组名称",
  24129. "type": "string"
  24130. },
  24131. "goodsgroupstatus": {
  24132. "description": "商品组状态 - 1:正常 2:注销",
  24133. "type": "integer"
  24134. },
  24135. "goodunitid": {
  24136. "description": "报价单位ID",
  24137. "type": "integer"
  24138. },
  24139. "groupcategroyid": {
  24140. "description": "品种分类ID",
  24141. "type": "integer"
  24142. },
  24143. "innerdealmode": {
  24144. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24145. "type": "integer"
  24146. },
  24147. "marketid": {
  24148. "description": "所属市场ID",
  24149. "type": "integer"
  24150. },
  24151. "modifierid": {
  24152. "description": "修改人",
  24153. "type": "integer"
  24154. },
  24155. "modifytime": {
  24156. "description": "修改时间",
  24157. "type": "string"
  24158. },
  24159. "outerdealmode": {
  24160. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24161. "type": "integer"
  24162. },
  24163. "outergroupcode": {
  24164. "description": "外部商品组代码[通道交易]",
  24165. "type": "string"
  24166. },
  24167. "quoteminunit": {
  24168. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24169. "type": "integer"
  24170. },
  24171. "quotesourcegroupid": {
  24172. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24173. "type": "integer"
  24174. },
  24175. "syncgoodsqty": {
  24176. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24177. "type": "integer"
  24178. }
  24179. }
  24180. },
  24181. "models.Ermcp3HPMiddleGoods": {
  24182. "type": "object",
  24183. "properties": {
  24184. "biztype": {
  24185. "description": "业务类型 1:套保 2:套利",
  24186. "type": "integer"
  24187. },
  24188. "contracttype": {
  24189. "description": "合同类型 1:采购 -1:销售",
  24190. "type": "integer"
  24191. },
  24192. "convertratio": {
  24193. "description": "折算系数",
  24194. "type": "number"
  24195. },
  24196. "customername": {
  24197. "description": "对手手名称",
  24198. "type": "string"
  24199. },
  24200. "customeruserid": {
  24201. "description": "对手id",
  24202. "type": "integer"
  24203. },
  24204. "enumdicname": {
  24205. "description": "现货单位名称",
  24206. "type": "string"
  24207. },
  24208. "hedgeplanid": {
  24209. "description": "计划id",
  24210. "type": "string"
  24211. },
  24212. "hedgeplanno": {
  24213. "description": "计划编号",
  24214. "type": "string"
  24215. },
  24216. "middlegoodsid": {
  24217. "description": "套保品种ID",
  24218. "type": "integer"
  24219. },
  24220. "middlegoodsplanqty3": {
  24221. "description": "应套保计划量",
  24222. "type": "number"
  24223. },
  24224. "needhedgeratio": {
  24225. "description": "套保比例",
  24226. "type": "number"
  24227. },
  24228. "pricedqty": {
  24229. "description": "已定价量",
  24230. "type": "number"
  24231. },
  24232. "relatedmiddlegoodsqty": {
  24233. "description": "已关联量(套保品种)(期货)",
  24234. "type": "number"
  24235. },
  24236. "unitid": {
  24237. "description": "现货单位id",
  24238. "type": "integer"
  24239. },
  24240. "userid": {
  24241. "description": "用户id",
  24242. "type": "integer"
  24243. },
  24244. "vatrate": {
  24245. "description": "增值税率",
  24246. "type": "number"
  24247. },
  24248. "wrstandardcode": {
  24249. "description": "现货商品代码",
  24250. "type": "string"
  24251. },
  24252. "wrstandardid": {
  24253. "description": "现货商品id",
  24254. "type": "integer"
  24255. },
  24256. "wrstandardname": {
  24257. "description": "现货商品名称",
  24258. "type": "string"
  24259. }
  24260. }
  24261. },
  24262. "models.Ermcp3HedgePlan": {
  24263. "type": "object",
  24264. "properties": {
  24265. "accountid": {
  24266. "description": "资金账号",
  24267. "type": "integer"
  24268. },
  24269. "areauserid": {
  24270. "description": "用户ID",
  24271. "type": "integer"
  24272. },
  24273. "auditid": {
  24274. "description": "审核id",
  24275. "type": "integer"
  24276. },
  24277. "auditname": {
  24278. "description": "审核人名称",
  24279. "type": "string"
  24280. },
  24281. "auditremark": {
  24282. "description": "审核备注",
  24283. "type": "string"
  24284. },
  24285. "auditsrc": {
  24286. "description": "审核来源 1-管理端 2-终端",
  24287. "type": "integer"
  24288. },
  24289. "audittime": {
  24290. "description": "审核时间",
  24291. "type": "string"
  24292. },
  24293. "contracttype": {
  24294. "description": "计划类型 - 1:采购 -1:销售",
  24295. "type": "integer"
  24296. },
  24297. "convertfactor": {
  24298. "description": "标仓系数",
  24299. "type": "number"
  24300. },
  24301. "createtime": {
  24302. "description": "创建时间",
  24303. "type": "string"
  24304. },
  24305. "currencyid": {
  24306. "description": "币种id",
  24307. "type": "integer"
  24308. },
  24309. "currencyname": {
  24310. "description": "币种名称",
  24311. "type": "string"
  24312. },
  24313. "deliverygoodscode": {
  24314. "description": "现货品种代码",
  24315. "type": "string"
  24316. },
  24317. "deliverygoodsid": {
  24318. "description": "现货品种ID",
  24319. "type": "integer"
  24320. },
  24321. "deliverygoodsname": {
  24322. "description": "现货品种名称",
  24323. "type": "string"
  24324. },
  24325. "enumdicname": {
  24326. "description": "单位名称(现货商品)",
  24327. "type": "string"
  24328. },
  24329. "hedgeplanid": {
  24330. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24331. "type": "string"
  24332. },
  24333. "hedgeplanno": {
  24334. "description": "套保计划编号(名称)",
  24335. "type": "string"
  24336. },
  24337. "hedgeplanstatus": {
  24338. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24339. "type": "integer"
  24340. },
  24341. "planqty": {
  24342. "description": "计划数量",
  24343. "type": "number"
  24344. },
  24345. "plantime": {
  24346. "description": "计划时间",
  24347. "type": "string"
  24348. },
  24349. "producttype": {
  24350. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24351. "type": "integer"
  24352. },
  24353. "remark": {
  24354. "description": "备注",
  24355. "type": "string"
  24356. },
  24357. "spotgoodsdesc": {
  24358. "description": "商品型号",
  24359. "type": "string"
  24360. },
  24361. "taaccountname": {
  24362. "description": "资金账号名称",
  24363. "type": "string"
  24364. },
  24365. "tradeuserid": {
  24366. "description": "交易用户id",
  24367. "type": "integer"
  24368. },
  24369. "tradeusername": {
  24370. "description": "交易用户名称",
  24371. "type": "string"
  24372. },
  24373. "unitid": {
  24374. "description": "单位id(现货商品)",
  24375. "type": "integer"
  24376. },
  24377. "updatetime": {
  24378. "description": "更新时间",
  24379. "type": "string"
  24380. },
  24381. "vatrate": {
  24382. "description": "增值税率",
  24383. "type": "number"
  24384. },
  24385. "wrstandardcode": {
  24386. "description": "品类代码",
  24387. "type": "string"
  24388. },
  24389. "wrstandardid": {
  24390. "description": "品类id",
  24391. "type": "integer"
  24392. },
  24393. "wrstandardname": {
  24394. "description": "品类名称",
  24395. "type": "string"
  24396. },
  24397. "wrunitid": {
  24398. "description": "品类单位id",
  24399. "type": "integer"
  24400. },
  24401. "wrunitidame": {
  24402. "description": "品类单位名称",
  24403. "type": "string"
  24404. }
  24405. }
  24406. },
  24407. "models.Ermcp3InnerTradeLink": {
  24408. "type": "object",
  24409. "properties": {
  24410. "accountid": {
  24411. "description": "期货账号代码 | 资金账号ID",
  24412. "type": "integer"
  24413. },
  24414. "buyorsell": {
  24415. "description": "方向 - 0:买 1:卖",
  24416. "type": "integer"
  24417. },
  24418. "channelbuildtype": {
  24419. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24420. "type": "integer"
  24421. },
  24422. "currencyid": {
  24423. "description": "币种id",
  24424. "type": "integer"
  24425. },
  24426. "currencyname": {
  24427. "description": "结算币种 名称",
  24428. "type": "string"
  24429. },
  24430. "goodscode": {
  24431. "description": "商品代码",
  24432. "type": "string"
  24433. },
  24434. "goodsid": {
  24435. "description": "商品ID",
  24436. "type": "integer"
  24437. },
  24438. "goodsname": {
  24439. "description": "商品名称",
  24440. "type": "string"
  24441. },
  24442. "outtradeid": {
  24443. "description": "外部成交单号",
  24444. "type": "string"
  24445. },
  24446. "taname": {
  24447. "description": "期货账户名称",
  24448. "type": "string"
  24449. },
  24450. "tradeid": {
  24451. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24452. "type": "string"
  24453. },
  24454. "tradeprice": {
  24455. "description": "成交价格",
  24456. "type": "number"
  24457. },
  24458. "tradeqty": {
  24459. "description": "期货成交数量",
  24460. "type": "integer"
  24461. },
  24462. "tradetime": {
  24463. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24464. "type": "string"
  24465. },
  24466. "username": {
  24467. "description": "用户名称",
  24468. "type": "string"
  24469. }
  24470. }
  24471. },
  24472. "models.Ermcp3OutTradeLink": {
  24473. "type": "object",
  24474. "properties": {
  24475. "buyorsell": {
  24476. "description": "买卖方向 - 0:买 1:卖",
  24477. "type": "integer"
  24478. },
  24479. "channelbuildtype": {
  24480. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24481. "type": "integer"
  24482. },
  24483. "currencyname": {
  24484. "description": "币种名称",
  24485. "type": "string"
  24486. },
  24487. "exexchangecode": {
  24488. "description": "交易所代码",
  24489. "type": "string"
  24490. },
  24491. "exexchangename": {
  24492. "description": "交易所名称",
  24493. "type": "string"
  24494. },
  24495. "goodscode": {
  24496. "description": "合约代码",
  24497. "type": "string"
  24498. },
  24499. "goodsid": {
  24500. "description": "合约id",
  24501. "type": "integer"
  24502. },
  24503. "goodsname": {
  24504. "description": "合约名称",
  24505. "type": "string"
  24506. },
  24507. "hasinnerorder": {
  24508. "description": "是否有内部单关联 - 0:无 1:有",
  24509. "type": "integer"
  24510. },
  24511. "hedgeaccountcode": {
  24512. "description": "外部账号 | 对冲账号",
  24513. "type": "string"
  24514. },
  24515. "outtradeid": {
  24516. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24517. "type": "string"
  24518. },
  24519. "tradeprice": {
  24520. "description": "成交价格",
  24521. "type": "number"
  24522. },
  24523. "tradeqty": {
  24524. "description": "成交数量",
  24525. "type": "integer"
  24526. },
  24527. "tradetime": {
  24528. "description": "成交时间",
  24529. "type": "string"
  24530. }
  24531. }
  24532. },
  24533. "models.Ermcp3PaAreaAuditCfg": {
  24534. "type": "object",
  24535. "properties": {
  24536. "areauserid": {
  24537. "description": "用户ID",
  24538. "type": "integer"
  24539. },
  24540. "buyinauditflag": {
  24541. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24542. "type": "integer"
  24543. },
  24544. "costratioauditflag": {
  24545. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24546. "type": "integer"
  24547. },
  24548. "customerauditflag": {
  24549. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24550. "type": "integer"
  24551. },
  24552. "deliveryauditflag": {
  24553. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24554. "type": "integer"
  24555. },
  24556. "invoiceauditflag": {
  24557. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24558. "type": "integer"
  24559. },
  24560. "mgneedhedgeratioauditflag": {
  24561. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24562. "type": "integer"
  24563. },
  24564. "moneyauditflag": {
  24565. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24566. "type": "integer"
  24567. },
  24568. "operatorid": {
  24569. "description": "操作人",
  24570. "type": "integer"
  24571. },
  24572. "operatorsrc": {
  24573. "description": "操作来源 - 1:管理端 2:终端",
  24574. "type": "integer"
  24575. },
  24576. "pointpriceauditflag": {
  24577. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24578. "type": "integer"
  24579. },
  24580. "produceinauditflag": {
  24581. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24582. "type": "integer"
  24583. },
  24584. "produceoutauditflag": {
  24585. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24586. "type": "integer"
  24587. },
  24588. "selloutauditflag": {
  24589. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24590. "type": "integer"
  24591. },
  24592. "sgconvertratioauditflag": {
  24593. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24594. "type": "integer"
  24595. },
  24596. "sgvtaratioauditflag": {
  24597. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24598. "type": "integer"
  24599. },
  24600. "spotcontractauditflag": {
  24601. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24602. "type": "integer"
  24603. },
  24604. "updatetime": {
  24605. "description": "更新时间",
  24606. "type": "string"
  24607. }
  24608. }
  24609. },
  24610. "models.Ermcp3PaAreaSubject": {
  24611. "type": "object",
  24612. "properties": {
  24613. "areauserid": {
  24614. "description": "所属机构",
  24615. "type": "integer"
  24616. },
  24617. "canmodify": {
  24618. "description": "是否可修改 - 0:否 1:是",
  24619. "type": "integer"
  24620. },
  24621. "createtime": {
  24622. "description": "创建时间",
  24623. "type": "string"
  24624. },
  24625. "creatorid": {
  24626. "description": "创建人ID",
  24627. "type": "string"
  24628. },
  24629. "creatorsrc": {
  24630. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24631. "type": "integer"
  24632. },
  24633. "modifierid": {
  24634. "description": "修改人",
  24635. "type": "string"
  24636. },
  24637. "modifiersrc": {
  24638. "description": "修改人来源 - 1:管理端 2:终端",
  24639. "type": "integer"
  24640. },
  24641. "modifytime": {
  24642. "description": "修改时间",
  24643. "type": "string"
  24644. },
  24645. "parentsubjectid": {
  24646. "description": "上级主体ID",
  24647. "type": "string"
  24648. },
  24649. "remark": {
  24650. "description": "备注",
  24651. "type": "string"
  24652. },
  24653. "subjectid": {
  24654. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24655. "type": "integer"
  24656. },
  24657. "subjectname": {
  24658. "description": "主体名称",
  24659. "type": "string"
  24660. },
  24661. "subjectstatus": {
  24662. "description": "主体状态 - 1:正常 2: 停用",
  24663. "type": "integer"
  24664. },
  24665. "subjecttype": {
  24666. "description": "主体类型 - 1:交易主体 2:业务部门",
  24667. "type": "integer"
  24668. }
  24669. }
  24670. },
  24671. "models.Ermcp3PaTradeLink": {
  24672. "type": "object",
  24673. "properties": {
  24674. "accountid": {
  24675. "description": "期货账户代码 | 账号ID",
  24676. "type": "integer"
  24677. },
  24678. "agreeunit": {
  24679. "description": "合约乘数",
  24680. "type": "number"
  24681. },
  24682. "buyorsell": {
  24683. "description": "方向 - 0:买 1:卖",
  24684. "type": "integer"
  24685. },
  24686. "channelbuildtype": {
  24687. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24688. "type": "integer"
  24689. },
  24690. "charge": {
  24691. "description": "手续费",
  24692. "type": "number"
  24693. },
  24694. "closepl": {
  24695. "description": "平仓盈亏",
  24696. "type": "number"
  24697. },
  24698. "closetype": {
  24699. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24700. "type": "integer"
  24701. },
  24702. "convertratio": {
  24703. "description": "折算系数",
  24704. "type": "number"
  24705. },
  24706. "enumdicname": {
  24707. "description": "单位名称",
  24708. "type": "string"
  24709. },
  24710. "executeprice": {
  24711. "description": "执行价 [期权]",
  24712. "type": "integer"
  24713. },
  24714. "goodscode": {
  24715. "description": "合约代码",
  24716. "type": "string"
  24717. },
  24718. "goodsgroupid": {
  24719. "description": "对冲品种ID[期货合约商品组ID]",
  24720. "type": "integer"
  24721. },
  24722. "goodsid": {
  24723. "description": "商品ID",
  24724. "type": "integer"
  24725. },
  24726. "goodsname": {
  24727. "description": "合约名称",
  24728. "type": "string"
  24729. },
  24730. "goodunitid": {
  24731. "description": "单位id",
  24732. "type": "integer"
  24733. },
  24734. "hedgeflag": {
  24735. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24736. "type": "integer"
  24737. },
  24738. "marketid": {
  24739. "description": "市场ID",
  24740. "type": "integer"
  24741. },
  24742. "middlegoodsid": {
  24743. "description": "套保品种ID",
  24744. "type": "integer"
  24745. },
  24746. "middlegoodsqty": {
  24747. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  24748. "type": "number"
  24749. },
  24750. "optioncode": {
  24751. "description": "期权代码 [期权]",
  24752. "type": "string"
  24753. },
  24754. "ordertype": {
  24755. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  24756. "type": "integer"
  24757. },
  24758. "ordertypename": {
  24759. "description": "订单类型",
  24760. "type": "string"
  24761. },
  24762. "parentaccountid": {
  24763. "description": "所属母账户",
  24764. "type": "integer"
  24765. },
  24766. "premium": {
  24767. "description": "权利金 [期权]",
  24768. "type": "number"
  24769. },
  24770. "relatedlot": {
  24771. "description": "已关联数量(已关联数量手) | db:关联手数",
  24772. "type": "number"
  24773. },
  24774. "relatedouttradeid": {
  24775. "description": "关联外部成交单ID",
  24776. "type": "string"
  24777. },
  24778. "relatedqty": {
  24779. "description": "关联数量",
  24780. "type": "number"
  24781. },
  24782. "spotcontractid": {
  24783. "description": "现货合同ID [4:套期保值\\10\\11]",
  24784. "type": "string"
  24785. },
  24786. "taname": {
  24787. "description": "期货账户名称",
  24788. "type": "string"
  24789. },
  24790. "tradeamount": {
  24791. "description": "成交金额(账户)",
  24792. "type": "number"
  24793. },
  24794. "tradedate": {
  24795. "description": "交易日(yyyyMMdd)",
  24796. "type": "string"
  24797. },
  24798. "tradeid": {
  24799. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24800. "type": "string"
  24801. },
  24802. "tradelot": {
  24803. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  24804. "type": "integer"
  24805. },
  24806. "tradeprice": {
  24807. "description": "成交价格",
  24808. "type": "number"
  24809. },
  24810. "tradetime": {
  24811. "description": "时间 | db:成交时间",
  24812. "type": "string"
  24813. },
  24814. "tradetype": {
  24815. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24816. "type": "integer"
  24817. },
  24818. "userid": {
  24819. "description": "所属机构 - 所属母账户的UserID",
  24820. "type": "string"
  24821. },
  24822. "username": {
  24823. "description": "用户名称",
  24824. "type": "string"
  24825. }
  24826. }
  24827. },
  24828. "models.Ermcp3ParamChangeApp": {
  24829. "type": "object",
  24830. "properties": {
  24831. "aftervalue": {
  24832. "description": "变更后",
  24833. "type": "number"
  24834. },
  24835. "applicationid": {
  24836. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  24837. "type": "string"
  24838. },
  24839. "applyid": {
  24840. "description": "申请人",
  24841. "type": "string"
  24842. },
  24843. "applyname": {
  24844. "description": "申请人名称(代码)",
  24845. "type": "string"
  24846. },
  24847. "applyremark": {
  24848. "description": "申请备注",
  24849. "type": "string"
  24850. },
  24851. "applysrc": {
  24852. "description": "申请来源 - 1:管理端 2:终端",
  24853. "type": "integer"
  24854. },
  24855. "applystatus": {
  24856. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24857. "type": "integer"
  24858. },
  24859. "applytime": {
  24860. "description": "申请时间",
  24861. "type": "string"
  24862. },
  24863. "areauserid": {
  24864. "description": "所属机构用户ID",
  24865. "type": "integer"
  24866. },
  24867. "auditid": {
  24868. "description": "审核人",
  24869. "type": "string"
  24870. },
  24871. "auditname": {
  24872. "description": "审核人名称(代码)",
  24873. "type": "string"
  24874. },
  24875. "auditremark": {
  24876. "description": "审核备注",
  24877. "type": "string"
  24878. },
  24879. "auditsrc": {
  24880. "description": "审核来源 - 1:管理端 2:终端",
  24881. "type": "integer"
  24882. },
  24883. "audittime": {
  24884. "description": "审核时间",
  24885. "type": "string"
  24886. },
  24887. "audittradedate": {
  24888. "description": "审核交易日(yyyyMMdd)",
  24889. "type": "string"
  24890. },
  24891. "beforevalue": {
  24892. "description": "变更前",
  24893. "type": "number"
  24894. },
  24895. "deliverygoodscode": {
  24896. "description": "品种代码",
  24897. "type": "string"
  24898. },
  24899. "deliverygoodsid": {
  24900. "description": "品种id",
  24901. "type": "integer"
  24902. },
  24903. "deliverygoodsname": {
  24904. "description": "品种名称",
  24905. "type": "string"
  24906. },
  24907. "middlegoodscode": {
  24908. "description": "套保品种代码",
  24909. "type": "string"
  24910. },
  24911. "middlegoodsid": {
  24912. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  24913. "type": "integer"
  24914. },
  24915. "middlegoodsname": {
  24916. "description": "套保品种名称",
  24917. "type": "string"
  24918. },
  24919. "operatetype": {
  24920. "description": "操作类型 - 1:新增 2:修改",
  24921. "type": "integer"
  24922. },
  24923. "paramchangetype": {
  24924. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  24925. "type": "integer"
  24926. },
  24927. "wrstandardcode": {
  24928. "description": "现货商品代码",
  24929. "type": "string"
  24930. },
  24931. "wrstandardid": {
  24932. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  24933. "type": "integer"
  24934. },
  24935. "wrstandardname": {
  24936. "description": "现货商品名称",
  24937. "type": "string"
  24938. }
  24939. }
  24940. },
  24941. "models.Ermcp3RootUserAccount": {
  24942. "type": "object",
  24943. "properties": {
  24944. "accountname": {
  24945. "description": "账户名称(机构名称)",
  24946. "type": "string"
  24947. },
  24948. "accountstatus": {
  24949. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24950. "type": "integer"
  24951. },
  24952. "applysrc": {
  24953. "description": "申请来源 - 1:管理端 2:终端",
  24954. "type": "integer"
  24955. },
  24956. "auditremark": {
  24957. "description": "审核备注",
  24958. "type": "string"
  24959. },
  24960. "auditsrc": {
  24961. "description": "审核来源 - 1:管理端 2:终端",
  24962. "type": "integer"
  24963. },
  24964. "audittime": {
  24965. "description": "审核时间",
  24966. "type": "string"
  24967. },
  24968. "audituserid": {
  24969. "description": "审核人",
  24970. "type": "integer"
  24971. },
  24972. "broker": {
  24973. "description": "所属经纪人ID",
  24974. "type": "integer"
  24975. },
  24976. "canceltime": {
  24977. "description": "销户时间",
  24978. "type": "string"
  24979. },
  24980. "canceluserid": {
  24981. "description": "销户人",
  24982. "type": "integer"
  24983. },
  24984. "canrecommend": {
  24985. "description": "是否可推荐 - 0:不可 1;可",
  24986. "type": "integer"
  24987. },
  24988. "createtime": {
  24989. "description": "创建时间",
  24990. "type": "string"
  24991. },
  24992. "creatorid": {
  24993. "description": "创建人",
  24994. "type": "integer"
  24995. },
  24996. "hasauth": {
  24997. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24998. "type": "integer"
  24999. },
  25000. "isanonymous": {
  25001. "description": "是否匿名下单 - 0:否 1:是",
  25002. "type": "integer"
  25003. },
  25004. "maxinvestornum": {
  25005. "description": "最大用户数(经纪会员下投资者个数)",
  25006. "type": "integer"
  25007. },
  25008. "memberuserid": {
  25009. "description": "所属会员ID",
  25010. "type": "integer"
  25011. },
  25012. "modifierid": {
  25013. "description": "修改人",
  25014. "type": "integer"
  25015. },
  25016. "modifyremark": {
  25017. "description": "变更备注",
  25018. "type": "string"
  25019. },
  25020. "modifystatus": {
  25021. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25022. "type": "integer"
  25023. },
  25024. "modifytime": {
  25025. "description": "修改时间",
  25026. "type": "string"
  25027. },
  25028. "nickname": {
  25029. "description": "昵称",
  25030. "type": "string"
  25031. },
  25032. "parenttopuser": {
  25033. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25034. "type": "string"
  25035. },
  25036. "parentuserid": {
  25037. "description": "所属机构ID",
  25038. "type": "integer"
  25039. },
  25040. "reckonaccountid": {
  25041. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25042. "type": "integer"
  25043. },
  25044. "refercount": {
  25045. "description": "推荐总人数",
  25046. "type": "integer"
  25047. },
  25048. "refereeuserid": {
  25049. "description": "推荐人ID",
  25050. "type": "integer"
  25051. },
  25052. "refernum": {
  25053. "description": "推荐码",
  25054. "type": "string"
  25055. },
  25056. "rootuserid": {
  25057. "description": "根用户ID",
  25058. "type": "integer"
  25059. },
  25060. "subaccountlevel": {
  25061. "description": "子账户层数",
  25062. "type": "integer"
  25063. },
  25064. "subarealevelpath": {
  25065. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25066. "type": "string"
  25067. },
  25068. "userid": {
  25069. "description": "用户ID",
  25070. "type": "integer"
  25071. },
  25072. "usertype": {
  25073. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25074. "type": "integer"
  25075. }
  25076. }
  25077. },
  25078. "models.Ermcp3SCMiddleGoods": {
  25079. "type": "object",
  25080. "properties": {
  25081. "biztype": {
  25082. "description": "业务类型 1:套保 2:套利",
  25083. "type": "integer"
  25084. },
  25085. "contractno": {
  25086. "description": "合同编号",
  25087. "type": "string"
  25088. },
  25089. "contracttype": {
  25090. "description": "合同类型 1:采购 -1:销售",
  25091. "type": "integer"
  25092. },
  25093. "convertratio": {
  25094. "description": "折算系数",
  25095. "type": "number"
  25096. },
  25097. "customername": {
  25098. "description": "对手手名称",
  25099. "type": "string"
  25100. },
  25101. "customeruserid": {
  25102. "description": "对手id",
  25103. "type": "integer"
  25104. },
  25105. "deliverygoodscode": {
  25106. "description": "现货品种代码",
  25107. "type": "string"
  25108. },
  25109. "deliverygoodsid": {
  25110. "description": "现货品种ID",
  25111. "type": "integer"
  25112. },
  25113. "deliverygoodsname": {
  25114. "description": "现货品种名称",
  25115. "type": "string"
  25116. },
  25117. "enumdicname": {
  25118. "description": "现货单位名称",
  25119. "type": "string"
  25120. },
  25121. "middlegoodsid": {
  25122. "description": "套保品种ID",
  25123. "type": "integer"
  25124. },
  25125. "middlegoodspricedqty3": {
  25126. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25127. "type": "number"
  25128. },
  25129. "needhedgeratio": {
  25130. "description": "套保比例",
  25131. "type": "number"
  25132. },
  25133. "pricedqty": {
  25134. "description": "已定价量",
  25135. "type": "number"
  25136. },
  25137. "relatedmiddlegoodsqty": {
  25138. "description": "已关联量(套保品种)(期货)",
  25139. "type": "number"
  25140. },
  25141. "spotcontractid": {
  25142. "description": "合同编号",
  25143. "type": "string"
  25144. },
  25145. "unitid": {
  25146. "description": "现货单位id",
  25147. "type": "integer"
  25148. },
  25149. "userid": {
  25150. "description": "用户id",
  25151. "type": "integer"
  25152. },
  25153. "vatrate": {
  25154. "description": "增值税率",
  25155. "type": "number"
  25156. },
  25157. "wrstandardcode": {
  25158. "description": "现货商品代码",
  25159. "type": "string"
  25160. },
  25161. "wrstandardid": {
  25162. "description": "现货商品id",
  25163. "type": "integer"
  25164. },
  25165. "wrstandardname": {
  25166. "description": "现货商品名称",
  25167. "type": "string"
  25168. }
  25169. }
  25170. },
  25171. "models.Ermcp3SCMiddleGoodsReport": {
  25172. "type": "object",
  25173. "properties": {
  25174. "begindate": {
  25175. "description": "开始交易日",
  25176. "type": "string"
  25177. },
  25178. "contractno": {
  25179. "description": "合同编号",
  25180. "type": "string"
  25181. },
  25182. "contracttype": {
  25183. "description": "合同类型 1:采购 -1:销售",
  25184. "type": "integer"
  25185. },
  25186. "convertratio": {
  25187. "description": "折算系数",
  25188. "type": "number"
  25189. },
  25190. "cycletime": {
  25191. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25192. "type": "string"
  25193. },
  25194. "cycletype": {
  25195. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25196. "type": "integer"
  25197. },
  25198. "deliverygoodscode": {
  25199. "description": "品种代码",
  25200. "type": "string"
  25201. },
  25202. "deliverygoodsid": {
  25203. "description": "现货品种ID",
  25204. "type": "integer"
  25205. },
  25206. "deliverygoodsname": {
  25207. "description": "品种名称",
  25208. "type": "string"
  25209. },
  25210. "diffprice": {
  25211. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  25212. "type": "number"
  25213. },
  25214. "diffqty": {
  25215. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  25216. "type": "number"
  25217. },
  25218. "enddate": {
  25219. "description": "结束交易日",
  25220. "type": "string"
  25221. },
  25222. "hedgeplanqty": {
  25223. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  25224. "type": "number"
  25225. },
  25226. "matchname": {
  25227. "description": "交易对手方(个人:用户名称 企业:简称)",
  25228. "type": "string"
  25229. },
  25230. "matchnickname": {
  25231. "description": "交易对手方昵称",
  25232. "type": "string"
  25233. },
  25234. "middlegoodscode": {
  25235. "description": "套保品种代码",
  25236. "type": "string"
  25237. },
  25238. "middlegoodsid": {
  25239. "description": "套保品种ID",
  25240. "type": "integer"
  25241. },
  25242. "middlegoodsname": {
  25243. "description": "套保品种名称",
  25244. "type": "string"
  25245. },
  25246. "middlegoodspricedqty": {
  25247. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  25248. "type": "number"
  25249. },
  25250. "middlegoodspricedqty2": {
  25251. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  25252. "type": "number"
  25253. },
  25254. "middlegoodspricedqty3": {
  25255. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25256. "type": "number"
  25257. },
  25258. "needhedgeratio": {
  25259. "description": "套保系数",
  25260. "type": "number"
  25261. },
  25262. "pricedamount": {
  25263. "description": "已定价额(现货)",
  25264. "type": "number"
  25265. },
  25266. "pricedamount2": {
  25267. "description": "已定价额(现货-基价额)",
  25268. "type": "number"
  25269. },
  25270. "pricedqty": {
  25271. "description": "已定价量(现货)",
  25272. "type": "number"
  25273. },
  25274. "reckondate": {
  25275. "description": "日照时期(yyyyMMdd)",
  25276. "type": "string"
  25277. },
  25278. "relatedmiddlegoodsamount": {
  25279. "description": "已关联额(期货)",
  25280. "type": "number"
  25281. },
  25282. "relatedmiddlegoodsqty": {
  25283. "description": "已关联量(套保品种)(期货)",
  25284. "type": "number"
  25285. },
  25286. "spotcontractid": {
  25287. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25288. "type": "string"
  25289. },
  25290. "todayavgfutuprice": {
  25291. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  25292. "type": "number"
  25293. },
  25294. "todayavgprice": {
  25295. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  25296. "type": "number"
  25297. },
  25298. "todayavgprice2": {
  25299. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  25300. "type": "number"
  25301. },
  25302. "todaypricedamount": {
  25303. "description": "今日定价额(现货)",
  25304. "type": "number"
  25305. },
  25306. "todaypricedamount2": {
  25307. "description": "今日定价额(现货-基价额)",
  25308. "type": "number"
  25309. },
  25310. "todaypricedqty": {
  25311. "description": "今日定价量(现货)",
  25312. "type": "number"
  25313. },
  25314. "todayrelatedfutureqty": {
  25315. "description": "今日关联量(期货)",
  25316. "type": "number"
  25317. },
  25318. "todayrelatedmiddlegoodsamount": {
  25319. "description": "今日关联额(期货)",
  25320. "type": "number"
  25321. },
  25322. "todayrelatedmiddlegoodsqty": {
  25323. "description": "今日关联量(套保品-期货)",
  25324. "type": "number"
  25325. },
  25326. "updatetime": {
  25327. "description": "更新时间",
  25328. "type": "string"
  25329. },
  25330. "userid": {
  25331. "description": "合同所属用户id",
  25332. "type": "integer"
  25333. },
  25334. "vatrate": {
  25335. "description": "增值税率",
  25336. "type": "number"
  25337. },
  25338. "wrstandardcode": {
  25339. "description": "商品(品类) 代码",
  25340. "type": "string"
  25341. },
  25342. "wrstandardid": {
  25343. "description": "现货商品ID",
  25344. "type": "integer"
  25345. },
  25346. "wrstandardname": {
  25347. "description": "商品(品类) 名称",
  25348. "type": "string"
  25349. }
  25350. }
  25351. },
  25352. "models.Ermcp3SellBuyContract": {
  25353. "type": "object",
  25354. "properties": {
  25355. "accountid": {
  25356. "description": "期货账户id",
  25357. "type": "string"
  25358. },
  25359. "accountname": {
  25360. "description": "账户名称",
  25361. "type": "string"
  25362. },
  25363. "attachment": {
  25364. "description": "附件",
  25365. "type": "string"
  25366. },
  25367. "audittime": {
  25368. "description": "审核时间",
  25369. "type": "string"
  25370. },
  25371. "bizsubjectid": {
  25372. "description": "归属业务部门ID - SubjectID",
  25373. "type": "integer"
  25374. },
  25375. "biztype": {
  25376. "description": "业务类型 1-套保 2-套利",
  25377. "type": "integer"
  25378. },
  25379. "brandname": {
  25380. "description": "品牌名称",
  25381. "type": "string"
  25382. },
  25383. "contracctstatus": {
  25384. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25385. "type": "integer"
  25386. },
  25387. "contractmargin": {
  25388. "description": "合同保证金",
  25389. "type": "number"
  25390. },
  25391. "contractno": {
  25392. "description": "合同编号",
  25393. "type": "string"
  25394. },
  25395. "contracttype": {
  25396. "description": "合同类型 1-采购, -1-销售",
  25397. "type": "integer"
  25398. },
  25399. "convertfactor": {
  25400. "description": "标仓系数(品类)",
  25401. "type": "number"
  25402. },
  25403. "createtime": {
  25404. "description": "创建时间",
  25405. "type": "string"
  25406. },
  25407. "currencyid": {
  25408. "description": "币种id",
  25409. "type": "integer"
  25410. },
  25411. "currencyname": {
  25412. "description": "币种名称",
  25413. "type": "string"
  25414. },
  25415. "daikaiamount": {
  25416. "description": "应收(开)票额 | 未收票额",
  25417. "type": "number"
  25418. },
  25419. "deliveryenddate": {
  25420. "description": "交割结束日",
  25421. "type": "string"
  25422. },
  25423. "deliverygoodscode": {
  25424. "description": "现货品种代码",
  25425. "type": "string"
  25426. },
  25427. "deliverygoodsid": {
  25428. "description": "现货商品ID",
  25429. "type": "integer"
  25430. },
  25431. "deliverygoodsname": {
  25432. "description": "现货品种名称",
  25433. "type": "string"
  25434. },
  25435. "deliverystartdate": {
  25436. "description": "交割开始日",
  25437. "type": "string"
  25438. },
  25439. "enddate": {
  25440. "description": "点价结束日",
  25441. "type": "string"
  25442. },
  25443. "enumdicname": {
  25444. "description": "单位名称",
  25445. "type": "string"
  25446. },
  25447. "goodscode": {
  25448. "description": "点价商品代码",
  25449. "type": "string"
  25450. },
  25451. "goodsgroupid": {
  25452. "description": "点价商品组id",
  25453. "type": "integer"
  25454. },
  25455. "goodsid": {
  25456. "description": "点价商品ID",
  25457. "type": "integer"
  25458. },
  25459. "goodsname": {
  25460. "description": "点价商品名称",
  25461. "type": "string"
  25462. },
  25463. "invoiceamount": {
  25464. "description": "已开票额",
  25465. "type": "number"
  25466. },
  25467. "loanamount": {
  25468. "description": "贷款总额=已定价额+调整金额",
  25469. "type": "number"
  25470. },
  25471. "margin": {
  25472. "description": "保证金",
  25473. "type": "number"
  25474. },
  25475. "meruserid": {
  25476. "description": "跟单员id",
  25477. "type": "integer"
  25478. },
  25479. "meruserlogincode": {
  25480. "description": "跟单员登录代码",
  25481. "type": "string"
  25482. },
  25483. "merusername": {
  25484. "description": "跟单员名称",
  25485. "type": "string"
  25486. },
  25487. "nickname": {
  25488. "description": "账户昵称",
  25489. "type": "string"
  25490. },
  25491. "orireckonrealqty": {
  25492. "description": "应交收量",
  25493. "type": "number"
  25494. },
  25495. "payamount": {
  25496. "description": "已收付额(收款或付款)",
  25497. "type": "number"
  25498. },
  25499. "preinvoiceamount": {
  25500. "description": "预收(开)票额",
  25501. "type": "number"
  25502. },
  25503. "prepayamount": {
  25504. "description": "预收付额",
  25505. "type": "number"
  25506. },
  25507. "price": {
  25508. "description": "价格",
  25509. "type": "number"
  25510. },
  25511. "pricedamount": {
  25512. "description": "已定价额",
  25513. "type": "number"
  25514. },
  25515. "pricedavg": {
  25516. "description": "已点均价",
  25517. "type": "number"
  25518. },
  25519. "pricedqty": {
  25520. "description": "已定价量",
  25521. "type": "number"
  25522. },
  25523. "pricemove": {
  25524. "description": "升贴水",
  25525. "type": "number"
  25526. },
  25527. "pricetype": {
  25528. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25529. "type": "integer"
  25530. },
  25531. "producttype": {
  25532. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25533. "type": "integer"
  25534. },
  25535. "qty": {
  25536. "description": "合同量",
  25537. "type": "number"
  25538. },
  25539. "reckonadjustamount": {
  25540. "description": "调整金额",
  25541. "type": "number"
  25542. },
  25543. "reckonedamount": {
  25544. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25545. "type": "number"
  25546. },
  25547. "reckonotheramount": {
  25548. "description": "其它费用",
  25549. "type": "number"
  25550. },
  25551. "reckonrealqty": {
  25552. "description": "已交收量",
  25553. "type": "number"
  25554. },
  25555. "remark": {
  25556. "description": "备注",
  25557. "type": "string"
  25558. },
  25559. "saleuserid": {
  25560. "description": "业务员id",
  25561. "type": "integer"
  25562. },
  25563. "saleuserlogincode": {
  25564. "description": "业务员登录代码",
  25565. "type": "string"
  25566. },
  25567. "saleusername": {
  25568. "description": "业务员名称",
  25569. "type": "string"
  25570. },
  25571. "spotcontractid": {
  25572. "description": "合同ID",
  25573. "type": "string"
  25574. },
  25575. "spotgoodsbrandid": {
  25576. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25577. "type": "integer"
  25578. },
  25579. "spotgoodsdesc": {
  25580. "description": "商品型号(商品规格)",
  25581. "type": "string"
  25582. },
  25583. "startdate": {
  25584. "description": "点价开始日",
  25585. "type": "string"
  25586. },
  25587. "subjectid": {
  25588. "description": "交易主体ID",
  25589. "type": "integer"
  25590. },
  25591. "subjectname": {
  25592. "description": "交易主体名称",
  25593. "type": "string"
  25594. },
  25595. "totalamount": {
  25596. "description": "合计总额",
  25597. "type": "number"
  25598. },
  25599. "tradeuserid": {
  25600. "description": "交易员id",
  25601. "type": "integer"
  25602. },
  25603. "tradeuserlogincode": {
  25604. "description": "交易员登录代码",
  25605. "type": "string"
  25606. },
  25607. "tradeusername": {
  25608. "description": "交易员名称",
  25609. "type": "string"
  25610. },
  25611. "unpayamount": {
  25612. "description": "应收付款额(应支付或应收款) | 未付款额",
  25613. "type": "number"
  25614. },
  25615. "unpricedqty": {
  25616. "description": "未定价量",
  25617. "type": "number"
  25618. },
  25619. "unsureqty": {
  25620. "description": "未确定量 | 未交收量",
  25621. "type": "number"
  25622. },
  25623. "userid": {
  25624. "description": "机构ID",
  25625. "type": "integer"
  25626. },
  25627. "vatrate": {
  25628. "description": "增值税率",
  25629. "type": "number"
  25630. },
  25631. "wrstandardcode": {
  25632. "description": "品类代码",
  25633. "type": "string"
  25634. },
  25635. "wrstandardid": {
  25636. "description": "品类ID",
  25637. "type": "integer"
  25638. },
  25639. "wrstandardname": {
  25640. "description": "品类名称",
  25641. "type": "string"
  25642. }
  25643. }
  25644. },
  25645. "models.Ermcp3SpotGoodsPrice": {
  25646. "type": "object",
  25647. "properties": {
  25648. "areauserid": {
  25649. "description": "所属机构id",
  25650. "type": "integer"
  25651. },
  25652. "brandname": {
  25653. "description": "品牌名称",
  25654. "type": "string"
  25655. },
  25656. "currencyid": {
  25657. "description": "报价货币ID",
  25658. "type": "integer"
  25659. },
  25660. "currencyname": {
  25661. "description": "币种名称",
  25662. "type": "string"
  25663. },
  25664. "deliverygoodscode": {
  25665. "description": "现货商品代码",
  25666. "type": "string"
  25667. },
  25668. "deliverygoodsid": {
  25669. "description": "现货商品id",
  25670. "type": "integer"
  25671. },
  25672. "deliverygoodsname": {
  25673. "description": "现货商品名称",
  25674. "type": "string"
  25675. },
  25676. "enumdicname": {
  25677. "description": "现货商品单位名称",
  25678. "type": "string"
  25679. },
  25680. "gbenumdicname": {
  25681. "description": "品类单位名称",
  25682. "type": "string"
  25683. },
  25684. "gmunitid": {
  25685. "description": "品类单位id",
  25686. "type": "integer"
  25687. },
  25688. "isvalid": {
  25689. "description": "是否有效 - 0:无效 1:有效",
  25690. "type": "integer"
  25691. },
  25692. "operateid": {
  25693. "description": "最后操作人",
  25694. "type": "integer"
  25695. },
  25696. "operatesrc": {
  25697. "description": "最后操作来源 - 1:管理端 2:终端",
  25698. "type": "integer"
  25699. },
  25700. "operatetime": {
  25701. "description": "最后操作时间",
  25702. "type": "string"
  25703. },
  25704. "operatorname": {
  25705. "description": "操作人名称",
  25706. "type": "string"
  25707. },
  25708. "spotgoodsbrandid": {
  25709. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25710. "type": "integer"
  25711. },
  25712. "spotgoodsprice": {
  25713. "description": "现货价格",
  25714. "type": "number"
  25715. },
  25716. "tradedate": {
  25717. "description": "交易日(yyyyMMdd)",
  25718. "type": "string"
  25719. },
  25720. "unitid": {
  25721. "description": "现货商品单位id",
  25722. "type": "integer"
  25723. },
  25724. "wrstandardcode": {
  25725. "description": "品类代码",
  25726. "type": "string"
  25727. },
  25728. "wrstandardid": {
  25729. "description": "现货品类ID(通用则为0)",
  25730. "type": "integer"
  25731. },
  25732. "wrstandardname": {
  25733. "description": "品类名称",
  25734. "type": "string"
  25735. }
  25736. }
  25737. },
  25738. "models.Ermcp3SpotGoodsPriceLog": {
  25739. "type": "object",
  25740. "properties": {
  25741. "areauserid": {
  25742. "description": "所属机构id",
  25743. "type": "integer"
  25744. },
  25745. "brandname": {
  25746. "description": "品牌名称",
  25747. "type": "string"
  25748. },
  25749. "currencyid": {
  25750. "description": "报价货币ID",
  25751. "type": "integer"
  25752. },
  25753. "deliverygoodscode": {
  25754. "description": "现货商品代码",
  25755. "type": "string"
  25756. },
  25757. "deliverygoodsid": {
  25758. "description": "现货商品id",
  25759. "type": "integer"
  25760. },
  25761. "deliverygoodsname": {
  25762. "description": "现货商品名称",
  25763. "type": "string"
  25764. },
  25765. "enumdicname": {
  25766. "description": "现货商品单位名称",
  25767. "type": "string"
  25768. },
  25769. "gbenumdicname": {
  25770. "description": "品类单位名称",
  25771. "type": "string"
  25772. },
  25773. "gmunitid": {
  25774. "description": "品类单位id",
  25775. "type": "integer"
  25776. },
  25777. "logid": {
  25778. "description": "日志id",
  25779. "type": "integer"
  25780. },
  25781. "operateid": {
  25782. "description": "最后操作人",
  25783. "type": "integer"
  25784. },
  25785. "operatesrc": {
  25786. "description": "最后操作来源 - 1:管理端 2:终端",
  25787. "type": "integer"
  25788. },
  25789. "operatetime": {
  25790. "description": "最后操作时间",
  25791. "type": "string"
  25792. },
  25793. "operatorname": {
  25794. "description": "操作人名称",
  25795. "type": "string"
  25796. },
  25797. "spotgoodsbrandid": {
  25798. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25799. "type": "integer"
  25800. },
  25801. "spotgoodsprice": {
  25802. "description": "现货价格",
  25803. "type": "number"
  25804. },
  25805. "tradedate": {
  25806. "description": "交易日(yyyyMMdd)",
  25807. "type": "string"
  25808. },
  25809. "unitid": {
  25810. "description": "现货商品单位id",
  25811. "type": "integer"
  25812. },
  25813. "wrstandardcode": {
  25814. "description": "品类代码",
  25815. "type": "string"
  25816. },
  25817. "wrstandardid": {
  25818. "description": "现货品类ID(通用则为0)",
  25819. "type": "integer"
  25820. },
  25821. "wrstandardname": {
  25822. "description": "品类名称",
  25823. "type": "string"
  25824. }
  25825. }
  25826. },
  25827. "models.Ermcp3SubTaaccount": {
  25828. "type": "object",
  25829. "properties": {
  25830. "accountid": {
  25831. "description": "资金账户ID",
  25832. "type": "integer"
  25833. },
  25834. "parentaccountcode": {
  25835. "description": "所属根账号代码(母账号代码)",
  25836. "type": "string"
  25837. },
  25838. "parentaccountid": {
  25839. "description": "所属根账号(母账号)",
  25840. "type": "integer"
  25841. },
  25842. "taname": {
  25843. "description": "资金账号名称",
  25844. "type": "string"
  25845. },
  25846. "tradestatus": {
  25847. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  25848. "type": "integer"
  25849. },
  25850. "username": {
  25851. "description": "交易用户",
  25852. "type": "string"
  25853. }
  25854. }
  25855. },
  25856. "models.Ermcp3TaFutuReDataReport": {
  25857. "type": "object",
  25858. "properties": {
  25859. "accountid": {
  25860. "description": "交易账户",
  25861. "type": "integer"
  25862. },
  25863. "accountname": {
  25864. "description": "交易账号名称",
  25865. "type": "string"
  25866. },
  25867. "agreeunit": {
  25868. "description": "商品合约单位",
  25869. "type": "number"
  25870. },
  25871. "begindate": {
  25872. "description": "开始交易日",
  25873. "type": "string"
  25874. },
  25875. "buyorsell": {
  25876. "description": "持仓方向",
  25877. "type": "integer"
  25878. },
  25879. "charge": {
  25880. "description": "手续费",
  25881. "type": "number"
  25882. },
  25883. "closeavgprice": {
  25884. "description": "平仓均价",
  25885. "type": "number"
  25886. },
  25887. "closepl": {
  25888. "description": "平仓损益",
  25889. "type": "number"
  25890. },
  25891. "currencyid": {
  25892. "description": "结算币种ID",
  25893. "type": "integer"
  25894. },
  25895. "currencyname": {
  25896. "description": "币种名称",
  25897. "type": "string"
  25898. },
  25899. "cycletime": {
  25900. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25901. "type": "string"
  25902. },
  25903. "cycletype": {
  25904. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25905. "type": "integer"
  25906. },
  25907. "enddate": {
  25908. "description": "结束交易日",
  25909. "type": "string"
  25910. },
  25911. "enumdicname": {
  25912. "description": "单位名称",
  25913. "type": "string"
  25914. },
  25915. "floatpl": {
  25916. "description": "浮动损益",
  25917. "type": "number"
  25918. },
  25919. "goodscode": {
  25920. "description": "交易合约代码",
  25921. "type": "string"
  25922. },
  25923. "goodsgroupid": {
  25924. "description": "交易品种",
  25925. "type": "integer"
  25926. },
  25927. "goodsgroupname": {
  25928. "description": "交易品种名称",
  25929. "type": "string"
  25930. },
  25931. "goodsgroupspotqty": {
  25932. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  25933. "type": "number"
  25934. },
  25935. "goodsid": {
  25936. "description": "交易合约",
  25937. "type": "integer"
  25938. },
  25939. "goodsname": {
  25940. "description": "交易合约名称",
  25941. "type": "string"
  25942. },
  25943. "goodunitid": {
  25944. "description": "交易合约单位id",
  25945. "type": "integer"
  25946. },
  25947. "holdamount": {
  25948. "description": "期末持仓额",
  25949. "type": "number"
  25950. },
  25951. "holdqty": {
  25952. "description": "期末持仓量",
  25953. "type": "number"
  25954. },
  25955. "lastholdamount": {
  25956. "description": "当前持仓额",
  25957. "type": "number"
  25958. },
  25959. "lastprice": {
  25960. "description": "最新价",
  25961. "type": "number"
  25962. },
  25963. "middlegoodsid": {
  25964. "description": "套保品种id",
  25965. "type": "integer"
  25966. },
  25967. "middlegoodsname": {
  25968. "description": "套保商品名称",
  25969. "type": "string"
  25970. },
  25971. "middlegoodsqty": {
  25972. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  25973. "type": "number"
  25974. },
  25975. "middlgoodscode": {
  25976. "description": "套保商品代码",
  25977. "type": "string"
  25978. },
  25979. "openamount": {
  25980. "description": "期末开仓额",
  25981. "type": "number"
  25982. },
  25983. "openavgprice": {
  25984. "description": "开仓均价",
  25985. "type": "number"
  25986. },
  25987. "oriholdamount": {
  25988. "description": "期初持仓额",
  25989. "type": "number"
  25990. },
  25991. "oriholdqty": {
  25992. "description": "期初持仓量",
  25993. "type": "number"
  25994. },
  25995. "oriopenamount": {
  25996. "description": "期初开仓额",
  25997. "type": "number"
  25998. },
  25999. "outergroupcode": {
  26000. "description": "交易品种代码",
  26001. "type": "string"
  26002. },
  26003. "qtydecimalplace": {
  26004. "description": "成交量小数位",
  26005. "type": "integer"
  26006. },
  26007. "reckondate": {
  26008. "description": "日照时期(yyyyMMdd)",
  26009. "type": "string"
  26010. },
  26011. "reckonholdamount": {
  26012. "description": "结算持仓额",
  26013. "type": "number"
  26014. },
  26015. "reckonpl": {
  26016. "description": "结算损益",
  26017. "type": "number"
  26018. },
  26019. "reckonpl2": {
  26020. "description": "结算逐笔盈亏",
  26021. "type": "number"
  26022. },
  26023. "reckonprice": {
  26024. "description": "结算价",
  26025. "type": "number"
  26026. },
  26027. "relateduserid": {
  26028. "description": "账户关联用户ID",
  26029. "type": "integer"
  26030. },
  26031. "todaycloseamount": {
  26032. "description": "今平仓额",
  26033. "type": "number"
  26034. },
  26035. "todaycloseqty": {
  26036. "description": "今平仓量",
  26037. "type": "number"
  26038. },
  26039. "todaygoodsgroupspotqty": {
  26040. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26041. "type": "number"
  26042. },
  26043. "todaymiddlegoodsqty": {
  26044. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26045. "type": "number"
  26046. },
  26047. "todayopenamount": {
  26048. "description": "今开仓额",
  26049. "type": "number"
  26050. },
  26051. "todayopenqty": {
  26052. "description": "今开仓量",
  26053. "type": "number"
  26054. },
  26055. "userid": {
  26056. "description": "账户所属用户ID",
  26057. "type": "integer"
  26058. }
  26059. }
  26060. },
  26061. "models.Ermcp3TradeLinkDetail": {
  26062. "type": "object",
  26063. "properties": {
  26064. "accountid": {
  26065. "description": "资金账号",
  26066. "type": "integer"
  26067. },
  26068. "agreeunit": {
  26069. "description": "合约乘数",
  26070. "type": "number"
  26071. },
  26072. "areauserid": {
  26073. "description": "所属机构",
  26074. "type": "string"
  26075. },
  26076. "bizsubjectid": {
  26077. "description": "归属业务部门ID - SubjectID",
  26078. "type": "string"
  26079. },
  26080. "buyorsell": {
  26081. "description": "方向 - 0:买 1:卖",
  26082. "type": "integer"
  26083. },
  26084. "channelbuildtype": {
  26085. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26086. "type": "integer"
  26087. },
  26088. "contractno": {
  26089. "description": "现货编号 (合同编号)",
  26090. "type": "string"
  26091. },
  26092. "convertratio": {
  26093. "description": "折算系数",
  26094. "type": "number"
  26095. },
  26096. "createtime": {
  26097. "description": "关联时间 | 创建时间",
  26098. "type": "string"
  26099. },
  26100. "creatorid": {
  26101. "description": "创建人ID",
  26102. "type": "string"
  26103. },
  26104. "creatorsrc": {
  26105. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26106. "type": "integer"
  26107. },
  26108. "enumdicname": {
  26109. "description": "单位名称",
  26110. "type": "string"
  26111. },
  26112. "goodscode": {
  26113. "description": "合约代码",
  26114. "type": "string"
  26115. },
  26116. "goodsgroupid": {
  26117. "description": "对冲品种ID[期货合约商品组ID]",
  26118. "type": "integer"
  26119. },
  26120. "goodsid": {
  26121. "description": "商品ID",
  26122. "type": "integer"
  26123. },
  26124. "goodsname": {
  26125. "description": "合约名称",
  26126. "type": "string"
  26127. },
  26128. "hedgeflag": {
  26129. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26130. "type": "integer"
  26131. },
  26132. "linkdetailid": {
  26133. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26134. "type": "string"
  26135. },
  26136. "linkstatus": {
  26137. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26138. "type": "integer"
  26139. },
  26140. "middlegoodscode": {
  26141. "description": "套保品种代码",
  26142. "type": "string"
  26143. },
  26144. "middlegoodsid": {
  26145. "description": "套保品种ID",
  26146. "type": "integer"
  26147. },
  26148. "middlegoodsname": {
  26149. "description": "套保品种名称",
  26150. "type": "string"
  26151. },
  26152. "relatedlot": {
  26153. "description": "关联手数",
  26154. "type": "number"
  26155. },
  26156. "relatedmode": {
  26157. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26158. "type": "integer"
  26159. },
  26160. "relatedqty": {
  26161. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26162. "type": "number"
  26163. },
  26164. "retcode": {
  26165. "description": "返回码",
  26166. "type": "integer"
  26167. },
  26168. "saleuserid": {
  26169. "description": "业务员ID",
  26170. "type": "string"
  26171. },
  26172. "spotcontractid": {
  26173. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26174. "type": "string"
  26175. },
  26176. "taname": {
  26177. "description": "期货账户",
  26178. "type": "string"
  26179. },
  26180. "tradedate": {
  26181. "description": "关联交易日(yyyyMMdd)",
  26182. "type": "string"
  26183. },
  26184. "tradeid": {
  26185. "description": "期货订单号 | 内部成交单ID",
  26186. "type": "string"
  26187. },
  26188. "tradelot": {
  26189. "description": "成交数量 | 成交手数",
  26190. "type": "integer"
  26191. },
  26192. "tradeprice": {
  26193. "description": "成交价格",
  26194. "type": "number"
  26195. },
  26196. "tradetime": {
  26197. "description": "期货成交时间",
  26198. "type": "string"
  26199. },
  26200. "tradetradedate": {
  26201. "description": "成交交易日(yyyyMMdd)",
  26202. "type": "string"
  26203. },
  26204. "username": {
  26205. "description": "用户名称",
  26206. "type": "string"
  26207. }
  26208. }
  26209. },
  26210. "models.Ermcp3Wrstandard": {
  26211. "type": "object",
  26212. "properties": {
  26213. "areauserid": {
  26214. "description": "所属机构",
  26215. "type": "integer"
  26216. },
  26217. "cantrade": {
  26218. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26219. "type": "integer"
  26220. },
  26221. "convertfactor": {
  26222. "description": "标仓系数",
  26223. "type": "number"
  26224. },
  26225. "createtime": {
  26226. "description": "创建时间",
  26227. "type": "string"
  26228. },
  26229. "creatorid": {
  26230. "description": "创建人",
  26231. "type": "integer"
  26232. },
  26233. "deliverygoodsid": {
  26234. "description": "现货品种ID",
  26235. "type": "integer"
  26236. },
  26237. "enumdicname": {
  26238. "description": "品类单位名称",
  26239. "type": "string"
  26240. },
  26241. "isvalid": {
  26242. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26243. "type": "integer"
  26244. },
  26245. "minivalue": {
  26246. "description": "最小变动值",
  26247. "type": "integer"
  26248. },
  26249. "minivaluedp": {
  26250. "description": "最小变动值小数位",
  26251. "type": "integer"
  26252. },
  26253. "realminivalue": {
  26254. "description": "实际最小变动值",
  26255. "type": "integer"
  26256. },
  26257. "realminivaluedp": {
  26258. "description": "实际最小变动值小数位",
  26259. "type": "integer"
  26260. },
  26261. "remark": {
  26262. "description": "备注",
  26263. "type": "string"
  26264. },
  26265. "unitid": {
  26266. "description": "品类单位ID",
  26267. "type": "integer"
  26268. },
  26269. "updatetime": {
  26270. "description": "更新时间",
  26271. "type": "string"
  26272. },
  26273. "wrstandardcode": {
  26274. "description": "品类代码",
  26275. "type": "string"
  26276. },
  26277. "wrstandardid": {
  26278. "description": "品类ID(SEQ_WRSTANDARD)",
  26279. "type": "integer"
  26280. },
  26281. "wrstandardname": {
  26282. "description": "品类名称",
  26283. "type": "string"
  26284. }
  26285. }
  26286. },
  26287. "models.Ermcp8EnableHedgeditem": {
  26288. "type": "object",
  26289. "properties": {
  26290. "accountname": {
  26291. "description": "套期主体",
  26292. "type": "string"
  26293. },
  26294. "hedgeditemid": {
  26295. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26296. "type": "string"
  26297. },
  26298. "hedgeditemname": {
  26299. "description": "项目名称",
  26300. "type": "string"
  26301. },
  26302. "hedgeditemnum": {
  26303. "description": "项目编号",
  26304. "type": "string"
  26305. },
  26306. "hedgedtype": {
  26307. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26308. "type": "integer"
  26309. },
  26310. "planenddate": {
  26311. "description": "计划结束日期",
  26312. "type": "string"
  26313. },
  26314. "planstartdate": {
  26315. "description": "计划开始日期",
  26316. "type": "string"
  26317. }
  26318. }
  26319. },
  26320. "models.Ermcp8HedgeditemReport": {
  26321. "type": "object",
  26322. "properties": {
  26323. "accountname": {
  26324. "description": "套期主体",
  26325. "type": "string"
  26326. },
  26327. "areauserid": {
  26328. "description": "企业ID",
  26329. "type": "integer"
  26330. },
  26331. "curprice": {
  26332. "description": "[当日现货市场价]当前市场价",
  26333. "type": "number"
  26334. },
  26335. "enumdicname": {
  26336. "description": "单位",
  26337. "type": "string"
  26338. },
  26339. "exeamount": {
  26340. "description": "[执行现货金额]执行市价总额",
  26341. "type": "number"
  26342. },
  26343. "exeavgprice": {
  26344. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26345. "type": "number"
  26346. },
  26347. "exeqty": {
  26348. "description": "[执行数量]执行现货量",
  26349. "type": "number"
  26350. },
  26351. "futurehedgepl": {
  26352. "description": "期货实际损益",
  26353. "type": "number"
  26354. },
  26355. "futurehedgeplchange": {
  26356. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26357. "type": "number"
  26358. },
  26359. "futurepl": {
  26360. "description": "期货套期损益",
  26361. "type": "number"
  26362. },
  26363. "futureplchange": {
  26364. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26365. "type": "number"
  26366. },
  26367. "hedgeamount": {
  26368. "description": "[套期现货金额]套期市价总额",
  26369. "type": "number"
  26370. },
  26371. "hedgeditemnum": {
  26372. "description": "项目编号,模糊查询",
  26373. "type": "string"
  26374. },
  26375. "hedgeditemstatus": {
  26376. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26377. "type": "integer"
  26378. },
  26379. "hedgedtype": {
  26380. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26381. "type": "integer"
  26382. },
  26383. "hedgeqty": {
  26384. "description": "[套期数量]套期现货量",
  26385. "type": "number"
  26386. },
  26387. "oriavgprice": {
  26388. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26389. "type": "number"
  26390. },
  26391. "orifuturehedgepl": {
  26392. "description": "期初期货实际损益",
  26393. "type": "number"
  26394. },
  26395. "orifuturepl": {
  26396. "description": "期初期货套期损益",
  26397. "type": "number"
  26398. },
  26399. "orispothedgepl": {
  26400. "description": "期初现货实际损益",
  26401. "type": "number"
  26402. },
  26403. "orispotpl": {
  26404. "description": "期初现货套期损益",
  26405. "type": "number"
  26406. },
  26407. "planenddate": {
  26408. "description": "计划结束日期",
  26409. "type": "string"
  26410. },
  26411. "planstartdate": {
  26412. "description": "计划开始日期",
  26413. "type": "string"
  26414. },
  26415. "spothedgepl": {
  26416. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26417. "type": "number"
  26418. },
  26419. "spothedgeplchange": {
  26420. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26421. "type": "number"
  26422. },
  26423. "spotpl": {
  26424. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26425. "type": "number"
  26426. },
  26427. "spotplchange": {
  26428. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26429. "type": "number"
  26430. },
  26431. "tradeuserid": {
  26432. "description": "交易用户ID",
  26433. "type": "integer"
  26434. },
  26435. "unexeqty": {
  26436. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26437. "type": "number"
  26438. },
  26439. "wrstandardcode": {
  26440. "description": "现货品类代码",
  26441. "type": "string"
  26442. },
  26443. "wrstandardid": {
  26444. "description": "现货商品ID",
  26445. "type": "integer"
  26446. },
  26447. "wrstandardname": {
  26448. "description": "[现货商品]现货品类名称",
  26449. "type": "string"
  26450. }
  26451. }
  26452. },
  26453. "models.Ermcp8RunningHedgeditem": {
  26454. "type": "object",
  26455. "properties": {
  26456. "accountname": {
  26457. "description": "套期主体",
  26458. "type": "string"
  26459. },
  26460. "applyid": {
  26461. "description": "申请人",
  26462. "type": "integer"
  26463. },
  26464. "applysrc": {
  26465. "description": "申请来源 - 1:管理端 2:终端",
  26466. "type": "integer"
  26467. },
  26468. "areauserid": {
  26469. "description": "企业ID",
  26470. "type": "integer"
  26471. },
  26472. "auditid": {
  26473. "description": "审核人",
  26474. "type": "integer"
  26475. },
  26476. "auditremark": {
  26477. "description": "审核备注",
  26478. "type": "string"
  26479. },
  26480. "auditsrc": {
  26481. "description": "审核来源 - 1:管理端 2:终端",
  26482. "type": "integer"
  26483. },
  26484. "audittime": {
  26485. "description": "审核时间",
  26486. "type": "string"
  26487. },
  26488. "audittradedate": {
  26489. "description": "审核交易日(yyyyMMdd)",
  26490. "type": "string"
  26491. },
  26492. "createtime": {
  26493. "description": "申请时间",
  26494. "type": "string"
  26495. },
  26496. "curprice": {
  26497. "description": "当前市场价",
  26498. "type": "number"
  26499. },
  26500. "curstock": {
  26501. "description": "期末库存量 = 采购总量 - 销售总量",
  26502. "type": "number"
  26503. },
  26504. "deliverygoodsid": {
  26505. "description": "现货品种ID",
  26506. "type": "integer"
  26507. },
  26508. "enddate": {
  26509. "description": "完成日期",
  26510. "type": "string"
  26511. },
  26512. "endtradedate": {
  26513. "description": "完成交易日",
  26514. "type": "string"
  26515. },
  26516. "enumdicname": {
  26517. "description": "单位",
  26518. "type": "string"
  26519. },
  26520. "exeamount": {
  26521. "description": "执行市价总额",
  26522. "type": "number"
  26523. },
  26524. "exeavgprice": {
  26525. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26526. "type": "number"
  26527. },
  26528. "execontractamount": {
  26529. "description": "执行定价总额",
  26530. "type": "number"
  26531. },
  26532. "exeqty": {
  26533. "description": "执行现货量",
  26534. "type": "number"
  26535. },
  26536. "exerestamount": {
  26537. "description": "执行剩余市价总额【现货贸易】",
  26538. "type": "number"
  26539. },
  26540. "futurefloatpl": {
  26541. "description": "期货浮动损益",
  26542. "type": "number"
  26543. },
  26544. "futurehedgepl": {
  26545. "description": "期货实际损益",
  26546. "type": "number"
  26547. },
  26548. "futurehedgeplchange": {
  26549. "description": "期货实际损益变动",
  26550. "type": "number"
  26551. },
  26552. "futurepl": {
  26553. "description": "期货套期损益",
  26554. "type": "number"
  26555. },
  26556. "futureplchange": {
  26557. "description": "期货套期损益变动",
  26558. "type": "number"
  26559. },
  26560. "hedgeamount": {
  26561. "description": "套期市价总额",
  26562. "type": "number"
  26563. },
  26564. "hedgecontractamount": {
  26565. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26566. "type": "number"
  26567. },
  26568. "hedgeditemid": {
  26569. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26570. "type": "string"
  26571. },
  26572. "hedgeditemname": {
  26573. "description": "项目名称",
  26574. "type": "string"
  26575. },
  26576. "hedgeditemnum": {
  26577. "description": "项目编号",
  26578. "type": "string"
  26579. },
  26580. "hedgeditemstatus": {
  26581. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26582. "type": "integer"
  26583. },
  26584. "hedgedtype": {
  26585. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26586. "type": "integer"
  26587. },
  26588. "hedgeqty": {
  26589. "description": "套期现货量",
  26590. "type": "number"
  26591. },
  26592. "hedgerate": {
  26593. "description": "套保比率",
  26594. "type": "number"
  26595. },
  26596. "hedgerestamount": {
  26597. "description": "套期剩余市价总额【现货贸易】",
  26598. "type": "number"
  26599. },
  26600. "hedgesumpl": {
  26601. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26602. "type": "number"
  26603. },
  26604. "middlegoodslist": {
  26605. "description": "套期商品列表",
  26606. "type": "array",
  26607. "items": {
  26608. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26609. }
  26610. },
  26611. "oriavgprice": {
  26612. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26613. "type": "number"
  26614. },
  26615. "orifuturehedgepl": {
  26616. "description": "期初期货实际损益",
  26617. "type": "number"
  26618. },
  26619. "orifuturepl": {
  26620. "description": "期初期货套期损益",
  26621. "type": "number"
  26622. },
  26623. "orispothedgepl": {
  26624. "description": "期初现货实际损益",
  26625. "type": "number"
  26626. },
  26627. "orispotpl": {
  26628. "description": "期初现货套期损益",
  26629. "type": "number"
  26630. },
  26631. "planenddate": {
  26632. "description": "计划结束日期",
  26633. "type": "string"
  26634. },
  26635. "planstartdate": {
  26636. "description": "计划开始日期",
  26637. "type": "string"
  26638. },
  26639. "remark": {
  26640. "description": "备注",
  26641. "type": "string"
  26642. },
  26643. "spotbookamount": {
  26644. "description": "现货账面总额",
  26645. "type": "number"
  26646. },
  26647. "spotfloatpl": {
  26648. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26649. "type": "number"
  26650. },
  26651. "spothedgepl": {
  26652. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26653. "type": "number"
  26654. },
  26655. "spothedgeplchange": {
  26656. "description": "现货实际损益变动",
  26657. "type": "number"
  26658. },
  26659. "spotpl": {
  26660. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26661. "type": "number"
  26662. },
  26663. "spotplchange": {
  26664. "description": "现货套期损益变动",
  26665. "type": "number"
  26666. },
  26667. "spottradepl": {
  26668. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26669. "type": "number"
  26670. },
  26671. "sumobspl": {
  26672. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26673. "type": "number"
  26674. },
  26675. "tradeuserid": {
  26676. "description": "交易用户ID",
  26677. "type": "integer"
  26678. },
  26679. "unexeqty": {
  26680. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26681. "type": "number"
  26682. },
  26683. "updatetime": {
  26684. "description": "更新时间",
  26685. "type": "string"
  26686. },
  26687. "vatpl": {
  26688. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26689. "type": "number"
  26690. },
  26691. "vatrate": {
  26692. "description": "增值税",
  26693. "type": "number"
  26694. },
  26695. "wrstandardid": {
  26696. "description": "现货商品ID",
  26697. "type": "integer"
  26698. },
  26699. "wrstandardname": {
  26700. "description": "商品名称",
  26701. "type": "string"
  26702. }
  26703. }
  26704. },
  26705. "models.ErmcpBizGroupEx": {
  26706. "type": "object",
  26707. "properties": {
  26708. "acclist": {
  26709. "description": "账号列表",
  26710. "type": "array",
  26711. "items": {
  26712. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26713. }
  26714. },
  26715. "bizgroupid": {
  26716. "description": "业务分组id",
  26717. "type": "integer"
  26718. },
  26719. "biztype": {
  26720. "description": "业务类型 1-套保 2-套利",
  26721. "type": "integer"
  26722. },
  26723. "wrlist": {
  26724. "description": "现货商品表",
  26725. "type": "array",
  26726. "items": {
  26727. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26728. }
  26729. }
  26730. }
  26731. },
  26732. "models.ErmcpBizGroupSpotGoods": {
  26733. "type": "object",
  26734. "properties": {
  26735. "areauserid": {
  26736. "description": "所属机构id",
  26737. "type": "integer"
  26738. },
  26739. "bizgroupid": {
  26740. "description": "分组id",
  26741. "type": "integer"
  26742. },
  26743. "biztype": {
  26744. "description": "业务类型 1-套保 2-套利",
  26745. "type": "integer"
  26746. },
  26747. "deliverygoodscode": {
  26748. "description": "现货商品代码",
  26749. "type": "string"
  26750. },
  26751. "deliverygoodsid": {
  26752. "description": "现货商品id",
  26753. "type": "integer"
  26754. },
  26755. "deliverygoodsname": {
  26756. "description": "现货商品名称",
  26757. "type": "string"
  26758. },
  26759. "unitid": {
  26760. "description": "现货商品单位id",
  26761. "type": "integer"
  26762. }
  26763. }
  26764. },
  26765. "models.ErmcpBizGroupTaAccount": {
  26766. "type": "object",
  26767. "properties": {
  26768. "accountid": {
  26769. "description": "账号id",
  26770. "type": "integer"
  26771. },
  26772. "accountname": {
  26773. "description": "账号名称",
  26774. "type": "string"
  26775. },
  26776. "areauserid": {
  26777. "description": "所属机构id",
  26778. "type": "integer"
  26779. },
  26780. "bizgroupid": {
  26781. "description": "业务分组id",
  26782. "type": "integer"
  26783. },
  26784. "ismain": {
  26785. "description": "是否主账号 1-是 0-否",
  26786. "type": "integer"
  26787. }
  26788. }
  26789. },
  26790. "models.ErmcpDGFactoryItem": {
  26791. "type": "object",
  26792. "properties": {
  26793. "areauserid": {
  26794. "description": "用户id",
  26795. "type": "integer"
  26796. },
  26797. "deliverygoodsid": {
  26798. "description": "现货品种ID",
  26799. "type": "integer"
  26800. },
  26801. "dgfactoryitemid": {
  26802. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  26803. "type": "integer"
  26804. },
  26805. "dgfactoryitemtypeid": {
  26806. "description": "要素项类型",
  26807. "type": "integer"
  26808. },
  26809. "dgfactoryitemvalue": {
  26810. "description": "要素项值(类型为仓库时填写仓库名称)",
  26811. "type": "string"
  26812. },
  26813. "isvalid": {
  26814. "description": "是否有效 - 0:无效 1:有效",
  26815. "type": "integer"
  26816. },
  26817. "orderindex": {
  26818. "description": "顺序",
  26819. "type": "integer"
  26820. },
  26821. "warehouseid": {
  26822. "description": "仓库ID(类型为仓库时填写)",
  26823. "type": "integer"
  26824. }
  26825. }
  26826. },
  26827. "models.ErmcpDeliveryGoods": {
  26828. "type": "object",
  26829. "properties": {
  26830. "agreeunit": {
  26831. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  26832. "type": "integer"
  26833. },
  26834. "areauserid": {
  26835. "description": "所属机构",
  26836. "type": "integer"
  26837. },
  26838. "auditflag": {
  26839. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  26840. "type": "integer"
  26841. },
  26842. "categoryid": {
  26843. "description": "类别ID(SEQ_WRCATEGORY)",
  26844. "type": "integer"
  26845. },
  26846. "deliverygoodscode": {
  26847. "description": "现货品种代码",
  26848. "type": "string"
  26849. },
  26850. "deliverygoodsid": {
  26851. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26852. "type": "integer"
  26853. },
  26854. "deliverygoodsname": {
  26855. "description": "现货品种名称",
  26856. "type": "string"
  26857. },
  26858. "deliverygoodstype": {
  26859. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  26860. "type": "integer"
  26861. },
  26862. "dgstatus": {
  26863. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  26864. "type": "integer"
  26865. },
  26866. "enumdicname": {
  26867. "description": "现货品种单位名称",
  26868. "type": "string"
  26869. },
  26870. "goodsunitid": {
  26871. "description": "现货品种单位ID",
  26872. "type": "integer"
  26873. },
  26874. "isvalid": {
  26875. "description": "是否有效 - 0:无效 1:有效",
  26876. "type": "integer"
  26877. },
  26878. "qtydecimalplace": {
  26879. "description": "成交量小数位",
  26880. "type": "integer"
  26881. },
  26882. "remark": {
  26883. "description": "备注",
  26884. "type": "string"
  26885. },
  26886. "standardqty": {
  26887. "description": "标准数量(库位数量) [标准品特有]",
  26888. "type": "integer"
  26889. },
  26890. "standardqtyrange": {
  26891. "description": "标准数量偏差范围 [标准品特有]",
  26892. "type": "integer"
  26893. }
  26894. }
  26895. },
  26896. "models.ErmcpFuturesCompany": {
  26897. "type": "object",
  26898. "properties": {
  26899. "brokerid": {
  26900. "description": "经纪公司代码",
  26901. "type": "string"
  26902. },
  26903. "channeladdress": {
  26904. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  26905. "type": "string"
  26906. },
  26907. "channelid": {
  26908. "description": "对冲渠道ID",
  26909. "type": "string"
  26910. },
  26911. "createtime": {
  26912. "description": "创建时间",
  26913. "type": "string"
  26914. },
  26915. "creatorid": {
  26916. "description": "创建人",
  26917. "type": "string"
  26918. },
  26919. "fcid": {
  26920. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  26921. "type": "integer"
  26922. },
  26923. "fcname": {
  26924. "description": "期货公司名称",
  26925. "type": "string"
  26926. },
  26927. "isvalid": {
  26928. "description": "是否有效 - 0:无效 1:有效",
  26929. "type": "integer"
  26930. },
  26931. "mhpaddress": {
  26932. "description": "MHP服务地址(IP:Port)",
  26933. "type": "string"
  26934. },
  26935. "riskrulegroupid": {
  26936. "description": "风控规则组ID",
  26937. "type": "string"
  26938. },
  26939. "tradefeetmpid": {
  26940. "description": "手续费模板ID[TradeConfigTmpType为2]",
  26941. "type": "string"
  26942. },
  26943. "trademargintmpid": {
  26944. "description": "保证金模板ID [TradeConfigTmpType为1]",
  26945. "type": "string"
  26946. },
  26947. "traderatetmpid": {
  26948. "description": "汇率模板ID[TradeConfigTmpType为3]",
  26949. "type": "string"
  26950. },
  26951. "updatetime": {
  26952. "description": "更新时间",
  26953. "type": "string"
  26954. },
  26955. "updatorid": {
  26956. "description": "更新人",
  26957. "type": "string"
  26958. }
  26959. }
  26960. },
  26961. "models.ErmcpGGConvertCfg": {
  26962. "type": "object",
  26963. "properties": {
  26964. "convertratio": {
  26965. "description": "折算系数",
  26966. "type": "number"
  26967. },
  26968. "destgoodsgroupid": {
  26969. "description": "目标品种ID",
  26970. "type": "integer"
  26971. },
  26972. "dstcode": {
  26973. "description": "目录品种代码",
  26974. "type": "string"
  26975. },
  26976. "dstexchangecode": {
  26977. "description": "目标期货交易所",
  26978. "type": "string"
  26979. },
  26980. "dstname": {
  26981. "description": "目标品种名称",
  26982. "type": "string"
  26983. },
  26984. "dstunitid": {
  26985. "description": "目标品种单位ID",
  26986. "type": "integer"
  26987. },
  26988. "dstunitidname": {
  26989. "description": "目标品种单位名称",
  26990. "type": "string"
  26991. },
  26992. "modifytime": {
  26993. "description": "修改时间",
  26994. "type": "string"
  26995. },
  26996. "srccode": {
  26997. "description": "源品种代码",
  26998. "type": "string"
  26999. },
  27000. "srcexchangecode": {
  27001. "description": "源期货交易所",
  27002. "type": "string"
  27003. },
  27004. "srcgoodsgroupid": {
  27005. "description": "源品种ID",
  27006. "type": "integer"
  27007. },
  27008. "srcname": {
  27009. "description": "源品种名称",
  27010. "type": "string"
  27011. },
  27012. "srcunitid": {
  27013. "description": "源品种单位ID",
  27014. "type": "integer"
  27015. },
  27016. "srcunitidname": {
  27017. "description": "源品种单位名称",
  27018. "type": "string"
  27019. }
  27020. }
  27021. },
  27022. "models.ErmcpGoods": {
  27023. "type": "object",
  27024. "required": [
  27025. "goodscode",
  27026. "goodsid",
  27027. "goodsname",
  27028. "marketid"
  27029. ],
  27030. "properties": {
  27031. "agreeunit": {
  27032. "description": "合约单位",
  27033. "type": "number"
  27034. },
  27035. "areauserid": {
  27036. "description": "所属机构",
  27037. "type": "integer"
  27038. },
  27039. "auditaccountid": {
  27040. "description": "审核操作员账号",
  27041. "type": "integer"
  27042. },
  27043. "audittime": {
  27044. "description": "审核时间",
  27045. "type": "string"
  27046. },
  27047. "cancelaccountid": {
  27048. "description": "注销操作员账号",
  27049. "type": "integer"
  27050. },
  27051. "canceltime": {
  27052. "description": "注销时间",
  27053. "type": "string"
  27054. },
  27055. "closepricemode": {
  27056. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27057. "type": "integer"
  27058. },
  27059. "closepriceparam": {
  27060. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27061. "type": "number"
  27062. },
  27063. "createtime": {
  27064. "description": "创建时间",
  27065. "type": "string"
  27066. },
  27067. "creatorid": {
  27068. "description": "创建人",
  27069. "type": "integer"
  27070. },
  27071. "currencyid": {
  27072. "description": "报价货币ID",
  27073. "type": "integer"
  27074. },
  27075. "cutmode": {
  27076. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27077. "type": "integer"
  27078. },
  27079. "decimalplace": {
  27080. "description": "报价小数位",
  27081. "type": "integer"
  27082. },
  27083. "delistingdate": {
  27084. "description": "商品退市时间(状态:退市) -- 已作废",
  27085. "type": "string"
  27086. },
  27087. "delistingmode": {
  27088. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27089. "type": "integer"
  27090. },
  27091. "deliveryflag": {
  27092. "description": "交割标志 - 0:不可交割 1:可交割",
  27093. "type": "integer"
  27094. },
  27095. "enumdicname": {
  27096. "description": "单位名称",
  27097. "type": "string"
  27098. },
  27099. "forceclosemode": {
  27100. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27101. "type": "integer"
  27102. },
  27103. "forceclosevalue": {
  27104. "description": "定期强平参数 [收益权]",
  27105. "type": "integer"
  27106. },
  27107. "goodscode": {
  27108. "description": "商品代码(内部)",
  27109. "type": "string"
  27110. },
  27111. "goodscurrencyid": {
  27112. "description": "合约货币ID",
  27113. "type": "integer"
  27114. },
  27115. "goodsgroupid": {
  27116. "description": "所属商品组ID",
  27117. "type": "integer"
  27118. },
  27119. "goodsid": {
  27120. "description": "商品ID(自增ID SEQ_GOODS)",
  27121. "type": "integer"
  27122. },
  27123. "goodsname": {
  27124. "description": "商品名称",
  27125. "type": "string"
  27126. },
  27127. "goodsquotetype": {
  27128. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27129. "type": "integer"
  27130. },
  27131. "goodsstatus": {
  27132. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27133. "type": "integer"
  27134. },
  27135. "goodstradetype": {
  27136. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27137. "type": "integer"
  27138. },
  27139. "goodunitid": {
  27140. "description": "报价单位ID",
  27141. "type": "integer"
  27142. },
  27143. "hasquoter": {
  27144. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27145. "type": "integer"
  27146. },
  27147. "hqprotecttime": {
  27148. "description": "行情保护时间(秒)",
  27149. "type": "integer"
  27150. },
  27151. "innerdealmode": {
  27152. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27153. "type": "integer"
  27154. },
  27155. "isbuylimited": {
  27156. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27157. "type": "integer"
  27158. },
  27159. "isvisible": {
  27160. "description": "游客是否可见 - 0:不可见 1:可见",
  27161. "type": "integer"
  27162. },
  27163. "lasttradedate": {
  27164. "description": "最后交易日期(状态:待退市)",
  27165. "type": "string"
  27166. },
  27167. "listingdate": {
  27168. "description": "交易开始日期",
  27169. "type": "string"
  27170. },
  27171. "marketid": {
  27172. "description": "所属市场ID",
  27173. "type": "integer"
  27174. },
  27175. "modifierid": {
  27176. "description": "修改人",
  27177. "type": "integer"
  27178. },
  27179. "modifystatus": {
  27180. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27181. "type": "integer"
  27182. },
  27183. "modifytime": {
  27184. "description": "修改时间",
  27185. "type": "string"
  27186. },
  27187. "outerdealmode": {
  27188. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27189. "type": "integer"
  27190. },
  27191. "outgoodscode": {
  27192. "description": "商品代码(外部)",
  27193. "type": "string"
  27194. },
  27195. "pictureurl": {
  27196. "description": "商品图片",
  27197. "type": "string"
  27198. },
  27199. "qtydecimalplace": {
  27200. "description": "成交量小数位",
  27201. "type": "integer"
  27202. },
  27203. "quotegear": {
  27204. "description": "行情档位(1-10)",
  27205. "type": "integer"
  27206. },
  27207. "quoteminunit": {
  27208. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27209. "type": "integer"
  27210. },
  27211. "quoteshowtype": {
  27212. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27213. "type": "integer"
  27214. },
  27215. "quoteshowtypeinterval": {
  27216. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27217. "type": "integer"
  27218. },
  27219. "relatedgoodsid": {
  27220. "description": "关联参考商品ID",
  27221. "type": "integer"
  27222. },
  27223. "remark": {
  27224. "description": "备注",
  27225. "type": "string"
  27226. },
  27227. "trademode": {
  27228. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27229. "type": "integer"
  27230. }
  27231. }
  27232. },
  27233. "models.ErmcpGoodsBrand": {
  27234. "type": "object",
  27235. "properties": {
  27236. "areauserid": {
  27237. "description": "所属机构",
  27238. "type": "integer"
  27239. },
  27240. "brandid": {
  27241. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27242. "type": "integer"
  27243. },
  27244. "brandname": {
  27245. "description": "品牌名称",
  27246. "type": "string"
  27247. },
  27248. "createtime": {
  27249. "description": "创建时间",
  27250. "type": "string"
  27251. },
  27252. "creatorid": {
  27253. "description": "创建人",
  27254. "type": "integer"
  27255. },
  27256. "creatorsrc": {
  27257. "description": "创建人来源 - 1:管理端 2:终端",
  27258. "type": "integer"
  27259. },
  27260. "deliverygoodsid": {
  27261. "description": "现货品种ID",
  27262. "type": "integer"
  27263. },
  27264. "isvalid": {
  27265. "description": "是否有效 - 0:无效 1:有效",
  27266. "type": "integer"
  27267. },
  27268. "updatetime": {
  27269. "description": "更新时间",
  27270. "type": "string"
  27271. },
  27272. "updatorid": {
  27273. "description": "更新人",
  27274. "type": "integer"
  27275. },
  27276. "updatorsrc": {
  27277. "description": "更新人来源 - 1:管理端 2:终端",
  27278. "type": "integer"
  27279. },
  27280. "wrstandardid": {
  27281. "description": "现货商品ID",
  27282. "type": "integer"
  27283. }
  27284. }
  27285. },
  27286. "models.ErmcpGoodsModel": {
  27287. "type": "object",
  27288. "properties": {
  27289. "areauserid": {
  27290. "description": "所属机构",
  27291. "type": "integer"
  27292. },
  27293. "convertfactor": {
  27294. "description": "标仓系数",
  27295. "type": "number"
  27296. },
  27297. "createtime": {
  27298. "description": "创建时间",
  27299. "type": "string"
  27300. },
  27301. "creatorid": {
  27302. "description": "创建人",
  27303. "type": "integer"
  27304. },
  27305. "creatorsrc": {
  27306. "description": "创建人来源 - 1:管理端 2:终端",
  27307. "type": "integer"
  27308. },
  27309. "deliverygoodsid": {
  27310. "description": "现货品种ID",
  27311. "type": "integer"
  27312. },
  27313. "isvalid": {
  27314. "description": "是否有效 - 0:无效 1:有效",
  27315. "type": "integer"
  27316. },
  27317. "modelid": {
  27318. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27319. "type": "integer"
  27320. },
  27321. "modelname": {
  27322. "description": "型号名称",
  27323. "type": "string"
  27324. },
  27325. "updatetime": {
  27326. "description": "更新时间",
  27327. "type": "string"
  27328. },
  27329. "updatorid": {
  27330. "description": "更新人",
  27331. "type": "integer"
  27332. },
  27333. "updatorsrc": {
  27334. "description": "更新人来源 - 1:管理端 2:终端",
  27335. "type": "integer"
  27336. },
  27337. "wrstandardid": {
  27338. "description": "现货商品ID",
  27339. "type": "integer"
  27340. }
  27341. }
  27342. },
  27343. "models.ErmcpHisExposure": {
  27344. "type": "object",
  27345. "properties": {
  27346. "needhedgeexposoure": {
  27347. "description": "应套保敞口",
  27348. "type": "number"
  27349. },
  27350. "reckondate": {
  27351. "description": "日照时期(yyyyMMdd)",
  27352. "type": "string"
  27353. },
  27354. "totalexposure": {
  27355. "description": "总敞口",
  27356. "type": "number"
  27357. }
  27358. }
  27359. },
  27360. "models.ErmcpLoginTaAccount": {
  27361. "type": "object",
  27362. "properties": {
  27363. "accountid": {
  27364. "description": "账号id",
  27365. "type": "integer"
  27366. },
  27367. "accountname": {
  27368. "description": "账号名称",
  27369. "type": "string"
  27370. }
  27371. }
  27372. },
  27373. "models.ErmcpLoginUser": {
  27374. "type": "object",
  27375. "properties": {
  27376. "acclist": {
  27377. "description": "关联资金账号",
  27378. "type": "array",
  27379. "items": {
  27380. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27381. }
  27382. },
  27383. "accountname": {
  27384. "description": "用户名称",
  27385. "type": "string"
  27386. },
  27387. "clientroleid": {
  27388. "description": "角色id(usertype=2)",
  27389. "type": "integer"
  27390. },
  27391. "createtime": {
  27392. "description": "创建时间",
  27393. "type": "string"
  27394. },
  27395. "logincode": {
  27396. "description": "登录代码",
  27397. "type": "string"
  27398. },
  27399. "loginid": {
  27400. "description": "登录id(LOGINID)",
  27401. "type": "integer"
  27402. },
  27403. "loginname": {
  27404. "description": "登录名称(loginaccount表中的accountname字段)",
  27405. "type": "string"
  27406. },
  27407. "loginstatus": {
  27408. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27409. "type": "integer"
  27410. },
  27411. "memberuserid": {
  27412. "description": "所属会员id",
  27413. "type": "integer"
  27414. },
  27415. "mobile": {
  27416. "description": "手机号",
  27417. "type": "string"
  27418. },
  27419. "modifytime": {
  27420. "description": "修改时间",
  27421. "type": "string"
  27422. },
  27423. "password": {
  27424. "description": "密码(不可解密)",
  27425. "type": "string"
  27426. },
  27427. "rolename": {
  27428. "description": "角色名称",
  27429. "type": "string"
  27430. },
  27431. "rolestatus": {
  27432. "description": "角色状态 1-启用 2-停用",
  27433. "type": "integer"
  27434. },
  27435. "roletype": {
  27436. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27437. "type": "string"
  27438. },
  27439. "userid": {
  27440. "description": "用户id",
  27441. "type": "integer"
  27442. },
  27443. "usertype": {
  27444. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27445. "type": "integer"
  27446. }
  27447. }
  27448. },
  27449. "models.ErmcpLoginUserEx": {
  27450. "type": "object",
  27451. "properties": {
  27452. "accountstatus": {
  27453. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27454. "type": "integer"
  27455. },
  27456. "mobile": {
  27457. "description": "手机号",
  27458. "type": "string"
  27459. },
  27460. "querytype": {
  27461. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27462. "type": "integer"
  27463. },
  27464. "roleid": {
  27465. "description": "角色id(交易账户-\u003e用户id)",
  27466. "type": "integer"
  27467. },
  27468. "rolename": {
  27469. "description": "角色名称(交易账户-\u003e用户名称)",
  27470. "type": "string"
  27471. },
  27472. "userlist": {
  27473. "description": "用户列表",
  27474. "type": "array",
  27475. "items": {
  27476. "$ref": "#/definitions/models.ErmcpLoginUser"
  27477. }
  27478. },
  27479. "usertype": {
  27480. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27481. "type": "integer"
  27482. }
  27483. }
  27484. },
  27485. "models.ErmcpMiddleGoodsModel": {
  27486. "type": "object",
  27487. "properties": {
  27488. "areauserid": {
  27489. "description": "机构用户ID",
  27490. "type": "integer"
  27491. },
  27492. "createtime": {
  27493. "description": "修改时间",
  27494. "type": "string"
  27495. },
  27496. "enumdicname": {
  27497. "description": "单位名称",
  27498. "type": "string"
  27499. },
  27500. "evaluateratio": {
  27501. "description": "估价系数",
  27502. "type": "number"
  27503. },
  27504. "goodsgroupid": {
  27505. "description": "关联期货品种ID",
  27506. "type": "integer"
  27507. },
  27508. "goodsunitid": {
  27509. "description": "单位ID",
  27510. "type": "integer"
  27511. },
  27512. "isvalid": {
  27513. "description": "状态 0-无效(停用) 1-有效(正常)",
  27514. "type": "integer"
  27515. },
  27516. "middlegoodscode": {
  27517. "description": "套保品种代码",
  27518. "type": "string"
  27519. },
  27520. "middlegoodsid": {
  27521. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27522. "type": "integer"
  27523. },
  27524. "middlegoodsname": {
  27525. "description": "套保品种名称",
  27526. "type": "string"
  27527. },
  27528. "modifytime": {
  27529. "description": "修改时间",
  27530. "type": "string"
  27531. },
  27532. "needarbitrageratio": {
  27533. "description": "套利比例",
  27534. "type": "number"
  27535. },
  27536. "needhedgeratio": {
  27537. "description": "套保比率",
  27538. "type": "number"
  27539. },
  27540. "qtydecimalplace": {
  27541. "description": "数量小数位",
  27542. "type": "integer"
  27543. },
  27544. "relatedgoodsid": {
  27545. "description": "关联交易商品ID",
  27546. "type": "integer"
  27547. },
  27548. "relatedgoodstype": {
  27549. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27550. "type": "integer"
  27551. },
  27552. "remark": {
  27553. "description": "备注",
  27554. "type": "string"
  27555. }
  27556. }
  27557. },
  27558. "models.ErmcpMiddlegoodsRelateGoods": {
  27559. "type": "object",
  27560. "properties": {
  27561. "agreeunit": {
  27562. "description": "合约乘数",
  27563. "type": "number"
  27564. },
  27565. "convertratio": {
  27566. "description": "折算系数",
  27567. "type": "number"
  27568. },
  27569. "enumdicname": {
  27570. "description": "单位名称(交易商品)",
  27571. "type": "string"
  27572. },
  27573. "goodscode": {
  27574. "description": "交易商品代码",
  27575. "type": "string"
  27576. },
  27577. "goodsgroupid": {
  27578. "description": "交易品种id",
  27579. "type": "integer"
  27580. },
  27581. "goodsid": {
  27582. "description": "商品Id",
  27583. "type": "integer"
  27584. },
  27585. "goodsname": {
  27586. "description": "交易商品名称",
  27587. "type": "string"
  27588. },
  27589. "goodunitid": {
  27590. "description": "交易商品单位id",
  27591. "type": "integer"
  27592. },
  27593. "middlegoodsid": {
  27594. "description": "套保商品id",
  27595. "type": "integer"
  27596. },
  27597. "middlegoodsname": {
  27598. "description": "套保商品名称",
  27599. "type": "string"
  27600. },
  27601. "middlegoodsswcode": {
  27602. "description": "套保商品代码",
  27603. "type": "string"
  27604. },
  27605. "needarbitrageratio": {
  27606. "description": "应套利比例",
  27607. "type": "number"
  27608. },
  27609. "needhedgeratio": {
  27610. "description": "应套保比例",
  27611. "type": "number"
  27612. }
  27613. }
  27614. },
  27615. "models.ErmcpRole": {
  27616. "type": "object",
  27617. "properties": {
  27618. "areauserid": {
  27619. "description": "所属机构",
  27620. "type": "integer"
  27621. },
  27622. "autoid": {
  27623. "description": "角色ID(自增ID)",
  27624. "type": "integer"
  27625. },
  27626. "modifierid": {
  27627. "description": "修改人(创建人)",
  27628. "type": "integer"
  27629. },
  27630. "modifiername": {
  27631. "description": "修改人名称",
  27632. "type": "string"
  27633. },
  27634. "modifytime": {
  27635. "description": "修改时间(创建时间)",
  27636. "type": "string"
  27637. },
  27638. "rolename": {
  27639. "description": "角色名称",
  27640. "type": "string"
  27641. },
  27642. "rolestatus": {
  27643. "description": "角色状态 - 1:启用 2:停用",
  27644. "type": "integer"
  27645. },
  27646. "roletype": {
  27647. "description": "角色类型 - 1- 管理端 2- 交易端",
  27648. "type": "integer"
  27649. }
  27650. }
  27651. },
  27652. "models.ErmcpRoleMenu": {
  27653. "type": "object",
  27654. "properties": {
  27655. "iconame": {
  27656. "description": "菜单图标",
  27657. "type": "string"
  27658. },
  27659. "ishadrole": {
  27660. "description": "是否有权限",
  27661. "type": "boolean"
  27662. },
  27663. "menutype": {
  27664. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27665. "type": "integer"
  27666. },
  27667. "parentcode": {
  27668. "description": "上级资源代码",
  27669. "type": "string"
  27670. },
  27671. "remark": {
  27672. "description": "菜单备注",
  27673. "type": "string"
  27674. },
  27675. "resourcecode": {
  27676. "description": "菜单代码",
  27677. "type": "string"
  27678. },
  27679. "resourcelevel": {
  27680. "description": "级别",
  27681. "type": "integer"
  27682. },
  27683. "resourcename": {
  27684. "description": "菜单名称",
  27685. "type": "string"
  27686. },
  27687. "roleid": {
  27688. "description": "角色id",
  27689. "type": "integer"
  27690. },
  27691. "sort": {
  27692. "description": "排序",
  27693. "type": "integer"
  27694. },
  27695. "url": {
  27696. "description": "URL",
  27697. "type": "string"
  27698. },
  27699. "userid": {
  27700. "description": "用户id",
  27701. "type": "integer"
  27702. }
  27703. }
  27704. },
  27705. "models.ErmcpRoleMenuEx": {
  27706. "type": "object",
  27707. "properties": {
  27708. "menu": {
  27709. "description": "父级菜单",
  27710. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27711. },
  27712. "subMenu": {
  27713. "description": "子级菜单",
  27714. "type": "array",
  27715. "items": {
  27716. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27717. }
  27718. }
  27719. }
  27720. },
  27721. "models.ErmcpSpotContractModelEx": {
  27722. "type": "object",
  27723. "properties": {
  27724. "accountname": {
  27725. "description": "套期主体",
  27726. "type": "string"
  27727. },
  27728. "amount": {
  27729. "description": "金额 [1:一口价、3:暂定价]",
  27730. "type": "number"
  27731. },
  27732. "attachment": {
  27733. "description": "附件",
  27734. "type": "string"
  27735. },
  27736. "auditremark": {
  27737. "description": "审核意见",
  27738. "type": "string"
  27739. },
  27740. "audittime": {
  27741. "description": "审核时间",
  27742. "type": "string"
  27743. },
  27744. "avgprice": {
  27745. "description": "定价均价 = 已定价金额 / 已定价量",
  27746. "type": "number"
  27747. },
  27748. "brandname": {
  27749. "description": "品牌名称",
  27750. "type": "string"
  27751. },
  27752. "buyuserid": {
  27753. "description": "采购方ID",
  27754. "type": "integer"
  27755. },
  27756. "buyusername": {
  27757. "description": "采购方名称",
  27758. "type": "string"
  27759. },
  27760. "contracctstatus": {
  27761. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27762. "type": "integer"
  27763. },
  27764. "contractmargin": {
  27765. "description": "合同保证金",
  27766. "type": "number"
  27767. },
  27768. "contractno": {
  27769. "description": "[合同编号]现货合同编号",
  27770. "type": "string"
  27771. },
  27772. "contracttype": {
  27773. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  27774. "type": "integer"
  27775. },
  27776. "convertfactor": {
  27777. "description": "标仓系数",
  27778. "type": "number"
  27779. },
  27780. "createtime": {
  27781. "description": "创建时间",
  27782. "type": "string"
  27783. },
  27784. "customername": {
  27785. "description": "对手方",
  27786. "type": "string"
  27787. },
  27788. "customeruserid": {
  27789. "description": "客户ID",
  27790. "type": "integer"
  27791. },
  27792. "deliveryenddate": {
  27793. "description": "交收期(结束)",
  27794. "type": "string"
  27795. },
  27796. "deliverygoodscode": {
  27797. "description": "现货品种代码",
  27798. "type": "string"
  27799. },
  27800. "deliverygoodsid": {
  27801. "description": "现货品种ID",
  27802. "type": "integer"
  27803. },
  27804. "deliverygoodsname": {
  27805. "description": "现货品种名称",
  27806. "type": "string"
  27807. },
  27808. "deliverystartdate": {
  27809. "description": "交收期(开始)",
  27810. "type": "string"
  27811. },
  27812. "enddate": {
  27813. "description": "点价结束日期 [2:点价 3:暂定价]",
  27814. "type": "string"
  27815. },
  27816. "enumdicname": {
  27817. "description": "单位名称",
  27818. "type": "string"
  27819. },
  27820. "goodscode": {
  27821. "description": "点价合约代码",
  27822. "type": "string"
  27823. },
  27824. "goodsid": {
  27825. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  27826. "type": "integer"
  27827. },
  27828. "goodsname": {
  27829. "description": "点价商品名称",
  27830. "type": "string"
  27831. },
  27832. "isrelated": {
  27833. "description": "是否已关联计划项目 - 0:否 1:是",
  27834. "type": "integer"
  27835. },
  27836. "isrelated2": {
  27837. "description": "是否已关联现货项目 - 0:否 1:是",
  27838. "type": "integer"
  27839. },
  27840. "margin": {
  27841. "description": "当前保证金",
  27842. "type": "number"
  27843. },
  27844. "modelname": {
  27845. "description": "型号名称",
  27846. "type": "string"
  27847. },
  27848. "price": {
  27849. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  27850. "type": "number"
  27851. },
  27852. "pricedamount": {
  27853. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  27854. "type": "number"
  27855. },
  27856. "pricedqty": {
  27857. "description": "已定价量",
  27858. "type": "number"
  27859. },
  27860. "pricemove": {
  27861. "description": "升贴水 [2:点价 3:暂定价]",
  27862. "type": "number"
  27863. },
  27864. "pricetype": {
  27865. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27866. "type": "integer"
  27867. },
  27868. "producttype": {
  27869. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27870. "type": "integer"
  27871. },
  27872. "qty": {
  27873. "description": "[合同数量]数量",
  27874. "type": "number"
  27875. },
  27876. "remark": {
  27877. "description": "备注",
  27878. "type": "string"
  27879. },
  27880. "selluserid": {
  27881. "description": "销售方ID",
  27882. "type": "integer"
  27883. },
  27884. "sellusername": {
  27885. "description": "销售方名称",
  27886. "type": "string"
  27887. },
  27888. "spotamount": {
  27889. "description": "合同现货金额 [不含升贴水]",
  27890. "type": "number"
  27891. },
  27892. "spotavgprice": {
  27893. "description": "现货均价 = 合同现货金额 / 已定价量",
  27894. "type": "number"
  27895. },
  27896. "spotcontractid": {
  27897. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27898. "type": "string"
  27899. },
  27900. "spotgoodsbrandid": {
  27901. "description": "现货品牌ID",
  27902. "type": "integer"
  27903. },
  27904. "spotgoodsdesc": {
  27905. "description": "商品型号",
  27906. "type": "string"
  27907. },
  27908. "spotgoodsmodelid": {
  27909. "description": "现货型号ID",
  27910. "type": "integer"
  27911. },
  27912. "startdate": {
  27913. "description": "点价开始日期 [2:点价 3:暂定价]",
  27914. "type": "string"
  27915. },
  27916. "tradeuserid": {
  27917. "description": "交易用户ID",
  27918. "type": "integer"
  27919. },
  27920. "unpricedqty": {
  27921. "description": "未定价量 = 合同数量 - 已定价量",
  27922. "type": "number"
  27923. },
  27924. "updatetime": {
  27925. "description": "更新时间",
  27926. "type": "string"
  27927. },
  27928. "userid": {
  27929. "description": "机构ID",
  27930. "type": "integer"
  27931. },
  27932. "wrstandardcode": {
  27933. "description": "现货商品代码",
  27934. "type": "string"
  27935. },
  27936. "wrstandardid": {
  27937. "description": "现货商品ID",
  27938. "type": "integer"
  27939. },
  27940. "wrstandardname": {
  27941. "description": "[现货商品]现货商品名称",
  27942. "type": "string"
  27943. }
  27944. }
  27945. },
  27946. "models.ErmcpTaAccount": {
  27947. "type": "object",
  27948. "properties": {
  27949. "accountid": {
  27950. "description": "账户id",
  27951. "type": "integer"
  27952. },
  27953. "accountname": {
  27954. "description": "账户名称",
  27955. "type": "string"
  27956. },
  27957. "currencyid": {
  27958. "description": "币种id",
  27959. "type": "integer"
  27960. },
  27961. "hedgeaccountcode": {
  27962. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  27963. "type": "string"
  27964. },
  27965. "ismain": {
  27966. "description": "是否主账户 0-否 1-是",
  27967. "type": "integer"
  27968. },
  27969. "parentaccountid": {
  27970. "description": "父账户id",
  27971. "type": "integer"
  27972. },
  27973. "relateduserid": {
  27974. "description": "关联userid",
  27975. "type": "integer"
  27976. },
  27977. "tradefeetmpid": {
  27978. "description": "手续费模板id",
  27979. "type": "integer"
  27980. },
  27981. "tradefeetmpname": {
  27982. "description": "手续费模板名称",
  27983. "type": "string"
  27984. },
  27985. "trademargintmpid": {
  27986. "description": "保证金模板id",
  27987. "type": "integer"
  27988. },
  27989. "trademargintmpname": {
  27990. "description": "保证金模板名称",
  27991. "type": "string"
  27992. },
  27993. "traderatetmpid": {
  27994. "description": "汇率模板id",
  27995. "type": "integer"
  27996. },
  27997. "traderatetmpname": {
  27998. "description": "汇率模板名称",
  27999. "type": "string"
  28000. },
  28001. "tradestatus": {
  28002. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28003. "type": "integer"
  28004. },
  28005. "userid": {
  28006. "description": "用户id",
  28007. "type": "integer"
  28008. }
  28009. }
  28010. },
  28011. "models.ErmcpTaAccountEx": {
  28012. "type": "object",
  28013. "properties": {
  28014. "mainAcc": {
  28015. "description": "主账号",
  28016. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28017. },
  28018. "subacclist": {
  28019. "description": "子账号列表",
  28020. "type": "array",
  28021. "items": {
  28022. "$ref": "#/definitions/models.ErmcpTaAccount"
  28023. }
  28024. }
  28025. }
  28026. },
  28027. "models.ErmcpTaAccountInfo": {
  28028. "type": "object",
  28029. "properties": {
  28030. "accountid": {
  28031. "description": "资金账户ID",
  28032. "type": "integer"
  28033. },
  28034. "accountname": {
  28035. "description": "账户名称",
  28036. "type": "string"
  28037. },
  28038. "balance": {
  28039. "description": "期初余额",
  28040. "type": "number"
  28041. },
  28042. "capitalbalance": {
  28043. "description": "本金余额[外部子账户实际出入金余额]",
  28044. "type": "number"
  28045. },
  28046. "closepl": {
  28047. "description": "今日平仓盈亏",
  28048. "type": "number"
  28049. },
  28050. "creditdecrease": {
  28051. "description": "今日授信减少",
  28052. "type": "number"
  28053. },
  28054. "creditincrease": {
  28055. "description": "今日授信增加",
  28056. "type": "number"
  28057. },
  28058. "curdebt": {
  28059. "description": "期末欠款",
  28060. "type": "number"
  28061. },
  28062. "currencyid": {
  28063. "description": "货币ID",
  28064. "type": "integer"
  28065. },
  28066. "currentbalance": {
  28067. "description": "期末余额",
  28068. "type": "number"
  28069. },
  28070. "freezecharge": {
  28071. "description": "手续费冻结",
  28072. "type": "number"
  28073. },
  28074. "freezemargin": {
  28075. "description": "冻结保证金",
  28076. "type": "number"
  28077. },
  28078. "fromaccountid": {
  28079. "description": "所属上级账户",
  28080. "type": "integer"
  28081. },
  28082. "inamount": {
  28083. "description": "今日入金金额(包括三方入金)",
  28084. "type": "number"
  28085. },
  28086. "ismain": {
  28087. "description": "是否母账号 0:不是母账户 1:是母账户",
  28088. "type": "integer"
  28089. },
  28090. "mortgagecredit": {
  28091. "description": "授信金额",
  28092. "type": "number"
  28093. },
  28094. "oridebt": {
  28095. "description": "期初欠款",
  28096. "type": "number"
  28097. },
  28098. "orifreezecharge": {
  28099. "description": "期初手续费冻结",
  28100. "type": "number"
  28101. },
  28102. "orifreezemargin": {
  28103. "description": "期初冻结保证金",
  28104. "type": "number"
  28105. },
  28106. "orimortgagecredit": {
  28107. "description": "期初授信金额",
  28108. "type": "number"
  28109. },
  28110. "oriothercredit": {
  28111. "description": "期初其它授信金额",
  28112. "type": "number"
  28113. },
  28114. "oriotherfreezemargin": {
  28115. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28116. "type": "number"
  28117. },
  28118. "orioutamountfreeze": {
  28119. "description": "期初出金冻结",
  28120. "type": "number"
  28121. },
  28122. "oriusedmargin": {
  28123. "description": "期初占用保证金",
  28124. "type": "number"
  28125. },
  28126. "othercredit": {
  28127. "description": "其它授信金额",
  28128. "type": "number"
  28129. },
  28130. "othercreditdecrease": {
  28131. "description": "今日其它授信减少",
  28132. "type": "number"
  28133. },
  28134. "othercreditincrease": {
  28135. "description": "今日其它授信增加",
  28136. "type": "number"
  28137. },
  28138. "otherfreezemargin": {
  28139. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28140. "type": "number"
  28141. },
  28142. "outamount": {
  28143. "description": "今日出金金额(包括三方出金)",
  28144. "type": "number"
  28145. },
  28146. "outamountfreeze": {
  28147. "description": "出金冻结",
  28148. "type": "number"
  28149. },
  28150. "outthreshold": {
  28151. "description": "出金阈值",
  28152. "type": "number"
  28153. },
  28154. "parentaccountid": {
  28155. "description": "所属根账号",
  28156. "type": "integer"
  28157. },
  28158. "paycharge": {
  28159. "description": "今日手续费支出",
  28160. "type": "number"
  28161. },
  28162. "relateduserid": {
  28163. "description": "关联用户",
  28164. "type": "integer"
  28165. },
  28166. "signstatus": {
  28167. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28168. "type": "integer"
  28169. },
  28170. "sublevelpath": {
  28171. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28172. "type": "string"
  28173. },
  28174. "taaccounttype": {
  28175. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28176. "type": "integer"
  28177. },
  28178. "thirdinamount": {
  28179. "description": "今日三方入金",
  28180. "type": "number"
  28181. },
  28182. "thirdoutamount": {
  28183. "description": "今日三方出金",
  28184. "type": "number"
  28185. },
  28186. "tradestatus": {
  28187. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28188. "type": "integer"
  28189. },
  28190. "transferamount": {
  28191. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28192. "type": "number"
  28193. },
  28194. "usedmargin": {
  28195. "description": "占用保证金",
  28196. "type": "number"
  28197. },
  28198. "userid": {
  28199. "description": "用户ID",
  28200. "type": "integer"
  28201. }
  28202. }
  28203. },
  28204. "models.ErmcpTaAccountM": {
  28205. "type": "object",
  28206. "properties": {
  28207. "accountid": {
  28208. "description": "账户id",
  28209. "type": "integer"
  28210. },
  28211. "accountname": {
  28212. "description": "账户名称",
  28213. "type": "string"
  28214. },
  28215. "currencyid": {
  28216. "description": "币种id",
  28217. "type": "integer"
  28218. },
  28219. "fcid": {
  28220. "description": "期货公司id",
  28221. "type": "integer"
  28222. },
  28223. "fcname": {
  28224. "description": "期货公司代码",
  28225. "type": "string"
  28226. },
  28227. "hedgeaccountcode": {
  28228. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28229. "type": "string"
  28230. },
  28231. "ismain": {
  28232. "description": "是否主账户 0-否 1-是",
  28233. "type": "integer"
  28234. },
  28235. "parentaccountid": {
  28236. "description": "父账户id",
  28237. "type": "integer"
  28238. },
  28239. "relateduserid": {
  28240. "description": "关联userid",
  28241. "type": "integer"
  28242. },
  28243. "tradefeetmpid": {
  28244. "description": "手续费模板id",
  28245. "type": "integer"
  28246. },
  28247. "tradefeetmpname": {
  28248. "description": "手续费模板名称",
  28249. "type": "string"
  28250. },
  28251. "trademargintmpid": {
  28252. "description": "保证金模板id",
  28253. "type": "integer"
  28254. },
  28255. "trademargintmpname": {
  28256. "description": "保证金模板名称",
  28257. "type": "string"
  28258. },
  28259. "traderatetmpid": {
  28260. "description": "汇率模板id",
  28261. "type": "integer"
  28262. },
  28263. "traderatetmpname": {
  28264. "description": "汇率模板名称",
  28265. "type": "string"
  28266. },
  28267. "tradestatus": {
  28268. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28269. "type": "integer"
  28270. },
  28271. "userid": {
  28272. "description": "用户id",
  28273. "type": "integer"
  28274. }
  28275. }
  28276. },
  28277. "models.ErmcpTradeConfigTMP": {
  28278. "type": "object",
  28279. "properties": {
  28280. "areauserid": {
  28281. "description": "所属机构",
  28282. "type": "integer"
  28283. },
  28284. "basiccurrencyid": {
  28285. "description": "基本币种ID[汇率] - 目标币种",
  28286. "type": "integer"
  28287. },
  28288. "mainaccountid": {
  28289. "description": "主账户ID",
  28290. "type": "integer"
  28291. },
  28292. "modifierid": {
  28293. "description": "修改人",
  28294. "type": "integer"
  28295. },
  28296. "remark": {
  28297. "description": "备注",
  28298. "type": "string"
  28299. },
  28300. "tradeconfigtmpid": {
  28301. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28302. "type": "integer"
  28303. },
  28304. "tradeconfigtmpname": {
  28305. "description": "交易配置模板名称",
  28306. "type": "string"
  28307. },
  28308. "tradeconfigtmptype": {
  28309. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28310. "type": "integer"
  28311. },
  28312. "updatetime": {
  28313. "description": "更新时间",
  28314. "type": "string"
  28315. }
  28316. }
  28317. },
  28318. "models.Ermcpjrlinkpos": {
  28319. "type": "object",
  28320. "required": [
  28321. "spotcontractid"
  28322. ],
  28323. "properties": {
  28324. "areauserid": {
  28325. "description": "所属企业",
  28326. "type": "integer"
  28327. },
  28328. "averageprice": {
  28329. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28330. "type": "number"
  28331. },
  28332. "closepl": {
  28333. "description": "总平仓盈亏 [期货损益]",
  28334. "type": "number"
  28335. },
  28336. "executeprice": {
  28337. "description": "执行价 - 1:期货单 为 0",
  28338. "type": "integer"
  28339. },
  28340. "futurehedgeqty": {
  28341. "description": "期货套期量",
  28342. "type": "number"
  28343. },
  28344. "goodsid": {
  28345. "description": "期货合约",
  28346. "type": "integer"
  28347. },
  28348. "middlegoodscode": {
  28349. "description": "套保商品代码",
  28350. "type": "string"
  28351. },
  28352. "middlegoodsname": {
  28353. "description": "套保商品名称",
  28354. "type": "string"
  28355. },
  28356. "netqty": {
  28357. "description": "净头寸",
  28358. "type": "number"
  28359. },
  28360. "optioncode": {
  28361. "description": "期权代码",
  28362. "type": "string"
  28363. },
  28364. "ordertype": {
  28365. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28366. "type": "integer"
  28367. },
  28368. "reckonpl": {
  28369. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28370. "type": "number"
  28371. },
  28372. "spotcontractid": {
  28373. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28374. "type": "string"
  28375. },
  28376. "todayfutureclosepl": {
  28377. "description": "今日平仓盈亏",
  28378. "type": "number"
  28379. },
  28380. "totalbuyamount": {
  28381. "description": "买金额 [期货]",
  28382. "type": "number"
  28383. },
  28384. "totalbuyholdamount": {
  28385. "description": "买持仓总金额[期货]",
  28386. "type": "number"
  28387. },
  28388. "totalbuyqty": {
  28389. "description": "买数量",
  28390. "type": "number"
  28391. },
  28392. "totalcharge": {
  28393. "description": "手续费",
  28394. "type": "number"
  28395. },
  28396. "totalpremium": {
  28397. "description": "权利金 [期权]",
  28398. "type": "number"
  28399. },
  28400. "totalsellamount": {
  28401. "description": "卖金额 [期货]",
  28402. "type": "number"
  28403. },
  28404. "totalsellholdamount": {
  28405. "description": "卖持仓总金额[期货]",
  28406. "type": "number"
  28407. },
  28408. "totalsellqty": {
  28409. "description": "卖数量",
  28410. "type": "number"
  28411. },
  28412. "updatetime": {
  28413. "description": "更新时间",
  28414. "type": "string"
  28415. }
  28416. }
  28417. },
  28418. "models.Ermcppatradelinkdetail": {
  28419. "type": "object",
  28420. "required": [
  28421. "hedgeditemid"
  28422. ],
  28423. "properties": {
  28424. "agreeunit": {
  28425. "description": "合约乘数",
  28426. "type": "number"
  28427. },
  28428. "amount": {
  28429. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28430. "type": "number"
  28431. },
  28432. "areauserid": {
  28433. "description": "所属机构",
  28434. "type": "integer"
  28435. },
  28436. "bizsubjectid": {
  28437. "description": "归属业务部门ID - SubjectID",
  28438. "type": "integer"
  28439. },
  28440. "buyorsell": {
  28441. "description": "方向 - 0:买 1:卖",
  28442. "type": "integer"
  28443. },
  28444. "convertratio": {
  28445. "description": "品种系数",
  28446. "type": "number"
  28447. },
  28448. "createtime": {
  28449. "description": "创建时间",
  28450. "type": "string"
  28451. },
  28452. "creatorid": {
  28453. "description": "创建人ID",
  28454. "type": "integer"
  28455. },
  28456. "creatorsrc": {
  28457. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28458. "type": "integer"
  28459. },
  28460. "goodsgroupid": {
  28461. "description": "对冲品种ID[期货合约商品组ID]",
  28462. "type": "integer"
  28463. },
  28464. "goodsid": {
  28465. "description": "商品ID",
  28466. "type": "integer"
  28467. },
  28468. "hedgeditemid": {
  28469. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28470. "type": "integer"
  28471. },
  28472. "hedgeflag": {
  28473. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28474. "type": "integer"
  28475. },
  28476. "linkdetailid": {
  28477. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28478. "type": "string"
  28479. },
  28480. "linkstatus": {
  28481. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28482. "type": "integer"
  28483. },
  28484. "middlegoodsid": {
  28485. "description": "套保品种ID",
  28486. "type": "integer"
  28487. },
  28488. "name": {
  28489. "description": "账户名/子账户",
  28490. "type": "string"
  28491. },
  28492. "optioncode": {
  28493. "description": "[期货合约]期权代码 [期权]",
  28494. "type": "string"
  28495. },
  28496. "ordertype": {
  28497. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28498. "type": "integer"
  28499. },
  28500. "relatedlot": {
  28501. "description": "[数量]关联手数",
  28502. "type": "number"
  28503. },
  28504. "relatedmode": {
  28505. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28506. "type": "integer"
  28507. },
  28508. "relatedqty": {
  28509. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28510. "type": "number"
  28511. },
  28512. "retcode": {
  28513. "description": "返回码",
  28514. "type": "integer"
  28515. },
  28516. "saleuserid": {
  28517. "description": "业务员ID",
  28518. "type": "integer"
  28519. },
  28520. "tradedate": {
  28521. "description": "关联交易日(yyyyMMdd)",
  28522. "type": "string"
  28523. },
  28524. "tradeid": {
  28525. "description": "[成交单号]内部成交单ID",
  28526. "type": "string"
  28527. },
  28528. "tradelot": {
  28529. "description": "成交手数",
  28530. "type": "integer"
  28531. },
  28532. "tradeprice": {
  28533. "description": "[价格]成交价格",
  28534. "type": "number"
  28535. },
  28536. "tradetime": {
  28537. "description": "日期时间",
  28538. "type": "string"
  28539. },
  28540. "tradetradedate": {
  28541. "description": "成交交易日(yyyyMMdd)",
  28542. "type": "string"
  28543. }
  28544. }
  28545. },
  28546. "models.Externalexchange": {
  28547. "type": "object",
  28548. "required": [
  28549. "autoid"
  28550. ],
  28551. "properties": {
  28552. "autoid": {
  28553. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28554. "type": "integer"
  28555. },
  28556. "exchangefullname": {
  28557. "description": "外部交易所全称",
  28558. "type": "string"
  28559. },
  28560. "exexchangecode": {
  28561. "description": "外部交易所代码",
  28562. "type": "string"
  28563. },
  28564. "exexchangename": {
  28565. "description": "外部交易所名称(简称)",
  28566. "type": "string"
  28567. },
  28568. "ismarketprice": {
  28569. "description": "是否支持市价 - 0:不支持 1:支持",
  28570. "type": "integer"
  28571. },
  28572. "quotegear": {
  28573. "description": "行情档位(1-10)",
  28574. "type": "integer"
  28575. },
  28576. "showbrokerflag": {
  28577. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28578. "type": "integer"
  28579. },
  28580. "updatetime": {
  28581. "description": "更新时间",
  28582. "type": "string"
  28583. }
  28584. }
  28585. },
  28586. "models.Funcmenulist": {
  28587. "type": "object",
  28588. "required": [
  28589. "resourcecode"
  28590. ],
  28591. "properties": {
  28592. "iconame": {
  28593. "description": "菜单图标",
  28594. "type": "string"
  28595. },
  28596. "menutype": {
  28597. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28598. "type": "integer"
  28599. },
  28600. "parentcode": {
  28601. "description": "上级资源代码",
  28602. "type": "string"
  28603. },
  28604. "remark": {
  28605. "description": "备注",
  28606. "type": "string"
  28607. },
  28608. "resourcecode": {
  28609. "description": "资源代码",
  28610. "type": "string"
  28611. },
  28612. "resourcelevel": {
  28613. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28614. "type": "integer"
  28615. },
  28616. "resourcename": {
  28617. "description": "资源名",
  28618. "type": "string"
  28619. },
  28620. "sort": {
  28621. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28622. "type": "integer"
  28623. },
  28624. "url": {
  28625. "description": "URL",
  28626. "type": "string"
  28627. }
  28628. }
  28629. },
  28630. "models.Goods": {
  28631. "type": "object",
  28632. "required": [
  28633. "goodscode",
  28634. "goodsid",
  28635. "goodsname",
  28636. "marketid"
  28637. ],
  28638. "properties": {
  28639. "agreeunit": {
  28640. "description": "合约单位",
  28641. "type": "number"
  28642. },
  28643. "areauserid": {
  28644. "description": "所属机构",
  28645. "type": "integer"
  28646. },
  28647. "auditaccountid": {
  28648. "description": "审核操作员账号",
  28649. "type": "integer"
  28650. },
  28651. "audittime": {
  28652. "description": "审核时间",
  28653. "type": "string"
  28654. },
  28655. "cancelaccountid": {
  28656. "description": "注销操作员账号",
  28657. "type": "integer"
  28658. },
  28659. "canceltime": {
  28660. "description": "注销时间",
  28661. "type": "string"
  28662. },
  28663. "closepricemode": {
  28664. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28665. "type": "integer"
  28666. },
  28667. "closepriceparam": {
  28668. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28669. "type": "number"
  28670. },
  28671. "createtime": {
  28672. "description": "创建时间",
  28673. "type": "string"
  28674. },
  28675. "creatorid": {
  28676. "description": "创建人",
  28677. "type": "integer"
  28678. },
  28679. "currencyid": {
  28680. "description": "报价货币ID",
  28681. "type": "integer"
  28682. },
  28683. "cutmode": {
  28684. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28685. "type": "integer"
  28686. },
  28687. "decimalplace": {
  28688. "description": "报价小数位",
  28689. "type": "integer"
  28690. },
  28691. "delistingdate": {
  28692. "description": "商品退市时间(状态:退市) -- 已作废",
  28693. "type": "string"
  28694. },
  28695. "delistingmode": {
  28696. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28697. "type": "integer"
  28698. },
  28699. "deliveryflag": {
  28700. "description": "交割标志 - 0:不可交割 1:可交割",
  28701. "type": "integer"
  28702. },
  28703. "forceclosemode": {
  28704. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28705. "type": "integer"
  28706. },
  28707. "forceclosevalue": {
  28708. "description": "定期强平参数 [收益权]",
  28709. "type": "integer"
  28710. },
  28711. "goodscode": {
  28712. "description": "商品代码(内部)",
  28713. "type": "string"
  28714. },
  28715. "goodscurrencyid": {
  28716. "description": "合约货币ID",
  28717. "type": "integer"
  28718. },
  28719. "goodsgroupid": {
  28720. "description": "所属商品组ID",
  28721. "type": "integer"
  28722. },
  28723. "goodsid": {
  28724. "description": "商品ID(自增ID SEQ_GOODS)",
  28725. "type": "integer"
  28726. },
  28727. "goodsname": {
  28728. "description": "商品名称",
  28729. "type": "string"
  28730. },
  28731. "goodsquotetype": {
  28732. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28733. "type": "integer"
  28734. },
  28735. "goodsstatus": {
  28736. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28737. "type": "integer"
  28738. },
  28739. "goodstradetype": {
  28740. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28741. "type": "integer"
  28742. },
  28743. "goodunitid": {
  28744. "description": "报价单位ID",
  28745. "type": "integer"
  28746. },
  28747. "hasquoter": {
  28748. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28749. "type": "integer"
  28750. },
  28751. "hqprotecttime": {
  28752. "description": "行情保护时间(秒)",
  28753. "type": "integer"
  28754. },
  28755. "innerdealmode": {
  28756. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28757. "type": "integer"
  28758. },
  28759. "isbuylimited": {
  28760. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28761. "type": "integer"
  28762. },
  28763. "isvisible": {
  28764. "description": "游客是否可见 - 0:不可见 1:可见",
  28765. "type": "integer"
  28766. },
  28767. "lasttradedate": {
  28768. "description": "最后交易日期(状态:待退市)",
  28769. "type": "string"
  28770. },
  28771. "listingdate": {
  28772. "description": "交易开始日期",
  28773. "type": "string"
  28774. },
  28775. "marketid": {
  28776. "description": "所属市场ID",
  28777. "type": "integer"
  28778. },
  28779. "modifierid": {
  28780. "description": "修改人",
  28781. "type": "integer"
  28782. },
  28783. "modifystatus": {
  28784. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28785. "type": "integer"
  28786. },
  28787. "modifytime": {
  28788. "description": "修改时间",
  28789. "type": "string"
  28790. },
  28791. "outerdealmode": {
  28792. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28793. "type": "integer"
  28794. },
  28795. "outgoodscode": {
  28796. "description": "商品代码(外部)",
  28797. "type": "string"
  28798. },
  28799. "pictureurl": {
  28800. "description": "商品图片",
  28801. "type": "string"
  28802. },
  28803. "qtydecimalplace": {
  28804. "description": "成交量小数位",
  28805. "type": "integer"
  28806. },
  28807. "quotegear": {
  28808. "description": "行情档位(1-10)",
  28809. "type": "integer"
  28810. },
  28811. "quoteminunit": {
  28812. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28813. "type": "integer"
  28814. },
  28815. "quoteshowtype": {
  28816. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28817. "type": "integer"
  28818. },
  28819. "quoteshowtypeinterval": {
  28820. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28821. "type": "integer"
  28822. },
  28823. "remark": {
  28824. "description": "备注",
  28825. "type": "string"
  28826. }
  28827. }
  28828. },
  28829. "models.GoodsIDAndName": {
  28830. "type": "object",
  28831. "required": [
  28832. "goodscode",
  28833. "goodsid",
  28834. "goodsname",
  28835. "marketid"
  28836. ],
  28837. "properties": {
  28838. "goodscode": {
  28839. "description": "商品代码(内部)",
  28840. "type": "string"
  28841. },
  28842. "goodsid": {
  28843. "description": "商品ID(自增ID SEQ_GOODS)",
  28844. "type": "integer"
  28845. },
  28846. "goodsname": {
  28847. "description": "商品名称",
  28848. "type": "string"
  28849. },
  28850. "marketid": {
  28851. "description": "所属市场ID",
  28852. "type": "integer"
  28853. }
  28854. }
  28855. },
  28856. "models.Goodsgroup": {
  28857. "type": "object",
  28858. "required": [
  28859. "goodsgroupid",
  28860. "goodsgroupname",
  28861. "goodsgroupstatus",
  28862. "marketid"
  28863. ],
  28864. "properties": {
  28865. "agreeunit": {
  28866. "description": "合约单位",
  28867. "type": "number"
  28868. },
  28869. "canshort": {
  28870. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  28871. "type": "integer"
  28872. },
  28873. "closepricemode": {
  28874. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28875. "type": "integer"
  28876. },
  28877. "closepriceparam": {
  28878. "description": "强平最新价浮动比例 - 方式为2时使用",
  28879. "type": "number"
  28880. },
  28881. "createtime": {
  28882. "description": "创建时间",
  28883. "type": "string"
  28884. },
  28885. "creatorid": {
  28886. "description": "创建人",
  28887. "type": "integer"
  28888. },
  28889. "currencyid": {
  28890. "description": "报价货币ID",
  28891. "type": "integer"
  28892. },
  28893. "decimalplace": {
  28894. "description": "报价小数位",
  28895. "type": "integer"
  28896. },
  28897. "exercisetype": {
  28898. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  28899. "type": "integer"
  28900. },
  28901. "exexchangeid": {
  28902. "description": "外部交易所ID[通道交易]",
  28903. "type": "integer"
  28904. },
  28905. "goodsgroupid": {
  28906. "description": "商品组ID(自增ID)",
  28907. "type": "integer"
  28908. },
  28909. "goodsgroupname": {
  28910. "description": "商品组名称",
  28911. "type": "string"
  28912. },
  28913. "goodsgroupstatus": {
  28914. "description": "商品组状态 - 1:正常 2:注销",
  28915. "type": "integer"
  28916. },
  28917. "goodunitid": {
  28918. "description": "报价单位ID",
  28919. "type": "integer"
  28920. },
  28921. "innerdealmode": {
  28922. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28923. "type": "integer"
  28924. },
  28925. "isbuylimited": {
  28926. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28927. "type": "integer"
  28928. },
  28929. "marketid": {
  28930. "description": "所属市场ID",
  28931. "type": "integer"
  28932. },
  28933. "modifierid": {
  28934. "description": "修改人",
  28935. "type": "integer"
  28936. },
  28937. "modifytime": {
  28938. "description": "修改时间",
  28939. "type": "string"
  28940. },
  28941. "outerdealmode": {
  28942. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28943. "type": "integer"
  28944. },
  28945. "outergroupcode": {
  28946. "description": "外部商品组代码[通道交易]",
  28947. "type": "string"
  28948. },
  28949. "premiumdecimalplace": {
  28950. "description": "权利金小数位[场外期权]",
  28951. "type": "integer"
  28952. },
  28953. "premiumspreadalgorithm": {
  28954. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  28955. "type": "integer"
  28956. },
  28957. "premiumspreadvalue": {
  28958. "description": "权利金点差值[场外期权]",
  28959. "type": "number"
  28960. },
  28961. "qtydecimalplace": {
  28962. "description": "成交量小数位",
  28963. "type": "integer"
  28964. },
  28965. "quotegear": {
  28966. "description": "行情档位(1-10)",
  28967. "type": "integer"
  28968. },
  28969. "quoteminunit": {
  28970. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28971. "type": "integer"
  28972. },
  28973. "quoterid": {
  28974. "description": "报价商ID[场外期权]",
  28975. "type": "integer"
  28976. },
  28977. "quotesourcegroupid": {
  28978. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  28979. "type": "integer"
  28980. },
  28981. "syncgoodsqty": {
  28982. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  28983. "type": "integer"
  28984. }
  28985. }
  28986. },
  28987. "models.Goodssortbypreposition": {
  28988. "type": "object",
  28989. "required": [
  28990. "goodscode",
  28991. "tradedate"
  28992. ],
  28993. "properties": {
  28994. "goodscode": {
  28995. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  28996. "type": "string"
  28997. },
  28998. "goodsgroupcode": {
  28999. "description": "品种代码",
  29000. "type": "string"
  29001. },
  29002. "prepositionqty": {
  29003. "description": "昨持仓量",
  29004. "type": "integer"
  29005. },
  29006. "sortindex": {
  29007. "description": "排序",
  29008. "type": "integer"
  29009. },
  29010. "tradedate": {
  29011. "description": "交易日",
  29012. "type": "string"
  29013. },
  29014. "updatetime": {
  29015. "description": "更新时间",
  29016. "type": "string"
  29017. }
  29018. }
  29019. },
  29020. "models.Hedgeinnerholderdetail": {
  29021. "type": "object",
  29022. "required": [
  29023. "buyorsell",
  29024. "tradeid"
  29025. ],
  29026. "properties": {
  29027. "accountid": {
  29028. "description": "账号ID",
  29029. "type": "integer"
  29030. },
  29031. "buyorsell": {
  29032. "description": "方向 - 0:买 1:卖",
  29033. "type": "integer"
  29034. },
  29035. "freezeqty": {
  29036. "description": "冻结数量 - 按单平使用",
  29037. "type": "integer"
  29038. },
  29039. "goodsid": {
  29040. "description": "商品ID",
  29041. "type": "integer"
  29042. },
  29043. "holderamount": {
  29044. "description": "持仓金额 [商品币种]",
  29045. "type": "number"
  29046. },
  29047. "holderdays": {
  29048. "description": "剩余冻结天数",
  29049. "type": "integer"
  29050. },
  29051. "holderprice": {
  29052. "description": "持仓价格",
  29053. "type": "number"
  29054. },
  29055. "holderqty": {
  29056. "description": "持仓数量",
  29057. "type": "integer"
  29058. },
  29059. "marketid": {
  29060. "description": "市场ID",
  29061. "type": "integer"
  29062. },
  29063. "openprice": {
  29064. "description": "建仓价格",
  29065. "type": "number"
  29066. },
  29067. "openqty": {
  29068. "description": "建仓数量",
  29069. "type": "integer"
  29070. },
  29071. "parentaccountid": {
  29072. "description": "所属母账户",
  29073. "type": "integer"
  29074. },
  29075. "releaseamount": {
  29076. "description": "释放持仓金额[商品币种]",
  29077. "type": "number"
  29078. },
  29079. "tradeamount": {
  29080. "description": "成交金额[账户]",
  29081. "type": "number"
  29082. },
  29083. "tradedate": {
  29084. "description": "交易日(yyyyMMdd)",
  29085. "type": "string"
  29086. },
  29087. "tradeid": {
  29088. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29089. "type": "string"
  29090. },
  29091. "tradetime": {
  29092. "description": "交易时间",
  29093. "type": "string"
  29094. }
  29095. }
  29096. },
  29097. "models.Hedgemarketopenlog": {
  29098. "type": "object",
  29099. "required": [
  29100. "accountid"
  29101. ],
  29102. "properties": {
  29103. "accountid": {
  29104. "description": "资金账号[外部母账户]",
  29105. "type": "integer"
  29106. },
  29107. "fcname": {
  29108. "description": "期货公司名称",
  29109. "type": "string"
  29110. },
  29111. "handlestatus": {
  29112. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29113. "type": "integer"
  29114. },
  29115. "marketid": {
  29116. "description": "市场ID",
  29117. "type": "integer"
  29118. },
  29119. "status": {
  29120. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29121. "type": "integer"
  29122. },
  29123. "tradedate": {
  29124. "description": "交易日(yyyyMMdd)",
  29125. "type": "string"
  29126. },
  29127. "updatetime": {
  29128. "description": "更新时间",
  29129. "type": "string"
  29130. }
  29131. }
  29132. },
  29133. "models.HsbyBuyMyPayOrder": {
  29134. "type": "object",
  29135. "required": [
  29136. "goodscode",
  29137. "goodsname",
  29138. "tradeid",
  29139. "trademode"
  29140. ],
  29141. "properties": {
  29142. "agreeunit": {
  29143. "description": "合约单位",
  29144. "type": "number"
  29145. },
  29146. "buyaccountid": {
  29147. "description": "买方账号ID[报价币种]",
  29148. "type": "integer"
  29149. },
  29150. "buyorderid": {
  29151. "description": "买方委托单号",
  29152. "type": "string"
  29153. },
  29154. "createtime": {
  29155. "description": "创建时间",
  29156. "type": "string"
  29157. },
  29158. "currencysign": {
  29159. "description": "货币符号",
  29160. "type": "string"
  29161. },
  29162. "decimalplace": {
  29163. "description": "报价小数位",
  29164. "type": "integer"
  29165. },
  29166. "goodscode": {
  29167. "description": "商品代码(内部)",
  29168. "type": "string"
  29169. },
  29170. "goodsid": {
  29171. "description": "商品ID",
  29172. "type": "integer"
  29173. },
  29174. "goodsname": {
  29175. "description": "商品名称",
  29176. "type": "string"
  29177. },
  29178. "marketid": {
  29179. "description": "市场ID",
  29180. "type": "integer"
  29181. },
  29182. "offamount": {
  29183. "description": "优惠金额",
  29184. "type": "number"
  29185. },
  29186. "originalamount": {
  29187. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  29188. "type": "number"
  29189. },
  29190. "payamount": {
  29191. "description": "支付金额 = TradeAmount + TradeCharge",
  29192. "type": "number"
  29193. },
  29194. "payflag": {
  29195. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  29196. "type": "integer"
  29197. },
  29198. "paylimitedtime": {
  29199. "description": "支付期限",
  29200. "type": "string"
  29201. },
  29202. "paytime": {
  29203. "description": "付款时间",
  29204. "type": "string"
  29205. },
  29206. "picurls1": {
  29207. "description": "预售商品介绍图片[多张用逗号分隔]",
  29208. "type": "string"
  29209. },
  29210. "picurls2": {
  29211. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29212. "type": "string"
  29213. },
  29214. "sellaccountid": {
  29215. "description": "卖方账号ID[报价币种]",
  29216. "type": "integer"
  29217. },
  29218. "sellorderid": {
  29219. "description": "卖方委托单号",
  29220. "type": "string"
  29221. },
  29222. "tradeamount": {
  29223. "description": "成交金额",
  29224. "type": "number"
  29225. },
  29226. "tradecharge": {
  29227. "description": "成交手续费(买方)",
  29228. "type": "number"
  29229. },
  29230. "tradedate": {
  29231. "description": "交易日(yyyyMMdd)",
  29232. "type": "string"
  29233. },
  29234. "tradeid": {
  29235. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29236. "type": "string"
  29237. },
  29238. "trademode": {
  29239. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29240. "type": "integer"
  29241. },
  29242. "tradeprice": {
  29243. "description": "成交价格",
  29244. "type": "number"
  29245. },
  29246. "tradeqty": {
  29247. "description": "成交数量",
  29248. "type": "integer"
  29249. },
  29250. "vendorname1": {
  29251. "description": "预售商品供应商名称",
  29252. "type": "string"
  29253. },
  29254. "vendorname2": {
  29255. "description": "挂牌商品供应商名称",
  29256. "type": "string"
  29257. }
  29258. }
  29259. },
  29260. "models.HsbyBuyMyTradeDetail": {
  29261. "type": "object",
  29262. "required": [
  29263. "accountid",
  29264. "buyorsell",
  29265. "goodscode",
  29266. "goodsid",
  29267. "goodsname",
  29268. "marketid",
  29269. "orderid",
  29270. "qty",
  29271. "time",
  29272. "trademode"
  29273. ],
  29274. "properties": {
  29275. "accountid": {
  29276. "description": "账户ID[报价币种]",
  29277. "type": "integer"
  29278. },
  29279. "agreeunit": {
  29280. "description": "合约单位",
  29281. "type": "number"
  29282. },
  29283. "amount": {
  29284. "description": "金额 = 价格 * 数量 * 合约单位",
  29285. "type": "number"
  29286. },
  29287. "buyorsell": {
  29288. "description": "买卖 - 0:买 1:卖",
  29289. "type": "integer"
  29290. },
  29291. "currencysign": {
  29292. "description": "货币符号",
  29293. "type": "string"
  29294. },
  29295. "decimalplace": {
  29296. "description": "报价小数位",
  29297. "type": "integer"
  29298. },
  29299. "goodscode": {
  29300. "description": "商品代码(内部)",
  29301. "type": "string"
  29302. },
  29303. "goodsid": {
  29304. "description": "商品ID",
  29305. "type": "integer"
  29306. },
  29307. "goodsname": {
  29308. "description": "商品名称",
  29309. "type": "string"
  29310. },
  29311. "marketid": {
  29312. "description": "市场ID",
  29313. "type": "integer"
  29314. },
  29315. "orderamount": {
  29316. "description": "委托金额",
  29317. "type": "number"
  29318. },
  29319. "orderid": {
  29320. "description": "单号(成交单号)",
  29321. "type": "string"
  29322. },
  29323. "picurls1": {
  29324. "description": "预售商品介绍图片[多张用逗号分隔]",
  29325. "type": "string"
  29326. },
  29327. "picurls2": {
  29328. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29329. "type": "string"
  29330. },
  29331. "price": {
  29332. "description": "价格",
  29333. "type": "number"
  29334. },
  29335. "qty": {
  29336. "description": "数量",
  29337. "type": "integer"
  29338. },
  29339. "time": {
  29340. "description": "时间",
  29341. "type": "string"
  29342. },
  29343. "trademode": {
  29344. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29345. "type": "integer"
  29346. },
  29347. "vendorname1": {
  29348. "description": "预售商品供应商名称",
  29349. "type": "string"
  29350. },
  29351. "vendorname2": {
  29352. "description": "挂牌商品供应商名称",
  29353. "type": "string"
  29354. }
  29355. }
  29356. },
  29357. "models.HsbyGoodsOrderDetail": {
  29358. "type": "object",
  29359. "required": [
  29360. "buyorsell",
  29361. "orderid",
  29362. "ordertime"
  29363. ],
  29364. "properties": {
  29365. "buyorsell": {
  29366. "description": "买卖 - 0:买 1:卖",
  29367. "type": "integer"
  29368. },
  29369. "currencysign": {
  29370. "description": "货币符号",
  29371. "type": "string"
  29372. },
  29373. "customername": {
  29374. "description": "客户名称(企业名称),已脱敏",
  29375. "type": "string"
  29376. },
  29377. "enableqty": {
  29378. "description": "可用数量",
  29379. "type": "integer"
  29380. },
  29381. "goodunit": {
  29382. "description": "报价单位",
  29383. "type": "string"
  29384. },
  29385. "orderid": {
  29386. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29387. "type": "string"
  29388. },
  29389. "orderprice": {
  29390. "description": "委托价格",
  29391. "type": "number"
  29392. },
  29393. "ordertime": {
  29394. "description": "委托时间",
  29395. "type": "string"
  29396. }
  29397. }
  29398. },
  29399. "models.HsbyListingGoodsDetail": {
  29400. "type": "object",
  29401. "required": [
  29402. "goodscode",
  29403. "goodsid",
  29404. "goodsname",
  29405. "marketid",
  29406. "trademode"
  29407. ],
  29408. "properties": {
  29409. "agreeunit": {
  29410. "description": "合约单位",
  29411. "type": "number"
  29412. },
  29413. "buymaxqty": {
  29414. "description": "购买上限 [71] - 0为不限",
  29415. "type": "integer"
  29416. },
  29417. "currency": {
  29418. "description": "货币",
  29419. "type": "string"
  29420. },
  29421. "currencysign": {
  29422. "description": "货币符号",
  29423. "type": "string"
  29424. },
  29425. "decimalplace": {
  29426. "description": "报价小数位",
  29427. "type": "integer"
  29428. },
  29429. "desccityid": {
  29430. "description": "目的地(市)ID",
  29431. "type": "integer"
  29432. },
  29433. "descprovinceid": {
  29434. "description": "目的地(省)ID",
  29435. "type": "integer"
  29436. },
  29437. "goodscode": {
  29438. "description": "商品代码(内部)",
  29439. "type": "string"
  29440. },
  29441. "goodsdesc": {
  29442. "description": "商品详情",
  29443. "type": "string"
  29444. },
  29445. "goodsid": {
  29446. "description": "商品ID(自增ID SEQ_GOODS)",
  29447. "type": "integer"
  29448. },
  29449. "goodsname": {
  29450. "description": "商品名称",
  29451. "type": "string"
  29452. },
  29453. "goodsprice": {
  29454. "description": "商品价格",
  29455. "type": "number"
  29456. },
  29457. "hotindex": {
  29458. "description": "景点热度",
  29459. "type": "integer"
  29460. },
  29461. "last": {
  29462. "description": "现价",
  29463. "type": "number"
  29464. },
  29465. "limitdown": {
  29466. "description": "跌停价",
  29467. "type": "number"
  29468. },
  29469. "limitup": {
  29470. "description": "涨停价",
  29471. "type": "number"
  29472. },
  29473. "lotsize": {
  29474. "description": "手数最小变动单位",
  29475. "type": "integer"
  29476. },
  29477. "marketid": {
  29478. "description": "所属市场ID",
  29479. "type": "integer"
  29480. },
  29481. "picurls": {
  29482. "description": "介绍图片[多张用逗号分隔]",
  29483. "type": "string"
  29484. },
  29485. "quoteminunit": {
  29486. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29487. "type": "integer"
  29488. },
  29489. "stepvalue": {
  29490. "description": "价格最小变动单位",
  29491. "type": "number"
  29492. },
  29493. "trademode": {
  29494. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29495. "type": "integer"
  29496. },
  29497. "vendorattr": {
  29498. "description": "供应商附件(多张,逗号分隔)",
  29499. "type": "string"
  29500. },
  29501. "vendorname": {
  29502. "description": "供应商名称",
  29503. "type": "string"
  29504. },
  29505. "vendorphone": {
  29506. "description": "供应商客服电话",
  29507. "type": "string"
  29508. },
  29509. "videourls": {
  29510. "description": "介绍视频[多张用逗号分隔]",
  29511. "type": "string"
  29512. }
  29513. }
  29514. },
  29515. "models.HsbyMarketGoods": {
  29516. "type": "object",
  29517. "required": [
  29518. "accountid",
  29519. "buyorsell",
  29520. "goodscode",
  29521. "goodsid",
  29522. "goodsname",
  29523. "marketid",
  29524. "orderid",
  29525. "trademode"
  29526. ],
  29527. "properties": {
  29528. "accountid": {
  29529. "description": "账户ID[报价币种]",
  29530. "type": "integer"
  29531. },
  29532. "agreeunit": {
  29533. "description": "合约单位",
  29534. "type": "number"
  29535. },
  29536. "buyorsell": {
  29537. "description": "买卖 - 0:买 1:卖",
  29538. "type": "integer"
  29539. },
  29540. "categoryid": {
  29541. "description": "类别ID(WRCATEGORY)",
  29542. "type": "integer"
  29543. },
  29544. "currency": {
  29545. "description": "货币",
  29546. "type": "string"
  29547. },
  29548. "currencysign": {
  29549. "description": "货币符号",
  29550. "type": "string"
  29551. },
  29552. "customername": {
  29553. "description": "卖家名称",
  29554. "type": "string"
  29555. },
  29556. "decimalplace": {
  29557. "description": "报价小数位",
  29558. "type": "integer"
  29559. },
  29560. "goodscode": {
  29561. "description": "商品代码(内部)",
  29562. "type": "string"
  29563. },
  29564. "goodsid": {
  29565. "description": "商品ID",
  29566. "type": "integer"
  29567. },
  29568. "goodsname": {
  29569. "description": "商品名称",
  29570. "type": "string"
  29571. },
  29572. "goodsprice": {
  29573. "description": "商品价格",
  29574. "type": "number"
  29575. },
  29576. "hascoupon": {
  29577. "description": "是否可用优惠卷",
  29578. "type": "boolean"
  29579. },
  29580. "hotindex": {
  29581. "description": "景点热度",
  29582. "type": "integer"
  29583. },
  29584. "marketid": {
  29585. "description": "市场ID",
  29586. "type": "integer"
  29587. },
  29588. "orderid": {
  29589. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29590. "type": "string"
  29591. },
  29592. "orderprice": {
  29593. "description": "委托价格",
  29594. "type": "number"
  29595. },
  29596. "orderstatus": {
  29597. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29598. "type": "integer"
  29599. },
  29600. "picurls": {
  29601. "description": "介绍图片[多张用逗号分隔]",
  29602. "type": "string"
  29603. },
  29604. "quoteminunit": {
  29605. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29606. "type": "integer"
  29607. },
  29608. "sellUserID": {
  29609. "description": "卖方UserID",
  29610. "type": "integer"
  29611. },
  29612. "trademode": {
  29613. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29614. "type": "integer"
  29615. },
  29616. "videourls": {
  29617. "description": "介绍视频[多张用逗号分隔]",
  29618. "type": "string"
  29619. }
  29620. }
  29621. },
  29622. "models.HsbyMarketGoodsDetail": {
  29623. "type": "object",
  29624. "required": [
  29625. "accountid",
  29626. "buyorsell",
  29627. "goodscode",
  29628. "goodsid",
  29629. "goodsname",
  29630. "marketid",
  29631. "orderid",
  29632. "orderqty",
  29633. "trademode"
  29634. ],
  29635. "properties": {
  29636. "accountid": {
  29637. "description": "账户ID[报价币种]",
  29638. "type": "integer"
  29639. },
  29640. "agreeunit": {
  29641. "description": "合约单位",
  29642. "type": "number"
  29643. },
  29644. "buymaxqty": {
  29645. "description": "购买上限 [71] - 0为不限",
  29646. "type": "integer"
  29647. },
  29648. "buyorsell": {
  29649. "description": "买卖 - 0:买 1:卖",
  29650. "type": "integer"
  29651. },
  29652. "cancelqty": {
  29653. "description": "撤单数量",
  29654. "type": "integer"
  29655. },
  29656. "categoryid": {
  29657. "description": "类别ID(WRCATEGORY)",
  29658. "type": "integer"
  29659. },
  29660. "currency": {
  29661. "description": "货币",
  29662. "type": "string"
  29663. },
  29664. "currencysign": {
  29665. "description": "货币符号",
  29666. "type": "string"
  29667. },
  29668. "customername": {
  29669. "description": "卖家名称",
  29670. "type": "string"
  29671. },
  29672. "decimalplace": {
  29673. "description": "报价小数位",
  29674. "type": "integer"
  29675. },
  29676. "goodscode": {
  29677. "description": "商品代码(内部)",
  29678. "type": "string"
  29679. },
  29680. "goodsdesc": {
  29681. "description": "商品详情",
  29682. "type": "string"
  29683. },
  29684. "goodsid": {
  29685. "description": "商品ID",
  29686. "type": "integer"
  29687. },
  29688. "goodsname": {
  29689. "description": "商品名称",
  29690. "type": "string"
  29691. },
  29692. "goodsprice": {
  29693. "description": "商品价格",
  29694. "type": "number"
  29695. },
  29696. "hotindex": {
  29697. "description": "景点热度",
  29698. "type": "integer"
  29699. },
  29700. "lotsize": {
  29701. "description": "手数最小变动单位",
  29702. "type": "integer"
  29703. },
  29704. "marketid": {
  29705. "description": "市场ID",
  29706. "type": "integer"
  29707. },
  29708. "orderid": {
  29709. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29710. "type": "string"
  29711. },
  29712. "orderprice": {
  29713. "description": "委托价格",
  29714. "type": "number"
  29715. },
  29716. "orderqty": {
  29717. "description": "委托数量",
  29718. "type": "integer"
  29719. },
  29720. "orderstatus": {
  29721. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29722. "type": "integer"
  29723. },
  29724. "picurls": {
  29725. "description": "介绍图片[多张用逗号分隔]",
  29726. "type": "string"
  29727. },
  29728. "quoteminunit": {
  29729. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29730. "type": "integer"
  29731. },
  29732. "sellUserID": {
  29733. "description": "卖方UserID",
  29734. "type": "integer"
  29735. },
  29736. "trademode": {
  29737. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29738. "type": "integer"
  29739. },
  29740. "tradeqty": {
  29741. "description": "成交数量",
  29742. "type": "integer"
  29743. },
  29744. "vendorattr": {
  29745. "description": "供应商附件(多张,逗号分隔)",
  29746. "type": "string"
  29747. },
  29748. "vendorname": {
  29749. "description": "供应商名称",
  29750. "type": "string"
  29751. },
  29752. "vendorphone": {
  29753. "description": "供应商客服电话",
  29754. "type": "string"
  29755. },
  29756. "videourls": {
  29757. "description": "介绍视频[多张用逗号分隔]",
  29758. "type": "string"
  29759. }
  29760. }
  29761. },
  29762. "models.HsbyMarketInfo": {
  29763. "type": "object",
  29764. "required": [
  29765. "marketid",
  29766. "marketstatus",
  29767. "trademode"
  29768. ],
  29769. "properties": {
  29770. "marketid": {
  29771. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29772. "type": "integer"
  29773. },
  29774. "marketname": {
  29775. "description": "市场名称",
  29776. "type": "string"
  29777. },
  29778. "marketstatus": {
  29779. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29780. "type": "integer"
  29781. },
  29782. "trademode": {
  29783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29784. "type": "integer"
  29785. }
  29786. }
  29787. },
  29788. "models.HsbyMyGoods": {
  29789. "type": "object",
  29790. "required": [
  29791. "accountid",
  29792. "goodscode",
  29793. "goodsid",
  29794. "goodsname",
  29795. "marketid",
  29796. "trademode"
  29797. ],
  29798. "properties": {
  29799. "accountid": {
  29800. "description": "账号Id",
  29801. "type": "integer"
  29802. },
  29803. "agreeunit": {
  29804. "description": "合约单位",
  29805. "type": "number"
  29806. },
  29807. "buyaverageprice": {
  29808. "description": "持仓均价",
  29809. "type": "number"
  29810. },
  29811. "buycurholderamount": {
  29812. "description": "买当前持仓总金额[商品币种]",
  29813. "type": "number"
  29814. },
  29815. "buycurpositionqty": {
  29816. "description": "买当前持仓总数量",
  29817. "type": "integer"
  29818. },
  29819. "buymaxqty": {
  29820. "description": "购买上限 [71] - 0为不限",
  29821. "type": "integer"
  29822. },
  29823. "currencysign": {
  29824. "description": "货币符号",
  29825. "type": "string"
  29826. },
  29827. "decimalplace": {
  29828. "description": "报价小数位",
  29829. "type": "integer"
  29830. },
  29831. "enableqty": {
  29832. "description": "可用数量",
  29833. "type": "integer"
  29834. },
  29835. "goodscode": {
  29836. "description": "商品代码(内部)",
  29837. "type": "string"
  29838. },
  29839. "goodsid": {
  29840. "description": "商品Id",
  29841. "type": "integer"
  29842. },
  29843. "goodsname": {
  29844. "description": "商品名称",
  29845. "type": "string"
  29846. },
  29847. "goodsprice": {
  29848. "description": "商品价格",
  29849. "type": "number"
  29850. },
  29851. "goodsstatus": {
  29852. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29853. "type": "integer"
  29854. },
  29855. "last": {
  29856. "description": "现价(仅使用于挂牌点选)",
  29857. "type": "number"
  29858. },
  29859. "limitdown": {
  29860. "description": "跌停价(仅使用于挂牌点选)",
  29861. "type": "number"
  29862. },
  29863. "limitup": {
  29864. "description": "涨停价(仅使用于挂牌点选)",
  29865. "type": "number"
  29866. },
  29867. "lotsize": {
  29868. "description": "手数最小变动单位",
  29869. "type": "integer"
  29870. },
  29871. "marketid": {
  29872. "description": "所属市场ID",
  29873. "type": "integer"
  29874. },
  29875. "picurls": {
  29876. "description": "介绍图片[多张用逗号分隔]",
  29877. "type": "string"
  29878. },
  29879. "quoteminunit": {
  29880. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29881. "type": "integer"
  29882. },
  29883. "stepvalue": {
  29884. "description": "价格最小变动单位",
  29885. "type": "number"
  29886. },
  29887. "trademode": {
  29888. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29889. "type": "integer"
  29890. }
  29891. }
  29892. },
  29893. "models.HsbyMyPackage": {
  29894. "type": "object",
  29895. "required": [
  29896. "goodscode",
  29897. "goodsname",
  29898. "takeorderid",
  29899. "trademode"
  29900. ],
  29901. "properties": {
  29902. "accountid": {
  29903. "description": "账户ID",
  29904. "type": "integer"
  29905. },
  29906. "address": {
  29907. "description": "提货人详细地址",
  29908. "type": "string"
  29909. },
  29910. "agreeunit": {
  29911. "description": "合约单位",
  29912. "type": "number"
  29913. },
  29914. "amount": {
  29915. "description": "提货金额",
  29916. "type": "number"
  29917. },
  29918. "auditer": {
  29919. "description": "审核人",
  29920. "type": "integer"
  29921. },
  29922. "audittime": {
  29923. "description": "审核时间",
  29924. "type": "string"
  29925. },
  29926. "averageprice": {
  29927. "description": "均价",
  29928. "type": "number"
  29929. },
  29930. "cardnum": {
  29931. "description": "提货人证件号码",
  29932. "type": "string"
  29933. },
  29934. "cardtypeid": {
  29935. "description": "提货人证件类型",
  29936. "type": "integer"
  29937. },
  29938. "checkremark": {
  29939. "description": "审核备注",
  29940. "type": "string"
  29941. },
  29942. "currencysign": {
  29943. "description": "货币符号",
  29944. "type": "string"
  29945. },
  29946. "decimalplace": {
  29947. "description": "报价小数位",
  29948. "type": "integer"
  29949. },
  29950. "goodscode": {
  29951. "description": "商品代码(内部)",
  29952. "type": "string"
  29953. },
  29954. "goodsid": {
  29955. "description": "商品ID",
  29956. "type": "integer"
  29957. },
  29958. "goodsname": {
  29959. "description": "商品名称",
  29960. "type": "string"
  29961. },
  29962. "handlestatus": {
  29963. "description": "处理状态",
  29964. "type": "integer"
  29965. },
  29966. "marketid": {
  29967. "description": "市场ID",
  29968. "type": "integer"
  29969. },
  29970. "phonenum": {
  29971. "description": "提货人联系方式",
  29972. "type": "string"
  29973. },
  29974. "picurls": {
  29975. "description": "介绍图片[多张用逗号分隔]",
  29976. "type": "string"
  29977. },
  29978. "qty": {
  29979. "description": "提货数量",
  29980. "type": "number"
  29981. },
  29982. "recivername": {
  29983. "description": "提货人姓名",
  29984. "type": "string"
  29985. },
  29986. "reqtime": {
  29987. "description": "更新时间",
  29988. "type": "string"
  29989. },
  29990. "takemode": {
  29991. "description": "提货方式 - 2:自提 3:配送",
  29992. "type": "integer"
  29993. },
  29994. "takeorderid": {
  29995. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29996. "type": "string"
  29997. },
  29998. "takeorderstatus": {
  29999. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  30000. "type": "integer"
  30001. },
  30002. "takeremark": {
  30003. "description": "提货备注",
  30004. "type": "string"
  30005. },
  30006. "tradedate": {
  30007. "description": "交易日(yyyyMMdd)",
  30008. "type": "string"
  30009. },
  30010. "trademode": {
  30011. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30012. "type": "integer"
  30013. },
  30014. "userid": {
  30015. "description": "用户ID",
  30016. "type": "integer"
  30017. },
  30018. "vendorname": {
  30019. "description": "供应商名称",
  30020. "type": "string"
  30021. }
  30022. }
  30023. },
  30024. "models.HsbyPreGoods": {
  30025. "type": "object",
  30026. "required": [
  30027. "goodscode",
  30028. "goodsid",
  30029. "goodsname",
  30030. "marketid",
  30031. "trademode"
  30032. ],
  30033. "properties": {
  30034. "agreeunit": {
  30035. "description": "合约单位",
  30036. "type": "number"
  30037. },
  30038. "currency": {
  30039. "description": "货币",
  30040. "type": "string"
  30041. },
  30042. "currencysign": {
  30043. "description": "货币符号",
  30044. "type": "string"
  30045. },
  30046. "decimalplace": {
  30047. "description": "报价小数位",
  30048. "type": "integer"
  30049. },
  30050. "desccityid": {
  30051. "description": "目的地(市)",
  30052. "type": "integer"
  30053. },
  30054. "descprovinceid": {
  30055. "description": "目的地(省)",
  30056. "type": "integer"
  30057. },
  30058. "enableqty": {
  30059. "description": "剩余数量",
  30060. "type": "integer"
  30061. },
  30062. "goodscode": {
  30063. "description": "商品代码(内部)",
  30064. "type": "string"
  30065. },
  30066. "goodsid": {
  30067. "description": "商品ID(自增ID SEQ_GOODS)",
  30068. "type": "integer"
  30069. },
  30070. "goodsname": {
  30071. "description": "商品名称",
  30072. "type": "string"
  30073. },
  30074. "goodsstatus": {
  30075. "description": "商品状态- 2:未上市 3:上市",
  30076. "type": "integer"
  30077. },
  30078. "lasttradedate": {
  30079. "description": "最后交易日期(状态:待退市)",
  30080. "type": "string"
  30081. },
  30082. "listingdate": {
  30083. "description": "交易开始日期",
  30084. "type": "string"
  30085. },
  30086. "marketid": {
  30087. "description": "所属市场ID",
  30088. "type": "integer"
  30089. },
  30090. "picurls": {
  30091. "description": "介绍图片[多张用逗号分隔]",
  30092. "type": "string"
  30093. },
  30094. "presaledqty": {
  30095. "description": "已预售量(预售结束时更新)",
  30096. "type": "integer"
  30097. },
  30098. "presaleqty": {
  30099. "description": "预售数量",
  30100. "type": "integer"
  30101. },
  30102. "quoteminunit": {
  30103. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30104. "type": "integer"
  30105. },
  30106. "refprice": {
  30107. "description": "参考价格[一口价]",
  30108. "type": "number"
  30109. },
  30110. "relatedgoodsid": {
  30111. "description": "关联交易合约ID",
  30112. "type": "integer"
  30113. },
  30114. "trademode": {
  30115. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30116. "type": "integer"
  30117. },
  30118. "videourls": {
  30119. "description": "介绍视频[多张用逗号分隔]",
  30120. "type": "string"
  30121. }
  30122. }
  30123. },
  30124. "models.HsbyPreGoodsDetail": {
  30125. "type": "object",
  30126. "required": [
  30127. "goodscode",
  30128. "goodsid",
  30129. "goodsname",
  30130. "marketid",
  30131. "trademode"
  30132. ],
  30133. "properties": {
  30134. "agreeunit": {
  30135. "description": "合约单位",
  30136. "type": "number"
  30137. },
  30138. "buymaxqty": {
  30139. "description": "购买上限 [71] - 0为不限",
  30140. "type": "integer"
  30141. },
  30142. "currency": {
  30143. "description": "货币",
  30144. "type": "string"
  30145. },
  30146. "currencysign": {
  30147. "description": "货币符号",
  30148. "type": "string"
  30149. },
  30150. "customername": {
  30151. "description": "发行单位",
  30152. "type": "string"
  30153. },
  30154. "decimalplace": {
  30155. "description": "报价小数位",
  30156. "type": "integer"
  30157. },
  30158. "desccityid": {
  30159. "description": "目的地(市)ID",
  30160. "type": "integer"
  30161. },
  30162. "descprovinceid": {
  30163. "description": "目的地(省)ID",
  30164. "type": "integer"
  30165. },
  30166. "enableqty": {
  30167. "description": "剩余数量",
  30168. "type": "integer"
  30169. },
  30170. "goodscode": {
  30171. "description": "商品代码(内部)",
  30172. "type": "string"
  30173. },
  30174. "goodsdesc": {
  30175. "description": "商品详情",
  30176. "type": "string"
  30177. },
  30178. "goodsid": {
  30179. "description": "商品ID(自增ID SEQ_GOODS)",
  30180. "type": "integer"
  30181. },
  30182. "goodsname": {
  30183. "description": "商品名称",
  30184. "type": "string"
  30185. },
  30186. "goodsstatus": {
  30187. "description": "商品状态- 2:未上市 3:上市",
  30188. "type": "integer"
  30189. },
  30190. "goodunit": {
  30191. "description": "报价单位",
  30192. "type": "string"
  30193. },
  30194. "lasttradedate": {
  30195. "description": "最后交易日期(状态:待退市)",
  30196. "type": "string"
  30197. },
  30198. "listingdate": {
  30199. "description": "交易开始日期",
  30200. "type": "string"
  30201. },
  30202. "lotsize": {
  30203. "description": "手数最小变动单位",
  30204. "type": "integer"
  30205. },
  30206. "marketid": {
  30207. "description": "所属市场ID",
  30208. "type": "integer"
  30209. },
  30210. "picurls": {
  30211. "description": "介绍图片[多张用逗号分隔]",
  30212. "type": "string"
  30213. },
  30214. "presaledqty": {
  30215. "description": "已预售量(预售结束时更新)",
  30216. "type": "integer"
  30217. },
  30218. "presaleqty": {
  30219. "description": "预售数量",
  30220. "type": "integer"
  30221. },
  30222. "quoteminunit": {
  30223. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30224. "type": "integer"
  30225. },
  30226. "refprice": {
  30227. "description": "参考价格[一口价]",
  30228. "type": "number"
  30229. },
  30230. "relatedgoodsid": {
  30231. "description": "关联交易合约ID",
  30232. "type": "integer"
  30233. },
  30234. "stepvalue": {
  30235. "description": "价格最小变动单位",
  30236. "type": "number"
  30237. },
  30238. "trademode": {
  30239. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30240. "type": "integer"
  30241. },
  30242. "vendorattr": {
  30243. "description": "供应商附件(多张,逗号分隔)",
  30244. "type": "string"
  30245. },
  30246. "vendorname": {
  30247. "description": "供应商名称",
  30248. "type": "string"
  30249. },
  30250. "vendorphone": {
  30251. "description": "供应商客服电话",
  30252. "type": "string"
  30253. },
  30254. "videourls": {
  30255. "description": "介绍视频[多张用逗号分隔]",
  30256. "type": "string"
  30257. }
  30258. }
  30259. },
  30260. "models.HsbySellCollectionOrder": {
  30261. "type": "object",
  30262. "required": [
  30263. "goodscode",
  30264. "goodsname",
  30265. "tradeid",
  30266. "trademode"
  30267. ],
  30268. "properties": {
  30269. "agreeunit": {
  30270. "description": "合约单位",
  30271. "type": "number"
  30272. },
  30273. "buyaccountid": {
  30274. "description": "买方账号ID[报价币种]",
  30275. "type": "integer"
  30276. },
  30277. "buyorderid": {
  30278. "description": "买方委托单号",
  30279. "type": "string"
  30280. },
  30281. "createtime": {
  30282. "description": "创建时间",
  30283. "type": "string"
  30284. },
  30285. "currencysign": {
  30286. "description": "货币符号",
  30287. "type": "string"
  30288. },
  30289. "decimalplace": {
  30290. "description": "报价小数位",
  30291. "type": "integer"
  30292. },
  30293. "goodscode": {
  30294. "description": "商品代码(内部)",
  30295. "type": "string"
  30296. },
  30297. "goodsid": {
  30298. "description": "商品ID",
  30299. "type": "integer"
  30300. },
  30301. "goodsname": {
  30302. "description": "商品名称",
  30303. "type": "string"
  30304. },
  30305. "marketid": {
  30306. "description": "市场ID",
  30307. "type": "integer"
  30308. },
  30309. "offamount": {
  30310. "description": "优惠金额",
  30311. "type": "number"
  30312. },
  30313. "payamount": {
  30314. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  30315. "type": "number"
  30316. },
  30317. "payflag": {
  30318. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30319. "type": "integer"
  30320. },
  30321. "paylimitedtime": {
  30322. "description": "支付期限",
  30323. "type": "string"
  30324. },
  30325. "paytime": {
  30326. "description": "付款时间",
  30327. "type": "string"
  30328. },
  30329. "picurls": {
  30330. "description": "商品介绍图片[多张用逗号分隔]",
  30331. "type": "string"
  30332. },
  30333. "sellaccountid": {
  30334. "description": "卖方账号ID[报价币种]",
  30335. "type": "integer"
  30336. },
  30337. "sellorderid": {
  30338. "description": "卖方委托单号",
  30339. "type": "string"
  30340. },
  30341. "tradeamount": {
  30342. "description": "成交金额",
  30343. "type": "number"
  30344. },
  30345. "tradecharge": {
  30346. "description": "成交手续费(买方)",
  30347. "type": "number"
  30348. },
  30349. "tradedate": {
  30350. "description": "交易日(yyyyMMdd)",
  30351. "type": "string"
  30352. },
  30353. "tradeid": {
  30354. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30355. "type": "string"
  30356. },
  30357. "trademode": {
  30358. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30359. "type": "integer"
  30360. },
  30361. "tradeprice": {
  30362. "description": "成交价格",
  30363. "type": "number"
  30364. },
  30365. "tradeqty": {
  30366. "description": "成交数量",
  30367. "type": "integer"
  30368. }
  30369. }
  30370. },
  30371. "models.HsbySellMyDetail": {
  30372. "type": "object",
  30373. "required": [
  30374. "accountid",
  30375. "buyorsell",
  30376. "goodscode",
  30377. "goodsid",
  30378. "goodsname",
  30379. "marketid",
  30380. "orderid",
  30381. "time",
  30382. "trademode"
  30383. ],
  30384. "properties": {
  30385. "accountid": {
  30386. "description": "账户ID[报价币种]",
  30387. "type": "integer"
  30388. },
  30389. "agreeunit": {
  30390. "description": "合约单位",
  30391. "type": "number"
  30392. },
  30393. "buyorsell": {
  30394. "description": "买卖 - 0:买 1:卖",
  30395. "type": "integer"
  30396. },
  30397. "currencysign": {
  30398. "description": "货币符号",
  30399. "type": "string"
  30400. },
  30401. "decimalplace": {
  30402. "description": "报价小数位",
  30403. "type": "integer"
  30404. },
  30405. "goodscode": {
  30406. "description": "商品代码(内部)",
  30407. "type": "string"
  30408. },
  30409. "goodsid": {
  30410. "description": "商品ID",
  30411. "type": "integer"
  30412. },
  30413. "goodsname": {
  30414. "description": "商品名称",
  30415. "type": "string"
  30416. },
  30417. "marketid": {
  30418. "description": "市场ID",
  30419. "type": "integer"
  30420. },
  30421. "orderid": {
  30422. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  30423. "type": "string"
  30424. },
  30425. "ordertype": {
  30426. "description": "单据类型:0 - 发布中, 1 - 已完成",
  30427. "type": "integer"
  30428. },
  30429. "picurls": {
  30430. "description": "介绍图片[多张用逗号分隔]",
  30431. "type": "string"
  30432. },
  30433. "price": {
  30434. "description": "价格",
  30435. "type": "number"
  30436. },
  30437. "qty": {
  30438. "description": "数量",
  30439. "type": "integer"
  30440. },
  30441. "time": {
  30442. "description": "时间",
  30443. "type": "string"
  30444. },
  30445. "trademode": {
  30446. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30447. "type": "integer"
  30448. },
  30449. "vendorname": {
  30450. "description": "供应商名称",
  30451. "type": "string"
  30452. }
  30453. }
  30454. },
  30455. "models.HsbyTopGoods": {
  30456. "type": "object",
  30457. "required": [
  30458. "goodscode",
  30459. "goodsid",
  30460. "goodsname",
  30461. "marketid",
  30462. "trademode"
  30463. ],
  30464. "properties": {
  30465. "agreeunit": {
  30466. "description": "合约单位",
  30467. "type": "number"
  30468. },
  30469. "currency": {
  30470. "description": "货币",
  30471. "type": "string"
  30472. },
  30473. "currencysign": {
  30474. "description": "货币符号",
  30475. "type": "string"
  30476. },
  30477. "decimalplace": {
  30478. "description": "报价小数位",
  30479. "type": "integer"
  30480. },
  30481. "desccityid": {
  30482. "description": "目的地(市)",
  30483. "type": "integer"
  30484. },
  30485. "descprovinceid": {
  30486. "description": "目的地(省)",
  30487. "type": "integer"
  30488. },
  30489. "goodscode": {
  30490. "description": "商品代码(内部)",
  30491. "type": "string"
  30492. },
  30493. "goodsid": {
  30494. "description": "商品ID(自增ID SEQ_GOODS)",
  30495. "type": "integer"
  30496. },
  30497. "goodsname": {
  30498. "description": "商品名称",
  30499. "type": "string"
  30500. },
  30501. "hotindex": {
  30502. "description": "景点热度",
  30503. "type": "integer"
  30504. },
  30505. "last": {
  30506. "description": "现价",
  30507. "type": "number"
  30508. },
  30509. "marketid": {
  30510. "description": "所属市场ID",
  30511. "type": "integer"
  30512. },
  30513. "picurls": {
  30514. "description": "介绍图片[多张用逗号分隔]",
  30515. "type": "string"
  30516. },
  30517. "quoteminunit": {
  30518. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30519. "type": "integer"
  30520. },
  30521. "trademode": {
  30522. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30523. "type": "integer"
  30524. },
  30525. "videourls": {
  30526. "description": "介绍视频[多张用逗号分隔]",
  30527. "type": "string"
  30528. }
  30529. }
  30530. },
  30531. "models.HybsMyBuyOrderDetail": {
  30532. "type": "object",
  30533. "required": [
  30534. "accountid",
  30535. "buyorsell",
  30536. "goodscode",
  30537. "goodsid",
  30538. "goodsname",
  30539. "marketid",
  30540. "orderid",
  30541. "orderqty",
  30542. "ordertime",
  30543. "trademode"
  30544. ],
  30545. "properties": {
  30546. "accountid": {
  30547. "description": "账户ID[报价币种]",
  30548. "type": "integer"
  30549. },
  30550. "agreeunit": {
  30551. "description": "合约单位",
  30552. "type": "number"
  30553. },
  30554. "buyorsell": {
  30555. "description": "买卖 - 0:买 1:卖",
  30556. "type": "integer"
  30557. },
  30558. "cancelqty": {
  30559. "description": "撤单数量",
  30560. "type": "integer"
  30561. },
  30562. "currencysign": {
  30563. "description": "货币符号",
  30564. "type": "string"
  30565. },
  30566. "decimalplace": {
  30567. "description": "报价小数位",
  30568. "type": "integer"
  30569. },
  30570. "goodscode": {
  30571. "description": "商品代码(内部)",
  30572. "type": "string"
  30573. },
  30574. "goodsid": {
  30575. "description": "商品ID",
  30576. "type": "integer"
  30577. },
  30578. "goodsname": {
  30579. "description": "商品名称",
  30580. "type": "string"
  30581. },
  30582. "listingselecttype": {
  30583. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30584. "type": "integer"
  30585. },
  30586. "marketid": {
  30587. "description": "市场ID",
  30588. "type": "integer"
  30589. },
  30590. "mybuystatus": {
  30591. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  30592. "type": "integer"
  30593. },
  30594. "orderamount": {
  30595. "description": "委托金额",
  30596. "type": "number"
  30597. },
  30598. "orderid": {
  30599. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30600. "type": "string"
  30601. },
  30602. "orderprice": {
  30603. "description": "委托价格",
  30604. "type": "number"
  30605. },
  30606. "orderqty": {
  30607. "description": "委托数量",
  30608. "type": "integer"
  30609. },
  30610. "orderstatus": {
  30611. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30612. "type": "integer"
  30613. },
  30614. "ordertime": {
  30615. "description": "委托时间",
  30616. "type": "string"
  30617. },
  30618. "picurls1": {
  30619. "description": "预售商品介绍图片[多张用逗号分隔]",
  30620. "type": "string"
  30621. },
  30622. "picurls2": {
  30623. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30624. "type": "string"
  30625. },
  30626. "trademode": {
  30627. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30628. "type": "integer"
  30629. },
  30630. "tradeqty": {
  30631. "description": "成交数量",
  30632. "type": "integer"
  30633. },
  30634. "vendorname1": {
  30635. "description": "预售商品供应商名称",
  30636. "type": "string"
  30637. },
  30638. "vendorname2": {
  30639. "description": "挂牌商品供应商名称",
  30640. "type": "string"
  30641. }
  30642. }
  30643. },
  30644. "models.InternalEnableTradeDetail": {
  30645. "type": "object",
  30646. "required": [
  30647. "areauserid",
  30648. "goodsid"
  30649. ],
  30650. "properties": {
  30651. "agreeunit": {
  30652. "description": "合约乘数",
  30653. "type": "number"
  30654. },
  30655. "areauserid": {
  30656. "description": "企业ID",
  30657. "type": "integer"
  30658. },
  30659. "convertratio": {
  30660. "description": "品种系数",
  30661. "type": "number"
  30662. },
  30663. "deliverygoodscode": {
  30664. "description": "现货品种代码",
  30665. "type": "string"
  30666. },
  30667. "deliverygoodsid": {
  30668. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30669. "type": "integer"
  30670. },
  30671. "deliverygoodsname": {
  30672. "description": "现货品种名称",
  30673. "type": "string"
  30674. },
  30675. "futurehedgeqty": {
  30676. "description": "[已关联数量]期货持仓套期量",
  30677. "type": "number"
  30678. },
  30679. "goodsid": {
  30680. "description": "期货合约ID",
  30681. "type": "integer"
  30682. },
  30683. "hedgeditemid": {
  30684. "description": "被套期项目ID",
  30685. "type": "string"
  30686. },
  30687. "hedgeditemnum": {
  30688. "description": "项目编号",
  30689. "type": "string"
  30690. },
  30691. "unexehedgeqty": {
  30692. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  30693. "type": "number"
  30694. },
  30695. "unexespotqty": {
  30696. "description": "未执行现货量",
  30697. "type": "number"
  30698. },
  30699. "wrstandardcode": {
  30700. "description": "现货品类代码",
  30701. "type": "string"
  30702. },
  30703. "wrstandardid": {
  30704. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30705. "type": "integer"
  30706. },
  30707. "wrstandardname": {
  30708. "description": "现货品类名称",
  30709. "type": "string"
  30710. }
  30711. }
  30712. },
  30713. "models.InternalUncorrelatedTradeDetail": {
  30714. "type": "object",
  30715. "properties": {
  30716. "accountid": {
  30717. "description": "账号ID",
  30718. "type": "integer"
  30719. },
  30720. "accountname": {
  30721. "description": "套期主体",
  30722. "type": "string"
  30723. },
  30724. "agreeunit": {
  30725. "description": "合约乘数",
  30726. "type": "number"
  30727. },
  30728. "areauserid": {
  30729. "description": "所属机构",
  30730. "type": "integer"
  30731. },
  30732. "bizsubjectid": {
  30733. "description": "归属业务部门ID - SubjectID",
  30734. "type": "integer"
  30735. },
  30736. "buyorsell": {
  30737. "description": "方向 - 0:买 1:卖",
  30738. "type": "integer"
  30739. },
  30740. "channelbuildtype": {
  30741. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30742. "type": "integer"
  30743. },
  30744. "convertratio": {
  30745. "description": "品种系数",
  30746. "type": "number"
  30747. },
  30748. "createtime": {
  30749. "description": "创建时间",
  30750. "type": "string"
  30751. },
  30752. "creatorid": {
  30753. "description": "创建人ID",
  30754. "type": "integer"
  30755. },
  30756. "creatorsrc": {
  30757. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30758. "type": "integer"
  30759. },
  30760. "enableqty": {
  30761. "description": "项目可关联手数 = 成交手数 - 关联数量",
  30762. "type": "number"
  30763. },
  30764. "enumdicname": {
  30765. "description": "单位",
  30766. "type": "string"
  30767. },
  30768. "goodscode": {
  30769. "description": "合约代码",
  30770. "type": "string"
  30771. },
  30772. "goodsgroupid": {
  30773. "description": "对冲品种ID[期货合约商品组ID]",
  30774. "type": "integer"
  30775. },
  30776. "goodsid": {
  30777. "description": "商品ID",
  30778. "type": "integer"
  30779. },
  30780. "goodsname": {
  30781. "description": "合约名称",
  30782. "type": "string"
  30783. },
  30784. "hedgeditemid": {
  30785. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30786. "type": "integer"
  30787. },
  30788. "hedgeflag": {
  30789. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30790. "type": "integer"
  30791. },
  30792. "linkdetailid": {
  30793. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30794. "type": "string"
  30795. },
  30796. "linkstatus": {
  30797. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30798. "type": "integer"
  30799. },
  30800. "middlegoodsid": {
  30801. "description": "套保品种ID",
  30802. "type": "integer"
  30803. },
  30804. "middlegoodsqty": {
  30805. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  30806. "type": "number"
  30807. },
  30808. "relatedlot": {
  30809. "description": "[数量]关联手数",
  30810. "type": "number"
  30811. },
  30812. "relatedmode": {
  30813. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30814. "type": "integer"
  30815. },
  30816. "relatedqty": {
  30817. "description": "[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30818. "type": "number"
  30819. },
  30820. "retcode": {
  30821. "description": "返回码",
  30822. "type": "integer"
  30823. },
  30824. "saleuserid": {
  30825. "description": "业务员ID",
  30826. "type": "integer"
  30827. },
  30828. "tradedate": {
  30829. "description": "关联交易日(yyyyMMdd)",
  30830. "type": "string"
  30831. },
  30832. "tradeid": {
  30833. "description": "成交单号",
  30834. "type": "string"
  30835. },
  30836. "tradelot": {
  30837. "description": "成交手数",
  30838. "type": "integer"
  30839. },
  30840. "tradeprice": {
  30841. "description": "成交价",
  30842. "type": "number"
  30843. },
  30844. "tradetime": {
  30845. "description": "成交时间",
  30846. "type": "string"
  30847. },
  30848. "tradetradedate": {
  30849. "description": "成交交易日(yyyyMMdd)",
  30850. "type": "string"
  30851. }
  30852. }
  30853. },
  30854. "models.Loginaccount": {
  30855. "type": "object",
  30856. "required": [
  30857. "loginid"
  30858. ],
  30859. "properties": {
  30860. "accountname": {
  30861. "description": "账户名称",
  30862. "type": "string"
  30863. },
  30864. "canoutin": {
  30865. "description": "是否可出入金 - 0:不可 1:可",
  30866. "type": "integer"
  30867. },
  30868. "clientroleid": {
  30869. "description": "终端角色ID",
  30870. "type": "integer"
  30871. },
  30872. "haslogined": {
  30873. "description": "是否已登录 - 0:未登录 1:已登录",
  30874. "type": "integer"
  30875. },
  30876. "hasupdatedpwd": {
  30877. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30878. "type": "integer"
  30879. },
  30880. "lastloginip": {
  30881. "description": "最新登录地址",
  30882. "type": "string"
  30883. },
  30884. "lastloginmode": {
  30885. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30886. "type": "integer"
  30887. },
  30888. "lastloginremark": {
  30889. "description": "最新登录描述",
  30890. "type": "string"
  30891. },
  30892. "lastlogintime": {
  30893. "description": "最新登录时间",
  30894. "type": "string"
  30895. },
  30896. "logincode": {
  30897. "description": "登录代码",
  30898. "type": "string"
  30899. },
  30900. "loginfailnum": {
  30901. "description": "连续登录失败次数(登录成功时清零)",
  30902. "type": "integer"
  30903. },
  30904. "loginid": {
  30905. "description": "登陆账号",
  30906. "type": "integer"
  30907. },
  30908. "loginport": {
  30909. "description": "最新登录端口",
  30910. "type": "integer"
  30911. },
  30912. "loginstatus": {
  30913. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30914. "type": "integer"
  30915. },
  30916. "loginusertype": {
  30917. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30918. "type": "integer"
  30919. },
  30920. "mobile": {
  30921. "description": "手机号码(加密存储)",
  30922. "type": "string"
  30923. },
  30924. "modifierid": {
  30925. "description": "修改人",
  30926. "type": "integer"
  30927. },
  30928. "modifysrc": {
  30929. "description": "审核来源 - 1:管理端 2:终端",
  30930. "type": "integer"
  30931. },
  30932. "modifytime": {
  30933. "description": "修改时间",
  30934. "type": "string"
  30935. },
  30936. "password": {
  30937. "description": "登陆密码",
  30938. "type": "string"
  30939. },
  30940. "pwdwrongcount": {
  30941. "description": "密码错误次数",
  30942. "type": "integer"
  30943. },
  30944. "relateduserid": {
  30945. "description": "关联用户ID(机构)",
  30946. "type": "integer"
  30947. },
  30948. "taaccountrighttype": {
  30949. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30950. "type": "integer"
  30951. },
  30952. "unfreezetime": {
  30953. "description": "账户解冻时间",
  30954. "type": "string"
  30955. },
  30956. "userid": {
  30957. "description": "用户ID",
  30958. "type": "integer"
  30959. }
  30960. }
  30961. },
  30962. "models.MainAccountInfo": {
  30963. "type": "object",
  30964. "properties": {
  30965. "accountid": {
  30966. "description": "账号id",
  30967. "type": "integer"
  30968. },
  30969. "accountname": {
  30970. "description": "账号名称(taaccount表中的名称)",
  30971. "type": "string"
  30972. },
  30973. "appid": {
  30974. "description": "AppID",
  30975. "type": "string"
  30976. },
  30977. "authcode": {
  30978. "description": "授权码",
  30979. "type": "string"
  30980. },
  30981. "brokerid": {
  30982. "description": "经纪商id",
  30983. "type": "string"
  30984. },
  30985. "fcid": {
  30986. "description": "期货公司id",
  30987. "type": "integer"
  30988. },
  30989. "fcname": {
  30990. "description": "期货公司代码",
  30991. "type": "string"
  30992. },
  30993. "hedgeaccountcode": {
  30994. "description": "外部账号代码(主账号登录代码)",
  30995. "type": "string"
  30996. },
  30997. "hedgeaccountpwd": {
  30998. "description": "密码",
  30999. "type": "string"
  31000. },
  31001. "ismain": {
  31002. "description": "是否主账号",
  31003. "type": "integer"
  31004. },
  31005. "relateduserid": {
  31006. "description": "关联用户id",
  31007. "type": "integer"
  31008. },
  31009. "userid": {
  31010. "description": "关联用户id",
  31011. "type": "integer"
  31012. }
  31013. }
  31014. },
  31015. "models.Market": {
  31016. "type": "object",
  31017. "required": [
  31018. "marketid",
  31019. "marketstatus",
  31020. "openmethod",
  31021. "reckonpricealgorithm",
  31022. "trademode",
  31023. "tradeproperty"
  31024. ],
  31025. "properties": {
  31026. "auctionwrtype": {
  31027. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31028. "type": "integer"
  31029. },
  31030. "canacceptquote": {
  31031. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31032. "type": "integer"
  31033. },
  31034. "cangoodsexercise": {
  31035. "description": "[期权]是否可现货行权- 0:否 1:是",
  31036. "type": "integer"
  31037. },
  31038. "cangoodsexercisetype": {
  31039. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31040. "type": "integer"
  31041. },
  31042. "canmanualquotestrike": {
  31043. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31044. "type": "integer"
  31045. },
  31046. "canmutistage": {
  31047. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31048. "type": "integer"
  31049. },
  31050. "canpreexercise": {
  31051. "description": "[期权]是否可预申报- 0:否 1:是",
  31052. "type": "integer"
  31053. },
  31054. "clearinterval": {
  31055. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31056. "type": "integer"
  31057. },
  31058. "contracttmp": {
  31059. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31060. "type": "string"
  31061. },
  31062. "exchareaid": {
  31063. "description": "所属交易所,可以没有",
  31064. "type": "integer"
  31065. },
  31066. "goodstype": {
  31067. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31068. "type": "integer"
  31069. },
  31070. "hasrebate": {
  31071. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31072. "type": "integer"
  31073. },
  31074. "hastradecredit": {
  31075. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31076. "type": "integer"
  31077. },
  31078. "haswr": {
  31079. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31080. "type": "integer"
  31081. },
  31082. "isdeductmargin": {
  31083. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31084. "type": "integer"
  31085. },
  31086. "isrecordsource": {
  31087. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31088. "type": "integer"
  31089. },
  31090. "isreleasemargin": {
  31091. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31092. "type": "integer"
  31093. },
  31094. "marginformula": {
  31095. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31096. "type": "integer"
  31097. },
  31098. "marginformula2": {
  31099. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31100. "type": "integer"
  31101. },
  31102. "marketid": {
  31103. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  31104. "type": "integer"
  31105. },
  31106. "marketname": {
  31107. "description": "市场名称",
  31108. "type": "string"
  31109. },
  31110. "marketserviceid": {
  31111. "description": "市场服务ID",
  31112. "type": "integer"
  31113. },
  31114. "marketstatus": {
  31115. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  31116. "type": "integer"
  31117. },
  31118. "markettype": {
  31119. "description": "市场类型- 1:非交易服务 2:交易服务",
  31120. "type": "integer"
  31121. },
  31122. "matchermode": {
  31123. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  31124. "type": "integer"
  31125. },
  31126. "openmethod": {
  31127. "description": "开盘模式 - 0 自动 1手动",
  31128. "type": "integer"
  31129. },
  31130. "otcuserid": {
  31131. "description": "场外期权做市商[场外期权]",
  31132. "type": "integer"
  31133. },
  31134. "outersynctime": {
  31135. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  31136. "type": "string"
  31137. },
  31138. "pendingflag": {
  31139. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  31140. "type": "integer"
  31141. },
  31142. "pendingtime": {
  31143. "description": "待开市时间[通道交易-对冲](HH:mm)",
  31144. "type": "string"
  31145. },
  31146. "performancetempid": {
  31147. "description": "履约计划模板ID - 作废",
  31148. "type": "integer"
  31149. },
  31150. "premiumquotemode": {
  31151. "description": "权利金报价方式 - 1:自动 2:手动",
  31152. "type": "integer"
  31153. },
  31154. "rebateratio": {
  31155. "description": "返利比率[竞价式]",
  31156. "type": "number"
  31157. },
  31158. "reckonorder": {
  31159. "description": "结算顺序",
  31160. "type": "integer"
  31161. },
  31162. "reckonpricealgorithm": {
  31163. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  31164. "type": "integer"
  31165. },
  31166. "reckonpriceparam": {
  31167. "description": "结算价参数",
  31168. "type": "integer"
  31169. },
  31170. "reckontime": {
  31171. "description": "结算时间[通道交易-对冲](HH:mm)",
  31172. "type": "string"
  31173. },
  31174. "roleprioritytype": {
  31175. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  31176. "type": "integer"
  31177. },
  31178. "selllistingauditflag": {
  31179. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  31180. "type": "integer"
  31181. },
  31182. "trademarkettype": {
  31183. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  31184. "type": "integer"
  31185. },
  31186. "trademode": {
  31187. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31188. "type": "integer"
  31189. },
  31190. "tradeproperty": {
  31191. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  31192. "type": "integer"
  31193. },
  31194. "tradetype": {
  31195. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  31196. "type": "integer"
  31197. }
  31198. }
  31199. },
  31200. "models.Marketrun": {
  31201. "type": "object",
  31202. "required": [
  31203. "marketid",
  31204. "nexttradedate",
  31205. "reckonflag",
  31206. "runstatus",
  31207. "tradedate",
  31208. "tradedate2"
  31209. ],
  31210. "properties": {
  31211. "afternexttradedate": {
  31212. "description": "下下交易日",
  31213. "type": "string"
  31214. },
  31215. "clearquoteflag": {
  31216. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31217. "type": "integer"
  31218. },
  31219. "lastreckondate": {
  31220. "description": "最新交易日(结算成功)",
  31221. "type": "string"
  31222. },
  31223. "machinedate": {
  31224. "description": "机器时间",
  31225. "type": "string"
  31226. },
  31227. "manualflag": {
  31228. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31229. "type": "integer"
  31230. },
  31231. "marketid": {
  31232. "description": "市场ID",
  31233. "type": "integer"
  31234. },
  31235. "nexttradedate": {
  31236. "description": "下一交易日",
  31237. "type": "string"
  31238. },
  31239. "pretradedate": {
  31240. "description": "上一交易日",
  31241. "type": "string"
  31242. },
  31243. "reckonflag": {
  31244. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31245. "type": "integer"
  31246. },
  31247. "runstatus": {
  31248. "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.今日免清算",
  31249. "type": "integer"
  31250. },
  31251. "sectionid": {
  31252. "description": "时间段号[多时段时用]",
  31253. "type": "integer"
  31254. },
  31255. "tradedate": {
  31256. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31257. "type": "string"
  31258. },
  31259. "tradedate2": {
  31260. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31261. "type": "string"
  31262. },
  31263. "updatetime": {
  31264. "description": "更新时间",
  31265. "type": "string"
  31266. }
  31267. }
  31268. },
  31269. "models.Messageboard": {
  31270. "type": "object",
  31271. "required": [
  31272. "messageboardid"
  31273. ],
  31274. "properties": {
  31275. "contactnum": {
  31276. "description": "联系电话",
  31277. "type": "string"
  31278. },
  31279. "createtime": {
  31280. "description": "创建时间",
  31281. "type": "string"
  31282. },
  31283. "message": {
  31284. "description": "留言信息",
  31285. "type": "string"
  31286. },
  31287. "messageboardid": {
  31288. "description": "留言簿ID(SEQ_MessageBoard)",
  31289. "type": "integer"
  31290. },
  31291. "userid": {
  31292. "description": "用户ID",
  31293. "type": "integer"
  31294. }
  31295. }
  31296. },
  31297. "models.MyCoupon": {
  31298. "type": "object",
  31299. "required": [
  31300. "accountid",
  31301. "coupontypeid"
  31302. ],
  31303. "properties": {
  31304. "accountid": {
  31305. "description": "资金账户ID",
  31306. "type": "integer"
  31307. },
  31308. "areauserid": {
  31309. "description": "所属机构",
  31310. "type": "integer"
  31311. },
  31312. "conditionvalue": {
  31313. "description": "条件阈值(可为0)",
  31314. "type": "number"
  31315. },
  31316. "couponcategroy": {
  31317. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  31318. "type": "integer"
  31319. },
  31320. "couponname": {
  31321. "description": "优惠券名称",
  31322. "type": "string"
  31323. },
  31324. "coupontypeid": {
  31325. "description": "优惠券类型ID",
  31326. "type": "string"
  31327. },
  31328. "couponvalue": {
  31329. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31330. "type": "number"
  31331. },
  31332. "curfreezeqty": {
  31333. "description": "期末冻结数量",
  31334. "type": "integer"
  31335. },
  31336. "curqty": {
  31337. "description": "期末数量",
  31338. "type": "integer"
  31339. },
  31340. "isgeneral": {
  31341. "description": "是否通用券 - 0:否 1:是",
  31342. "type": "integer"
  31343. },
  31344. "isunusable": {
  31345. "description": "是否不可用",
  31346. "type": "boolean"
  31347. },
  31348. "limitedflag": {
  31349. "description": "是否指定商品 - 0:不限 1:限制",
  31350. "type": "integer"
  31351. },
  31352. "limitedgoodsids": {
  31353. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  31354. "type": "string"
  31355. },
  31356. "orifreezeqty": {
  31357. "description": "期初冻结数量",
  31358. "type": "integer"
  31359. },
  31360. "oriqty": {
  31361. "description": "期初数量",
  31362. "type": "integer"
  31363. },
  31364. "reasontype": {
  31365. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  31366. "type": "integer"
  31367. },
  31368. "todaydecrease": {
  31369. "description": "今日减少",
  31370. "type": "integer"
  31371. },
  31372. "todayincrease": {
  31373. "description": "今日增加",
  31374. "type": "integer"
  31375. },
  31376. "userid": {
  31377. "description": "用户ID",
  31378. "type": "integer"
  31379. },
  31380. "userscope": {
  31381. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  31382. "type": "string"
  31383. }
  31384. }
  31385. },
  31386. "models.MyCouponHold": {
  31387. "type": "object",
  31388. "required": [
  31389. "couponholdid"
  31390. ],
  31391. "properties": {
  31392. "accountid": {
  31393. "description": "资金账户ID",
  31394. "type": "integer"
  31395. },
  31396. "conditionvalue": {
  31397. "description": "条件阈值(可为0)",
  31398. "type": "number"
  31399. },
  31400. "couponcategroy": {
  31401. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  31402. "type": "integer"
  31403. },
  31404. "couponholdid": {
  31405. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  31406. "type": "string"
  31407. },
  31408. "couponname": {
  31409. "description": "优惠券名称",
  31410. "type": "string"
  31411. },
  31412. "coupontypeid": {
  31413. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  31414. "type": "string"
  31415. },
  31416. "couponvalue": {
  31417. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31418. "type": "number"
  31419. },
  31420. "createtime": {
  31421. "description": "创建时间",
  31422. "type": "string"
  31423. },
  31424. "enddate": {
  31425. "description": "结束日期",
  31426. "type": "string"
  31427. },
  31428. "giveapplyid": {
  31429. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  31430. "type": "integer"
  31431. },
  31432. "holdstatus": {
  31433. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  31434. "type": "integer"
  31435. },
  31436. "isgeneral": {
  31437. "description": "是否通用券 - 0:否 1:是",
  31438. "type": "integer"
  31439. },
  31440. "limitedflag": {
  31441. "description": "是否指定商品 - 0:不限 1:限制",
  31442. "type": "integer"
  31443. },
  31444. "limitedgoodsids": {
  31445. "description": "指定商品IDs[逗号分隔]",
  31446. "type": "string"
  31447. },
  31448. "qty": {
  31449. "description": "数量(按1平铺)",
  31450. "type": "integer"
  31451. },
  31452. "startdate": {
  31453. "description": "开始日期",
  31454. "type": "string"
  31455. },
  31456. "userid": {
  31457. "description": "用户ID",
  31458. "type": "integer"
  31459. },
  31460. "userscope": {
  31461. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  31462. "type": "string"
  31463. }
  31464. }
  31465. },
  31466. "models.MyUsedCoupon": {
  31467. "type": "object",
  31468. "required": [
  31469. "coupontypeid",
  31470. "orderid"
  31471. ],
  31472. "properties": {
  31473. "accountid": {
  31474. "description": "资金账户ID(买方)",
  31475. "type": "integer"
  31476. },
  31477. "conditionvalue": {
  31478. "description": "条件阈值(可为0)",
  31479. "type": "number"
  31480. },
  31481. "couponcategroy": {
  31482. "description": "种类 - 1:现金券 2:折扣券",
  31483. "type": "integer"
  31484. },
  31485. "couponname": {
  31486. "description": "优惠券名称",
  31487. "type": "string"
  31488. },
  31489. "coupontypeid": {
  31490. "description": "优惠券类型ID(买方)",
  31491. "type": "string"
  31492. },
  31493. "couponvalue": {
  31494. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  31495. "type": "number"
  31496. },
  31497. "createtime": {
  31498. "description": "创建时间",
  31499. "type": "string"
  31500. },
  31501. "goodsid": {
  31502. "description": "商品ID",
  31503. "type": "integer"
  31504. },
  31505. "handlestatus": {
  31506. "description": "处理状态",
  31507. "type": "integer"
  31508. },
  31509. "marketid": {
  31510. "description": "市场ID",
  31511. "type": "integer"
  31512. },
  31513. "offamount": {
  31514. "description": "优惠金额",
  31515. "type": "number"
  31516. },
  31517. "orderid": {
  31518. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31519. "type": "string"
  31520. },
  31521. "sellaccountid": {
  31522. "description": "资金账户ID(卖方)",
  31523. "type": "integer"
  31524. },
  31525. "tradeamount": {
  31526. "description": "成交金额",
  31527. "type": "number"
  31528. },
  31529. "tradeid": {
  31530. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31531. "type": "string"
  31532. },
  31533. "usedqty": {
  31534. "description": "使用数量",
  31535. "type": "integer"
  31536. }
  31537. }
  31538. },
  31539. "models.OperationPrimaryMenu": {
  31540. "type": "object",
  31541. "properties": {
  31542. "Children": {
  31543. "description": "二级功能菜单",
  31544. "type": "array",
  31545. "items": {
  31546. "$ref": "#/definitions/models.OperationSecondaryMenu"
  31547. }
  31548. },
  31549. "Key": {
  31550. "description": "菜单KEY",
  31551. "type": "string"
  31552. },
  31553. "Label": {
  31554. "description": "菜单标题",
  31555. "type": "string"
  31556. }
  31557. }
  31558. },
  31559. "models.OperationSecondaryMenu": {
  31560. "type": "object",
  31561. "properties": {
  31562. "Key": {
  31563. "description": "菜单KEY",
  31564. "type": "string"
  31565. },
  31566. "Label": {
  31567. "description": "菜单标题",
  31568. "type": "string"
  31569. },
  31570. "TabList": {
  31571. "description": "三级功能菜单",
  31572. "type": "array",
  31573. "items": {
  31574. "$ref": "#/definitions/models.OperationTabMenu"
  31575. }
  31576. }
  31577. }
  31578. },
  31579. "models.OperationTabMenu": {
  31580. "type": "object",
  31581. "properties": {
  31582. "Key": {
  31583. "description": "菜单KEY",
  31584. "type": "string"
  31585. },
  31586. "Label": {
  31587. "description": "菜单标题",
  31588. "type": "string"
  31589. }
  31590. }
  31591. },
  31592. "models.Patradelinkdetail": {
  31593. "type": "object",
  31594. "properties": {
  31595. "accountname": {
  31596. "description": "套期主体",
  31597. "type": "string"
  31598. },
  31599. "agreeunit": {
  31600. "description": "合约乘数",
  31601. "type": "number"
  31602. },
  31603. "amount": {
  31604. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  31605. "type": "number"
  31606. },
  31607. "areauserid": {
  31608. "description": "所属机构",
  31609. "type": "integer"
  31610. },
  31611. "bizsubjectid": {
  31612. "description": "归属业务部门ID - SubjectID",
  31613. "type": "integer"
  31614. },
  31615. "buyorsell": {
  31616. "description": "方向 - 0:买 1:卖",
  31617. "type": "integer"
  31618. },
  31619. "convertratio": {
  31620. "description": "品种系数",
  31621. "type": "number"
  31622. },
  31623. "convertratiochange": {
  31624. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  31625. "type": "number"
  31626. },
  31627. "createtime": {
  31628. "description": "[日期时间]创建时间",
  31629. "type": "string"
  31630. },
  31631. "creatorid": {
  31632. "description": "创建人ID",
  31633. "type": "integer"
  31634. },
  31635. "creatorsrc": {
  31636. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31637. "type": "integer"
  31638. },
  31639. "goodscode": {
  31640. "description": "商品代码(内部)",
  31641. "type": "string"
  31642. },
  31643. "goodsgroupid": {
  31644. "description": "对冲品种ID[期货合约商品组ID]",
  31645. "type": "integer"
  31646. },
  31647. "goodsid": {
  31648. "description": "商品ID",
  31649. "type": "integer"
  31650. },
  31651. "hedgeditemid": {
  31652. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31653. "type": "integer"
  31654. },
  31655. "hedgeflag": {
  31656. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31657. "type": "integer"
  31658. },
  31659. "linkdetailid": {
  31660. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31661. "type": "string"
  31662. },
  31663. "linkstatus": {
  31664. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31665. "type": "integer"
  31666. },
  31667. "middlegoodsid": {
  31668. "description": "套保品种ID",
  31669. "type": "integer"
  31670. },
  31671. "name": {
  31672. "description": "账户名/子账户",
  31673. "type": "string"
  31674. },
  31675. "optioncode": {
  31676. "description": "[期货合约]期权代码 [期权]",
  31677. "type": "string"
  31678. },
  31679. "ordertype": {
  31680. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  31681. "type": "integer"
  31682. },
  31683. "relatedlot": {
  31684. "description": "[数量]关联手数",
  31685. "type": "number"
  31686. },
  31687. "relatedmode": {
  31688. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31689. "type": "integer"
  31690. },
  31691. "relatedqty": {
  31692. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31693. "type": "number"
  31694. },
  31695. "retcode": {
  31696. "description": "返回码",
  31697. "type": "integer"
  31698. },
  31699. "saleuserid": {
  31700. "description": "业务员ID",
  31701. "type": "integer"
  31702. },
  31703. "tradedate": {
  31704. "description": "关联交易日(yyyyMMdd)",
  31705. "type": "string"
  31706. },
  31707. "tradeid": {
  31708. "description": "[成交单号]内部成交单ID",
  31709. "type": "string"
  31710. },
  31711. "tradelot": {
  31712. "description": "成交手数",
  31713. "type": "integer"
  31714. },
  31715. "tradeprice": {
  31716. "description": "[价格]成交价格",
  31717. "type": "number"
  31718. },
  31719. "tradetradedate": {
  31720. "description": "成交交易日(yyyyMMdd)",
  31721. "type": "string"
  31722. }
  31723. }
  31724. },
  31725. "models.QhjAccountOutInApply": {
  31726. "type": "object",
  31727. "properties": {
  31728. "accountcode": {
  31729. "description": "资金账号",
  31730. "type": "string"
  31731. },
  31732. "accountname": {
  31733. "description": "用户名称(名称)",
  31734. "type": "string"
  31735. },
  31736. "accountpwd": {
  31737. "description": "资金密码",
  31738. "type": "string"
  31739. },
  31740. "accountticket": {
  31741. "description": "最新账户服务流水号",
  31742. "type": "string"
  31743. },
  31744. "amount": {
  31745. "description": "金额",
  31746. "type": "number"
  31747. },
  31748. "applyremark": {
  31749. "description": "申请备注",
  31750. "type": "string"
  31751. },
  31752. "applystatus": {
  31753. "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: 复审通过,账户冻结金额检查中;",
  31754. "type": "integer"
  31755. },
  31756. "auditid": {
  31757. "description": "审核人",
  31758. "type": "integer"
  31759. },
  31760. "audittime": {
  31761. "description": "审核时间",
  31762. "type": "string"
  31763. },
  31764. "bank_apply_ticket": {
  31765. "description": "银行申请流水",
  31766. "type": "string"
  31767. },
  31768. "bankaccountname": {
  31769. "description": "银行账户名",
  31770. "type": "string"
  31771. },
  31772. "bankaccountno": {
  31773. "description": "银行卡号",
  31774. "type": "string"
  31775. },
  31776. "bankid": {
  31777. "description": "银行编号",
  31778. "type": "string"
  31779. },
  31780. "bankticket": {
  31781. "description": "银行流水",
  31782. "type": "string"
  31783. },
  31784. "branchbankid": {
  31785. "description": "银行支行号",
  31786. "type": "string"
  31787. },
  31788. "branchbankname": {
  31789. "description": "银行支行名称",
  31790. "type": "string"
  31791. },
  31792. "capamountout": {
  31793. "description": "出金(劣后本金) - 外部子账户",
  31794. "type": "number"
  31795. },
  31796. "certificatephotourl": {
  31797. "description": "凭证地址",
  31798. "type": "string"
  31799. },
  31800. "charge": {
  31801. "description": "手续费",
  31802. "type": "number"
  31803. },
  31804. "checkerrorflag": {
  31805. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31806. "type": "integer"
  31807. },
  31808. "currency": {
  31809. "description": "币种",
  31810. "type": "string"
  31811. },
  31812. "cusbankid": {
  31813. "description": "托管银行编号",
  31814. "type": "string"
  31815. },
  31816. "exchticket": {
  31817. "description": "银行服务流水号",
  31818. "type": "string"
  31819. },
  31820. "executetype": {
  31821. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31822. "type": "integer"
  31823. },
  31824. "extendinfo": {
  31825. "description": "扩展信息",
  31826. "type": "string"
  31827. },
  31828. "extoperateid": {
  31829. "description": "交易服务流水号",
  31830. "type": "integer"
  31831. },
  31832. "infamount": {
  31833. "description": "劣后金额(自有)",
  31834. "type": "number"
  31835. },
  31836. "logincode": {
  31837. "description": "登录账号(账号)",
  31838. "type": "string"
  31839. },
  31840. "netaddr": {
  31841. "description": "调转网址",
  31842. "type": "string"
  31843. },
  31844. "priamount": {
  31845. "description": "优先金额(授信)",
  31846. "type": "number"
  31847. },
  31848. "reauditid": {
  31849. "description": "复审人",
  31850. "type": "integer"
  31851. },
  31852. "reauditremark": {
  31853. "description": "复审备注",
  31854. "type": "string"
  31855. },
  31856. "reaudittime": {
  31857. "description": "复审时间",
  31858. "type": "string"
  31859. },
  31860. "relatedorderid": {
  31861. "description": "三方关联ID",
  31862. "type": "string"
  31863. },
  31864. "remark": {
  31865. "description": "备注",
  31866. "type": "string"
  31867. },
  31868. "remark2": {
  31869. "description": "备注(失败原因)",
  31870. "type": "string"
  31871. },
  31872. "soucreamount": {
  31873. "description": "原始出入金金额",
  31874. "type": "number"
  31875. },
  31876. "soucrecurrencyid": {
  31877. "description": "原始出入金币种",
  31878. "type": "integer"
  31879. },
  31880. "tradedate": {
  31881. "description": "交易日(yyyyMMdd)",
  31882. "type": "string"
  31883. },
  31884. "updatetime": {
  31885. "description": "更新时间(申请时间)",
  31886. "type": "string"
  31887. },
  31888. "userid": {
  31889. "description": "用户id",
  31890. "type": "integer"
  31891. },
  31892. "userinfotype": {
  31893. "description": "账户类型 1-个人 2-企业",
  31894. "type": "integer"
  31895. }
  31896. }
  31897. },
  31898. "models.QhjAgreementChangeLog": {
  31899. "type": "object",
  31900. "properties": {
  31901. "agreementcontent": {
  31902. "description": "协议内容",
  31903. "type": "string"
  31904. },
  31905. "agreementfrequency": {
  31906. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31907. "type": "integer"
  31908. },
  31909. "agreementid": {
  31910. "description": "协议ID",
  31911. "type": "integer"
  31912. },
  31913. "agreementname": {
  31914. "description": "协议名称",
  31915. "type": "string"
  31916. },
  31917. "agreementno": {
  31918. "description": "协议编号",
  31919. "type": "string"
  31920. },
  31921. "agreementtype": {
  31922. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31923. "type": "integer"
  31924. },
  31925. "agreementversion": {
  31926. "description": "协议版本号",
  31927. "type": "integer"
  31928. },
  31929. "logid": {
  31930. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  31931. "type": "integer"
  31932. },
  31933. "reviserid": {
  31934. "description": "修改人",
  31935. "type": "integer"
  31936. },
  31937. "revisersrc": {
  31938. "description": "修改来源 - 1:管理端 2:终端",
  31939. "type": "integer"
  31940. },
  31941. "updatetime": {
  31942. "description": "更新时间",
  31943. "type": "string"
  31944. }
  31945. }
  31946. },
  31947. "models.QhjAgreementConfig": {
  31948. "type": "object",
  31949. "properties": {
  31950. "agreementcontent": {
  31951. "description": "协议内容",
  31952. "type": "string"
  31953. },
  31954. "agreementfrequency": {
  31955. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31956. "type": "integer"
  31957. },
  31958. "agreementid": {
  31959. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  31960. "type": "integer"
  31961. },
  31962. "agreementname": {
  31963. "description": "协议名称",
  31964. "type": "string"
  31965. },
  31966. "agreementno": {
  31967. "description": "协议编号",
  31968. "type": "string"
  31969. },
  31970. "agreementtype": {
  31971. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31972. "type": "integer"
  31973. },
  31974. "agreementversion": {
  31975. "description": "协议版本号(从1开始每次修改加1)",
  31976. "type": "integer"
  31977. },
  31978. "createtime": {
  31979. "description": "创建时间",
  31980. "type": "string"
  31981. },
  31982. "creatorid": {
  31983. "description": "创建人",
  31984. "type": "integer"
  31985. },
  31986. "creatorsrc": {
  31987. "description": "创建来源 - 1:管理端 2:终端",
  31988. "type": "integer"
  31989. },
  31990. "isvalid": {
  31991. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  31992. "type": "integer"
  31993. },
  31994. "reviserid": {
  31995. "description": "修改人",
  31996. "type": "integer"
  31997. },
  31998. "revisersrc": {
  31999. "description": "修改来源 - 1:管理端 2:终端",
  32000. "type": "integer"
  32001. },
  32002. "updatetime": {
  32003. "description": "更新时间",
  32004. "type": "string"
  32005. }
  32006. }
  32007. },
  32008. "models.QhjAreaFinanceConfig": {
  32009. "type": "object",
  32010. "properties": {
  32011. "additionalratio": {
  32012. "description": "追加款比例",
  32013. "type": "number"
  32014. },
  32015. "advanceratio": {
  32016. "description": "预付款比例",
  32017. "type": "number"
  32018. },
  32019. "alarmratio": {
  32020. "description": "告警比例",
  32021. "type": "number"
  32022. },
  32023. "consumptiondirectreward": {
  32024. "description": "消费直推奖励值",
  32025. "type": "number"
  32026. },
  32027. "consumptionenabled": {
  32028. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32029. "type": "integer"
  32030. },
  32031. "consumptionindirectreward": {
  32032. "description": "消费间推奖励值",
  32033. "type": "number"
  32034. },
  32035. "consumptionmodel": {
  32036. "description": "消费奖励方式 - 1:比率 2:固定",
  32037. "type": "integer"
  32038. },
  32039. "customerservicenum": {
  32040. "description": "客服电话",
  32041. "type": "string"
  32042. },
  32043. "dayinterestrate": {
  32044. "description": "日利率",
  32045. "type": "number"
  32046. },
  32047. "disableconsumptiontips": {
  32048. "description": "关闭消费奖励提示",
  32049. "type": "string"
  32050. },
  32051. "modifierid": {
  32052. "description": "修改人ID",
  32053. "type": "integer"
  32054. },
  32055. "modifysrc": {
  32056. "description": "审核来源 - 1:管理端 2:终端",
  32057. "type": "integer"
  32058. },
  32059. "modifytime": {
  32060. "description": "修改时间",
  32061. "type": "string"
  32062. },
  32063. "promotionvalue": {
  32064. "description": "推广奖励值(固定)",
  32065. "type": "number"
  32066. },
  32067. "scoreconfigvalue1": {
  32068. "description": "提货积分配置1",
  32069. "type": "integer"
  32070. },
  32071. "scoreconfigvalue2": {
  32072. "description": "提货积分配置2",
  32073. "type": "integer"
  32074. },
  32075. "userid": {
  32076. "description": "机构用户ID其他做市关系,都设置为 1",
  32077. "type": "integer"
  32078. },
  32079. "username": {
  32080. "description": "用户名称",
  32081. "type": "string"
  32082. }
  32083. }
  32084. },
  32085. "models.QhjBankAccountSign": {
  32086. "type": "object",
  32087. "properties": {
  32088. "accountcode": {
  32089. "description": "资金账号",
  32090. "type": "string"
  32091. },
  32092. "accountname": {
  32093. "description": "资金账号对应的账号名(UserName)",
  32094. "type": "string"
  32095. },
  32096. "accountname2": {
  32097. "description": "资金账号对应的账号名(UserName) - 密文",
  32098. "type": "string"
  32099. },
  32100. "accounttype": {
  32101. "description": "账户类型(UserType)",
  32102. "type": "integer"
  32103. },
  32104. "applicationtime": {
  32105. "description": "最后一次更新的时间",
  32106. "type": "string"
  32107. },
  32108. "applyexchticket": {
  32109. "description": "申请流水",
  32110. "type": "string"
  32111. },
  32112. "auditid": {
  32113. "description": "审核人",
  32114. "type": "integer"
  32115. },
  32116. "audittime": {
  32117. "description": "审核时间",
  32118. "type": "string"
  32119. },
  32120. "bankaccountname": {
  32121. "description": "签约银行卡账号名",
  32122. "type": "string"
  32123. },
  32124. "bankaccountname2": {
  32125. "description": "签约银行卡账号名 - 密文",
  32126. "type": "string"
  32127. },
  32128. "bankaccountno": {
  32129. "description": "银行卡号",
  32130. "type": "string"
  32131. },
  32132. "bankaccountno2": {
  32133. "description": "银行卡号 - 密文",
  32134. "type": "string"
  32135. },
  32136. "bankaccounttype": {
  32137. "description": "银行账户类型 - 1-对私; 2-对公",
  32138. "type": "integer"
  32139. },
  32140. "bankcardtype": {
  32141. "description": "银行卡类型",
  32142. "type": "integer"
  32143. },
  32144. "bankchildaccount": {
  32145. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32146. "type": "string"
  32147. },
  32148. "bankcity": {
  32149. "description": "开户行城市",
  32150. "type": "string"
  32151. },
  32152. "bankid": {
  32153. "description": "签约银行ID",
  32154. "type": "string"
  32155. },
  32156. "bankname": {
  32157. "description": "签约银行名称",
  32158. "type": "string"
  32159. },
  32160. "bankprovince": {
  32161. "description": "开户行省份",
  32162. "type": "string"
  32163. },
  32164. "branchbankid": {
  32165. "description": "签约银行支行号",
  32166. "type": "string"
  32167. },
  32168. "branchbankname": {
  32169. "description": "签约银行支行名称",
  32170. "type": "string"
  32171. },
  32172. "cardno": {
  32173. "description": "证件号码",
  32174. "type": "string"
  32175. },
  32176. "cardno2": {
  32177. "description": "证件号码 - 密文",
  32178. "type": "string"
  32179. },
  32180. "cardtype": {
  32181. "description": "证件类型",
  32182. "type": "string"
  32183. },
  32184. "currency": {
  32185. "description": "币种",
  32186. "type": "string"
  32187. },
  32188. "cusbankid": {
  32189. "description": "托管银行编号",
  32190. "type": "string"
  32191. },
  32192. "direct": {
  32193. "description": "方向(可以判断那方先发起的签约)",
  32194. "type": "integer"
  32195. },
  32196. "exchticket": {
  32197. "description": "最后一次签约成功的流水号",
  32198. "type": "string"
  32199. },
  32200. "extendinfo": {
  32201. "description": "扩展信息(JSON字符串)",
  32202. "type": "string"
  32203. },
  32204. "mobilephone": {
  32205. "description": "手机号",
  32206. "type": "string"
  32207. },
  32208. "mobilephone2": {
  32209. "description": "手机号 - 密文",
  32210. "type": "string"
  32211. },
  32212. "netaddr": {
  32213. "description": "调转网址",
  32214. "type": "string"
  32215. },
  32216. "relateduserid": {
  32217. "description": "关联使用者userid",
  32218. "type": "integer"
  32219. },
  32220. "signstatus": {
  32221. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32222. "type": "integer"
  32223. },
  32224. "updatetime": {
  32225. "description": "更新时间(签解约更新时间)",
  32226. "type": "string"
  32227. }
  32228. }
  32229. },
  32230. "models.QhjBankInfo": {
  32231. "type": "object",
  32232. "properties": {
  32233. "bankid": {
  32234. "description": "银行ID",
  32235. "type": "string"
  32236. },
  32237. "bankname": {
  32238. "description": "银行名称",
  32239. "type": "string"
  32240. },
  32241. "clearbankno": {
  32242. "description": "清算系统银行编号",
  32243. "type": "string"
  32244. },
  32245. "orderindex": {
  32246. "description": "排序顺序",
  32247. "type": "integer"
  32248. },
  32249. "status": {
  32250. "description": "状态 - 0:正常 1:注销",
  32251. "type": "integer"
  32252. }
  32253. }
  32254. },
  32255. "models.QhjBrokerApply": {
  32256. "type": "object",
  32257. "properties": {
  32258. "applicantid": {
  32259. "description": "申请人",
  32260. "type": "integer"
  32261. },
  32262. "applysrc": {
  32263. "description": "申请来源 - 1:管理端 2:终端",
  32264. "type": "integer"
  32265. },
  32266. "applystatus": {
  32267. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32268. "type": "integer"
  32269. },
  32270. "applytime": {
  32271. "description": "申请时间",
  32272. "type": "string"
  32273. },
  32274. "auditorid": {
  32275. "description": "审核人",
  32276. "type": "integer"
  32277. },
  32278. "auditremark": {
  32279. "description": "审核备注",
  32280. "type": "string"
  32281. },
  32282. "auditsrc": {
  32283. "description": "审核来源 - 1:管理端 2:终端",
  32284. "type": "integer"
  32285. },
  32286. "audittime": {
  32287. "description": "审核时间",
  32288. "type": "string"
  32289. },
  32290. "audittradedate": {
  32291. "description": "审核交易日(yyyyMMdd)",
  32292. "type": "string"
  32293. },
  32294. "brokerapplyid": {
  32295. "description": "申请ID(SEQ_BROKERAPPLY)",
  32296. "type": "integer"
  32297. },
  32298. "cardbackphotourl": {
  32299. "description": "证件背面图片地址",
  32300. "type": "string"
  32301. },
  32302. "cardfrontphotourl": {
  32303. "description": "证件正面图片地址",
  32304. "type": "string"
  32305. },
  32306. "cardnum": {
  32307. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32308. "type": "string"
  32309. },
  32310. "customername": {
  32311. "description": "姓名",
  32312. "type": "string"
  32313. },
  32314. "logincode": {
  32315. "description": "登录代码",
  32316. "type": "string"
  32317. },
  32318. "mobile": {
  32319. "description": "手机号码",
  32320. "type": "string"
  32321. },
  32322. "parentuserid": {
  32323. "description": "所属机构id",
  32324. "type": "integer"
  32325. },
  32326. "parentusername": {
  32327. "description": "所属机构名称",
  32328. "type": "string"
  32329. },
  32330. "refereeuserid": {
  32331. "description": "推荐人id(经纪人)",
  32332. "type": "integer"
  32333. },
  32334. "refernum": {
  32335. "description": "推荐码",
  32336. "type": "string"
  32337. },
  32338. "remark": {
  32339. "description": "备注",
  32340. "type": "string"
  32341. },
  32342. "subarealevelpath": {
  32343. "description": "层级路径",
  32344. "type": "string"
  32345. },
  32346. "tradedate": {
  32347. "description": "交易日(yyyyMMdd)",
  32348. "type": "string"
  32349. },
  32350. "userid": {
  32351. "description": "申请人用户ID",
  32352. "type": "integer"
  32353. },
  32354. "userinfotype": {
  32355. "description": "用户类型 1-个人 2-企业",
  32356. "type": "integer"
  32357. },
  32358. "username": {
  32359. "description": "用户名称",
  32360. "type": "string"
  32361. }
  32362. }
  32363. },
  32364. "models.QhjBrokerApplyEx": {
  32365. "type": "object",
  32366. "properties": {
  32367. "applylist": {
  32368. "description": "经纪人申请记录(只返回最新一条)",
  32369. "type": "array",
  32370. "items": {
  32371. "$ref": "#/definitions/models.QhjBrokerApply"
  32372. }
  32373. },
  32374. "canrecommend": {
  32375. "description": "是否经纪人 0-不是 1-是",
  32376. "type": "integer"
  32377. },
  32378. "refernum": {
  32379. "description": "推荐码",
  32380. "type": "string"
  32381. },
  32382. "userid": {
  32383. "description": "用户id",
  32384. "type": "integer"
  32385. },
  32386. "userinfotype": {
  32387. "description": "用户类型 1-个人 2-企业",
  32388. "type": "integer"
  32389. }
  32390. }
  32391. },
  32392. "models.QhjBrokerRewardLog": {
  32393. "type": "object",
  32394. "properties": {
  32395. "accountid": {
  32396. "description": "资金账号ID",
  32397. "type": "integer"
  32398. },
  32399. "createtime": {
  32400. "description": "创建时间(时间)",
  32401. "type": "string"
  32402. },
  32403. "handlestatus": {
  32404. "description": "处理状态",
  32405. "type": "integer"
  32406. },
  32407. "logid": {
  32408. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32409. "type": "string"
  32410. },
  32411. "marketid": {
  32412. "description": "市场ID",
  32413. "type": "integer"
  32414. },
  32415. "mmaccountid": {
  32416. "description": "做市商资金账号ID",
  32417. "type": "string"
  32418. },
  32419. "mmuserid": {
  32420. "description": "做市商用户ID",
  32421. "type": "string"
  32422. },
  32423. "rewardamount": {
  32424. "description": "奖励金额",
  32425. "type": "number"
  32426. },
  32427. "rewardmodel": {
  32428. "description": "消费奖励方式 - 1:比率 2:固定",
  32429. "type": "integer"
  32430. },
  32431. "rewardtype": {
  32432. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32433. "type": "integer"
  32434. },
  32435. "rewardvalue": {
  32436. "description": "配置奖励值",
  32437. "type": "number"
  32438. },
  32439. "srcamount": {
  32440. "description": "成交金额 [消费奖励] (金额)",
  32441. "type": "number"
  32442. },
  32443. "srcgoodsid": {
  32444. "description": "来源商品ID [消费奖励]",
  32445. "type": "string"
  32446. },
  32447. "srctime": {
  32448. "description": "来源时间 (成交时间) [消费奖励]",
  32449. "type": "string"
  32450. },
  32451. "srctradeid": {
  32452. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  32453. "type": "string"
  32454. },
  32455. "srcuserid": {
  32456. "description": "来源用户ID(推广账户)",
  32457. "type": "string"
  32458. },
  32459. "srcusername": {
  32460. "description": "推广账户名称",
  32461. "type": "string"
  32462. },
  32463. "tradedate": {
  32464. "description": "交易日(yyyyMMdd)",
  32465. "type": "string"
  32466. },
  32467. "userid": {
  32468. "description": "经纪人用户ID",
  32469. "type": "integer"
  32470. }
  32471. }
  32472. },
  32473. "models.QhjContract": {
  32474. "type": "object",
  32475. "properties": {
  32476. "contractconfirmtime": {
  32477. "description": "合同确认时间(时间)",
  32478. "type": "string"
  32479. },
  32480. "currisklevel": {
  32481. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32482. "type": "integer"
  32483. },
  32484. "decimalplace": {
  32485. "description": "商品报价小数位",
  32486. "type": "integer"
  32487. },
  32488. "enumdicname": {
  32489. "description": "单位名称",
  32490. "type": "string"
  32491. },
  32492. "goodscode": {
  32493. "description": "商品代码",
  32494. "type": "string"
  32495. },
  32496. "goodsid": {
  32497. "description": "商品ID [5:融资单]",
  32498. "type": "integer"
  32499. },
  32500. "goodsname": {
  32501. "description": "商品名称",
  32502. "type": "string"
  32503. },
  32504. "goodunitid": {
  32505. "description": "商品单位id",
  32506. "type": "integer"
  32507. },
  32508. "initmargin": {
  32509. "description": "初始保证金(首付款)",
  32510. "type": "number"
  32511. },
  32512. "lenderamount": {
  32513. "description": "贷款金额(总额|订单总额)",
  32514. "type": "number"
  32515. },
  32516. "marginratio": {
  32517. "description": "保证金比率(首付比例)",
  32518. "type": "number"
  32519. },
  32520. "payamount": {
  32521. "description": "已付(已付货款)",
  32522. "type": "number"
  32523. },
  32524. "reckonrecovermargin": {
  32525. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  32526. "type": "number"
  32527. },
  32528. "recoveredmargin": {
  32529. "description": "已追缴保证金",
  32530. "type": "number"
  32531. },
  32532. "remainamount": {
  32533. "description": "合同剩余金额(融资额)",
  32534. "type": "number"
  32535. },
  32536. "scfcontractid": {
  32537. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32538. "type": "string"
  32539. },
  32540. "scfcontractstatus": {
  32541. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32542. "type": "integer"
  32543. },
  32544. "scfcontracttype": {
  32545. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  32546. "type": "integer"
  32547. },
  32548. "totalinterest": {
  32549. "description": "已计总利息(利息)",
  32550. "type": "number"
  32551. },
  32552. "tradeprice": {
  32553. "description": "成交价格(成本价格)",
  32554. "type": "number"
  32555. },
  32556. "userid": {
  32557. "description": "用户ID",
  32558. "type": "integer"
  32559. },
  32560. "username": {
  32561. "description": "用户名称",
  32562. "type": "string"
  32563. },
  32564. "wrqty": {
  32565. "description": "仓单数量(数量)",
  32566. "type": "number"
  32567. }
  32568. }
  32569. },
  32570. "models.QhjContractLog": {
  32571. "type": "object",
  32572. "properties": {
  32573. "amount": {
  32574. "description": "支付金额",
  32575. "type": "number"
  32576. },
  32577. "amounttype": {
  32578. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  32579. "type": "integer"
  32580. },
  32581. "logid": {
  32582. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32583. "type": "string"
  32584. },
  32585. "remainamount": {
  32586. "description": "剩余货款",
  32587. "type": "number"
  32588. },
  32589. "scfcontractid": {
  32590. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32591. "type": "integer"
  32592. },
  32593. "updatetime": {
  32594. "description": "更新时间",
  32595. "type": "string"
  32596. }
  32597. }
  32598. },
  32599. "models.QhjCusBankSignBankEx": {
  32600. "type": "object",
  32601. "properties": {
  32602. "banklst": {
  32603. "description": "银行列表",
  32604. "type": "array",
  32605. "items": {
  32606. "$ref": "#/definitions/models.QhjBankInfo"
  32607. }
  32608. },
  32609. "canallot": {
  32610. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  32611. "type": "integer"
  32612. },
  32613. "canallotquery": {
  32614. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  32615. "type": "integer"
  32616. },
  32617. "canbindcard": {
  32618. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  32619. "type": "integer"
  32620. },
  32621. "caninamount": {
  32622. "description": "是否可入金 - 0:不可 1:可以",
  32623. "type": "integer"
  32624. },
  32625. "caninamount2": {
  32626. "description": "是否可入金(网银端) - 0:不可 1:可以",
  32627. "type": "integer"
  32628. },
  32629. "canmodifybankcard": {
  32630. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  32631. "type": "integer"
  32632. },
  32633. "canmodifyphone": {
  32634. "description": "是否可修改手机号 - 0:不可 1:可以",
  32635. "type": "integer"
  32636. },
  32637. "canmodifysigninfo": {
  32638. "description": "是否可修改签约信息 - 0:不可 1:可以",
  32639. "type": "integer"
  32640. },
  32641. "canoutamount": {
  32642. "description": "是否可出金 - 0:不可 1:可以",
  32643. "type": "integer"
  32644. },
  32645. "canoutamount2": {
  32646. "description": "是否可出金(网银端) - 0:不可 1:可以",
  32647. "type": "integer"
  32648. },
  32649. "canrelease": {
  32650. "description": "是否可解约 - 0:不可 1:可以",
  32651. "type": "integer"
  32652. },
  32653. "canrelease2": {
  32654. "description": "是否可解约(网银端) - 0:不可 1:可以",
  32655. "type": "integer"
  32656. },
  32657. "cansign": {
  32658. "description": "是否可签约 - 0:不可 1:可以",
  32659. "type": "integer"
  32660. },
  32661. "cansign2": {
  32662. "description": "是否可签约(网银端) - 0:不可 1:可以",
  32663. "type": "integer"
  32664. },
  32665. "currency": {
  32666. "description": "币种",
  32667. "type": "string"
  32668. },
  32669. "cusbankid": {
  32670. "description": "托管银行编号(对应清算中心TRAN_NO)",
  32671. "type": "string"
  32672. },
  32673. "cusbankname": {
  32674. "description": "银行业务名称",
  32675. "type": "string"
  32676. },
  32677. "cusbankshortname": {
  32678. "description": "银行业务简称",
  32679. "type": "string"
  32680. },
  32681. "exchbankid": {
  32682. "description": "交易所开户银行ID",
  32683. "type": "string"
  32684. },
  32685. "exchpaybankaccname": {
  32686. "description": "交易所支出结算账户户名",
  32687. "type": "string"
  32688. },
  32689. "exchpaybankaccno": {
  32690. "description": "交易所支出结算账户",
  32691. "type": "string"
  32692. },
  32693. "isneedcheck": {
  32694. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  32695. "type": "integer"
  32696. },
  32697. "isneedclear": {
  32698. "description": "是否需要清算 - 0:不需要 1:需要",
  32699. "type": "integer"
  32700. },
  32701. "lastcheckstatus": {
  32702. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  32703. "type": "integer"
  32704. },
  32705. "lastchecktime": {
  32706. "description": "最后对账时间",
  32707. "type": "string"
  32708. },
  32709. "lastclearstatus": {
  32710. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  32711. "type": "integer"
  32712. },
  32713. "lastcleartime": {
  32714. "description": "最后清算时间",
  32715. "type": "string"
  32716. },
  32717. "lastsignintime": {
  32718. "description": "最后签到时间",
  32719. "type": "string"
  32720. },
  32721. "lastsignouttime": {
  32722. "description": "最后签退时间",
  32723. "type": "string"
  32724. },
  32725. "riskinfo": {
  32726. "description": "签约风险提示书",
  32727. "type": "string"
  32728. },
  32729. "signstatus": {
  32730. "description": "当前签到/签退状态 - 1:签到 2:签退",
  32731. "type": "integer"
  32732. },
  32733. "tradedate": {
  32734. "description": "交易日(yyyyMMdd)",
  32735. "type": "string"
  32736. },
  32737. "updatetime": {
  32738. "description": "当前签到/签退更新时间",
  32739. "type": "string"
  32740. }
  32741. }
  32742. },
  32743. "models.QhjCustomer": {
  32744. "type": "object",
  32745. "properties": {
  32746. "address": {
  32747. "description": "通讯地址",
  32748. "type": "string"
  32749. },
  32750. "attachment1": {
  32751. "description": "附件1",
  32752. "type": "string"
  32753. },
  32754. "attachment2": {
  32755. "description": "附件2",
  32756. "type": "string"
  32757. },
  32758. "audittime": {
  32759. "description": "审核时间",
  32760. "type": "string"
  32761. },
  32762. "cardbackphotourl": {
  32763. "description": "证件反面图片地址",
  32764. "type": "string"
  32765. },
  32766. "cardfrontphotourl": {
  32767. "description": "证件正面图片地址",
  32768. "type": "string"
  32769. },
  32770. "cardnum": {
  32771. "description": "证件号码",
  32772. "type": "string"
  32773. },
  32774. "cardtype": {
  32775. "description": "证件类型",
  32776. "type": "integer"
  32777. },
  32778. "cardtypename": {
  32779. "description": "证件类型名称",
  32780. "type": "string"
  32781. },
  32782. "cityid": {
  32783. "description": "市",
  32784. "type": "integer"
  32785. },
  32786. "cityname": {
  32787. "description": "城市名称",
  32788. "type": "string"
  32789. },
  32790. "contactname": {
  32791. "description": "联系人",
  32792. "type": "string"
  32793. },
  32794. "countryid": {
  32795. "description": "国家",
  32796. "type": "integer"
  32797. },
  32798. "countryname": {
  32799. "description": "国家名称",
  32800. "type": "string"
  32801. },
  32802. "createtime": {
  32803. "description": "创建时间",
  32804. "type": "string"
  32805. },
  32806. "customername": {
  32807. "description": "客户名称",
  32808. "type": "string"
  32809. },
  32810. "districtid": {
  32811. "description": "区域",
  32812. "type": "integer"
  32813. },
  32814. "districtname": {
  32815. "description": "地区名称",
  32816. "type": "string"
  32817. },
  32818. "email": {
  32819. "description": "邮件",
  32820. "type": "string"
  32821. },
  32822. "legalpersonname": {
  32823. "description": "法人姓名(企业)",
  32824. "type": "string"
  32825. },
  32826. "logincode": {
  32827. "description": "登录账号(代码)",
  32828. "type": "string"
  32829. },
  32830. "memberuserid": {
  32831. "description": "所属机构ID(所属会员)",
  32832. "type": "integer"
  32833. },
  32834. "memberusername": {
  32835. "description": "所属会员名称",
  32836. "type": "string"
  32837. },
  32838. "mobile": {
  32839. "description": "手机号码",
  32840. "type": "string"
  32841. },
  32842. "modifytime": {
  32843. "description": "修改时间",
  32844. "type": "string"
  32845. },
  32846. "nickname": {
  32847. "description": "昵称",
  32848. "type": "string"
  32849. },
  32850. "parentuserid": {
  32851. "description": "上级机构(所属机构)",
  32852. "type": "integer"
  32853. },
  32854. "parentusername": {
  32855. "description": "所属机构名称",
  32856. "type": "string"
  32857. },
  32858. "provinceid": {
  32859. "description": "省",
  32860. "type": "integer"
  32861. },
  32862. "provincename": {
  32863. "description": "省名称",
  32864. "type": "string"
  32865. },
  32866. "proxystatementurl": {
  32867. "description": "授权委托书",
  32868. "type": "string"
  32869. },
  32870. "remark": {
  32871. "description": "备注",
  32872. "type": "string"
  32873. },
  32874. "status": {
  32875. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  32876. "type": "integer"
  32877. },
  32878. "statusdesc": {
  32879. "description": "账户状态中文描述",
  32880. "type": "string"
  32881. },
  32882. "taxpayernum": {
  32883. "description": "纳税人识别号",
  32884. "type": "string"
  32885. },
  32886. "telphone": {
  32887. "description": "联系电话",
  32888. "type": "string"
  32889. },
  32890. "userid": {
  32891. "description": "用户ID",
  32892. "type": "integer"
  32893. },
  32894. "userinfotype": {
  32895. "description": "客户类型 1-个人 2-企业",
  32896. "type": "integer"
  32897. },
  32898. "username": {
  32899. "description": "用户名称",
  32900. "type": "string"
  32901. }
  32902. }
  32903. },
  32904. "models.QhjCustomerSignLog": {
  32905. "type": "object",
  32906. "properties": {
  32907. "agreementcontent": {
  32908. "description": "协议内容",
  32909. "type": "string"
  32910. },
  32911. "agreementid": {
  32912. "description": "协议ID",
  32913. "type": "integer"
  32914. },
  32915. "agreementname": {
  32916. "description": "协议名称",
  32917. "type": "string"
  32918. },
  32919. "agreementno": {
  32920. "description": "协议编号",
  32921. "type": "string"
  32922. },
  32923. "agreementtype": {
  32924. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32925. "type": "integer"
  32926. },
  32927. "agreementversion": {
  32928. "description": "协议版本号",
  32929. "type": "integer"
  32930. },
  32931. "createtime": {
  32932. "description": "创建时间",
  32933. "type": "string"
  32934. },
  32935. "goodscode": {
  32936. "description": "商品代码",
  32937. "type": "string"
  32938. },
  32939. "goodsid": {
  32940. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32941. "type": "integer"
  32942. },
  32943. "goodsname": {
  32944. "description": "商品名称",
  32945. "type": "string"
  32946. },
  32947. "logid": {
  32948. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  32949. "type": "integer"
  32950. },
  32951. "nodetype": {
  32952. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32953. "type": "integer"
  32954. },
  32955. "signadressurl": {
  32956. "description": "签约文件地址",
  32957. "type": "string"
  32958. },
  32959. "signtimestamp": {
  32960. "description": "签约状态时间戳",
  32961. "type": "string"
  32962. },
  32963. "userid": {
  32964. "description": "客户ID",
  32965. "type": "integer"
  32966. },
  32967. "username": {
  32968. "description": "客户名称",
  32969. "type": "string"
  32970. }
  32971. }
  32972. },
  32973. "models.QhjCustomerSignStatus": {
  32974. "type": "object",
  32975. "properties": {
  32976. "createtime": {
  32977. "description": "创建时间",
  32978. "type": "string"
  32979. },
  32980. "goodscode": {
  32981. "description": "商品代码",
  32982. "type": "string"
  32983. },
  32984. "goodsid": {
  32985. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32986. "type": "integer"
  32987. },
  32988. "goodsname": {
  32989. "description": "商品名称",
  32990. "type": "string"
  32991. },
  32992. "nodetype": {
  32993. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  32994. "type": "integer"
  32995. },
  32996. "signtimestamp": {
  32997. "description": "签约状态时间戳",
  32998. "type": "string"
  32999. },
  33000. "tradedate": {
  33001. "description": "创建交易日(yyyyMMdd)",
  33002. "type": "string"
  33003. },
  33004. "updatetime": {
  33005. "description": "更新时间",
  33006. "type": "string"
  33007. },
  33008. "userid": {
  33009. "description": "客户ID",
  33010. "type": "integer"
  33011. },
  33012. "username": {
  33013. "description": "客户名称",
  33014. "type": "string"
  33015. }
  33016. }
  33017. },
  33018. "models.QhjMgrAccountOutInApply": {
  33019. "type": "object",
  33020. "properties": {
  33021. "accountcode": {
  33022. "description": "资金账号",
  33023. "type": "string"
  33024. },
  33025. "accountname": {
  33026. "description": "用户名称(名称)",
  33027. "type": "string"
  33028. },
  33029. "accountpwd": {
  33030. "description": "资金密码",
  33031. "type": "string"
  33032. },
  33033. "accountticket": {
  33034. "description": "最新账户服务流水号",
  33035. "type": "string"
  33036. },
  33037. "amount": {
  33038. "description": "金额",
  33039. "type": "number"
  33040. },
  33041. "applyremark": {
  33042. "description": "申请备注",
  33043. "type": "string"
  33044. },
  33045. "applystatus": {
  33046. "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: 复审通过,账户冻结金额检查中;",
  33047. "type": "integer"
  33048. },
  33049. "auditid": {
  33050. "description": "审核人",
  33051. "type": "integer"
  33052. },
  33053. "audittime": {
  33054. "description": "审核时间",
  33055. "type": "string"
  33056. },
  33057. "bank_apply_ticket": {
  33058. "description": "银行申请流水",
  33059. "type": "string"
  33060. },
  33061. "bankaccountname": {
  33062. "description": "银行账户名",
  33063. "type": "string"
  33064. },
  33065. "bankaccountno": {
  33066. "description": "银行卡号",
  33067. "type": "string"
  33068. },
  33069. "bankid": {
  33070. "description": "银行编号",
  33071. "type": "string"
  33072. },
  33073. "bankname": {
  33074. "description": "银行名称",
  33075. "type": "string"
  33076. },
  33077. "bankticket": {
  33078. "description": "银行流水",
  33079. "type": "string"
  33080. },
  33081. "branchbankid": {
  33082. "description": "银行支行号",
  33083. "type": "string"
  33084. },
  33085. "branchbankname": {
  33086. "description": "银行支行名称",
  33087. "type": "string"
  33088. },
  33089. "capamountout": {
  33090. "description": "出金(劣后本金) - 外部子账户",
  33091. "type": "number"
  33092. },
  33093. "certificatephotourl": {
  33094. "description": "凭证地址",
  33095. "type": "string"
  33096. },
  33097. "charge": {
  33098. "description": "手续费",
  33099. "type": "number"
  33100. },
  33101. "checkerrorflag": {
  33102. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33103. "type": "integer"
  33104. },
  33105. "currency": {
  33106. "description": "币种",
  33107. "type": "string"
  33108. },
  33109. "cusbankid": {
  33110. "description": "托管银行编号",
  33111. "type": "string"
  33112. },
  33113. "exchticket": {
  33114. "description": "银行服务流水号",
  33115. "type": "string"
  33116. },
  33117. "executetype": {
  33118. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33119. "type": "integer"
  33120. },
  33121. "extendinfo": {
  33122. "description": "扩展信息",
  33123. "type": "string"
  33124. },
  33125. "extoperateid": {
  33126. "description": "交易服务流水号",
  33127. "type": "integer"
  33128. },
  33129. "infamount": {
  33130. "description": "劣后金额(自有)",
  33131. "type": "number"
  33132. },
  33133. "logincode": {
  33134. "description": "登录账号(账号)",
  33135. "type": "string"
  33136. },
  33137. "netaddr": {
  33138. "description": "调转网址",
  33139. "type": "string"
  33140. },
  33141. "priamount": {
  33142. "description": "优先金额(授信)",
  33143. "type": "number"
  33144. },
  33145. "reauditid": {
  33146. "description": "复审人",
  33147. "type": "integer"
  33148. },
  33149. "reauditremark": {
  33150. "description": "复审备注",
  33151. "type": "string"
  33152. },
  33153. "reaudittime": {
  33154. "description": "复审时间",
  33155. "type": "string"
  33156. },
  33157. "relatedorderid": {
  33158. "description": "三方关联ID",
  33159. "type": "string"
  33160. },
  33161. "remark": {
  33162. "description": "备注",
  33163. "type": "string"
  33164. },
  33165. "remark2": {
  33166. "description": "备注(失败原因)",
  33167. "type": "string"
  33168. },
  33169. "soucreamount": {
  33170. "description": "原始出入金金额",
  33171. "type": "number"
  33172. },
  33173. "soucrecurrencyid": {
  33174. "description": "原始出入金币种",
  33175. "type": "integer"
  33176. },
  33177. "tradedate": {
  33178. "description": "交易日(yyyyMMdd)",
  33179. "type": "string"
  33180. },
  33181. "updatetime": {
  33182. "description": "更新时间(申请时间)",
  33183. "type": "string"
  33184. },
  33185. "userid": {
  33186. "description": "用户id",
  33187. "type": "integer"
  33188. },
  33189. "userinfotype": {
  33190. "description": "账户类型 1-个人 2-企业",
  33191. "type": "integer"
  33192. }
  33193. }
  33194. },
  33195. "models.QhjMgrBrokerApply": {
  33196. "type": "object",
  33197. "properties": {
  33198. "applicantid": {
  33199. "description": "申请人",
  33200. "type": "integer"
  33201. },
  33202. "applysrc": {
  33203. "description": "申请来源 - 1:管理端 2:终端",
  33204. "type": "integer"
  33205. },
  33206. "applystatus": {
  33207. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33208. "type": "integer"
  33209. },
  33210. "applytime": {
  33211. "description": "申请时间",
  33212. "type": "string"
  33213. },
  33214. "auditorid": {
  33215. "description": "审核人",
  33216. "type": "integer"
  33217. },
  33218. "auditremark": {
  33219. "description": "审核备注",
  33220. "type": "string"
  33221. },
  33222. "auditsrc": {
  33223. "description": "审核来源 - 1:管理端 2:终端",
  33224. "type": "integer"
  33225. },
  33226. "audittime": {
  33227. "description": "审核时间",
  33228. "type": "string"
  33229. },
  33230. "audittradedate": {
  33231. "description": "审核交易日(yyyyMMdd)",
  33232. "type": "string"
  33233. },
  33234. "brokerapplyid": {
  33235. "description": "申请ID(SEQ_BROKERAPPLY)",
  33236. "type": "integer"
  33237. },
  33238. "cardbackphotourl": {
  33239. "description": "证件背面图片地址",
  33240. "type": "string"
  33241. },
  33242. "cardfrontphotourl": {
  33243. "description": "证件正面图片地址",
  33244. "type": "string"
  33245. },
  33246. "cardnum": {
  33247. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33248. "type": "string"
  33249. },
  33250. "customername": {
  33251. "description": "姓名",
  33252. "type": "string"
  33253. },
  33254. "filterstatus": {
  33255. "description": "筛选条件",
  33256. "type": "string"
  33257. },
  33258. "logincode": {
  33259. "description": "登录代码",
  33260. "type": "string"
  33261. },
  33262. "mobile": {
  33263. "description": "手机号码",
  33264. "type": "string"
  33265. },
  33266. "parentuserid": {
  33267. "description": "所属机构id",
  33268. "type": "integer"
  33269. },
  33270. "parentusername": {
  33271. "description": "所属机构名称",
  33272. "type": "string"
  33273. },
  33274. "refereeuserid": {
  33275. "description": "推荐人id(经纪人)",
  33276. "type": "integer"
  33277. },
  33278. "refernum": {
  33279. "description": "推荐码",
  33280. "type": "string"
  33281. },
  33282. "remark": {
  33283. "description": "备注",
  33284. "type": "string"
  33285. },
  33286. "subarealevelpath": {
  33287. "description": "层级路径",
  33288. "type": "string"
  33289. },
  33290. "tradedate": {
  33291. "description": "交易日(yyyyMMdd)",
  33292. "type": "string"
  33293. },
  33294. "userid": {
  33295. "description": "申请人用户ID",
  33296. "type": "integer"
  33297. },
  33298. "userinfotype": {
  33299. "description": "用户类型 1-个人 2-企业",
  33300. "type": "integer"
  33301. },
  33302. "username": {
  33303. "description": "用户名称",
  33304. "type": "string"
  33305. }
  33306. }
  33307. },
  33308. "models.QhjMgrBrokerRewardReport": {
  33309. "type": "object",
  33310. "properties": {
  33311. "createtime": {
  33312. "description": "创建时间(注册时间)",
  33313. "type": "string"
  33314. },
  33315. "cycletime": {
  33316. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33317. "type": "string"
  33318. },
  33319. "cycletype": {
  33320. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33321. "type": "integer"
  33322. },
  33323. "directtotalnum": {
  33324. "description": "直推总人数【期末】",
  33325. "type": "integer"
  33326. },
  33327. "indirecttotalnum": {
  33328. "description": "间推总人数【期末】",
  33329. "type": "integer"
  33330. },
  33331. "mobile": {
  33332. "description": "电话号码",
  33333. "type": "string"
  33334. },
  33335. "refereeuserid": {
  33336. "description": "推荐人id(经纪人id)",
  33337. "type": "integer"
  33338. },
  33339. "refereeusername": {
  33340. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33341. "type": "string"
  33342. },
  33343. "refernum": {
  33344. "description": "推荐码",
  33345. "type": "string"
  33346. },
  33347. "subarealevelpath": {
  33348. "description": "用户层级路径",
  33349. "type": "string"
  33350. },
  33351. "todayrewardamount": {
  33352. "description": "奖励总金额【汇总】",
  33353. "type": "number"
  33354. },
  33355. "updatetime": {
  33356. "description": "更新时间",
  33357. "type": "string"
  33358. },
  33359. "userid": {
  33360. "description": "经纪人用户ID",
  33361. "type": "integer"
  33362. },
  33363. "userinfotype": {
  33364. "description": "用户类型 1-个人 2-企业",
  33365. "type": "integer"
  33366. },
  33367. "username": {
  33368. "description": "用户名称",
  33369. "type": "string"
  33370. }
  33371. }
  33372. },
  33373. "models.QhjMgrContract": {
  33374. "type": "object",
  33375. "properties": {
  33376. "contractconfirmtime": {
  33377. "description": "合同确认时间(时间)",
  33378. "type": "string"
  33379. },
  33380. "currisklevel": {
  33381. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33382. "type": "integer"
  33383. },
  33384. "decimalplace": {
  33385. "description": "商品报价小数位",
  33386. "type": "integer"
  33387. },
  33388. "enumdicname": {
  33389. "description": "单位名称",
  33390. "type": "string"
  33391. },
  33392. "goodscode": {
  33393. "description": "商品代码",
  33394. "type": "string"
  33395. },
  33396. "goodsid": {
  33397. "description": "商品ID [5:融资单]",
  33398. "type": "integer"
  33399. },
  33400. "goodsname": {
  33401. "description": "商品名称",
  33402. "type": "string"
  33403. },
  33404. "goodunitid": {
  33405. "description": "商品单位id",
  33406. "type": "integer"
  33407. },
  33408. "initmargin": {
  33409. "description": "初始保证金(首付款)",
  33410. "type": "number"
  33411. },
  33412. "lenderamount": {
  33413. "description": "贷款金额(总额|订单总额)",
  33414. "type": "number"
  33415. },
  33416. "logincode": {
  33417. "description": "账号(登录代码)",
  33418. "type": "string"
  33419. },
  33420. "marginratio": {
  33421. "description": "保证金比率(首付比例)",
  33422. "type": "number"
  33423. },
  33424. "mobile": {
  33425. "description": "电话号码(用户资料里的电话)",
  33426. "type": "string"
  33427. },
  33428. "payamount": {
  33429. "description": "已付(已付货款)",
  33430. "type": "number"
  33431. },
  33432. "reckonrecovermargin": {
  33433. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33434. "type": "number"
  33435. },
  33436. "recoveredmargin": {
  33437. "description": "已追缴保证金",
  33438. "type": "number"
  33439. },
  33440. "remainamount": {
  33441. "description": "合同剩余金额(融资额)",
  33442. "type": "number"
  33443. },
  33444. "scfcontractid": {
  33445. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33446. "type": "string"
  33447. },
  33448. "scfcontractstatus": {
  33449. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33450. "type": "integer"
  33451. },
  33452. "scfcontracttype": {
  33453. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33454. "type": "integer"
  33455. },
  33456. "totalinterest": {
  33457. "description": "已计总利息(利息)",
  33458. "type": "number"
  33459. },
  33460. "tradedate": {
  33461. "description": "交易日",
  33462. "type": "string"
  33463. },
  33464. "tradeprice": {
  33465. "description": "成交价格(成本价格)",
  33466. "type": "number"
  33467. },
  33468. "userid": {
  33469. "description": "用户ID",
  33470. "type": "integer"
  33471. },
  33472. "userinfotype": {
  33473. "description": "用户类型 1-个人 2-企业",
  33474. "type": "integer"
  33475. },
  33476. "username": {
  33477. "description": "用户名称",
  33478. "type": "string"
  33479. },
  33480. "wrqty": {
  33481. "description": "仓单数量(数量)",
  33482. "type": "number"
  33483. }
  33484. }
  33485. },
  33486. "models.QhjMgrCustomer": {
  33487. "type": "object",
  33488. "properties": {
  33489. "address": {
  33490. "description": "通讯地址",
  33491. "type": "string"
  33492. },
  33493. "attachment1": {
  33494. "description": "附件1",
  33495. "type": "string"
  33496. },
  33497. "audittime": {
  33498. "description": "审核时间",
  33499. "type": "string"
  33500. },
  33501. "birthday": {
  33502. "description": "生日",
  33503. "type": "string"
  33504. },
  33505. "brokerid": {
  33506. "description": "所属客户经理id",
  33507. "type": "integer"
  33508. },
  33509. "brokername": {
  33510. "description": "所属客户经理名称",
  33511. "type": "string"
  33512. },
  33513. "cardbackphotourl": {
  33514. "description": "证件反面图片地址",
  33515. "type": "string"
  33516. },
  33517. "cardfrontphotourl": {
  33518. "description": "证件正面图片地址",
  33519. "type": "string"
  33520. },
  33521. "cardnum": {
  33522. "description": "证件号码",
  33523. "type": "string"
  33524. },
  33525. "cardtype": {
  33526. "description": "证件类型",
  33527. "type": "integer"
  33528. },
  33529. "cardtypename": {
  33530. "description": "证件类型名称",
  33531. "type": "string"
  33532. },
  33533. "cityid": {
  33534. "description": "市",
  33535. "type": "integer"
  33536. },
  33537. "cityname": {
  33538. "description": "城市名称",
  33539. "type": "string"
  33540. },
  33541. "contactname": {
  33542. "description": "联系人",
  33543. "type": "string"
  33544. },
  33545. "countryid": {
  33546. "description": "国家",
  33547. "type": "integer"
  33548. },
  33549. "countryname": {
  33550. "description": "国家名称",
  33551. "type": "string"
  33552. },
  33553. "createtime": {
  33554. "description": "创建时间",
  33555. "type": "string"
  33556. },
  33557. "customername": {
  33558. "description": "客户名称",
  33559. "type": "string"
  33560. },
  33561. "districtid": {
  33562. "description": "区域",
  33563. "type": "integer"
  33564. },
  33565. "districtname": {
  33566. "description": "地区名称",
  33567. "type": "string"
  33568. },
  33569. "email": {
  33570. "description": "邮件",
  33571. "type": "string"
  33572. },
  33573. "legalpersonname": {
  33574. "description": "法人姓名(企业)",
  33575. "type": "string"
  33576. },
  33577. "logincode": {
  33578. "description": "登录账号(代码)",
  33579. "type": "string"
  33580. },
  33581. "memberuserid": {
  33582. "description": "所属机构ID(所属会员)",
  33583. "type": "integer"
  33584. },
  33585. "memberusername": {
  33586. "description": "所属会员名称",
  33587. "type": "string"
  33588. },
  33589. "mobile": {
  33590. "description": "手机号码",
  33591. "type": "string"
  33592. },
  33593. "modifytime": {
  33594. "description": "修改时间",
  33595. "type": "string"
  33596. },
  33597. "nickname": {
  33598. "description": "昵称",
  33599. "type": "string"
  33600. },
  33601. "parentuserid": {
  33602. "description": "上级机构(所属机构)",
  33603. "type": "integer"
  33604. },
  33605. "parentusername": {
  33606. "description": "所属机构名称",
  33607. "type": "string"
  33608. },
  33609. "provinceid": {
  33610. "description": "省",
  33611. "type": "integer"
  33612. },
  33613. "provincename": {
  33614. "description": "省名称",
  33615. "type": "string"
  33616. },
  33617. "proxystatementurl": {
  33618. "description": "授权委托书",
  33619. "type": "string"
  33620. },
  33621. "querytype": {
  33622. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  33623. "type": "integer"
  33624. },
  33625. "remark": {
  33626. "description": "备注",
  33627. "type": "string"
  33628. },
  33629. "sex": {
  33630. "description": "性别 0-女 1-男",
  33631. "type": "integer"
  33632. },
  33633. "status": {
  33634. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33635. "type": "integer"
  33636. },
  33637. "statusdesc": {
  33638. "description": "账户状态中文描述",
  33639. "type": "string"
  33640. },
  33641. "taxpayernum": {
  33642. "description": "纳税人识别号",
  33643. "type": "string"
  33644. },
  33645. "telphone": {
  33646. "description": "联系电话",
  33647. "type": "string"
  33648. },
  33649. "userid": {
  33650. "description": "用户ID",
  33651. "type": "integer"
  33652. },
  33653. "userinfotype": {
  33654. "description": "客户类型 1-个人 2-企业",
  33655. "type": "integer"
  33656. },
  33657. "username": {
  33658. "description": "用户名称",
  33659. "type": "string"
  33660. }
  33661. }
  33662. },
  33663. "models.QhjMgrPickGoods": {
  33664. "type": "object",
  33665. "properties": {
  33666. "enumdicname": {
  33667. "description": "单位名称(提货商品)",
  33668. "type": "string"
  33669. },
  33670. "goodsid": {
  33671. "description": "商品id",
  33672. "type": "integer"
  33673. },
  33674. "imageaddress": {
  33675. "description": "图片",
  33676. "type": "string"
  33677. },
  33678. "modifierid": {
  33679. "description": "修改人",
  33680. "type": "integer"
  33681. },
  33682. "modifiername": {
  33683. "description": "修改人名称",
  33684. "type": "string"
  33685. },
  33686. "modifysrc": {
  33687. "description": "修改来源 - 1:管理端 2:终端",
  33688. "type": "integer"
  33689. },
  33690. "pickupgoodsagreeunit": {
  33691. "description": "合约乘数",
  33692. "type": "number"
  33693. },
  33694. "pickupgoodsdesc": {
  33695. "description": "描述",
  33696. "type": "string"
  33697. },
  33698. "pickupgoodsid": {
  33699. "description": "提货商品ID",
  33700. "type": "string"
  33701. },
  33702. "pickupgoodsname": {
  33703. "description": "提货商品名称",
  33704. "type": "string"
  33705. },
  33706. "pickupgoodsstatus": {
  33707. "description": "状态 - 1:正常 2:停用 3:注销",
  33708. "type": "integer"
  33709. },
  33710. "pickupgoodsunitid": {
  33711. "description": "单位ID",
  33712. "type": "integer"
  33713. },
  33714. "pickupratio": {
  33715. "description": "提货系数",
  33716. "type": "number"
  33717. },
  33718. "preparedays": {
  33719. "description": "备货期(天)",
  33720. "type": "integer"
  33721. },
  33722. "remark": {
  33723. "description": "备注",
  33724. "type": "string"
  33725. },
  33726. "updatetime": {
  33727. "description": "更新时间",
  33728. "type": "string"
  33729. }
  33730. }
  33731. },
  33732. "models.QhjMgrPositionRsp": {
  33733. "type": "object",
  33734. "properties": {
  33735. "accountid": {
  33736. "description": "账号Id",
  33737. "type": "integer"
  33738. },
  33739. "accountname": {
  33740. "description": "用户名称",
  33741. "type": "string"
  33742. },
  33743. "agreeunit": {
  33744. "description": "合约乘数",
  33745. "type": "number"
  33746. },
  33747. "averageprice": {
  33748. "description": "均价",
  33749. "type": "number"
  33750. },
  33751. "avialqty": {
  33752. "description": "可用数量",
  33753. "type": "number"
  33754. },
  33755. "decimalplace": {
  33756. "description": "报价小数位",
  33757. "type": "integer"
  33758. },
  33759. "enumdicname": {
  33760. "description": "单位名称(商品)",
  33761. "type": "string"
  33762. },
  33763. "frozenqty": {
  33764. "description": "冻结数量",
  33765. "type": "number"
  33766. },
  33767. "goodscode": {
  33768. "description": "商品代码(内部)",
  33769. "type": "string"
  33770. },
  33771. "goodsid": {
  33772. "description": "商品Id",
  33773. "type": "integer"
  33774. },
  33775. "goodsname": {
  33776. "description": "商品名称",
  33777. "type": "string"
  33778. },
  33779. "goodunitid": {
  33780. "description": "报价单位ID",
  33781. "type": "integer"
  33782. },
  33783. "holderamount": {
  33784. "description": "金额",
  33785. "type": "number"
  33786. },
  33787. "holderqty": {
  33788. "description": "持有数量",
  33789. "type": "number"
  33790. },
  33791. "holdertype": {
  33792. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  33793. "type": "integer"
  33794. },
  33795. "logincode": {
  33796. "description": "登录代码(账户)",
  33797. "type": "string"
  33798. },
  33799. "marketid": {
  33800. "description": "市场id",
  33801. "type": "integer"
  33802. },
  33803. "qtydecimalplace": {
  33804. "description": "成交量小数位",
  33805. "type": "integer"
  33806. },
  33807. "trademode": {
  33808. "description": "交易模式",
  33809. "type": "integer"
  33810. },
  33811. "userid": {
  33812. "description": "用户id",
  33813. "type": "integer"
  33814. },
  33815. "userinfotype": {
  33816. "description": "账户类型 1-个人 2-企业",
  33817. "type": "integer"
  33818. }
  33819. }
  33820. },
  33821. "models.QhjMgrSubArea": {
  33822. "type": "object",
  33823. "properties": {
  33824. "accountname": {
  33825. "description": "账户名称(机构名称)",
  33826. "type": "string"
  33827. },
  33828. "memberuserid": {
  33829. "description": "所属会员ID",
  33830. "type": "integer"
  33831. },
  33832. "parenttopuser": {
  33833. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33834. "type": "string"
  33835. },
  33836. "parentuserid": {
  33837. "description": "所属机构ID",
  33838. "type": "integer"
  33839. },
  33840. "rootuserid": {
  33841. "description": "根用户ID",
  33842. "type": "string"
  33843. },
  33844. "subaccountlevel": {
  33845. "description": "子账户层数",
  33846. "type": "integer"
  33847. },
  33848. "subarealevelpath": {
  33849. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33850. "type": "string"
  33851. },
  33852. "userid": {
  33853. "description": "用户ID",
  33854. "type": "integer"
  33855. },
  33856. "usertype": {
  33857. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33858. "type": "integer"
  33859. }
  33860. }
  33861. },
  33862. "models.QhjMgrTradeDetailRsp": {
  33863. "type": "object",
  33864. "properties": {
  33865. "accountid": {
  33866. "description": "资金账号",
  33867. "type": "integer"
  33868. },
  33869. "accountname": {
  33870. "description": "用户名称",
  33871. "type": "string"
  33872. },
  33873. "agreeunit": {
  33874. "description": "合约乘数",
  33875. "type": "number"
  33876. },
  33877. "buyorsell": {
  33878. "description": "成交类型(方向) 0:买 1:卖",
  33879. "type": "integer"
  33880. },
  33881. "decimalplace": {
  33882. "description": "报价小数位",
  33883. "type": "integer"
  33884. },
  33885. "enumdicname": {
  33886. "description": "单位名称(商品)",
  33887. "type": "string"
  33888. },
  33889. "goodscode": {
  33890. "description": "商品代码(内部)",
  33891. "type": "string"
  33892. },
  33893. "goodsid": {
  33894. "description": "商品id",
  33895. "type": "integer"
  33896. },
  33897. "goodsname": {
  33898. "description": "商品名称",
  33899. "type": "string"
  33900. },
  33901. "goodunitid": {
  33902. "description": "报价单位ID",
  33903. "type": "integer"
  33904. },
  33905. "logincode": {
  33906. "description": "登录代码(账户)",
  33907. "type": "string"
  33908. },
  33909. "marketid": {
  33910. "description": "市场id",
  33911. "type": "integer"
  33912. },
  33913. "orderid": {
  33914. "description": "关联委托单号",
  33915. "type": "string"
  33916. },
  33917. "qtydecimalplace": {
  33918. "description": "成交量小数位",
  33919. "type": "integer"
  33920. },
  33921. "tradeamount": {
  33922. "description": "金额",
  33923. "type": "number"
  33924. },
  33925. "tradedate": {
  33926. "description": "交易日",
  33927. "type": "string"
  33928. },
  33929. "tradeid": {
  33930. "description": "成交单号",
  33931. "type": "string"
  33932. },
  33933. "trademode": {
  33934. "description": "交易模式",
  33935. "type": "integer"
  33936. },
  33937. "tradeprice": {
  33938. "description": "价格",
  33939. "type": "number"
  33940. },
  33941. "tradeqty": {
  33942. "description": "数量",
  33943. "type": "number"
  33944. },
  33945. "tradetime": {
  33946. "description": "成交时间",
  33947. "type": "string"
  33948. },
  33949. "userid": {
  33950. "description": "用户id",
  33951. "type": "integer"
  33952. },
  33953. "userinfotype": {
  33954. "description": "账户类型 1-个人 2-企业",
  33955. "type": "integer"
  33956. }
  33957. }
  33958. },
  33959. "models.QhjMgrTradeOrderDetailRsp": {
  33960. "type": "object",
  33961. "properties": {
  33962. "accountid": {
  33963. "description": "资金账号",
  33964. "type": "integer"
  33965. },
  33966. "accountname": {
  33967. "description": "用户名称",
  33968. "type": "string"
  33969. },
  33970. "agreeunit": {
  33971. "description": "合约乘数",
  33972. "type": "number"
  33973. },
  33974. "amount": {
  33975. "description": "金额",
  33976. "type": "number"
  33977. },
  33978. "decimalplace": {
  33979. "description": "报价小数位",
  33980. "type": "integer"
  33981. },
  33982. "enumdicname": {
  33983. "description": "单位名称(商品)",
  33984. "type": "string"
  33985. },
  33986. "goodscode": {
  33987. "description": "商品代码(内部)",
  33988. "type": "string"
  33989. },
  33990. "goodsid": {
  33991. "description": "商品id",
  33992. "type": "integer"
  33993. },
  33994. "goodsname": {
  33995. "description": "商品名称",
  33996. "type": "string"
  33997. },
  33998. "goodunitid": {
  33999. "description": "报价单位ID",
  34000. "type": "integer"
  34001. },
  34002. "logincode": {
  34003. "description": "登录代码(账户)",
  34004. "type": "string"
  34005. },
  34006. "marketid": {
  34007. "description": "市场id",
  34008. "type": "integer"
  34009. },
  34010. "orderid": {
  34011. "description": "关联委托单号",
  34012. "type": "string"
  34013. },
  34014. "orderprice": {
  34015. "description": "价格",
  34016. "type": "number"
  34017. },
  34018. "orderqty": {
  34019. "description": "数量",
  34020. "type": "number"
  34021. },
  34022. "orderstatus": {
  34023. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34024. "type": "integer"
  34025. },
  34026. "ordertime": {
  34027. "description": "委托时间",
  34028. "type": "string"
  34029. },
  34030. "qtydecimalplace": {
  34031. "description": "成交量小数位",
  34032. "type": "integer"
  34033. },
  34034. "tradedate": {
  34035. "description": "交易日",
  34036. "type": "string"
  34037. },
  34038. "trademode": {
  34039. "description": "交易模式",
  34040. "type": "integer"
  34041. },
  34042. "userid": {
  34043. "description": "用户id",
  34044. "type": "integer"
  34045. },
  34046. "userinfotype": {
  34047. "description": "账户类型 1-个人 2-企业",
  34048. "type": "integer"
  34049. }
  34050. }
  34051. },
  34052. "models.QhjMgrTradePayOrder": {
  34053. "type": "object",
  34054. "properties": {
  34055. "accountname": {
  34056. "description": "用户名称",
  34057. "type": "string"
  34058. },
  34059. "advanceratio": {
  34060. "description": "首付比率",
  34061. "type": "number"
  34062. },
  34063. "agreeunit": {
  34064. "description": "合约乘数",
  34065. "type": "number"
  34066. },
  34067. "buyaccountid": {
  34068. "description": "买方账号ID[报价币种]",
  34069. "type": "integer"
  34070. },
  34071. "buyorderid": {
  34072. "description": "买方委托单号(关联单号)",
  34073. "type": "string"
  34074. },
  34075. "createtime": {
  34076. "description": "创建时间",
  34077. "type": "string"
  34078. },
  34079. "decimalplace": {
  34080. "description": "报价小数位",
  34081. "type": "integer"
  34082. },
  34083. "enumdicname": {
  34084. "description": "单位名称(商品)",
  34085. "type": "string"
  34086. },
  34087. "goodscode": {
  34088. "description": "商品代码(内部)",
  34089. "type": "string"
  34090. },
  34091. "goodsid": {
  34092. "description": "商品ID",
  34093. "type": "integer"
  34094. },
  34095. "goodsname": {
  34096. "description": "商品名称",
  34097. "type": "string"
  34098. },
  34099. "goodunitid": {
  34100. "description": "报价单位ID",
  34101. "type": "integer"
  34102. },
  34103. "logincode": {
  34104. "description": "登录代码(账户)",
  34105. "type": "string"
  34106. },
  34107. "marketid": {
  34108. "description": "市场id",
  34109. "type": "integer"
  34110. },
  34111. "offamount": {
  34112. "description": "优惠金额",
  34113. "type": "number"
  34114. },
  34115. "operatetype": {
  34116. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34117. "type": "integer"
  34118. },
  34119. "payamount": {
  34120. "description": "支付金额(金额)",
  34121. "type": "number"
  34122. },
  34123. "payflag": {
  34124. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34125. "type": "integer"
  34126. },
  34127. "paylimitedtime": {
  34128. "description": "支付期限",
  34129. "type": "string"
  34130. },
  34131. "paytime": {
  34132. "description": "付款时间",
  34133. "type": "string"
  34134. },
  34135. "qtydecimalplace": {
  34136. "description": "成交量小数位",
  34137. "type": "integer"
  34138. },
  34139. "sellaccountid": {
  34140. "description": "卖方账号ID[报价币种]",
  34141. "type": "integer"
  34142. },
  34143. "sellorderid": {
  34144. "description": "卖方委托单号",
  34145. "type": "string"
  34146. },
  34147. "tradeamount": {
  34148. "description": "成交金额(优惠后金额)",
  34149. "type": "number"
  34150. },
  34151. "tradecharge": {
  34152. "description": "成交手续费(买方)",
  34153. "type": "number"
  34154. },
  34155. "tradedate": {
  34156. "description": "交易日(yyyyMMdd)",
  34157. "type": "string"
  34158. },
  34159. "tradeid": {
  34160. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34161. "type": "string"
  34162. },
  34163. "trademode": {
  34164. "description": "交易模式",
  34165. "type": "integer"
  34166. },
  34167. "tradeprice": {
  34168. "description": "成交价格(价格)",
  34169. "type": "number"
  34170. },
  34171. "tradeqty": {
  34172. "description": "成交数量(数量)",
  34173. "type": "number"
  34174. },
  34175. "tradetime": {
  34176. "description": "成交时间",
  34177. "type": "string"
  34178. },
  34179. "userid": {
  34180. "description": "用户id",
  34181. "type": "integer"
  34182. },
  34183. "userinfotype": {
  34184. "description": "账户类型 1-个人 2-企业",
  34185. "type": "integer"
  34186. }
  34187. }
  34188. },
  34189. "models.QhjMyTeamEx": {
  34190. "type": "object",
  34191. "properties": {
  34192. "accountname": {
  34193. "description": "用户名称",
  34194. "type": "string"
  34195. },
  34196. "accountstatus": {
  34197. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34198. "type": "integer"
  34199. },
  34200. "createtime": {
  34201. "description": "创建时间",
  34202. "type": "string"
  34203. },
  34204. "mobile": {
  34205. "description": "手机号码",
  34206. "type": "string"
  34207. },
  34208. "refereeuserid": {
  34209. "description": "推荐人id",
  34210. "type": "integer"
  34211. },
  34212. "refernum": {
  34213. "description": "推荐码",
  34214. "type": "string"
  34215. },
  34216. "subList": {
  34217. "type": "array",
  34218. "items": {
  34219. "$ref": "#/definitions/models.QhjMyTeamEx"
  34220. }
  34221. },
  34222. "userid": {
  34223. "description": "用户id",
  34224. "type": "integer"
  34225. },
  34226. "userinfotype": {
  34227. "description": "用户类型 1-个人 2-企业",
  34228. "type": "integer"
  34229. }
  34230. }
  34231. },
  34232. "models.QhjNodeAgreementConfig": {
  34233. "type": "object",
  34234. "properties": {
  34235. "agreementcontent": {
  34236. "description": "协议内容",
  34237. "type": "string"
  34238. },
  34239. "agreementid": {
  34240. "description": "协议ID",
  34241. "type": "integer"
  34242. },
  34243. "agreementname": {
  34244. "description": "协议名称",
  34245. "type": "string"
  34246. },
  34247. "agreementno": {
  34248. "description": "协议编号",
  34249. "type": "string"
  34250. },
  34251. "agreementtype": {
  34252. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34253. "type": "integer"
  34254. },
  34255. "agreementversion": {
  34256. "description": "协议版本号",
  34257. "type": "integer"
  34258. },
  34259. "configid": {
  34260. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34261. "type": "integer"
  34262. },
  34263. "createtime": {
  34264. "description": "创建时间",
  34265. "type": "string"
  34266. },
  34267. "goodsid": {
  34268. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34269. "type": "integer"
  34270. },
  34271. "nodetype": {
  34272. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34273. "type": "integer"
  34274. }
  34275. }
  34276. },
  34277. "models.QhjParentAreaList": {
  34278. "type": "object",
  34279. "properties": {
  34280. "accountname": {
  34281. "description": "账户名称(机构名称)",
  34282. "type": "string"
  34283. },
  34284. "userid": {
  34285. "description": "用户ID",
  34286. "type": "integer"
  34287. },
  34288. "usertype": {
  34289. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34290. "type": "integer"
  34291. }
  34292. }
  34293. },
  34294. "models.QhjPayOrder": {
  34295. "type": "object",
  34296. "properties": {
  34297. "advanceratio": {
  34298. "description": "首付比率",
  34299. "type": "number"
  34300. },
  34301. "buyaccountid": {
  34302. "description": "买方账号ID[报价币种]",
  34303. "type": "integer"
  34304. },
  34305. "buyorderid": {
  34306. "description": "买方委托单号",
  34307. "type": "string"
  34308. },
  34309. "createtime": {
  34310. "description": "创建时间",
  34311. "type": "string"
  34312. },
  34313. "decimalplace": {
  34314. "description": "商品报价小数位",
  34315. "type": "integer"
  34316. },
  34317. "enumdicname": {
  34318. "description": "单位名称",
  34319. "type": "string"
  34320. },
  34321. "goodscode": {
  34322. "description": "商品代码",
  34323. "type": "string"
  34324. },
  34325. "goodsid": {
  34326. "description": "商品ID",
  34327. "type": "integer"
  34328. },
  34329. "goodsname": {
  34330. "description": "商品名称",
  34331. "type": "string"
  34332. },
  34333. "goodunitid": {
  34334. "description": "商品单位id",
  34335. "type": "integer"
  34336. },
  34337. "marketid": {
  34338. "description": "市场ID",
  34339. "type": "integer"
  34340. },
  34341. "offamount": {
  34342. "description": "优惠金额",
  34343. "type": "number"
  34344. },
  34345. "operatetype": {
  34346. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34347. "type": "integer"
  34348. },
  34349. "payamount": {
  34350. "description": "支付金额",
  34351. "type": "number"
  34352. },
  34353. "payflag": {
  34354. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34355. "type": "integer"
  34356. },
  34357. "paylimitedtime": {
  34358. "description": "支付期限",
  34359. "type": "string"
  34360. },
  34361. "paytime": {
  34362. "description": "付款时间",
  34363. "type": "string"
  34364. },
  34365. "qtydecimalplace": {
  34366. "description": "成交量小数位",
  34367. "type": "integer"
  34368. },
  34369. "sellaccountid": {
  34370. "description": "卖方账号ID[报价币种]",
  34371. "type": "integer"
  34372. },
  34373. "sellorderid": {
  34374. "description": "卖方委托单号",
  34375. "type": "string"
  34376. },
  34377. "tradeamount": {
  34378. "description": "成交金额(优惠后金额)",
  34379. "type": "number"
  34380. },
  34381. "tradecharge": {
  34382. "description": "成交手续费(买方)",
  34383. "type": "number"
  34384. },
  34385. "tradedate": {
  34386. "description": "交易日(yyyyMMdd)",
  34387. "type": "string"
  34388. },
  34389. "tradeid": {
  34390. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34391. "type": "string"
  34392. },
  34393. "tradeprice": {
  34394. "description": "成交价格",
  34395. "type": "number"
  34396. },
  34397. "tradeqty": {
  34398. "description": "成交数量",
  34399. "type": "number"
  34400. }
  34401. }
  34402. },
  34403. "models.QhjPickArea": {
  34404. "type": "object",
  34405. "properties": {
  34406. "address": {
  34407. "description": "详细地址",
  34408. "type": "string"
  34409. },
  34410. "cityid": {
  34411. "description": "市",
  34412. "type": "integer"
  34413. },
  34414. "cityname": {
  34415. "description": "城市名称",
  34416. "type": "string"
  34417. },
  34418. "countryid": {
  34419. "description": "国家",
  34420. "type": "integer"
  34421. },
  34422. "countryname": {
  34423. "description": "国家名称",
  34424. "type": "string"
  34425. },
  34426. "districtid": {
  34427. "description": "地区",
  34428. "type": "integer"
  34429. },
  34430. "districtname": {
  34431. "description": "地区名称",
  34432. "type": "string"
  34433. },
  34434. "fromuserid": {
  34435. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34436. "type": "integer"
  34437. },
  34438. "fromusername": {
  34439. "description": "所属机构名称",
  34440. "type": "string"
  34441. },
  34442. "provinceid": {
  34443. "description": "省",
  34444. "type": "integer"
  34445. },
  34446. "provincename": {
  34447. "description": "省名称",
  34448. "type": "string"
  34449. },
  34450. "suborgtype": {
  34451. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  34452. "type": "integer"
  34453. },
  34454. "userid": {
  34455. "description": "机构用户ID 其他做市关系,都设置为 1",
  34456. "type": "integer"
  34457. },
  34458. "username": {
  34459. "description": "机构用户名称(门店门称)",
  34460. "type": "string"
  34461. }
  34462. }
  34463. },
  34464. "models.QhjPickGoods": {
  34465. "type": "object",
  34466. "properties": {
  34467. "enumdicname": {
  34468. "description": "单位名称(提货商品)",
  34469. "type": "string"
  34470. },
  34471. "goodsid": {
  34472. "description": "商品id",
  34473. "type": "integer"
  34474. },
  34475. "imageaddress": {
  34476. "description": "图片",
  34477. "type": "string"
  34478. },
  34479. "modifierid": {
  34480. "description": "修改人",
  34481. "type": "integer"
  34482. },
  34483. "modifiername": {
  34484. "description": "修改人名称",
  34485. "type": "string"
  34486. },
  34487. "modifysrc": {
  34488. "description": "修改来源 - 1:管理端 2:终端",
  34489. "type": "integer"
  34490. },
  34491. "pickupgoodsagreeunit": {
  34492. "description": "合约乘数",
  34493. "type": "number"
  34494. },
  34495. "pickupgoodsdesc": {
  34496. "description": "描述",
  34497. "type": "string"
  34498. },
  34499. "pickupgoodsid": {
  34500. "description": "提货商品ID",
  34501. "type": "string"
  34502. },
  34503. "pickupgoodsname": {
  34504. "description": "提货商品名称",
  34505. "type": "string"
  34506. },
  34507. "pickupgoodsstatus": {
  34508. "description": "状态 - 1:正常 2:停用 3:注销",
  34509. "type": "integer"
  34510. },
  34511. "pickupgoodsunitid": {
  34512. "description": "单位ID",
  34513. "type": "integer"
  34514. },
  34515. "pickupratio": {
  34516. "description": "提货系数",
  34517. "type": "number"
  34518. },
  34519. "preparedays": {
  34520. "description": "备货期(天)",
  34521. "type": "integer"
  34522. },
  34523. "remark": {
  34524. "description": "备注",
  34525. "type": "string"
  34526. },
  34527. "updatetime": {
  34528. "description": "更新时间",
  34529. "type": "string"
  34530. }
  34531. }
  34532. },
  34533. "models.QhjRSTriggerLog": {
  34534. "type": "object",
  34535. "properties": {
  34536. "accountid": {
  34537. "description": "用户资金账户",
  34538. "type": "integer"
  34539. },
  34540. "accountname": {
  34541. "description": "账号名称(ACCOUNTID对应的名称)",
  34542. "type": "string"
  34543. },
  34544. "currencyid": {
  34545. "description": "币种id",
  34546. "type": "integer"
  34547. },
  34548. "currencyname": {
  34549. "description": "币种名称",
  34550. "type": "string"
  34551. },
  34552. "decimalplace": {
  34553. "description": "商品报价小数位",
  34554. "type": "integer"
  34555. },
  34556. "enumdicname": {
  34557. "description": "单位名称",
  34558. "type": "string"
  34559. },
  34560. "goodscode": {
  34561. "description": "定投商品代码",
  34562. "type": "string"
  34563. },
  34564. "goodsid": {
  34565. "description": "定投商品ID",
  34566. "type": "integer"
  34567. },
  34568. "goodsname": {
  34569. "description": "定投商品名称",
  34570. "type": "string"
  34571. },
  34572. "goodunitid": {
  34573. "description": "定投商品单位id",
  34574. "type": "integer"
  34575. },
  34576. "logid": {
  34577. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  34578. "type": "string"
  34579. },
  34580. "logincode": {
  34581. "description": "账号(登录代码)",
  34582. "type": "string"
  34583. },
  34584. "qtydecimalplace": {
  34585. "description": "成交量小数位",
  34586. "type": "integer"
  34587. },
  34588. "regularlycycle": {
  34589. "description": "定投频率 - 1:每周 2:每月",
  34590. "type": "integer"
  34591. },
  34592. "regularlycyclevalue": {
  34593. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34594. "type": "string"
  34595. },
  34596. "regularlymode": {
  34597. "description": "定投方式 - 1:按数量 2:按金额",
  34598. "type": "integer"
  34599. },
  34600. "regularlymodevalue": {
  34601. "description": "定投方式值 - 数量或金额",
  34602. "type": "number"
  34603. },
  34604. "regularlystrategyid": {
  34605. "description": "定投策略ID",
  34606. "type": "integer"
  34607. },
  34608. "retcode": {
  34609. "description": "错误码",
  34610. "type": "string"
  34611. },
  34612. "tradeid": {
  34613. "description": "成交单ID",
  34614. "type": "string"
  34615. },
  34616. "triggeramount": {
  34617. "description": "触发金额",
  34618. "type": "number"
  34619. },
  34620. "triggerqty": {
  34621. "description": "触发数量",
  34622. "type": "number"
  34623. },
  34624. "triggerstatus": {
  34625. "description": "触发状态 - 1:成功 2:失败",
  34626. "type": "integer"
  34627. },
  34628. "triggertime": {
  34629. "description": "触发时间",
  34630. "type": "string"
  34631. },
  34632. "triggertradedate": {
  34633. "description": "触发交易日",
  34634. "type": "string"
  34635. },
  34636. "userid": {
  34637. "description": "所属用户ID",
  34638. "type": "integer"
  34639. },
  34640. "userinfotype": {
  34641. "description": "用户类型 1-个人 2-企业",
  34642. "type": "integer"
  34643. },
  34644. "username": {
  34645. "description": "用户名称(userid对应的名称)",
  34646. "type": "string"
  34647. }
  34648. }
  34649. },
  34650. "models.QhjRStrategy": {
  34651. "type": "object",
  34652. "properties": {
  34653. "accountid": {
  34654. "description": "用户资金账户",
  34655. "type": "integer"
  34656. },
  34657. "accountname": {
  34658. "description": "账号名称(ACCOUNTID对应的名称)",
  34659. "type": "string"
  34660. },
  34661. "currencyid": {
  34662. "description": "币种id",
  34663. "type": "integer"
  34664. },
  34665. "currencyname": {
  34666. "description": "币种名称",
  34667. "type": "string"
  34668. },
  34669. "decimalplace": {
  34670. "description": "商品报价小数位",
  34671. "type": "integer"
  34672. },
  34673. "enumdicname": {
  34674. "description": "单位名称",
  34675. "type": "string"
  34676. },
  34677. "goodscode": {
  34678. "description": "定投商品代码",
  34679. "type": "string"
  34680. },
  34681. "goodsid": {
  34682. "description": "定投商品ID",
  34683. "type": "integer"
  34684. },
  34685. "goodsname": {
  34686. "description": "定投商品名称",
  34687. "type": "string"
  34688. },
  34689. "goodunitid": {
  34690. "description": "定投商品单位id",
  34691. "type": "integer"
  34692. },
  34693. "lasteffecttradedate": {
  34694. "description": "最新生效交易日",
  34695. "type": "string"
  34696. },
  34697. "laststoptradedate": {
  34698. "description": "最新暂停交易日",
  34699. "type": "string"
  34700. },
  34701. "lasttriggertradedate": {
  34702. "description": "最新触发交易日",
  34703. "type": "string"
  34704. },
  34705. "logincode": {
  34706. "description": "账号(登录代码)",
  34707. "type": "string"
  34708. },
  34709. "nexttriggeramount": {
  34710. "description": "下次触发金额",
  34711. "type": "number"
  34712. },
  34713. "nexttriggerdate": {
  34714. "description": "下次触发日期",
  34715. "type": "string"
  34716. },
  34717. "nexttriggerqty": {
  34718. "description": "下次触发数量 [按小数位放大值]",
  34719. "type": "number"
  34720. },
  34721. "qtydecimalplace": {
  34722. "description": "成交量小数位",
  34723. "type": "integer"
  34724. },
  34725. "regularlycycle": {
  34726. "description": "定投频率 - 1:每周 2:每月",
  34727. "type": "integer"
  34728. },
  34729. "regularlycyclevalue": {
  34730. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34731. "type": "string"
  34732. },
  34733. "regularlymode": {
  34734. "description": "定投方式 - 1:按数量 2:按金额",
  34735. "type": "integer"
  34736. },
  34737. "regularlymodevalue": {
  34738. "description": "定投方式值 - 数量或金额",
  34739. "type": "number"
  34740. },
  34741. "regularlystrategyid": {
  34742. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  34743. "type": "integer"
  34744. },
  34745. "regularlystrategystatus": {
  34746. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  34747. "type": "integer"
  34748. },
  34749. "remark": {
  34750. "description": "备注",
  34751. "type": "string"
  34752. },
  34753. "triggersuccesstimes": {
  34754. "description": "累计定投成功次数",
  34755. "type": "string"
  34756. },
  34757. "triggertotalamount": {
  34758. "description": "累计定投金额(成功)",
  34759. "type": "number"
  34760. },
  34761. "triggertotalqty": {
  34762. "description": "累计定投数量(成功) [按小数位放大值]",
  34763. "type": "number"
  34764. },
  34765. "triggertotaltimes": {
  34766. "description": "累计定投总次数",
  34767. "type": "string"
  34768. },
  34769. "updatesrc": {
  34770. "description": "更新来源 - 1:管理端 2:终端",
  34771. "type": "integer"
  34772. },
  34773. "updatetime": {
  34774. "description": "更新时间",
  34775. "type": "string"
  34776. },
  34777. "updatorid": {
  34778. "description": "更新人",
  34779. "type": "string"
  34780. },
  34781. "userid": {
  34782. "description": "所属用户ID",
  34783. "type": "integer"
  34784. },
  34785. "userinfotype": {
  34786. "description": "用户类型 1-个人 2-企业",
  34787. "type": "integer"
  34788. },
  34789. "username": {
  34790. "description": "用户名称(userid对应的名称)",
  34791. "type": "string"
  34792. }
  34793. }
  34794. },
  34795. "models.QhjReckonPriceLog": {
  34796. "type": "object",
  34797. "properties": {
  34798. "decimalplace": {
  34799. "description": "商品报价小数位",
  34800. "type": "integer"
  34801. },
  34802. "goodscode": {
  34803. "description": "商品代码",
  34804. "type": "string"
  34805. },
  34806. "goodsid": {
  34807. "description": "商品ID",
  34808. "type": "integer"
  34809. },
  34810. "goodsname": {
  34811. "description": "商品名称",
  34812. "type": "string"
  34813. },
  34814. "lastreckonprice": {
  34815. "description": "上日结算价",
  34816. "type": "number"
  34817. },
  34818. "nextdnlimitprice": {
  34819. "description": "下个交易日跌停价",
  34820. "type": "number"
  34821. },
  34822. "nexttrade": {
  34823. "description": "下个交易日",
  34824. "type": "string"
  34825. },
  34826. "nextuplimitprice": {
  34827. "description": "下个交易日涨停价",
  34828. "type": "number"
  34829. },
  34830. "reckonprice": {
  34831. "description": "今日结算价(定投价)",
  34832. "type": "number"
  34833. },
  34834. "reckontime": {
  34835. "description": "结算时间",
  34836. "type": "string"
  34837. },
  34838. "totalholderqty": {
  34839. "description": "总持仓数",
  34840. "type": "integer"
  34841. },
  34842. "totalstock": {
  34843. "description": "总库存",
  34844. "type": "integer"
  34845. },
  34846. "tradedate": {
  34847. "description": "交易日",
  34848. "type": "string"
  34849. },
  34850. "updowncount": {
  34851. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  34852. "type": "integer"
  34853. },
  34854. "updownflag": {
  34855. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  34856. "type": "integer"
  34857. },
  34858. "updownrate": {
  34859. "description": "今日涨跌幅",
  34860. "type": "number"
  34861. },
  34862. "updownrate_2d": {
  34863. "description": "连续两日涨跌幅",
  34864. "type": "number"
  34865. },
  34866. "updownrate_3d": {
  34867. "description": "连续三日涨跌幅",
  34868. "type": "number"
  34869. }
  34870. }
  34871. },
  34872. "models.QhjScoreLog": {
  34873. "type": "object",
  34874. "properties": {
  34875. "accountid": {
  34876. "description": "账户ID",
  34877. "type": "integer"
  34878. },
  34879. "createtime": {
  34880. "description": "创建时间(时间)",
  34881. "type": "string"
  34882. },
  34883. "goodsid": {
  34884. "description": "商品ID",
  34885. "type": "integer"
  34886. },
  34887. "hasuploaded": {
  34888. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  34889. "type": "integer"
  34890. },
  34891. "logid": {
  34892. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34893. "type": "string"
  34894. },
  34895. "marketid": {
  34896. "description": "市场ID",
  34897. "type": "integer"
  34898. },
  34899. "relatedamount": {
  34900. "description": "关联金额",
  34901. "type": "number"
  34902. },
  34903. "relatedorderid": {
  34904. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  34905. "type": "string"
  34906. },
  34907. "scoreconfigvalue1": {
  34908. "description": "积分配置1",
  34909. "type": "integer"
  34910. },
  34911. "scoreconfigvalue2": {
  34912. "description": "积分配置1",
  34913. "type": "integer"
  34914. },
  34915. "scoretype": {
  34916. "description": "积分类型 - 1:提货积分",
  34917. "type": "integer"
  34918. },
  34919. "scorevalue": {
  34920. "description": "积分",
  34921. "type": "number"
  34922. },
  34923. "tradedate": {
  34924. "description": "交易日(yyyyMMdd)",
  34925. "type": "string"
  34926. },
  34927. "uploadedtime": {
  34928. "description": "同步时间",
  34929. "type": "string"
  34930. },
  34931. "userid": {
  34932. "description": "用户ID",
  34933. "type": "integer"
  34934. }
  34935. }
  34936. },
  34937. "models.QhjSiteColumnDetail": {
  34938. "type": "object",
  34939. "properties": {
  34940. "author": {
  34941. "description": "作者",
  34942. "type": "string"
  34943. },
  34944. "brief": {
  34945. "description": "简介",
  34946. "type": "string"
  34947. },
  34948. "columnid": {
  34949. "description": "所属栏目",
  34950. "type": "integer"
  34951. },
  34952. "context": {
  34953. "description": "内容",
  34954. "type": "string"
  34955. },
  34956. "coverimage": {
  34957. "description": "封面图片",
  34958. "type": "string"
  34959. },
  34960. "creaedate": {
  34961. "description": "创建时间",
  34962. "type": "string"
  34963. },
  34964. "creatorid": {
  34965. "description": "创建人",
  34966. "type": "integer"
  34967. },
  34968. "hits": {
  34969. "description": "点击数",
  34970. "type": "integer"
  34971. },
  34972. "id": {
  34973. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  34974. "type": "integer"
  34975. },
  34976. "isshow": {
  34977. "description": "是否展示 - 0:不展示 1:展示",
  34978. "type": "integer"
  34979. },
  34980. "istop": {
  34981. "description": "是否置顶 - 0:不置 1:置顶",
  34982. "type": "integer"
  34983. },
  34984. "modifierid": {
  34985. "description": "操作人",
  34986. "type": "integer"
  34987. },
  34988. "publishdate": {
  34989. "description": "发布日期",
  34990. "type": "string"
  34991. },
  34992. "status": {
  34993. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  34994. "type": "integer"
  34995. },
  34996. "title": {
  34997. "description": "标题",
  34998. "type": "string"
  34999. },
  35000. "updatedate": {
  35001. "description": "修改时间",
  35002. "type": "string"
  35003. },
  35004. "userid": {
  35005. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35006. "type": "integer"
  35007. },
  35008. "username": {
  35009. "description": "用户名称",
  35010. "type": "string"
  35011. }
  35012. }
  35013. },
  35014. "models.QhjTeamOrder": {
  35015. "type": "object",
  35016. "properties": {
  35017. "accountid": {
  35018. "description": "账户ID[报价币种]",
  35019. "type": "integer"
  35020. },
  35021. "accountname": {
  35022. "description": "账户名称",
  35023. "type": "string"
  35024. },
  35025. "agreeunit": {
  35026. "description": "合约乘数",
  35027. "type": "number"
  35028. },
  35029. "buyorsell": {
  35030. "description": "方向 - 0:买 1:卖",
  35031. "type": "integer"
  35032. },
  35033. "decimalplace": {
  35034. "description": "报价小数位",
  35035. "type": "integer"
  35036. },
  35037. "enumdicname": {
  35038. "description": "单位名称",
  35039. "type": "string"
  35040. },
  35041. "goodscode": {
  35042. "description": "商品代码(内部)",
  35043. "type": "string"
  35044. },
  35045. "goodsid": {
  35046. "description": "商品ID",
  35047. "type": "integer"
  35048. },
  35049. "goodsname": {
  35050. "description": "商品名称",
  35051. "type": "string"
  35052. },
  35053. "goodunitid": {
  35054. "description": "报价单位ID",
  35055. "type": "integer"
  35056. },
  35057. "marketid": {
  35058. "description": "市场ID",
  35059. "type": "integer"
  35060. },
  35061. "marketname": {
  35062. "description": "市场名称",
  35063. "type": "string"
  35064. },
  35065. "qtydecimalplace": {
  35066. "description": "成交量小数位",
  35067. "type": "integer"
  35068. },
  35069. "refereeuserid": {
  35070. "description": "推荐人ID",
  35071. "type": "integer"
  35072. },
  35073. "tradeamount": {
  35074. "description": "成交金额[账户币种,用于所有权]",
  35075. "type": "number"
  35076. },
  35077. "tradedate": {
  35078. "description": "交易日(yyyyMMdd)",
  35079. "type": "string"
  35080. },
  35081. "trademode": {
  35082. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35083. "type": "integer"
  35084. },
  35085. "tradeprice": {
  35086. "description": "成交价格",
  35087. "type": "number"
  35088. },
  35089. "tradeqty": {
  35090. "description": "成交数量",
  35091. "type": "number"
  35092. },
  35093. "tradetime": {
  35094. "description": "成交时间",
  35095. "type": "string"
  35096. },
  35097. "userid": {
  35098. "description": "用户ID",
  35099. "type": "integer"
  35100. }
  35101. }
  35102. },
  35103. "models.QhjTradeGoodsPickup": {
  35104. "type": "object",
  35105. "properties": {
  35106. "accountid": {
  35107. "description": "账户ID",
  35108. "type": "integer"
  35109. },
  35110. "address": {
  35111. "description": "提货人详细地址",
  35112. "type": "string"
  35113. },
  35114. "amount": {
  35115. "description": "提货金额",
  35116. "type": "number"
  35117. },
  35118. "artradedate": {
  35119. "description": "自动收货交易日(yyyyMMdd)",
  35120. "type": "string"
  35121. },
  35122. "auditer": {
  35123. "description": "审核人",
  35124. "type": "integer"
  35125. },
  35126. "auditsrc": {
  35127. "description": "更新来源 - 1:管理端 2:终端",
  35128. "type": "integer"
  35129. },
  35130. "audittime": {
  35131. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  35132. "type": "string"
  35133. },
  35134. "audittradedate": {
  35135. "description": "审核交易日(yyyyMMdd)",
  35136. "type": "string"
  35137. },
  35138. "cardnum": {
  35139. "description": "提货人证件号码",
  35140. "type": "string"
  35141. },
  35142. "cardtypeid": {
  35143. "description": "提货人证件类型",
  35144. "type": "integer"
  35145. },
  35146. "checkremark": {
  35147. "description": "审核备注",
  35148. "type": "string"
  35149. },
  35150. "cityid": {
  35151. "description": "市",
  35152. "type": "integer"
  35153. },
  35154. "cityname": {
  35155. "description": "城市名称",
  35156. "type": "string"
  35157. },
  35158. "confirmtime": {
  35159. "description": "取货时间 或 收货时间",
  35160. "type": "string"
  35161. },
  35162. "countryid": {
  35163. "description": "国家",
  35164. "type": "integer"
  35165. },
  35166. "countryname": {
  35167. "description": "国家名称",
  35168. "type": "string"
  35169. },
  35170. "decimalplace": {
  35171. "description": "商品报价小数位",
  35172. "type": "integer"
  35173. },
  35174. "districtid": {
  35175. "description": "地区",
  35176. "type": "integer"
  35177. },
  35178. "districtname": {
  35179. "description": "地区名称",
  35180. "type": "string"
  35181. },
  35182. "enumdicname": {
  35183. "description": "单位名称(提货商品)",
  35184. "type": "string"
  35185. },
  35186. "expresscompany": {
  35187. "description": "物流公司",
  35188. "type": "string"
  35189. },
  35190. "expressnum": {
  35191. "description": "物流单号",
  35192. "type": "string"
  35193. },
  35194. "goodsagreeunit": {
  35195. "description": "交易商品乘数",
  35196. "type": "number"
  35197. },
  35198. "goodscode": {
  35199. "description": "商品代码",
  35200. "type": "string"
  35201. },
  35202. "goodsid": {
  35203. "description": "商品ID",
  35204. "type": "integer"
  35205. },
  35206. "goodsname": {
  35207. "description": "商品名称",
  35208. "type": "string"
  35209. },
  35210. "goodsqty": {
  35211. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35212. "type": "number"
  35213. },
  35214. "handlestatus": {
  35215. "description": "处理状态",
  35216. "type": "integer"
  35217. },
  35218. "logincode": {
  35219. "description": "账号(登录代码, 有可能为空)",
  35220. "type": "string"
  35221. },
  35222. "marketid": {
  35223. "description": "市场ID",
  35224. "type": "integer"
  35225. },
  35226. "phonenum": {
  35227. "description": "提货人联系方式",
  35228. "type": "string"
  35229. },
  35230. "pickupgoodsagreeunit": {
  35231. "description": "提货商品合约乘数",
  35232. "type": "number"
  35233. },
  35234. "pickupgoodsid": {
  35235. "description": "提货商品ID",
  35236. "type": "string"
  35237. },
  35238. "pickupgoodsname": {
  35239. "description": "提货商品名称",
  35240. "type": "string"
  35241. },
  35242. "pickupgoodsqty": {
  35243. "description": "提货商品手数(数量)",
  35244. "type": "number"
  35245. },
  35246. "pickupgoodsunitid": {
  35247. "description": "单位ID(提货商品)",
  35248. "type": "integer"
  35249. },
  35250. "pickupratio": {
  35251. "description": "提货系数",
  35252. "type": "number"
  35253. },
  35254. "preparedays": {
  35255. "description": "备货期(天)-提货单明细表",
  35256. "type": "integer"
  35257. },
  35258. "provinceid": {
  35259. "description": "省",
  35260. "type": "integer"
  35261. },
  35262. "provincename": {
  35263. "description": "省名称",
  35264. "type": "string"
  35265. },
  35266. "qty": {
  35267. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35268. "type": "number"
  35269. },
  35270. "qtydecimalplace": {
  35271. "description": "商品数量小数位",
  35272. "type": "integer"
  35273. },
  35274. "recivername": {
  35275. "description": "提货人姓名",
  35276. "type": "string"
  35277. },
  35278. "reqtime": {
  35279. "description": "提货申请时间",
  35280. "type": "string"
  35281. },
  35282. "storeuserid": {
  35283. "description": "门店用户ID (千海金)",
  35284. "type": "integer"
  35285. },
  35286. "storeusername": {
  35287. "description": "门店用户名称",
  35288. "type": "string"
  35289. },
  35290. "takemode": {
  35291. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35292. "type": "integer"
  35293. },
  35294. "takeorderid": {
  35295. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35296. "type": "string"
  35297. },
  35298. "takeorderstatus": {
  35299. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35300. "type": "integer"
  35301. },
  35302. "takeremark": {
  35303. "description": "提货备注",
  35304. "type": "string"
  35305. },
  35306. "tradedate": {
  35307. "description": "交易日(yyyyMMdd)",
  35308. "type": "string"
  35309. },
  35310. "updatetime": {
  35311. "description": "更新时间",
  35312. "type": "string"
  35313. },
  35314. "userid": {
  35315. "description": "用户ID",
  35316. "type": "integer"
  35317. },
  35318. "userinfotype": {
  35319. "description": "客户类型 1-个人 2-企业",
  35320. "type": "integer"
  35321. },
  35322. "username": {
  35323. "description": "用户名称",
  35324. "type": "string"
  35325. }
  35326. }
  35327. },
  35328. "models.QhjUserNodeCfgAndStatus": {
  35329. "type": "object",
  35330. "properties": {
  35331. "agreementcontent": {
  35332. "description": "协议内容",
  35333. "type": "string"
  35334. },
  35335. "agreementid": {
  35336. "description": "协议ID",
  35337. "type": "integer"
  35338. },
  35339. "agreementname": {
  35340. "description": "协议名称",
  35341. "type": "string"
  35342. },
  35343. "agreementno": {
  35344. "description": "协议编号",
  35345. "type": "string"
  35346. },
  35347. "agreementtype": {
  35348. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35349. "type": "integer"
  35350. },
  35351. "agreementversion": {
  35352. "description": "协议版本号",
  35353. "type": "integer"
  35354. },
  35355. "configid": {
  35356. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35357. "type": "integer"
  35358. },
  35359. "createtime": {
  35360. "description": "创建时间",
  35361. "type": "string"
  35362. },
  35363. "goodsid": {
  35364. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35365. "type": "integer"
  35366. },
  35367. "nodetype": {
  35368. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35369. "type": "integer"
  35370. },
  35371. "signtimestamp": {
  35372. "description": "签约状态时间戳(最近一次)",
  35373. "type": "string"
  35374. },
  35375. "tradedate": {
  35376. "description": "签约交易日(yyyyMMdd)",
  35377. "type": "string"
  35378. },
  35379. "userid": {
  35380. "description": "客户ID",
  35381. "type": "integer"
  35382. }
  35383. }
  35384. },
  35385. "models.Qhjgoodsex": {
  35386. "type": "object",
  35387. "properties": {
  35388. "canfinance": {
  35389. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35390. "type": "integer"
  35391. },
  35392. "canregularlybuy": {
  35393. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35394. "type": "integer"
  35395. },
  35396. "defaulttradeuserid": {
  35397. "description": "默认交易用户ID",
  35398. "type": "integer"
  35399. },
  35400. "deliverygoodsid": {
  35401. "description": "现货品种ID",
  35402. "type": "integer"
  35403. },
  35404. "goodsid": {
  35405. "description": "商品ID(自增ID SEQ_GOODS)",
  35406. "type": "integer"
  35407. },
  35408. "minamount": {
  35409. "description": "最小购买金额",
  35410. "type": "number"
  35411. },
  35412. "regularlybuyminamount": {
  35413. "description": "定投最小金额",
  35414. "type": "number"
  35415. },
  35416. "regularlybuyminqty": {
  35417. "description": "定投最小数量",
  35418. "type": "number"
  35419. },
  35420. "spotgoodsbrandid": {
  35421. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35422. "type": "integer"
  35423. },
  35424. "visibilityforenterprise": {
  35425. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35426. "type": "integer"
  35427. },
  35428. "visibilityforpersonal": {
  35429. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35430. "type": "integer"
  35431. },
  35432. "wrstandardid": {
  35433. "description": "现货商品ID",
  35434. "type": "integer"
  35435. }
  35436. }
  35437. },
  35438. "models.QueryErrorInfosRsp": {
  35439. "type": "object",
  35440. "required": [
  35441. "errorid"
  35442. ],
  35443. "properties": {
  35444. "description": {
  35445. "description": "异常描述",
  35446. "type": "string"
  35447. },
  35448. "errorcode": {
  35449. "description": "异常代码",
  35450. "type": "string"
  35451. },
  35452. "errorid": {
  35453. "description": "异常ID",
  35454. "type": "integer"
  35455. },
  35456. "modulecode": {
  35457. "description": "所属模块",
  35458. "type": "string"
  35459. },
  35460. "operatecode": {
  35461. "description": "所属操作",
  35462. "type": "string"
  35463. },
  35464. "rownumber": {
  35465. "description": "行号",
  35466. "type": "string"
  35467. }
  35468. }
  35469. },
  35470. "models.QueryHedgeOrderDetailRsp": {
  35471. "type": "object",
  35472. "properties": {
  35473. "accountid": {
  35474. "description": "账户ID",
  35475. "type": "integer"
  35476. },
  35477. "buyorsell": {
  35478. "description": "买卖 - 0:买 1:卖",
  35479. "type": "integer"
  35480. },
  35481. "cancellogincode": {
  35482. "description": "撤单人",
  35483. "type": "string"
  35484. },
  35485. "channelbuildtype": {
  35486. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  35487. "type": "integer"
  35488. },
  35489. "channelinnerorderstatus": {
  35490. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  35491. "type": "integer"
  35492. },
  35493. "channeloperatetype": {
  35494. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  35495. "type": "integer"
  35496. },
  35497. "closetype": {
  35498. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35499. "type": "integer"
  35500. },
  35501. "curexchangerate": {
  35502. "description": "当前汇率",
  35503. "type": "number"
  35504. },
  35505. "decimalplace": {
  35506. "description": "商品报价小数位",
  35507. "type": "integer"
  35508. },
  35509. "exchangefullname": {
  35510. "description": "外部交易所全称",
  35511. "type": "string"
  35512. },
  35513. "goodscode": {
  35514. "description": "商品代码(内部)",
  35515. "type": "string"
  35516. },
  35517. "goodsid": {
  35518. "description": "商品ID",
  35519. "type": "integer"
  35520. },
  35521. "goodsname": {
  35522. "description": "商品名称",
  35523. "type": "string"
  35524. },
  35525. "marketid": {
  35526. "description": "市场ID",
  35527. "type": "integer"
  35528. },
  35529. "openfreezemargin": {
  35530. "description": "冻结保证金(冻结交易金额)",
  35531. "type": "number"
  35532. },
  35533. "orderid": {
  35534. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35535. "type": "string"
  35536. },
  35537. "orderlogincode": {
  35538. "description": "委托人",
  35539. "type": "string"
  35540. },
  35541. "orderprice": {
  35542. "description": "委托价格(账户)",
  35543. "type": "number"
  35544. },
  35545. "orderqty": {
  35546. "description": "委托数量",
  35547. "type": "integer"
  35548. },
  35549. "ordertime": {
  35550. "description": "委托时间",
  35551. "type": "string"
  35552. },
  35553. "pricemode": {
  35554. "description": "取价方式 - 1:市价 2: 限价",
  35555. "type": "integer"
  35556. },
  35557. "tradedate": {
  35558. "description": "交易日(yyyyMMdd)",
  35559. "type": "string"
  35560. },
  35561. "tradeqty": {
  35562. "description": "成交数量",
  35563. "type": "integer"
  35564. }
  35565. }
  35566. },
  35567. "models.QueryHedgeTradeDetailRsp": {
  35568. "type": "object",
  35569. "properties": {
  35570. "accountid": {
  35571. "description": "账号ID",
  35572. "type": "integer"
  35573. },
  35574. "buyorsell": {
  35575. "description": "方向 - 0:买 1:卖",
  35576. "type": "integer"
  35577. },
  35578. "channelbuildtype": {
  35579. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35580. "type": "integer"
  35581. },
  35582. "closecharge": {
  35583. "description": "平仓手续费(账户)",
  35584. "type": "number"
  35585. },
  35586. "closecharge2": {
  35587. "description": "平仓手续费(商品)",
  35588. "type": "number"
  35589. },
  35590. "closepl": {
  35591. "description": "平仓盈亏(账户)",
  35592. "type": "number"
  35593. },
  35594. "closepl2": {
  35595. "description": "平仓盈亏(商品)",
  35596. "type": "number"
  35597. },
  35598. "closepl3": {
  35599. "description": "平仓盈亏(账户)(逐笔)",
  35600. "type": "number"
  35601. },
  35602. "closepl4": {
  35603. "description": "平仓盈亏(商品)(逐笔)",
  35604. "type": "number"
  35605. },
  35606. "closetype": {
  35607. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35608. "type": "integer"
  35609. },
  35610. "curexchangerate": {
  35611. "description": "当前汇率",
  35612. "type": "number"
  35613. },
  35614. "decimalplace": {
  35615. "description": "商品报价小数位",
  35616. "type": "integer"
  35617. },
  35618. "exchangefullname": {
  35619. "description": "外部交易所全称",
  35620. "type": "string"
  35621. },
  35622. "goodscode": {
  35623. "description": "商品代码(内部)",
  35624. "type": "string"
  35625. },
  35626. "goodsid": {
  35627. "description": "商品ID",
  35628. "type": "integer"
  35629. },
  35630. "goodsname": {
  35631. "description": "商品名称",
  35632. "type": "string"
  35633. },
  35634. "marketid": {
  35635. "description": "市场ID",
  35636. "type": "integer"
  35637. },
  35638. "opencharge": {
  35639. "description": "建仓手续费(账户)",
  35640. "type": "number"
  35641. },
  35642. "opencharge2": {
  35643. "description": "建仓手续费(商品)",
  35644. "type": "number"
  35645. },
  35646. "orderid": {
  35647. "description": "委托单号",
  35648. "type": "string"
  35649. },
  35650. "orderlogincode": {
  35651. "description": "委托人",
  35652. "type": "string"
  35653. },
  35654. "tradeamount": {
  35655. "description": "成交金额(账户)",
  35656. "type": "number"
  35657. },
  35658. "tradedate": {
  35659. "description": "交易日(yyyyMMdd)",
  35660. "type": "string"
  35661. },
  35662. "tradeid": {
  35663. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35664. "type": "string"
  35665. },
  35666. "tradeprice": {
  35667. "description": "成交价格",
  35668. "type": "number"
  35669. },
  35670. "tradeqty": {
  35671. "description": "成交数量",
  35672. "type": "integer"
  35673. },
  35674. "tradetime": {
  35675. "description": "成交时间",
  35676. "type": "string"
  35677. },
  35678. "tradetype": {
  35679. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  35680. "type": "integer"
  35681. }
  35682. }
  35683. },
  35684. "models.QuotePrimaryMenu": {
  35685. "type": "object",
  35686. "properties": {
  35687. "Index": {
  35688. "description": "序号",
  35689. "type": "integer"
  35690. },
  35691. "Key": {
  35692. "description": "键名",
  35693. "type": "string"
  35694. },
  35695. "Name": {
  35696. "description": "菜单名称",
  35697. "type": "string"
  35698. },
  35699. "SubMenus": {
  35700. "description": "子菜单",
  35701. "type": "array",
  35702. "items": {
  35703. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  35704. }
  35705. },
  35706. "SubTitleType": {
  35707. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  35708. "type": "integer"
  35709. },
  35710. "TradeModes": {
  35711. "description": "包含市场交易类型",
  35712. "type": "string"
  35713. }
  35714. }
  35715. },
  35716. "models.QuoteSecondaryMenu": {
  35717. "type": "object",
  35718. "properties": {
  35719. "ExExchangeCode": {
  35720. "description": "外部交易所代码",
  35721. "type": "string"
  35722. },
  35723. "ExExchangeID": {
  35724. "description": "外部交易所ID",
  35725. "type": "integer"
  35726. },
  35727. "GoodsGroupIDs": {
  35728. "description": "商品组ID列表",
  35729. "type": "array",
  35730. "items": {
  35731. "type": "integer"
  35732. }
  35733. },
  35734. "Index": {
  35735. "description": "序号",
  35736. "type": "integer"
  35737. },
  35738. "MarketID": {
  35739. "description": "市场ID",
  35740. "type": "integer"
  35741. },
  35742. "MenuTitle": {
  35743. "description": "菜单标题(市场名称或外部交易所名称)",
  35744. "type": "string"
  35745. },
  35746. "TradeMode": {
  35747. "description": "交易模式",
  35748. "type": "integer"
  35749. }
  35750. }
  35751. },
  35752. "models.RelatedTaAccount": {
  35753. "type": "object",
  35754. "properties": {
  35755. "accountid": {
  35756. "description": "资金账户ID",
  35757. "type": "integer"
  35758. }
  35759. }
  35760. },
  35761. "models.RoleMenu": {
  35762. "type": "object",
  35763. "properties": {
  35764. "hasright": {
  35765. "description": "是否有权限 0-没有权限 1-有权限",
  35766. "type": "integer"
  35767. },
  35768. "iconame": {
  35769. "description": "菜单图标",
  35770. "type": "string"
  35771. },
  35772. "menutype": {
  35773. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  35774. "type": "integer"
  35775. },
  35776. "parentcode": {
  35777. "description": "上级资源代码",
  35778. "type": "string"
  35779. },
  35780. "remark": {
  35781. "description": "菜单备注",
  35782. "type": "string"
  35783. },
  35784. "resourcecode": {
  35785. "description": "菜单代码",
  35786. "type": "string"
  35787. },
  35788. "resourcelevel": {
  35789. "description": "级别",
  35790. "type": "integer"
  35791. },
  35792. "resourcename": {
  35793. "description": "菜单名称",
  35794. "type": "string"
  35795. },
  35796. "roleid": {
  35797. "description": "角色id",
  35798. "type": "integer"
  35799. },
  35800. "sort": {
  35801. "description": "排序",
  35802. "type": "integer"
  35803. },
  35804. "subMenu": {
  35805. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  35806. "type": "array",
  35807. "items": {
  35808. "$ref": "#/definitions/models.RoleMenu"
  35809. }
  35810. },
  35811. "url": {
  35812. "description": "URL",
  35813. "type": "string"
  35814. },
  35815. "userid": {
  35816. "description": "用户id",
  35817. "type": "integer"
  35818. }
  35819. }
  35820. },
  35821. "models.SearchGoods": {
  35822. "type": "object",
  35823. "required": [
  35824. "goodscode",
  35825. "goodsid",
  35826. "goodsname",
  35827. "marketid",
  35828. "trademode"
  35829. ],
  35830. "properties": {
  35831. "goodscode": {
  35832. "description": "商品代码(内部)",
  35833. "type": "string"
  35834. },
  35835. "goodsid": {
  35836. "description": "商品ID(自增ID SEQ_GOODS)",
  35837. "type": "integer"
  35838. },
  35839. "goodsname": {
  35840. "description": "商品名称",
  35841. "type": "string"
  35842. },
  35843. "marketid": {
  35844. "description": "所属市场ID",
  35845. "type": "integer"
  35846. },
  35847. "marketname": {
  35848. "description": "市场名称",
  35849. "type": "string"
  35850. },
  35851. "trademode": {
  35852. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35853. "type": "integer"
  35854. }
  35855. }
  35856. },
  35857. "models.Systemparam": {
  35858. "type": "object",
  35859. "required": [
  35860. "paramcode"
  35861. ],
  35862. "properties": {
  35863. "loginid": {
  35864. "description": "更新用户账号,登录账号",
  35865. "type": "string"
  35866. },
  35867. "modifyflag": {
  35868. "description": "修改标志0 不允许修改 1 允许修改",
  35869. "type": "integer"
  35870. },
  35871. "paramcode": {
  35872. "description": "参数代码",
  35873. "type": "string"
  35874. },
  35875. "paramname": {
  35876. "description": "参数名",
  35877. "type": "string"
  35878. },
  35879. "paramtype": {
  35880. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  35881. "type": "integer"
  35882. },
  35883. "paramvalue": {
  35884. "description": "参数值",
  35885. "type": "string"
  35886. },
  35887. "paramvalue2": {
  35888. "description": "参数值(CLOB)",
  35889. "type": "string"
  35890. },
  35891. "regexpress": {
  35892. "description": "正则表达式",
  35893. "type": "string"
  35894. },
  35895. "remark": {
  35896. "description": "备注",
  35897. "type": "string"
  35898. },
  35899. "serverip": {
  35900. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  35901. "type": "string"
  35902. },
  35903. "showflag": {
  35904. "description": "是否显示0 不显示 1 显示",
  35905. "type": "integer"
  35906. },
  35907. "updatetime": {
  35908. "description": "更新时间",
  35909. "type": "string"
  35910. },
  35911. "userid": {
  35912. "description": "更新用户ID",
  35913. "type": "integer"
  35914. }
  35915. }
  35916. },
  35917. "models.Szdz3convertconfig": {
  35918. "type": "object",
  35919. "required": [
  35920. "converttype",
  35921. "innergoodsid",
  35922. "outergoodscode"
  35923. ],
  35924. "properties": {
  35925. "canin": {
  35926. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  35927. "type": "integer"
  35928. },
  35929. "canout": {
  35930. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  35931. "type": "integer"
  35932. },
  35933. "converttype": {
  35934. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  35935. "type": "integer"
  35936. },
  35937. "createtime": {
  35938. "description": "创建时间",
  35939. "type": "string"
  35940. },
  35941. "creatorid": {
  35942. "description": "创建人",
  35943. "type": "integer"
  35944. },
  35945. "daymaxvalue": {
  35946. "description": "当日最大转入限制",
  35947. "type": "number"
  35948. },
  35949. "freezedays": {
  35950. "description": "冻结天数 [5:花生米转交易]",
  35951. "type": "integer"
  35952. },
  35953. "innergoodsid": {
  35954. "description": "内部商品ID[交易]",
  35955. "type": "integer"
  35956. },
  35957. "inratio": {
  35958. "description": "目标值",
  35959. "type": "integer"
  35960. },
  35961. "modifierid": {
  35962. "description": "修改人",
  35963. "type": "integer"
  35964. },
  35965. "modifytime": {
  35966. "description": "修改时间",
  35967. "type": "string"
  35968. },
  35969. "outergoodscode": {
  35970. "description": "外部商品代码[JD\\PD]",
  35971. "type": "string"
  35972. },
  35973. "outratio": {
  35974. "description": "源值",
  35975. "type": "integer"
  35976. },
  35977. "pddecimalplace": {
  35978. "description": "PD小数位",
  35979. "type": "integer"
  35980. },
  35981. "timemaxvalue": {
  35982. "description": "单次最大转入限制",
  35983. "type": "number"
  35984. },
  35985. "timeminvalue": {
  35986. "description": "单次最小转入限制",
  35987. "type": "number"
  35988. }
  35989. }
  35990. },
  35991. "models.Szdz3searchwhitelist": {
  35992. "type": "object",
  35993. "required": [
  35994. "userid"
  35995. ],
  35996. "properties": {
  35997. "createtime": {
  35998. "description": "创建时间",
  35999. "type": "string"
  36000. },
  36001. "creatorid": {
  36002. "description": "创建人",
  36003. "type": "integer"
  36004. },
  36005. "modifierid": {
  36006. "description": "修改人",
  36007. "type": "integer"
  36008. },
  36009. "modifytime": {
  36010. "description": "修改时间",
  36011. "type": "string"
  36012. },
  36013. "userid": {
  36014. "description": "用户ID",
  36015. "type": "integer"
  36016. }
  36017. }
  36018. },
  36019. "models.TBGoods": {
  36020. "type": "object",
  36021. "properties": {
  36022. "agreeunit": {
  36023. "description": "合约乘数",
  36024. "type": "number"
  36025. },
  36026. "enumdicname": {
  36027. "description": "单位名称",
  36028. "type": "string"
  36029. },
  36030. "goodscode": {
  36031. "description": "商品代码(内部)",
  36032. "type": "string"
  36033. },
  36034. "goodsid": {
  36035. "description": "商品ID(自增ID SEQ_GOODS)",
  36036. "type": "integer"
  36037. },
  36038. "goodsname": {
  36039. "description": "商品名称",
  36040. "type": "string"
  36041. }
  36042. }
  36043. },
  36044. "models.TBGoodsGroup": {
  36045. "type": "object",
  36046. "properties": {
  36047. "GDLST": {
  36048. "description": "商品列表",
  36049. "type": "array",
  36050. "items": {
  36051. "$ref": "#/definitions/models.TBGoods"
  36052. }
  36053. },
  36054. "convertratio": {
  36055. "description": "折算系数",
  36056. "type": "number"
  36057. },
  36058. "enumdicname": {
  36059. "description": "单位名称",
  36060. "type": "string"
  36061. },
  36062. "exexchangecode": {
  36063. "description": "交易所代码",
  36064. "type": "string"
  36065. },
  36066. "exexchangename": {
  36067. "description": "交易所名称",
  36068. "type": "string"
  36069. },
  36070. "goodsgroupid": {
  36071. "description": "商品组ID(自增ID)",
  36072. "type": "integer"
  36073. },
  36074. "goodsgroupname": {
  36075. "description": "商品组名称",
  36076. "type": "string"
  36077. },
  36078. "goodunitid": {
  36079. "description": "报价单位ID",
  36080. "type": "integer"
  36081. }
  36082. }
  36083. },
  36084. "models.TBMiddleGoods": {
  36085. "type": "object",
  36086. "properties": {
  36087. "GPLST": {
  36088. "description": "期货品种列表",
  36089. "type": "array",
  36090. "items": {
  36091. "$ref": "#/definitions/models.TBGoodsGroup"
  36092. }
  36093. },
  36094. "WDLST": {
  36095. "description": "商品信息列表(现货品类)",
  36096. "type": "array",
  36097. "items": {
  36098. "$ref": "#/definitions/models.TBWrstandard"
  36099. }
  36100. },
  36101. "areauserid": {
  36102. "description": "机构用户ID",
  36103. "type": "integer"
  36104. },
  36105. "enumdicname": {
  36106. "description": "单位名称",
  36107. "type": "string"
  36108. },
  36109. "goodsunitid": {
  36110. "description": "套保品种单位id",
  36111. "type": "integer"
  36112. },
  36113. "middlegoodscode": {
  36114. "description": "套保品种代码",
  36115. "type": "string"
  36116. },
  36117. "middlegoodsid": {
  36118. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  36119. "type": "integer"
  36120. },
  36121. "middlegoodsname": {
  36122. "description": "套保品种名称",
  36123. "type": "string"
  36124. },
  36125. "needarbitrageratio": {
  36126. "description": "套利比率",
  36127. "type": "number"
  36128. },
  36129. "needhedgeratio": {
  36130. "description": "套保比率",
  36131. "type": "number"
  36132. }
  36133. }
  36134. },
  36135. "models.TBWrstandard": {
  36136. "type": "object",
  36137. "properties": {
  36138. "convertratio": {
  36139. "description": "折算系数",
  36140. "type": "number"
  36141. },
  36142. "deliverygoodsname": {
  36143. "description": "品种名称",
  36144. "type": "string"
  36145. },
  36146. "enumdicname": {
  36147. "description": "单位名称",
  36148. "type": "string"
  36149. },
  36150. "vatrate": {
  36151. "description": "增值税率",
  36152. "type": "number"
  36153. },
  36154. "wrstandardcode": {
  36155. "description": "现货商品代码",
  36156. "type": "string"
  36157. },
  36158. "wrstandardid": {
  36159. "description": "现货商品ID(SEQ_WRSTANDARD)",
  36160. "type": "integer"
  36161. },
  36162. "wrstandardname": {
  36163. "description": "现货商品名称",
  36164. "type": "string"
  36165. }
  36166. }
  36167. },
  36168. "models.Taaccount": {
  36169. "type": "object",
  36170. "required": [
  36171. "accountid",
  36172. "userid"
  36173. ],
  36174. "properties": {
  36175. "accountflag": {
  36176. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  36177. "type": "integer"
  36178. },
  36179. "accountid": {
  36180. "description": "资金账户ID",
  36181. "type": "integer"
  36182. },
  36183. "accountname": {
  36184. "description": "账户名称",
  36185. "type": "string"
  36186. },
  36187. "balance": {
  36188. "description": "期初余额",
  36189. "type": "number"
  36190. },
  36191. "capitalbalance": {
  36192. "description": "本金余额[外部子账户实际出入金余额]",
  36193. "type": "number"
  36194. },
  36195. "changeflag": {
  36196. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  36197. "type": "integer"
  36198. },
  36199. "changetime": {
  36200. "description": "账户状态变更时间",
  36201. "type": "string"
  36202. },
  36203. "closepl": {
  36204. "description": "今日平仓盈亏",
  36205. "type": "number"
  36206. },
  36207. "creditdecrease": {
  36208. "description": "今日授信减少",
  36209. "type": "number"
  36210. },
  36211. "creditincrease": {
  36212. "description": "今日授信增加",
  36213. "type": "number"
  36214. },
  36215. "curamount": {
  36216. "description": "总市值(从持仓中统计)",
  36217. "type": "number"
  36218. },
  36219. "currencyid": {
  36220. "description": "货币ID",
  36221. "type": "integer"
  36222. },
  36223. "currentbalance": {
  36224. "description": "期末余额",
  36225. "type": "number"
  36226. },
  36227. "freezecharge": {
  36228. "description": "手续费冻结",
  36229. "type": "number"
  36230. },
  36231. "freezemargin": {
  36232. "description": "冻结保证金",
  36233. "type": "number"
  36234. },
  36235. "fromaccountid": {
  36236. "description": "所属上级账户",
  36237. "type": "integer"
  36238. },
  36239. "inamount": {
  36240. "description": "今日入金金额(包括三方入金)",
  36241. "type": "number"
  36242. },
  36243. "ismain": {
  36244. "description": "是否母账号 0:不是母账户 1:是母账户",
  36245. "type": "integer"
  36246. },
  36247. "ismarketaccount": {
  36248. "description": "是否机构接单账号 0:不是 1:是",
  36249. "type": "integer"
  36250. },
  36251. "isreckonaccount": {
  36252. "description": "是否机构分润账号 0:不是 1:是",
  36253. "type": "integer"
  36254. },
  36255. "mortgagecredit": {
  36256. "description": "授信金额",
  36257. "type": "number"
  36258. },
  36259. "orifreezecharge": {
  36260. "description": "期初手续费冻结",
  36261. "type": "number"
  36262. },
  36263. "orifreezemargin": {
  36264. "description": "期初冻结保证金",
  36265. "type": "number"
  36266. },
  36267. "orimortgagecredit": {
  36268. "description": "期初授信金额",
  36269. "type": "number"
  36270. },
  36271. "oriothercredit": {
  36272. "description": "期初其它授信金额",
  36273. "type": "number"
  36274. },
  36275. "oriotherfreezemargin": {
  36276. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  36277. "type": "number"
  36278. },
  36279. "orioutamountfreeze": {
  36280. "description": "期初出金冻结",
  36281. "type": "number"
  36282. },
  36283. "oriusedmargin": {
  36284. "description": "期初占用保证金",
  36285. "type": "number"
  36286. },
  36287. "othercredit": {
  36288. "description": "其它授信金额",
  36289. "type": "number"
  36290. },
  36291. "othercreditdecrease": {
  36292. "description": "今日其它授信减少",
  36293. "type": "number"
  36294. },
  36295. "othercreditincrease": {
  36296. "description": "今日其它授信增加",
  36297. "type": "number"
  36298. },
  36299. "otherfreezemargin": {
  36300. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  36301. "type": "number"
  36302. },
  36303. "otherincome": {
  36304. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  36305. "type": "number"
  36306. },
  36307. "otherpay": {
  36308. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  36309. "type": "number"
  36310. },
  36311. "outamount": {
  36312. "description": "今日出金金额(包括三方出金)",
  36313. "type": "number"
  36314. },
  36315. "outamountfreeze": {
  36316. "description": "出金冻结",
  36317. "type": "number"
  36318. },
  36319. "outthreshold": {
  36320. "description": "出金阈值",
  36321. "type": "number"
  36322. },
  36323. "parentaccountid": {
  36324. "description": "所属根账号",
  36325. "type": "integer"
  36326. },
  36327. "paycharge": {
  36328. "description": "今日手续费支出",
  36329. "type": "number"
  36330. },
  36331. "relatedaccountstatus": {
  36332. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  36333. "type": "integer"
  36334. },
  36335. "relateduserid": {
  36336. "description": "关联用户",
  36337. "type": "integer"
  36338. },
  36339. "remainamount": {
  36340. "description": "融资额(从融资合同中统计)",
  36341. "type": "number"
  36342. },
  36343. "serivcegroup": {
  36344. "description": "服务分组",
  36345. "type": "integer"
  36346. },
  36347. "signstatus": {
  36348. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  36349. "type": "integer"
  36350. },
  36351. "sublevelpath": {
  36352. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  36353. "type": "string"
  36354. },
  36355. "taaccounttype": {
  36356. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  36357. "type": "integer"
  36358. },
  36359. "thirdinamount": {
  36360. "description": "今日三方入金",
  36361. "type": "number"
  36362. },
  36363. "thirdoutamount": {
  36364. "description": "今日三方出金",
  36365. "type": "number"
  36366. },
  36367. "tradestatus": {
  36368. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  36369. "type": "integer"
  36370. },
  36371. "tradestatuschangetime": {
  36372. "description": "激活时间",
  36373. "type": "string"
  36374. },
  36375. "transferamount": {
  36376. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  36377. "type": "number"
  36378. },
  36379. "usedmargin": {
  36380. "description": "占用保证金",
  36381. "type": "number"
  36382. },
  36383. "userid": {
  36384. "description": "用户ID",
  36385. "type": "integer"
  36386. }
  36387. }
  36388. },
  36389. "models.Tablecolumnconfig": {
  36390. "type": "object",
  36391. "required": [
  36392. "autoid"
  36393. ],
  36394. "properties": {
  36395. "aligntype": {
  36396. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  36397. "type": "integer"
  36398. },
  36399. "autoid": {
  36400. "description": "AutoID",
  36401. "type": "integer"
  36402. },
  36403. "columnfield": {
  36404. "description": "列字段",
  36405. "type": "string"
  36406. },
  36407. "columntitle": {
  36408. "description": "列Title",
  36409. "type": "string"
  36410. },
  36411. "columnwidth": {
  36412. "description": "列宽",
  36413. "type": "string"
  36414. },
  36415. "formatterstring": {
  36416. "description": "格式化字符",
  36417. "type": "string"
  36418. },
  36419. "formattertype": {
  36420. "description": "格式化类型",
  36421. "type": "string"
  36422. },
  36423. "groupname": {
  36424. "description": "表头分组名称",
  36425. "type": "string"
  36426. },
  36427. "isshow": {
  36428. "description": "是否显示 - 0:不显示 1:显示",
  36429. "type": "integer"
  36430. },
  36431. "needsummary": {
  36432. "description": "是否需要汇总 - 0:不需要 1:需要",
  36433. "type": "integer"
  36434. },
  36435. "orderindex": {
  36436. "description": "顺序",
  36437. "type": "integer"
  36438. },
  36439. "remark": {
  36440. "description": "备注",
  36441. "type": "string"
  36442. },
  36443. "summarytype": {
  36444. "description": "汇总类型 - 1:加总 2:最后一个",
  36445. "type": "integer"
  36446. },
  36447. "tablekey": {
  36448. "description": "列表Key",
  36449. "type": "string"
  36450. }
  36451. }
  36452. },
  36453. "models.TjmdHolderDetailTradeInfo": {
  36454. "type": "object",
  36455. "properties": {
  36456. "agreeunit": {
  36457. "description": "合约乘数",
  36458. "type": "number"
  36459. },
  36460. "buyaccountid": {
  36461. "description": "买方账户",
  36462. "type": "string"
  36463. },
  36464. "buyusername": {
  36465. "description": "买方",
  36466. "type": "string"
  36467. },
  36468. "delistingdate": {
  36469. "description": "最后结算日",
  36470. "type": "string"
  36471. },
  36472. "expiredate": {
  36473. "description": "到期结算价定价日",
  36474. "type": "string"
  36475. },
  36476. "exprieprice": {
  36477. "description": "到期清算价格",
  36478. "type": "string"
  36479. },
  36480. "goodscode": {
  36481. "description": "商品代码",
  36482. "type": "string"
  36483. },
  36484. "goodsid": {
  36485. "description": "商品ID",
  36486. "type": "integer"
  36487. },
  36488. "goodsname": {
  36489. "description": "商品名称(交易标的)",
  36490. "type": "string"
  36491. },
  36492. "lasttradedate": {
  36493. "description": "最后交易日",
  36494. "type": "string"
  36495. },
  36496. "listingdate": {
  36497. "description": "开始交易日",
  36498. "type": "string"
  36499. },
  36500. "openprice": {
  36501. "description": "成交价",
  36502. "type": "number"
  36503. },
  36504. "openqty": {
  36505. "description": "交易数量",
  36506. "type": "integer"
  36507. },
  36508. "sellaccountid": {
  36509. "description": "卖方账户",
  36510. "type": "string"
  36511. },
  36512. "sellusername": {
  36513. "description": "卖方",
  36514. "type": "string"
  36515. },
  36516. "tradeamount": {
  36517. "description": "初始名义价值",
  36518. "type": "number"
  36519. },
  36520. "tradedate": {
  36521. "description": "成交日期",
  36522. "type": "string"
  36523. },
  36524. "tradeid": {
  36525. "description": "成交编号",
  36526. "type": "string"
  36527. }
  36528. }
  36529. },
  36530. "models.TjmdMarketSection": {
  36531. "type": "object",
  36532. "properties": {
  36533. "marketsectionid": {
  36534. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36535. "type": "integer"
  36536. },
  36537. "marketsectionname": {
  36538. "description": "市场版块名称",
  36539. "type": "string"
  36540. },
  36541. "mlist": {
  36542. "description": "市场列表(板块下面有多少个市场)",
  36543. "type": "array",
  36544. "items": {
  36545. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  36546. }
  36547. },
  36548. "orderindex": {
  36549. "description": "排序",
  36550. "type": "integer"
  36551. },
  36552. "pictureurl": {
  36553. "description": "图片url, 规格(90*90)",
  36554. "type": "string"
  36555. },
  36556. "remark": {
  36557. "description": "备注",
  36558. "type": "string"
  36559. }
  36560. }
  36561. },
  36562. "models.TjmdMarketSectionConfig": {
  36563. "type": "object",
  36564. "properties": {
  36565. "auctionwrtype": {
  36566. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  36567. "type": "integer"
  36568. },
  36569. "canacceptquote": {
  36570. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36571. "type": "integer"
  36572. },
  36573. "cangoodsexercise": {
  36574. "description": "[期权]是否可现货行权- 0:否 1:是",
  36575. "type": "integer"
  36576. },
  36577. "cangoodsexercisetype": {
  36578. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36579. "type": "integer"
  36580. },
  36581. "canmanualquotestrike": {
  36582. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36583. "type": "integer"
  36584. },
  36585. "canmutistage": {
  36586. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36587. "type": "integer"
  36588. },
  36589. "canpreexercise": {
  36590. "description": "[期权]是否可预申报- 0:否 1:是",
  36591. "type": "integer"
  36592. },
  36593. "clearinterval": {
  36594. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36595. "type": "integer"
  36596. },
  36597. "contracttmp": {
  36598. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36599. "type": "string"
  36600. },
  36601. "exchareaid": {
  36602. "description": "所属交易所,可以没有",
  36603. "type": "integer"
  36604. },
  36605. "financemarketid": {
  36606. "description": "融资回购市场ID [仓单贸易]",
  36607. "type": "integer"
  36608. },
  36609. "goodstype": {
  36610. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36611. "type": "integer"
  36612. },
  36613. "hasrebate": {
  36614. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36615. "type": "integer"
  36616. },
  36617. "hastradecredit": {
  36618. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36619. "type": "integer"
  36620. },
  36621. "haswr": {
  36622. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  36623. "type": "integer"
  36624. },
  36625. "isdeductmargin": {
  36626. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  36627. "type": "integer"
  36628. },
  36629. "isrecordsource": {
  36630. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  36631. "type": "integer"
  36632. },
  36633. "isreleasemargin": {
  36634. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  36635. "type": "integer"
  36636. },
  36637. "isupdatereckonprice": {
  36638. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  36639. "type": "integer"
  36640. },
  36641. "listingmode": {
  36642. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36643. "type": "integer"
  36644. },
  36645. "marginformula": {
  36646. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36647. "type": "integer"
  36648. },
  36649. "marginformula2": {
  36650. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36651. "type": "integer"
  36652. },
  36653. "marketid": {
  36654. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  36655. "type": "integer"
  36656. },
  36657. "marketname": {
  36658. "description": "市场名称",
  36659. "type": "string"
  36660. },
  36661. "marketsectionid": {
  36662. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36663. "type": "integer"
  36664. },
  36665. "marketserviceid": {
  36666. "description": "市场服务ID",
  36667. "type": "integer"
  36668. },
  36669. "marketstatus": {
  36670. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  36671. "type": "integer"
  36672. },
  36673. "markettype": {
  36674. "description": "市场类型- 1:非交易服务 2:交易服务",
  36675. "type": "integer"
  36676. },
  36677. "matchermode": {
  36678. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  36679. "type": "integer"
  36680. },
  36681. "nowrquotaflag": {
  36682. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  36683. "type": "integer"
  36684. },
  36685. "openmethod": {
  36686. "description": "开盘模式 - 0 自动 1手动",
  36687. "type": "integer"
  36688. },
  36689. "orderindex": {
  36690. "description": "排序",
  36691. "type": "integer"
  36692. },
  36693. "otcuserid": {
  36694. "description": "场外期权做市商[场外期权]",
  36695. "type": "integer"
  36696. },
  36697. "outersynctime": {
  36698. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  36699. "type": "string"
  36700. },
  36701. "paylaterflag": {
  36702. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  36703. "type": "integer"
  36704. },
  36705. "pendingflag": {
  36706. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  36707. "type": "integer"
  36708. },
  36709. "pendingtime": {
  36710. "description": "待开市时间[通道交易-对冲](HH:mm)",
  36711. "type": "string"
  36712. },
  36713. "performancetempid": {
  36714. "description": "履约计划模板ID - 作废",
  36715. "type": "integer"
  36716. },
  36717. "premiumquotemode": {
  36718. "description": "权利金报价方式 - 1:自动 2:手动",
  36719. "type": "integer"
  36720. },
  36721. "rebateratio": {
  36722. "description": "返利比率[竞价式]",
  36723. "type": "number"
  36724. },
  36725. "reckonorder": {
  36726. "description": "结算顺序",
  36727. "type": "integer"
  36728. },
  36729. "reckonpricealgorithm": {
  36730. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  36731. "type": "integer"
  36732. },
  36733. "reckonpriceparam": {
  36734. "description": "结算价参数",
  36735. "type": "integer"
  36736. },
  36737. "reckontime": {
  36738. "description": "结算时间[通道交易-对冲](HH:mm)",
  36739. "type": "string"
  36740. },
  36741. "roleprioritytype": {
  36742. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  36743. "type": "integer"
  36744. },
  36745. "selllistingauditflag": {
  36746. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  36747. "type": "integer"
  36748. },
  36749. "trademarkettype": {
  36750. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  36751. "type": "integer"
  36752. },
  36753. "trademode": {
  36754. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36755. "type": "integer"
  36756. },
  36757. "tradeproperty": {
  36758. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  36759. "type": "integer"
  36760. },
  36761. "tradetype": {
  36762. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  36763. "type": "integer"
  36764. },
  36765. "updatereckonpriceinterval": {
  36766. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  36767. "type": "integer"
  36768. }
  36769. }
  36770. },
  36771. "models.TjmdQuoteGoods": {
  36772. "type": "object",
  36773. "properties": {
  36774. "buyqty": {
  36775. "description": "买量(暂不做, 无值, 保留字段)",
  36776. "type": "number"
  36777. },
  36778. "decimalplace": {
  36779. "description": "报价小数位",
  36780. "type": "integer"
  36781. },
  36782. "goodscode": {
  36783. "description": "合约代码",
  36784. "type": "string"
  36785. },
  36786. "goodsgroupid": {
  36787. "description": "商品组ID(自增ID)",
  36788. "type": "integer"
  36789. },
  36790. "goodsgroupname": {
  36791. "description": "商品组名称",
  36792. "type": "string"
  36793. },
  36794. "goodsid": {
  36795. "description": "合约id",
  36796. "type": "integer"
  36797. },
  36798. "goodsname": {
  36799. "description": "合约名称",
  36800. "type": "string"
  36801. },
  36802. "refgoodscode": {
  36803. "description": "标的合约代码",
  36804. "type": "string"
  36805. },
  36806. "refgoodsid": {
  36807. "description": "标的合约id",
  36808. "type": "integer"
  36809. },
  36810. "refgoodsname": {
  36811. "description": "标的合约名称",
  36812. "type": "string"
  36813. },
  36814. "sellqty": {
  36815. "description": "卖量(暂不做, 无值, 保留字段)",
  36816. "type": "number"
  36817. }
  36818. }
  36819. },
  36820. "models.TjmdTodayAccountMargin": {
  36821. "type": "object",
  36822. "properties": {
  36823. "accountid": {
  36824. "description": "账号ID",
  36825. "type": "integer"
  36826. },
  36827. "goodsid": {
  36828. "description": "商品ID",
  36829. "type": "integer"
  36830. },
  36831. "infoc": {
  36832. "description": "配置参数",
  36833. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  36834. },
  36835. "marketid": {
  36836. "description": "市场ID",
  36837. "type": "integer"
  36838. }
  36839. }
  36840. },
  36841. "models.TjmdTradeOrderDetail": {
  36842. "type": "object",
  36843. "properties": {
  36844. "buyorsell": {
  36845. "description": "买卖方向 0-买 1-卖",
  36846. "type": "integer"
  36847. },
  36848. "goodsid": {
  36849. "description": "商品id",
  36850. "type": "integer"
  36851. },
  36852. "marketmaxsub": {
  36853. "description": "市价最大偏移范围 [浮动价 - 点差]",
  36854. "type": "number"
  36855. },
  36856. "orderid": {
  36857. "description": "委托单号",
  36858. "type": "string"
  36859. },
  36860. "orderprice": {
  36861. "description": "委托价格",
  36862. "type": "number"
  36863. },
  36864. "orderqty": {
  36865. "description": "委托数量",
  36866. "type": "integer"
  36867. },
  36868. "pricemode": {
  36869. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  36870. "type": "integer"
  36871. },
  36872. "userid": {
  36873. "description": "用户id",
  36874. "type": "integer"
  36875. },
  36876. "username": {
  36877. "description": "用户名称(已脱敏)",
  36878. "type": "string"
  36879. }
  36880. }
  36881. },
  36882. "models.TjmdTransferApply": {
  36883. "type": "object",
  36884. "properties": {
  36885. "applyid": {
  36886. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  36887. "type": "integer"
  36888. },
  36889. "applystatus": {
  36890. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  36891. "type": "integer"
  36892. },
  36893. "applytime": {
  36894. "description": "申请时间(时间)",
  36895. "type": "string"
  36896. },
  36897. "auditremark": {
  36898. "description": "审核备注(拒绝原因?)",
  36899. "type": "string"
  36900. },
  36901. "begindate": {
  36902. "description": "开始交易日(yyyymmdd)",
  36903. "type": "string"
  36904. },
  36905. "buyorsell": {
  36906. "description": "买卖 - 0:买 1:卖",
  36907. "type": "integer"
  36908. },
  36909. "enddate": {
  36910. "description": "结束交易日(yyyymmdd)",
  36911. "type": "string"
  36912. },
  36913. "goodscode": {
  36914. "description": "商品代码",
  36915. "type": "string"
  36916. },
  36917. "goodsid": {
  36918. "description": "商品ID",
  36919. "type": "integer"
  36920. },
  36921. "goodsname": {
  36922. "description": "商品名称",
  36923. "type": "string"
  36924. },
  36925. "marketid": {
  36926. "description": "市场ID",
  36927. "type": "integer"
  36928. },
  36929. "qty": {
  36930. "description": "转让数量(数量)",
  36931. "type": "number"
  36932. },
  36933. "tradeid": {
  36934. "description": "成交单号(关联持仓)",
  36935. "type": "string"
  36936. },
  36937. "transferamount": {
  36938. "description": "转让总金额(金额)",
  36939. "type": "number"
  36940. },
  36941. "transferprice": {
  36942. "description": "转让价格(协议价格)",
  36943. "type": "number"
  36944. }
  36945. }
  36946. },
  36947. "models.TradeHolderDetail": {
  36948. "type": "object",
  36949. "properties": {
  36950. "accountid": {
  36951. "description": "账号ID",
  36952. "type": "integer"
  36953. },
  36954. "agreeunit": {
  36955. "description": "合约乘数",
  36956. "type": "number"
  36957. },
  36958. "buyorsell": {
  36959. "description": "方向 - 0:买 1:卖",
  36960. "type": "integer"
  36961. },
  36962. "currencyid": {
  36963. "description": "商品币种id",
  36964. "type": "integer"
  36965. },
  36966. "currencyname": {
  36967. "description": "币种名称",
  36968. "type": "string"
  36969. },
  36970. "decimalplace": {
  36971. "description": "商品价格小数位",
  36972. "type": "integer"
  36973. },
  36974. "enumdicname": {
  36975. "description": "商品单位名称",
  36976. "type": "string"
  36977. },
  36978. "expirecycle": {
  36979. "description": "行权周期(天) - 1:滚动行权时填写",
  36980. "type": "integer"
  36981. },
  36982. "expiredate": {
  36983. "description": "行权日(yyyyMMdd) - 到期日",
  36984. "type": "string"
  36985. },
  36986. "expiretype": {
  36987. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  36988. "type": "integer"
  36989. },
  36990. "freezeqty": {
  36991. "description": "冻结数量",
  36992. "type": "number"
  36993. },
  36994. "goodscode": {
  36995. "description": "商品代码",
  36996. "type": "string"
  36997. },
  36998. "goodsid": {
  36999. "description": "商品ID",
  37000. "type": "integer"
  37001. },
  37002. "goodsname": {
  37003. "description": "商品名称",
  37004. "type": "string"
  37005. },
  37006. "goodunitid": {
  37007. "description": "商品单位id",
  37008. "type": "integer"
  37009. },
  37010. "holderamount": {
  37011. "description": "持仓金额",
  37012. "type": "number"
  37013. },
  37014. "holdercredit": {
  37015. "description": "持仓授信金额",
  37016. "type": "number"
  37017. },
  37018. "holderdays": {
  37019. "description": "剩余冻结天数",
  37020. "type": "integer"
  37021. },
  37022. "holderprice": {
  37023. "description": "持仓价格",
  37024. "type": "number"
  37025. },
  37026. "holderqty": {
  37027. "description": "持仓数量",
  37028. "type": "number"
  37029. },
  37030. "isconfirmexercise": {
  37031. "description": "是否确认行权- 0:否 1:是",
  37032. "type": "integer"
  37033. },
  37034. "ispreexercise": {
  37035. "description": "是否预申报- 0:否 1:是 2:不可行权",
  37036. "type": "integer"
  37037. },
  37038. "marketid": {
  37039. "description": "市场id",
  37040. "type": "integer"
  37041. },
  37042. "marketname": {
  37043. "description": "市场名称",
  37044. "type": "string"
  37045. },
  37046. "openprice": {
  37047. "description": "建仓价格",
  37048. "type": "number"
  37049. },
  37050. "openqty": {
  37051. "description": "建仓数量",
  37052. "type": "number"
  37053. },
  37054. "optiontype": {
  37055. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37056. "type": "integer"
  37057. },
  37058. "preexerciseprice": {
  37059. "description": "预申报价格",
  37060. "type": "number"
  37061. },
  37062. "premium": {
  37063. "description": "权利金",
  37064. "type": "number"
  37065. },
  37066. "qtydecimalplace": {
  37067. "description": "商品成交量小数位",
  37068. "type": "integer"
  37069. },
  37070. "refgoodscode": {
  37071. "description": "标的合约代码",
  37072. "type": "string"
  37073. },
  37074. "refgoodsid": {
  37075. "description": "标的合约id",
  37076. "type": "integer"
  37077. },
  37078. "releaseamount": {
  37079. "description": "释放持仓金额",
  37080. "type": "number"
  37081. },
  37082. "releaseholdercredit": {
  37083. "description": "释放持仓授信金额",
  37084. "type": "number"
  37085. },
  37086. "taname": {
  37087. "description": "资金账号名称",
  37088. "type": "string"
  37089. },
  37090. "tradeamount": {
  37091. "description": "成交金额",
  37092. "type": "number"
  37093. },
  37094. "tradedate": {
  37095. "description": "交易日(yyyyMMdd)",
  37096. "type": "string"
  37097. },
  37098. "tradeid": {
  37099. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37100. "type": "string"
  37101. },
  37102. "trademode": {
  37103. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  37104. "type": "integer"
  37105. },
  37106. "tradeproperty": {
  37107. "description": "交易属性",
  37108. "type": "integer"
  37109. },
  37110. "tradetime": {
  37111. "description": "交易时间",
  37112. "type": "string"
  37113. },
  37114. "userid": {
  37115. "description": "用户id",
  37116. "type": "integer"
  37117. },
  37118. "username": {
  37119. "description": "用户名称",
  37120. "type": "string"
  37121. }
  37122. }
  37123. },
  37124. "models.Unlinkermcphedgeplan": {
  37125. "type": "object",
  37126. "required": [
  37127. "areauserid"
  37128. ],
  37129. "properties": {
  37130. "accountid": {
  37131. "description": "期货账户ID - 作废",
  37132. "type": "integer"
  37133. },
  37134. "accountname": {
  37135. "description": "交易用户",
  37136. "type": "string"
  37137. },
  37138. "applyid": {
  37139. "description": "申请人",
  37140. "type": "integer"
  37141. },
  37142. "applysrc": {
  37143. "description": "申请来源 - 1:管理端 2:终端",
  37144. "type": "integer"
  37145. },
  37146. "applytime": {
  37147. "description": "申请时间",
  37148. "type": "string"
  37149. },
  37150. "areauserid": {
  37151. "description": "[企业ID]机构ID",
  37152. "type": "integer"
  37153. },
  37154. "auditid": {
  37155. "description": "审核人",
  37156. "type": "integer"
  37157. },
  37158. "auditremark": {
  37159. "description": "审核备注",
  37160. "type": "string"
  37161. },
  37162. "auditsrc": {
  37163. "description": "审核来源 - 1:管理端 2:终端",
  37164. "type": "integer"
  37165. },
  37166. "audittime": {
  37167. "description": "审核时间",
  37168. "type": "string"
  37169. },
  37170. "audittradedate": {
  37171. "description": "审核交易日(yyyyMMdd)",
  37172. "type": "string"
  37173. },
  37174. "biztype": {
  37175. "description": "业务类型 - 1:套保",
  37176. "type": "integer"
  37177. },
  37178. "contracttype": {
  37179. "description": "计划类型 - 1:采购 -1:销售",
  37180. "type": "integer"
  37181. },
  37182. "convertfactor": {
  37183. "description": "标仓系数 - 作废",
  37184. "type": "number"
  37185. },
  37186. "createtime": {
  37187. "description": "创建时间",
  37188. "type": "string"
  37189. },
  37190. "currencyid": {
  37191. "description": "结算币种ID - 作废",
  37192. "type": "integer"
  37193. },
  37194. "deliverygoodsid": {
  37195. "description": "现货品种ID",
  37196. "type": "integer"
  37197. },
  37198. "enumdicname": {
  37199. "description": "结算币种",
  37200. "type": "string"
  37201. },
  37202. "hedgeplanid": {
  37203. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  37204. "type": "string"
  37205. },
  37206. "hedgeplanno": {
  37207. "description": "[计划编号]套保计划编号,模糊查询",
  37208. "type": "string"
  37209. },
  37210. "hedgeplanstatus": {
  37211. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  37212. "type": "integer"
  37213. },
  37214. "isrelated": {
  37215. "description": "是否已关联计划项目 - 0:否 1:是",
  37216. "type": "integer"
  37217. },
  37218. "planqty": {
  37219. "description": "[计划量]计划数量",
  37220. "type": "number"
  37221. },
  37222. "plantime": {
  37223. "description": "计划时间",
  37224. "type": "string"
  37225. },
  37226. "producttype": {
  37227. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  37228. "type": "integer"
  37229. },
  37230. "remark": {
  37231. "description": "备注",
  37232. "type": "string"
  37233. },
  37234. "spotgoodsdesc": {
  37235. "description": "商品型号",
  37236. "type": "string"
  37237. },
  37238. "tradedate": {
  37239. "description": "交易日(yyyyMMdd)",
  37240. "type": "string"
  37241. },
  37242. "tradeuserid": {
  37243. "description": "交易用户ID",
  37244. "type": "integer"
  37245. },
  37246. "updatetime": {
  37247. "description": "更新时间",
  37248. "type": "string"
  37249. },
  37250. "wrstandardid": {
  37251. "description": "现货商品ID",
  37252. "type": "integer"
  37253. },
  37254. "wrstandardname": {
  37255. "description": "现货商品,模糊查询",
  37256. "type": "string"
  37257. }
  37258. }
  37259. },
  37260. "models.UserCollectConfig": {
  37261. "type": "object",
  37262. "properties": {
  37263. "accountstatus": {
  37264. "description": "账户状态 - 1:正常 2:停用 3:注销",
  37265. "type": "integer"
  37266. },
  37267. "collectaccountname": {
  37268. "description": "收款人账户名称",
  37269. "type": "string"
  37270. },
  37271. "collectaccountno": {
  37272. "description": "收款人账户",
  37273. "type": "string"
  37274. },
  37275. "collectbankname": {
  37276. "description": "收款人开户行",
  37277. "type": "string"
  37278. },
  37279. "collectbranchbankname": {
  37280. "description": "收款人开户支行",
  37281. "type": "string"
  37282. },
  37283. "collectconfigid": {
  37284. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  37285. "type": "string"
  37286. },
  37287. "remark": {
  37288. "description": "备注",
  37289. "type": "string"
  37290. },
  37291. "userid": {
  37292. "description": "收款人用户ID",
  37293. "type": "integer"
  37294. }
  37295. }
  37296. },
  37297. "models.UserReceiveInfo": {
  37298. "type": "object",
  37299. "properties": {
  37300. "address": {
  37301. "description": "提货人详细地址",
  37302. "type": "string"
  37303. },
  37304. "autoid": {
  37305. "description": "AutoID",
  37306. "type": "integer"
  37307. },
  37308. "cardnum": {
  37309. "description": "证件号码(加密存储)",
  37310. "type": "string"
  37311. },
  37312. "cardtypeid": {
  37313. "description": "证件类型",
  37314. "type": "integer"
  37315. },
  37316. "cityid": {
  37317. "description": "市",
  37318. "type": "integer"
  37319. },
  37320. "cityname": {
  37321. "description": "城市名称",
  37322. "type": "string"
  37323. },
  37324. "countryid": {
  37325. "description": "国家",
  37326. "type": "integer"
  37327. },
  37328. "countryname": {
  37329. "description": "国家名称",
  37330. "type": "string"
  37331. },
  37332. "districtid": {
  37333. "description": "地区",
  37334. "type": "integer"
  37335. },
  37336. "districtname": {
  37337. "description": "地区名称",
  37338. "type": "string"
  37339. },
  37340. "hasencrypt": {
  37341. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37342. "type": "integer"
  37343. },
  37344. "isdefault": {
  37345. "description": "是否默认地址 - 0:否 1:是",
  37346. "type": "integer"
  37347. },
  37348. "phonenum": {
  37349. "description": "提货人联系方式(加密存储)",
  37350. "type": "string"
  37351. },
  37352. "provinceid": {
  37353. "description": "省",
  37354. "type": "integer"
  37355. },
  37356. "provincename": {
  37357. "description": "省名称",
  37358. "type": "string"
  37359. },
  37360. "receivername": {
  37361. "description": "提货人姓名",
  37362. "type": "string"
  37363. },
  37364. "takeremark": {
  37365. "description": "提货备注",
  37366. "type": "string"
  37367. },
  37368. "userid": {
  37369. "description": "用户ID",
  37370. "type": "integer"
  37371. }
  37372. }
  37373. },
  37374. "models.Useraccount": {
  37375. "type": "object",
  37376. "required": [
  37377. "userid"
  37378. ],
  37379. "properties": {
  37380. "accountname": {
  37381. "description": "账户名称(机构名称)",
  37382. "type": "string"
  37383. },
  37384. "accountstatus": {
  37385. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37386. "type": "integer"
  37387. },
  37388. "applysrc": {
  37389. "description": "申请来源 - 1:管理端 2:终端",
  37390. "type": "integer"
  37391. },
  37392. "auditremark": {
  37393. "description": "审核备注",
  37394. "type": "string"
  37395. },
  37396. "auditsrc": {
  37397. "description": "审核来源 - 1:管理端 2:终端",
  37398. "type": "integer"
  37399. },
  37400. "audittime": {
  37401. "description": "审核时间",
  37402. "type": "string"
  37403. },
  37404. "audituserid": {
  37405. "description": "审核人",
  37406. "type": "integer"
  37407. },
  37408. "broker": {
  37409. "description": "所属经纪人ID",
  37410. "type": "integer"
  37411. },
  37412. "canceltime": {
  37413. "description": "销户时间",
  37414. "type": "string"
  37415. },
  37416. "canceluserid": {
  37417. "description": "销户人",
  37418. "type": "integer"
  37419. },
  37420. "canrecommend": {
  37421. "description": "是否可推荐 - 0:不可 1;可",
  37422. "type": "integer"
  37423. },
  37424. "createtime": {
  37425. "description": "创建时间",
  37426. "type": "string"
  37427. },
  37428. "creatorid": {
  37429. "description": "创建人",
  37430. "type": "integer"
  37431. },
  37432. "hasauth": {
  37433. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  37434. "type": "integer"
  37435. },
  37436. "isanonymous": {
  37437. "description": "是否匿名下单 - 0:否 1:是",
  37438. "type": "integer"
  37439. },
  37440. "maxinvestornum": {
  37441. "description": "最大用户数(经纪会员下投资者个数)",
  37442. "type": "integer"
  37443. },
  37444. "memberuserid": {
  37445. "description": "所属会员ID",
  37446. "type": "integer"
  37447. },
  37448. "modifierid": {
  37449. "description": "修改人",
  37450. "type": "integer"
  37451. },
  37452. "modifyremark": {
  37453. "description": "变更备注",
  37454. "type": "string"
  37455. },
  37456. "modifystatus": {
  37457. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  37458. "type": "integer"
  37459. },
  37460. "modifytime": {
  37461. "description": "修改时间",
  37462. "type": "string"
  37463. },
  37464. "parenttopuser": {
  37465. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37466. "type": "string"
  37467. },
  37468. "parentuserid": {
  37469. "description": "所属机构ID",
  37470. "type": "integer"
  37471. },
  37472. "reckonaccountid": {
  37473. "description": "默认结算资金账号ID(机构分润使用) 作废",
  37474. "type": "integer"
  37475. },
  37476. "refercount": {
  37477. "description": "推荐总人数",
  37478. "type": "integer"
  37479. },
  37480. "refereeuserid": {
  37481. "description": "推荐人ID",
  37482. "type": "integer"
  37483. },
  37484. "refernum": {
  37485. "description": "推荐码",
  37486. "type": "string"
  37487. },
  37488. "rootuserid": {
  37489. "description": "根用户ID",
  37490. "type": "integer"
  37491. },
  37492. "subaccountlevel": {
  37493. "description": "子账户层数",
  37494. "type": "integer"
  37495. },
  37496. "subarealevelpath": {
  37497. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37498. "type": "string"
  37499. },
  37500. "userid": {
  37501. "description": "用户ID",
  37502. "type": "integer"
  37503. },
  37504. "usertype": {
  37505. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37506. "type": "integer"
  37507. }
  37508. }
  37509. },
  37510. "models.Userfavoritegoods": {
  37511. "type": "object",
  37512. "required": [
  37513. "goodsid"
  37514. ],
  37515. "properties": {
  37516. "goodsid": {
  37517. "description": "商品ID",
  37518. "type": "integer"
  37519. }
  37520. }
  37521. },
  37522. "models.Userinfo": {
  37523. "type": "object",
  37524. "required": [
  37525. "userid"
  37526. ],
  37527. "properties": {
  37528. "address": {
  37529. "description": "地址",
  37530. "type": "string"
  37531. },
  37532. "attachment1": {
  37533. "description": "附件1",
  37534. "type": "string"
  37535. },
  37536. "attachment2": {
  37537. "description": "附件2",
  37538. "type": "string"
  37539. },
  37540. "bankaccount": {
  37541. "description": "银行帐号 (加密存储)",
  37542. "type": "string"
  37543. },
  37544. "bankaccountname": {
  37545. "description": "收款人名称",
  37546. "type": "string"
  37547. },
  37548. "bankcardfrontphotourl": {
  37549. "description": "银行卡正面照地址",
  37550. "type": "string"
  37551. },
  37552. "bankid": {
  37553. "description": "银行编码",
  37554. "type": "string"
  37555. },
  37556. "bankname": {
  37557. "description": "银行名称",
  37558. "type": "string"
  37559. },
  37560. "biznature": {
  37561. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  37562. "type": "integer"
  37563. },
  37564. "bizscope": {
  37565. "description": "企业经营范围(企业)",
  37566. "type": "string"
  37567. },
  37568. "cardbackphotourl": {
  37569. "description": "证件背面图片地址",
  37570. "type": "string"
  37571. },
  37572. "cardfrontphotourl": {
  37573. "description": "证件正面图片地址",
  37574. "type": "string"
  37575. },
  37576. "cardnum": {
  37577. "description": "证件号码(加密存储)",
  37578. "type": "string"
  37579. },
  37580. "cardtypeid": {
  37581. "description": "证件类型ID",
  37582. "type": "integer"
  37583. },
  37584. "cityid": {
  37585. "description": "市",
  37586. "type": "integer"
  37587. },
  37588. "company": {
  37589. "description": "公司(个人)",
  37590. "type": "string"
  37591. },
  37592. "contactname": {
  37593. "description": "联系人",
  37594. "type": "string"
  37595. },
  37596. "countryid": {
  37597. "description": "国家",
  37598. "type": "integer"
  37599. },
  37600. "createtime": {
  37601. "description": "创建时间",
  37602. "type": "string"
  37603. },
  37604. "creatorid": {
  37605. "description": "创建人",
  37606. "type": "integer"
  37607. },
  37608. "customername": {
  37609. "description": "客户名称(企业名称)",
  37610. "type": "string"
  37611. },
  37612. "districtid": {
  37613. "description": "地区",
  37614. "type": "integer"
  37615. },
  37616. "email": {
  37617. "description": "邮件(加密存储)",
  37618. "type": "string"
  37619. },
  37620. "fax": {
  37621. "description": "传真(加密存储)",
  37622. "type": "string"
  37623. },
  37624. "halfbodyphotourl": {
  37625. "description": "半身照地址",
  37626. "type": "string"
  37627. },
  37628. "hasencrypt": {
  37629. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37630. "type": "integer"
  37631. },
  37632. "headurl": {
  37633. "description": "头像地址",
  37634. "type": "string"
  37635. },
  37636. "legalcardbackphotourl": {
  37637. "description": "法人身份证背面照地址",
  37638. "type": "string"
  37639. },
  37640. "legalcardfrontphotourl": {
  37641. "description": "法人身份证正面照地址",
  37642. "type": "string"
  37643. },
  37644. "legalpersonname": {
  37645. "description": "法人姓名(企业)",
  37646. "type": "string"
  37647. },
  37648. "mobile": {
  37649. "description": "手机号码(加密存储)",
  37650. "type": "string"
  37651. },
  37652. "mobile2": {
  37653. "description": "手机号码[明文-尚志]",
  37654. "type": "string"
  37655. },
  37656. "modifierid": {
  37657. "description": "修改人",
  37658. "type": "integer"
  37659. },
  37660. "modifiertime": {
  37661. "description": "修改时间",
  37662. "type": "string"
  37663. },
  37664. "needinvoice": {
  37665. "description": "是否需要发票 - 0:不需要 1:需要",
  37666. "type": "integer"
  37667. },
  37668. "nickname": {
  37669. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  37670. "type": "string"
  37671. },
  37672. "openmode": {
  37673. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  37674. "type": "integer"
  37675. },
  37676. "otherurl": {
  37677. "description": "其它图片地址[使用分号分隔]",
  37678. "type": "string"
  37679. },
  37680. "postalcode": {
  37681. "description": "邮政编码",
  37682. "type": "string"
  37683. },
  37684. "provinceid": {
  37685. "description": "省",
  37686. "type": "integer"
  37687. },
  37688. "qq": {
  37689. "description": "QQ(加密存储",
  37690. "type": "string"
  37691. },
  37692. "remark": {
  37693. "description": "备注",
  37694. "type": "string"
  37695. },
  37696. "sex": {
  37697. "description": "用户性别 0: 女 1: 男",
  37698. "type": "integer"
  37699. },
  37700. "signpdfurl": {
  37701. "description": "签约pdf文件",
  37702. "type": "string"
  37703. },
  37704. "telphone": {
  37705. "description": "联系电话(加密存储)",
  37706. "type": "string"
  37707. },
  37708. "userid": {
  37709. "description": "用户ID",
  37710. "type": "integer"
  37711. },
  37712. "userinfotype": {
  37713. "description": "用户信息类型 - 1:个人 2:企业",
  37714. "type": "integer"
  37715. },
  37716. "userstatus": {
  37717. "description": "用户状态 - 1:正常 2:注销",
  37718. "type": "integer"
  37719. },
  37720. "usertype": {
  37721. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  37722. "type": "integer"
  37723. },
  37724. "wechat": {
  37725. "description": "微信(加密存储)",
  37726. "type": "string"
  37727. },
  37728. "wskhinfo": {
  37729. "description": "开户申请信息(JSON)",
  37730. "type": "string"
  37731. }
  37732. }
  37733. },
  37734. "models.WRSConverTDetail": {
  37735. "type": "object",
  37736. "properties": {
  37737. "convertratio": {
  37738. "description": "套保系数",
  37739. "type": "number"
  37740. },
  37741. "deliverygoodscode": {
  37742. "description": "现货商品代码",
  37743. "type": "string"
  37744. },
  37745. "deliverygoodsid": {
  37746. "description": "现货品种ID",
  37747. "type": "integer"
  37748. },
  37749. "deliverygoodsname": {
  37750. "description": "现货商品名称",
  37751. "type": "string"
  37752. },
  37753. "enumdicname": {
  37754. "description": "单位名称",
  37755. "type": "string"
  37756. },
  37757. "goodsunitid": {
  37758. "description": "套保品种单位id",
  37759. "type": "integer"
  37760. },
  37761. "middlegoodscode": {
  37762. "description": "套保品种代码",
  37763. "type": "string"
  37764. },
  37765. "middlegoodsid": {
  37766. "description": "套保品种ID",
  37767. "type": "integer"
  37768. },
  37769. "middlegoodsname": {
  37770. "description": "套保品种名称",
  37771. "type": "string"
  37772. },
  37773. "modifytime": {
  37774. "description": "修改时间",
  37775. "type": "string"
  37776. },
  37777. "wrstandardid": {
  37778. "description": "品类ID",
  37779. "type": "integer"
  37780. }
  37781. }
  37782. },
  37783. "models.WRStandardInfo": {
  37784. "type": "object",
  37785. "required": [
  37786. "wrstandardid"
  37787. ],
  37788. "properties": {
  37789. "areauserid": {
  37790. "description": "所属机构",
  37791. "type": "integer"
  37792. },
  37793. "convertfactor": {
  37794. "description": "标仓系数",
  37795. "type": "number"
  37796. },
  37797. "createtime": {
  37798. "description": "创建时间",
  37799. "type": "string"
  37800. },
  37801. "creatorid": {
  37802. "description": "创建人",
  37803. "type": "integer"
  37804. },
  37805. "deliverygoodsid": {
  37806. "description": "品种ID",
  37807. "type": "integer"
  37808. },
  37809. "deliverygoodsname": {
  37810. "description": "交割商品名称",
  37811. "type": "string"
  37812. },
  37813. "factoryitemjson": {
  37814. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  37815. "type": "string"
  37816. },
  37817. "isvalid": {
  37818. "description": "是否有效 - 0:无效 1:有效",
  37819. "type": "integer"
  37820. },
  37821. "minivalue": {
  37822. "description": "最小变动值",
  37823. "type": "integer"
  37824. },
  37825. "minivaluedp": {
  37826. "description": "最小变动值小数位",
  37827. "type": "integer"
  37828. },
  37829. "realminivalue": {
  37830. "description": "实际最小变动值",
  37831. "type": "integer"
  37832. },
  37833. "realminivaluedp": {
  37834. "description": "实际最小变动值小数位",
  37835. "type": "integer"
  37836. },
  37837. "remark": {
  37838. "description": "备注",
  37839. "type": "string"
  37840. },
  37841. "unitid": {
  37842. "description": "单位ID",
  37843. "type": "integer"
  37844. },
  37845. "unitname": {
  37846. "description": "单位",
  37847. "type": "string"
  37848. },
  37849. "updatetime": {
  37850. "description": "更新时间",
  37851. "type": "string"
  37852. },
  37853. "updatorid": {
  37854. "description": "更新人",
  37855. "type": "integer"
  37856. },
  37857. "wrsstatus": {
  37858. "description": "状态 - 作废 - 0:未激活 1:正常",
  37859. "type": "integer"
  37860. },
  37861. "wrstandardcode": {
  37862. "description": "现货品类代码",
  37863. "type": "string"
  37864. },
  37865. "wrstandardid": {
  37866. "description": "现货品类ID(SEQ_WRSTANDARD)",
  37867. "type": "integer"
  37868. },
  37869. "wrstandardname": {
  37870. "description": "现货品类名称",
  37871. "type": "string"
  37872. }
  37873. }
  37874. },
  37875. "models.WRTradeBargainApply": {
  37876. "type": "object",
  37877. "properties": {
  37878. "accountid": {
  37879. "description": "摘牌资金账号",
  37880. "type": "integer"
  37881. },
  37882. "applyprice": {
  37883. "description": "申请价格(议价价格)",
  37884. "type": "string"
  37885. },
  37886. "applyqty": {
  37887. "description": "摘牌数量(议价数量)",
  37888. "type": "number"
  37889. },
  37890. "applyremark": {
  37891. "description": "申请备注",
  37892. "type": "string"
  37893. },
  37894. "applystatus": {
  37895. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  37896. "type": "integer"
  37897. },
  37898. "applytime": {
  37899. "description": "申请时间(议价时间)",
  37900. "type": "string"
  37901. },
  37902. "begindate": {
  37903. "description": "开始交易日(yyyymmdd)",
  37904. "type": "string"
  37905. },
  37906. "buyorsell": {
  37907. "description": "买卖(挂牌类型) - 0:买 1:卖",
  37908. "type": "integer"
  37909. },
  37910. "confirmremark": {
  37911. "description": "确认备注",
  37912. "type": "string"
  37913. },
  37914. "confirmtime": {
  37915. "description": "确认时间",
  37916. "type": "string"
  37917. },
  37918. "confirmuserid": {
  37919. "description": "确认人",
  37920. "type": "integer"
  37921. },
  37922. "deliverygoodscode": {
  37923. "description": "品种代码",
  37924. "type": "string"
  37925. },
  37926. "deliverygoodsid": {
  37927. "description": "品种ID",
  37928. "type": "integer"
  37929. },
  37930. "deliverygoodsname": {
  37931. "description": "品种名称",
  37932. "type": "string"
  37933. },
  37934. "deliverymonth": {
  37935. "description": "交收月",
  37936. "type": "string"
  37937. },
  37938. "enddate": {
  37939. "description": "结束交易日(yyyymmdd)",
  37940. "type": "string"
  37941. },
  37942. "enumdicname": {
  37943. "description": "单位名称",
  37944. "type": "string"
  37945. },
  37946. "fixedprice": {
  37947. "description": "挂牌价格",
  37948. "type": "number"
  37949. },
  37950. "handlestatus": {
  37951. "description": "处理状态",
  37952. "type": "integer"
  37953. },
  37954. "marginvalue": {
  37955. "description": "履约保证金比例",
  37956. "type": "number"
  37957. },
  37958. "marketid": {
  37959. "description": "市场ID",
  37960. "type": "integer"
  37961. },
  37962. "matchaccountid": {
  37963. "description": "挂牌方资金账号",
  37964. "type": "integer"
  37965. },
  37966. "matchuserid": {
  37967. "description": "挂牌方用户id",
  37968. "type": "integer"
  37969. },
  37970. "matchusername": {
  37971. "description": "挂牌方用户名称(已脱敏)",
  37972. "type": "string"
  37973. },
  37974. "minivalue": {
  37975. "description": "现货商品最小变动值",
  37976. "type": "integer"
  37977. },
  37978. "optioncompare": {
  37979. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37980. "type": "string"
  37981. },
  37982. "orderqty": {
  37983. "description": "挂牌数量",
  37984. "type": "integer"
  37985. },
  37986. "refprice": {
  37987. "description": "参考价格",
  37988. "type": "string"
  37989. },
  37990. "retcode": {
  37991. "description": "委托返回代码",
  37992. "type": "integer"
  37993. },
  37994. "templatename": {
  37995. "description": "履约方式(履约模板名称)",
  37996. "type": "string"
  37997. },
  37998. "tradedate": {
  37999. "description": "交易日(yyyyMMdd)",
  38000. "type": "string"
  38001. },
  38002. "userid": {
  38003. "description": "摘牌人用户ID(议价人ID)",
  38004. "type": "integer"
  38005. },
  38006. "username": {
  38007. "description": "议价人名字(已脱敏)",
  38008. "type": "string"
  38009. },
  38010. "validtime": {
  38011. "description": "有效期限",
  38012. "type": "string"
  38013. },
  38014. "warehouseid": {
  38015. "description": "仓库ID",
  38016. "type": "integer"
  38017. },
  38018. "warehousename": {
  38019. "description": "仓库名称",
  38020. "type": "string"
  38021. },
  38022. "wrbargainid": {
  38023. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  38024. "type": "string"
  38025. },
  38026. "wrfactortypeid": {
  38027. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38028. "type": "string"
  38029. },
  38030. "wrfactortypename": {
  38031. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38032. "type": "string"
  38033. },
  38034. "wrstandardcode": {
  38035. "description": "现货商品代码",
  38036. "type": "string"
  38037. },
  38038. "wrstandardid": {
  38039. "description": "现货商品ID",
  38040. "type": "integer"
  38041. },
  38042. "wrstandardname": {
  38043. "description": "商品名称",
  38044. "type": "string"
  38045. },
  38046. "wrtradeorderid": {
  38047. "description": "关联委托单ID",
  38048. "type": "string"
  38049. },
  38050. "wrtypename": {
  38051. "description": "商品",
  38052. "type": "string"
  38053. }
  38054. }
  38055. },
  38056. "models.Warehouseinfo": {
  38057. "type": "object",
  38058. "required": [
  38059. "autoid",
  38060. "warehousecode"
  38061. ],
  38062. "properties": {
  38063. "address": {
  38064. "description": "详细地址",
  38065. "type": "string"
  38066. },
  38067. "areauserid": {
  38068. "description": "所属机构",
  38069. "type": "integer"
  38070. },
  38071. "autoid": {
  38072. "description": "自增ID",
  38073. "type": "integer"
  38074. },
  38075. "cityid": {
  38076. "description": "市",
  38077. "type": "integer"
  38078. },
  38079. "contactname": {
  38080. "description": "联系人",
  38081. "type": "string"
  38082. },
  38083. "contactnum": {
  38084. "description": "联系电话",
  38085. "type": "string"
  38086. },
  38087. "countryid": {
  38088. "description": "国家",
  38089. "type": "integer"
  38090. },
  38091. "createtime": {
  38092. "description": "创建时间",
  38093. "type": "string"
  38094. },
  38095. "districtid": {
  38096. "description": "区",
  38097. "type": "integer"
  38098. },
  38099. "hasvideo": {
  38100. "description": "是否有视频 - 0:无 1:有",
  38101. "type": "integer"
  38102. },
  38103. "provinceid": {
  38104. "description": "省",
  38105. "type": "integer"
  38106. },
  38107. "remark": {
  38108. "description": "审核备注",
  38109. "type": "string"
  38110. },
  38111. "videourl": {
  38112. "description": "视频地址",
  38113. "type": "string"
  38114. },
  38115. "warehousecode": {
  38116. "description": "仓库代码",
  38117. "type": "string"
  38118. },
  38119. "warehousename": {
  38120. "description": "仓库名称",
  38121. "type": "string"
  38122. },
  38123. "warehousestatus": {
  38124. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  38125. "type": "integer"
  38126. },
  38127. "warehousetype": {
  38128. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  38129. "type": "integer"
  38130. }
  38131. }
  38132. },
  38133. "models.WrAverageTradePrice": {
  38134. "type": "object",
  38135. "properties": {
  38136. "averageprice": {
  38137. "description": "成交均价",
  38138. "type": "number"
  38139. },
  38140. "tradedate": {
  38141. "description": "交易日yyyymm",
  38142. "type": "string"
  38143. }
  38144. }
  38145. },
  38146. "models.WrBrandAndYears": {
  38147. "type": "object",
  38148. "properties": {
  38149. "brandlst": {
  38150. "description": "品牌列表",
  38151. "type": "array",
  38152. "items": {
  38153. "$ref": "#/definitions/models.DgFactoryItem"
  38154. }
  38155. },
  38156. "yearslst": {
  38157. "description": "年份列表",
  38158. "type": "array",
  38159. "items": {
  38160. "$ref": "#/definitions/models.DgFactoryItem"
  38161. }
  38162. }
  38163. }
  38164. },
  38165. "models.WrBsGoodsInfo": {
  38166. "type": "object",
  38167. "properties": {
  38168. "buyorsell": {
  38169. "description": "买卖方向 0-买 1-卖",
  38170. "type": "integer"
  38171. },
  38172. "goodsid": {
  38173. "description": "交易合约ID",
  38174. "type": "integer"
  38175. },
  38176. "lstitem": {
  38177. "description": "商品信息项",
  38178. "type": "array",
  38179. "items": {
  38180. "$ref": "#/definitions/models.WrTypeItem"
  38181. }
  38182. },
  38183. "lststep": {
  38184. "description": "履约规则",
  38185. "type": "array",
  38186. "items": {
  38187. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  38188. }
  38189. }
  38190. }
  38191. },
  38192. "models.WrBuybackDetail": {
  38193. "type": "object",
  38194. "properties": {
  38195. "buybackamount": {
  38196. "description": "回购金额",
  38197. "type": "number"
  38198. },
  38199. "buybackqty": {
  38200. "description": "回购数量",
  38201. "type": "number"
  38202. },
  38203. "buybackreleasemargin": {
  38204. "description": "回购释放保证金",
  38205. "type": "number"
  38206. },
  38207. "buybacktime": {
  38208. "description": "回购时间",
  38209. "type": "string"
  38210. },
  38211. "errordesc": {
  38212. "description": "错误描述",
  38213. "type": "string"
  38214. },
  38215. "handlestatus": {
  38216. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  38217. "type": "integer"
  38218. },
  38219. "relatedwrid": {
  38220. "description": "关联仓单ID",
  38221. "type": "integer"
  38222. },
  38223. "scfcontractid": {
  38224. "description": "SCF合同ID",
  38225. "type": "string"
  38226. },
  38227. "scfwrbuybackid": {
  38228. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  38229. "type": "integer"
  38230. },
  38231. "tradedate": {
  38232. "description": "交易日(yyyyMMdd)",
  38233. "type": "string"
  38234. }
  38235. }
  38236. },
  38237. "models.WrClientAdSpaceConfig": {
  38238. "type": "object",
  38239. "properties": {
  38240. "adspaceid": {
  38241. "description": "广告位ID",
  38242. "type": "integer"
  38243. },
  38244. "adspacename": {
  38245. "description": "广告位名称",
  38246. "type": "string"
  38247. },
  38248. "adspacetype": {
  38249. "description": "广告位类型 - 1:固定广告位",
  38250. "type": "integer"
  38251. },
  38252. "areauserid": {
  38253. "description": "所属机构ID",
  38254. "type": "integer"
  38255. },
  38256. "createdate": {
  38257. "description": "创建时间",
  38258. "type": "string"
  38259. },
  38260. "imagepath": {
  38261. "description": "图片",
  38262. "type": "string"
  38263. },
  38264. "modifierid": {
  38265. "description": "操作人",
  38266. "type": "integer"
  38267. },
  38268. "recsize": {
  38269. "description": "推荐尺寸",
  38270. "type": "string"
  38271. },
  38272. "title": {
  38273. "description": "标题",
  38274. "type": "string"
  38275. },
  38276. "updatedate": {
  38277. "description": "更新时间",
  38278. "type": "string"
  38279. },
  38280. "urlcontent": {
  38281. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  38282. "type": "string"
  38283. },
  38284. "urltype": {
  38285. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  38286. "type": "integer"
  38287. }
  38288. }
  38289. },
  38290. "models.WrDeliveryAvalidHoldLB": {
  38291. "type": "object",
  38292. "properties": {
  38293. "accountid": {
  38294. "description": "资金账号",
  38295. "type": "integer"
  38296. },
  38297. "avalidqty": {
  38298. "description": "数量(可点选数量)",
  38299. "type": "number"
  38300. },
  38301. "deliverygoodsid": {
  38302. "description": "品种id",
  38303. "type": "integer"
  38304. },
  38305. "enumdicname": {
  38306. "description": "单位名称",
  38307. "type": "string"
  38308. },
  38309. "goodsid": {
  38310. "description": "x合约商品id",
  38311. "type": "integer"
  38312. },
  38313. "ladingbillid": {
  38314. "description": "提单id",
  38315. "type": "string"
  38316. },
  38317. "pgoodscode": {
  38318. "description": "p商品代码(点价合约)",
  38319. "type": "string"
  38320. },
  38321. "pgoodsid": {
  38322. "description": "p商品id(点价合约)",
  38323. "type": "integer"
  38324. },
  38325. "pgoodsname": {
  38326. "description": "p商品名称(点价合约)",
  38327. "type": "string"
  38328. },
  38329. "pricemove": {
  38330. "description": "升贴水",
  38331. "type": "number"
  38332. },
  38333. "subnum": {
  38334. "description": "提单子id",
  38335. "type": "integer"
  38336. },
  38337. "userid": {
  38338. "description": "用户id",
  38339. "type": "integer"
  38340. },
  38341. "username": {
  38342. "description": "仓单持有人",
  38343. "type": "string"
  38344. },
  38345. "warehousecode": {
  38346. "description": "仓库代码",
  38347. "type": "string"
  38348. },
  38349. "warehouseid": {
  38350. "description": "仓库id",
  38351. "type": "integer"
  38352. },
  38353. "warehousename": {
  38354. "description": "仓库名称",
  38355. "type": "string"
  38356. },
  38357. "wrfactortypeid": {
  38358. "description": "仓单要素id",
  38359. "type": "string"
  38360. },
  38361. "wrstandardcode": {
  38362. "description": "品代码",
  38363. "type": "string"
  38364. },
  38365. "wrstandardid": {
  38366. "description": "品类d",
  38367. "type": "integer"
  38368. },
  38369. "wrstandardname": {
  38370. "description": "品类名称",
  38371. "type": "string"
  38372. },
  38373. "wrtypename": {
  38374. "description": "商品",
  38375. "type": "string"
  38376. },
  38377. "xgoodscode": {
  38378. "description": "x合约代码",
  38379. "type": "string"
  38380. },
  38381. "xgoodsname": {
  38382. "description": "x合约名称",
  38383. "type": "string"
  38384. }
  38385. }
  38386. },
  38387. "models.WrDeliveryDetail": {
  38388. "type": "object",
  38389. "properties": {
  38390. "accountid": {
  38391. "description": "账号ID",
  38392. "type": "integer"
  38393. },
  38394. "averageprice": {
  38395. "description": "交割均价 = 交割金额 / 交割数量",
  38396. "type": "number"
  38397. },
  38398. "begindate": {
  38399. "description": "开始交易日(yyyymmdd)",
  38400. "type": "string"
  38401. },
  38402. "buyorsell": {
  38403. "description": "方向 - 0:买 1:卖",
  38404. "type": "integer"
  38405. },
  38406. "deliveryamount": {
  38407. "description": "货款金额(X总货款+P总货款)",
  38408. "type": "number"
  38409. },
  38410. "deliveryid": {
  38411. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  38412. "type": "string"
  38413. },
  38414. "deliveryorderid": {
  38415. "description": "申报单号",
  38416. "type": "string"
  38417. },
  38418. "deliverypricemove": {
  38419. "description": "升贴水(升贴水总额)",
  38420. "type": "number"
  38421. },
  38422. "deliveryqty": {
  38423. "description": "交收数量(点选数量)",
  38424. "type": "number"
  38425. },
  38426. "deliverystatus": {
  38427. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  38428. "type": "integer"
  38429. },
  38430. "deliverytime": {
  38431. "description": "交割时间",
  38432. "type": "string"
  38433. },
  38434. "deliverytotalamount": {
  38435. "description": "交收金额",
  38436. "type": "number"
  38437. },
  38438. "enddate": {
  38439. "description": "结束交易日(yyyymmdd)",
  38440. "type": "string"
  38441. },
  38442. "enumdicname": {
  38443. "description": "单位名称",
  38444. "type": "string"
  38445. },
  38446. "matchaccountid": {
  38447. "description": "对手账号ID",
  38448. "type": "integer"
  38449. },
  38450. "matchusername": {
  38451. "description": "对手方名称(仓单持有人)",
  38452. "type": "string"
  38453. },
  38454. "p1goodsremainamount": {
  38455. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38456. "type": "number"
  38457. },
  38458. "pdeliverycloseqty": {
  38459. "description": "p合约平仓数量",
  38460. "type": "number"
  38461. },
  38462. "pdeliveryprice": {
  38463. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38464. "type": "number"
  38465. },
  38466. "pgoodscode": {
  38467. "description": "商品代码",
  38468. "type": "string"
  38469. },
  38470. "pgoodsid": {
  38471. "description": "p点选合约id",
  38472. "type": "integer"
  38473. },
  38474. "pgoodsname": {
  38475. "description": "商品名称",
  38476. "type": "string"
  38477. },
  38478. "ppricemode": {
  38479. "description": "点价价格方式 - 1:商品价 2:固定值",
  38480. "type": "integer"
  38481. },
  38482. "tradedate": {
  38483. "description": "交易日(yyyymmdd)",
  38484. "type": "string"
  38485. },
  38486. "userid": {
  38487. "description": "用户id",
  38488. "type": "integer"
  38489. },
  38490. "username": {
  38491. "description": "用户名称",
  38492. "type": "string"
  38493. },
  38494. "warehousename": {
  38495. "description": "仓库名称",
  38496. "type": "string"
  38497. },
  38498. "wrfactortypeid": {
  38499. "description": "仓单要素类型ID",
  38500. "type": "string"
  38501. },
  38502. "wrtypename": {
  38503. "description": "商品",
  38504. "type": "string"
  38505. },
  38506. "xdeliverycloseqty": {
  38507. "description": "合约数量",
  38508. "type": "number"
  38509. },
  38510. "xgoodsamount": {
  38511. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  38512. "type": "number"
  38513. },
  38514. "xgoodscode": {
  38515. "description": "商品代码",
  38516. "type": "string"
  38517. },
  38518. "xgoodsid": {
  38519. "description": "x交易合约ID",
  38520. "type": "integer"
  38521. },
  38522. "xgoodsname": {
  38523. "description": "商品名称",
  38524. "type": "string"
  38525. }
  38526. }
  38527. },
  38528. "models.WrDeliveryGoodsSection": {
  38529. "type": "object",
  38530. "properties": {
  38531. "dglst": {
  38532. "description": "板块商品列表",
  38533. "type": "array",
  38534. "items": {
  38535. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  38536. }
  38537. },
  38538. "imagepath": {
  38539. "description": "图片地址",
  38540. "type": "string"
  38541. },
  38542. "orderindex": {
  38543. "description": "排序",
  38544. "type": "integer"
  38545. },
  38546. "sectionid": {
  38547. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  38548. "type": "integer"
  38549. },
  38550. "sectionname": {
  38551. "description": "版块名称",
  38552. "type": "string"
  38553. },
  38554. "sectiontype": {
  38555. "description": "版块类型 - 1:指数版块 2:普通版块",
  38556. "type": "integer"
  38557. }
  38558. }
  38559. },
  38560. "models.WrDeliveryGoodsSectionConfig": {
  38561. "type": "object",
  38562. "properties": {
  38563. "deliverygoodscode": {
  38564. "description": "现货商品代码",
  38565. "type": "string"
  38566. },
  38567. "deliverygoodsid": {
  38568. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38569. "type": "integer"
  38570. },
  38571. "deliverygoodsname": {
  38572. "description": "现货商品名称",
  38573. "type": "string"
  38574. },
  38575. "orderindex": {
  38576. "description": "排序",
  38577. "type": "integer"
  38578. }
  38579. }
  38580. },
  38581. "models.WrDraftUserInfo": {
  38582. "type": "object",
  38583. "properties": {
  38584. "address": {
  38585. "description": "地址",
  38586. "type": "string"
  38587. },
  38588. "attachment1": {
  38589. "description": "附件1",
  38590. "type": "string"
  38591. },
  38592. "attachment2": {
  38593. "description": "附件2",
  38594. "type": "string"
  38595. },
  38596. "attachment3": {
  38597. "description": "附件3",
  38598. "type": "string"
  38599. },
  38600. "attachment4": {
  38601. "description": "附件4",
  38602. "type": "string"
  38603. },
  38604. "attachment5": {
  38605. "description": "附件5",
  38606. "type": "string"
  38607. },
  38608. "bankaccount": {
  38609. "description": "银行帐号 (加密存储)",
  38610. "type": "string"
  38611. },
  38612. "bankaccountname": {
  38613. "description": "收款人名称",
  38614. "type": "string"
  38615. },
  38616. "bankcardfrontphotourl": {
  38617. "description": "银行卡正面照地址",
  38618. "type": "string"
  38619. },
  38620. "bankid": {
  38621. "description": "银行编码",
  38622. "type": "string"
  38623. },
  38624. "bankname": {
  38625. "description": "银行名称",
  38626. "type": "string"
  38627. },
  38628. "birthday": {
  38629. "description": "生日(个人:年月日)",
  38630. "type": "string"
  38631. },
  38632. "biznature": {
  38633. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38634. "type": "integer"
  38635. },
  38636. "bizscope": {
  38637. "description": "企业经营范围(企业)",
  38638. "type": "string"
  38639. },
  38640. "biztype": {
  38641. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  38642. "type": "integer"
  38643. },
  38644. "cardbackphotourl": {
  38645. "description": "证件背面图片地址",
  38646. "type": "string"
  38647. },
  38648. "cardfrontphotourl": {
  38649. "description": "证件正面图片地址",
  38650. "type": "string"
  38651. },
  38652. "cardnum": {
  38653. "description": "证件号码(加密存储)",
  38654. "type": "string"
  38655. },
  38656. "cardtypeid": {
  38657. "description": "证件类型ID",
  38658. "type": "integer"
  38659. },
  38660. "cityid": {
  38661. "description": "市",
  38662. "type": "integer"
  38663. },
  38664. "company": {
  38665. "description": "公司(个人)",
  38666. "type": "string"
  38667. },
  38668. "contactcardbackphotourl": {
  38669. "description": "联系人证件背面图片地址",
  38670. "type": "string"
  38671. },
  38672. "contactcardfrontphotourl": {
  38673. "description": "联系人证件正面图片地址",
  38674. "type": "string"
  38675. },
  38676. "contactname": {
  38677. "description": "联系人",
  38678. "type": "string"
  38679. },
  38680. "countryid": {
  38681. "description": "国家",
  38682. "type": "integer"
  38683. },
  38684. "createtime": {
  38685. "description": "创建时间",
  38686. "type": "string"
  38687. },
  38688. "creatorid": {
  38689. "description": "创建人",
  38690. "type": "integer"
  38691. },
  38692. "creditquota": {
  38693. "description": "授信额度(金瑞)",
  38694. "type": "number"
  38695. },
  38696. "customername": {
  38697. "description": "客户名称(企业名称)",
  38698. "type": "string"
  38699. },
  38700. "districtid": {
  38701. "description": "地区",
  38702. "type": "integer"
  38703. },
  38704. "email": {
  38705. "description": "邮件(加密存储)",
  38706. "type": "string"
  38707. },
  38708. "fax": {
  38709. "description": "传真(加密存储)",
  38710. "type": "string"
  38711. },
  38712. "halfbodyphotourl": {
  38713. "description": "半身照地址",
  38714. "type": "string"
  38715. },
  38716. "hasencrypt": {
  38717. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38718. "type": "integer"
  38719. },
  38720. "headurl": {
  38721. "description": "头像地址",
  38722. "type": "string"
  38723. },
  38724. "legalcardbackphotourl": {
  38725. "description": "法人身份证背面照地址",
  38726. "type": "string"
  38727. },
  38728. "legalcardfrontphotourl": {
  38729. "description": "法人身份证正面照地址",
  38730. "type": "string"
  38731. },
  38732. "legalpersonname": {
  38733. "description": "法人姓名(企业)",
  38734. "type": "string"
  38735. },
  38736. "mobile": {
  38737. "description": "手机号码(加密存储)",
  38738. "type": "string"
  38739. },
  38740. "mobile2": {
  38741. "description": "手机号码[明文-尚志]",
  38742. "type": "string"
  38743. },
  38744. "modifierid": {
  38745. "description": "修改人",
  38746. "type": "integer"
  38747. },
  38748. "modifiertime": {
  38749. "description": "修改时间",
  38750. "type": "string"
  38751. },
  38752. "needinvoice": {
  38753. "description": "是否需要发票 - 0:不需要 1:需要",
  38754. "type": "integer"
  38755. },
  38756. "nickname": {
  38757. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38758. "type": "string"
  38759. },
  38760. "openmode": {
  38761. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  38762. "type": "integer"
  38763. },
  38764. "otherurl": {
  38765. "description": "其它图片地址[使用分号分隔]",
  38766. "type": "string"
  38767. },
  38768. "postalcode": {
  38769. "description": "邮政编码",
  38770. "type": "string"
  38771. },
  38772. "provinceid": {
  38773. "description": "省",
  38774. "type": "integer"
  38775. },
  38776. "proxystatementurl": {
  38777. "description": "授权委托书",
  38778. "type": "string"
  38779. },
  38780. "qq": {
  38781. "description": "QQ(加密存储",
  38782. "type": "string"
  38783. },
  38784. "remark": {
  38785. "description": "备注",
  38786. "type": "string"
  38787. },
  38788. "sex": {
  38789. "description": "用户性别 0: 女 1: 男",
  38790. "type": "integer"
  38791. },
  38792. "signpdfurl": {
  38793. "description": "签约pdf文件",
  38794. "type": "string"
  38795. },
  38796. "taxpayernum": {
  38797. "description": "纳税人识别号",
  38798. "type": "string"
  38799. },
  38800. "telphone": {
  38801. "description": "联系电话(加密存储)",
  38802. "type": "string"
  38803. },
  38804. "userid": {
  38805. "description": "用户ID",
  38806. "type": "integer"
  38807. },
  38808. "userinfotype": {
  38809. "description": "用户信息类型 - 1:个人 2:企业",
  38810. "type": "integer"
  38811. },
  38812. "userstatus": {
  38813. "description": "用户状态 - 1:正常 2:注销",
  38814. "type": "integer"
  38815. },
  38816. "usertype": {
  38817. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  38818. "type": "integer"
  38819. },
  38820. "wechat": {
  38821. "description": "微信(加密存储)",
  38822. "type": "string"
  38823. },
  38824. "wskhinfo": {
  38825. "description": "开户申请信息(JSON)",
  38826. "type": "string"
  38827. }
  38828. }
  38829. },
  38830. "models.WrFAProductDetail": {
  38831. "type": "object",
  38832. "properties": {
  38833. "accountid": {
  38834. "description": "资金账号",
  38835. "type": "integer"
  38836. },
  38837. "areauserid": {
  38838. "description": "金融机构ID",
  38839. "type": "integer"
  38840. },
  38841. "financingdays": {
  38842. "description": "天数(天)",
  38843. "type": "integer"
  38844. },
  38845. "interestminlen": {
  38846. "description": "最小起息天数",
  38847. "type": "integer"
  38848. },
  38849. "interestrate": {
  38850. "description": "利率",
  38851. "type": "number"
  38852. },
  38853. "interestratemode": {
  38854. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38855. "type": "integer"
  38856. },
  38857. "interestsettlemode": {
  38858. "description": "结息方式 - 1:按日结息 3:按月结息",
  38859. "type": "integer"
  38860. },
  38861. "interestsettlevalue": {
  38862. "description": "结息方式值",
  38863. "type": "integer"
  38864. },
  38865. "isautoloan": {
  38866. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  38867. "type": "integer"
  38868. },
  38869. "loantag": {
  38870. "description": "放款标识: \"放款快\" 或者为空",
  38871. "type": "string"
  38872. },
  38873. "marginratio": {
  38874. "description": "保证金比率质押率 - [仓单质押]",
  38875. "type": "number"
  38876. },
  38877. "productdetailid": {
  38878. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  38879. "type": "integer"
  38880. },
  38881. "productid": {
  38882. "description": "金融产品ID",
  38883. "type": "integer"
  38884. },
  38885. "productname": {
  38886. "description": "产品名称",
  38887. "type": "string"
  38888. },
  38889. "updatetime": {
  38890. "description": "更新时间",
  38891. "type": "string"
  38892. },
  38893. "username": {
  38894. "description": "融出方",
  38895. "type": "string"
  38896. }
  38897. }
  38898. },
  38899. "models.WrFactorTypeInfo": {
  38900. "type": "object",
  38901. "properties": {
  38902. "deliverygoodscode": {
  38903. "description": "品种代码",
  38904. "type": "string"
  38905. },
  38906. "deliverygoodsname": {
  38907. "description": "品种名称",
  38908. "type": "string"
  38909. },
  38910. "dgfactoryitemid": {
  38911. "description": "选择项id",
  38912. "type": "integer"
  38913. },
  38914. "dgfactoryitemtypeid": {
  38915. "description": "要素选择项ID (1-仓库 2-品牌)",
  38916. "type": "integer"
  38917. },
  38918. "dgfactoryitemvalue": {
  38919. "description": "要素项值",
  38920. "type": "string"
  38921. },
  38922. "itemtypename": {
  38923. "description": "要素项名称",
  38924. "type": "string"
  38925. },
  38926. "optioncompare": {
  38927. "description": "选择比较串",
  38928. "type": "string"
  38929. },
  38930. "warehouseid": {
  38931. "description": "仓库id",
  38932. "type": "integer"
  38933. },
  38934. "wrfactortypeid": {
  38935. "description": "仓单要素ID",
  38936. "type": "string"
  38937. },
  38938. "wrfactortypename": {
  38939. "description": "要素名称",
  38940. "type": "string"
  38941. },
  38942. "wrfactortypename2": {
  38943. "description": "要素名称(不含仓库)",
  38944. "type": "string"
  38945. },
  38946. "wrstandardcode": {
  38947. "description": "品类代码",
  38948. "type": "string"
  38949. },
  38950. "wrstandardid": {
  38951. "description": "品类id",
  38952. "type": "integer"
  38953. },
  38954. "wrstandardname": {
  38955. "description": "品类名称",
  38956. "type": "string"
  38957. }
  38958. }
  38959. },
  38960. "models.WrFilterItem": {
  38961. "type": "object",
  38962. "properties": {
  38963. "itemcode": {
  38964. "description": "代码",
  38965. "type": "string"
  38966. },
  38967. "itemid": {
  38968. "description": "项id",
  38969. "type": "integer"
  38970. },
  38971. "itemname": {
  38972. "description": "名称",
  38973. "type": "string"
  38974. },
  38975. "itemtype": {
  38976. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  38977. "type": "integer"
  38978. }
  38979. }
  38980. },
  38981. "models.WrFinanceBuyApply": {
  38982. "type": "object",
  38983. "properties": {
  38984. "applydate": {
  38985. "description": "申请时间",
  38986. "type": "string"
  38987. },
  38988. "applystatus": {
  38989. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  38990. "type": "integer"
  38991. },
  38992. "applyuserid": {
  38993. "description": "申请人",
  38994. "type": "integer"
  38995. },
  38996. "auditdate": {
  38997. "description": "审核时间",
  38998. "type": "string"
  38999. },
  39000. "auditremark": {
  39001. "description": "审核备注",
  39002. "type": "string"
  39003. },
  39004. "audituserid": {
  39005. "description": "审核人",
  39006. "type": "integer"
  39007. },
  39008. "buyaccountid": {
  39009. "description": "买方资金账号",
  39010. "type": "integer"
  39011. },
  39012. "buyorsell": {
  39013. "description": "买卖 - 0:买 1:卖",
  39014. "type": "integer"
  39015. },
  39016. "buyuserid": {
  39017. "description": "买方用户ID",
  39018. "type": "integer"
  39019. },
  39020. "buyusername": {
  39021. "description": "买方名称",
  39022. "type": "string"
  39023. },
  39024. "buywrtradeorderid": {
  39025. "description": "融资方买委托单ID",
  39026. "type": "string"
  39027. },
  39028. "deliverygoodscode": {
  39029. "description": "品种代码",
  39030. "type": "string"
  39031. },
  39032. "deliverygoodsid": {
  39033. "description": "品种ID",
  39034. "type": "integer"
  39035. },
  39036. "deliverygoodsname": {
  39037. "description": "品种名称",
  39038. "type": "string"
  39039. },
  39040. "deliverymonth": {
  39041. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  39042. "type": "string"
  39043. },
  39044. "enumdicname": {
  39045. "description": "单位名称",
  39046. "type": "string"
  39047. },
  39048. "financeaccountid": {
  39049. "description": "融资方资金帐户ID",
  39050. "type": "integer"
  39051. },
  39052. "financeapplyid": {
  39053. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39054. "type": "string"
  39055. },
  39056. "financeareauserid": {
  39057. "description": "融资方用户ID",
  39058. "type": "string"
  39059. },
  39060. "financename": {
  39061. "description": "融出方名称",
  39062. "type": "string"
  39063. },
  39064. "financetype": {
  39065. "description": "融资类型 1-融资回购",
  39066. "type": "integer"
  39067. },
  39068. "financingdays": {
  39069. "description": "天数(天)",
  39070. "type": "integer"
  39071. },
  39072. "freezebuymargin": {
  39073. "description": "冻结融资保证金(买方)",
  39074. "type": "number"
  39075. },
  39076. "handleremark": {
  39077. "description": "处理备注",
  39078. "type": "string"
  39079. },
  39080. "handlestatus": {
  39081. "description": "处理状态",
  39082. "type": "integer"
  39083. },
  39084. "interestminlen": {
  39085. "description": "最小起息天数",
  39086. "type": "integer"
  39087. },
  39088. "interestrate": {
  39089. "description": "利率",
  39090. "type": "number"
  39091. },
  39092. "interestratemode": {
  39093. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39094. "type": "integer"
  39095. },
  39096. "interestsettlemode": {
  39097. "description": "结息方式 - 1:按日结息 3:按月结息",
  39098. "type": "integer"
  39099. },
  39100. "interestsettlevalue": {
  39101. "description": "结息方式值",
  39102. "type": "integer"
  39103. },
  39104. "isautoloan": {
  39105. "description": "是否自动放款 - 0:手动 1:自动",
  39106. "type": "integer"
  39107. },
  39108. "marginratio": {
  39109. "description": "保证金比率质押率 - [仓单质押]",
  39110. "type": "number"
  39111. },
  39112. "marketid": {
  39113. "description": "市场ID",
  39114. "type": "integer"
  39115. },
  39116. "minivalue": {
  39117. "description": "现货商品最小变动值",
  39118. "type": "integer"
  39119. },
  39120. "optioncompare": {
  39121. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39122. "type": "string"
  39123. },
  39124. "orderqty": {
  39125. "description": "委托数量(商品数量)",
  39126. "type": "number"
  39127. },
  39128. "productdetailid": {
  39129. "description": "产品组合ID",
  39130. "type": "integer"
  39131. },
  39132. "productid": {
  39133. "description": "金融产品ID",
  39134. "type": "integer"
  39135. },
  39136. "productname": {
  39137. "description": "产品名称",
  39138. "type": "string"
  39139. },
  39140. "remark": {
  39141. "description": "备注",
  39142. "type": "string"
  39143. },
  39144. "scfcontractid": {
  39145. "description": "仓单回购合同ID",
  39146. "type": "string"
  39147. },
  39148. "sellaccountid": {
  39149. "description": "卖方资金账号",
  39150. "type": "integer"
  39151. },
  39152. "selluserid": {
  39153. "description": "卖方用户ID",
  39154. "type": "integer"
  39155. },
  39156. "sellwrtradeorderid": {
  39157. "description": "卖方委托单ID",
  39158. "type": "string"
  39159. },
  39160. "tradeamount": {
  39161. "description": "成交金额(借款金额)",
  39162. "type": "number"
  39163. },
  39164. "tradedate": {
  39165. "description": "交易日(yyyyMMdd)",
  39166. "type": "string"
  39167. },
  39168. "tradeprice": {
  39169. "description": "成交价格",
  39170. "type": "number"
  39171. },
  39172. "warehouseid": {
  39173. "description": "仓库ID",
  39174. "type": "integer"
  39175. },
  39176. "warehousename": {
  39177. "description": "仓库名称",
  39178. "type": "string"
  39179. },
  39180. "wrfactortypeid": {
  39181. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39182. "type": "string"
  39183. },
  39184. "wrfactortypename": {
  39185. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39186. "type": "string"
  39187. },
  39188. "wrpricetype": {
  39189. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  39190. "type": "integer"
  39191. },
  39192. "wrstandardcode": {
  39193. "description": "现货商品代码",
  39194. "type": "string"
  39195. },
  39196. "wrstandardid": {
  39197. "description": "现货商品ID",
  39198. "type": "integer"
  39199. },
  39200. "wrstandardname": {
  39201. "description": "商品名称",
  39202. "type": "string"
  39203. },
  39204. "wrtypename": {
  39205. "description": "商品",
  39206. "type": "string"
  39207. }
  39208. }
  39209. },
  39210. "models.WrFriendApply": {
  39211. "type": "object",
  39212. "properties": {
  39213. "applicantid": {
  39214. "description": "申请人",
  39215. "type": "integer"
  39216. },
  39217. "applyname": {
  39218. "description": "申请人名称",
  39219. "type": "string"
  39220. },
  39221. "applysrc": {
  39222. "description": "申请来源 - 1:管理端 2:终端",
  39223. "type": "integer"
  39224. },
  39225. "applystatus": {
  39226. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  39227. "type": "integer"
  39228. },
  39229. "applytime": {
  39230. "description": "申请时间",
  39231. "type": "string"
  39232. },
  39233. "auditname": {
  39234. "description": "审核人名称",
  39235. "type": "string"
  39236. },
  39237. "auditorid": {
  39238. "description": "审核人",
  39239. "type": "integer"
  39240. },
  39241. "auditremark": {
  39242. "description": "审核备注",
  39243. "type": "string"
  39244. },
  39245. "auditsrc": {
  39246. "description": "审核来源 - 1:管理端 2:终端",
  39247. "type": "integer"
  39248. },
  39249. "audittime": {
  39250. "description": "审核时间",
  39251. "type": "string"
  39252. },
  39253. "friendapplyid": {
  39254. "description": "申请ID(SEQ_FRIENDAPPLY)",
  39255. "type": "string"
  39256. },
  39257. "friendname": {
  39258. "description": "好友名字(已脱敏)",
  39259. "type": "string"
  39260. },
  39261. "frienduserid": {
  39262. "description": "好友用户ID",
  39263. "type": "string"
  39264. },
  39265. "remark": {
  39266. "description": "备注",
  39267. "type": "string"
  39268. },
  39269. "userid": {
  39270. "description": "申请人用户ID",
  39271. "type": "integer"
  39272. }
  39273. }
  39274. },
  39275. "models.WrFtDeliveryGoods": {
  39276. "type": "object",
  39277. "properties": {
  39278. "deliverygoodscode": {
  39279. "description": "品种代码",
  39280. "type": "string"
  39281. },
  39282. "deliverygoodsid": {
  39283. "description": "品种ID",
  39284. "type": "integer"
  39285. },
  39286. "deliverygoodsname": {
  39287. "description": "品种名称",
  39288. "type": "string"
  39289. },
  39290. "wdlst": {
  39291. "description": "商品列表",
  39292. "type": "array",
  39293. "items": {
  39294. "$ref": "#/definitions/models.WrFtWrstandard"
  39295. }
  39296. }
  39297. }
  39298. },
  39299. "models.WrFtWrstandard": {
  39300. "type": "object",
  39301. "properties": {
  39302. "enumdicname": {
  39303. "description": "单位名称",
  39304. "type": "string"
  39305. },
  39306. "minivalue": {
  39307. "description": "最小变动值",
  39308. "type": "integer"
  39309. },
  39310. "wrstandardcode": {
  39311. "description": "现货商品代码",
  39312. "type": "string"
  39313. },
  39314. "wrstandardid": {
  39315. "description": "现货商品ID",
  39316. "type": "integer"
  39317. },
  39318. "wrstandardname": {
  39319. "description": "商品名称",
  39320. "type": "string"
  39321. }
  39322. }
  39323. },
  39324. "models.WrGoodsInfo": {
  39325. "type": "object",
  39326. "properties": {
  39327. "haswr": {
  39328. "description": "0:仓单预售 1:仓单贸易",
  39329. "type": "integer"
  39330. },
  39331. "lstitem": {
  39332. "description": "商品信息项",
  39333. "type": "array",
  39334. "items": {
  39335. "$ref": "#/definitions/models.WrTypeItem"
  39336. }
  39337. },
  39338. "lststep": {
  39339. "description": "履约规则",
  39340. "type": "array",
  39341. "items": {
  39342. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39343. }
  39344. },
  39345. "marketid": {
  39346. "description": "市场id",
  39347. "type": "integer"
  39348. }
  39349. }
  39350. },
  39351. "models.WrGoodsPerformanceStep": {
  39352. "type": "object",
  39353. "properties": {
  39354. "autoid": {
  39355. "description": "AutoID",
  39356. "type": "integer"
  39357. },
  39358. "isauto": {
  39359. "description": "是否自动 - 0:不自动 1:自动",
  39360. "type": "integer"
  39361. },
  39362. "remark": {
  39363. "description": "备注",
  39364. "type": "string"
  39365. },
  39366. "stepdate": {
  39367. "description": "天数信息(T+N)",
  39368. "type": "string"
  39369. },
  39370. "stepdays": {
  39371. "description": "距离上一步天数",
  39372. "type": "integer"
  39373. },
  39374. "stepindex": {
  39375. "description": "步骤序号",
  39376. "type": "integer"
  39377. },
  39378. "stepinfo": {
  39379. "description": "步骤信息(步骤名称+步骤值)",
  39380. "type": "string"
  39381. },
  39382. "steptypeid": {
  39383. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  39384. "type": "integer"
  39385. },
  39386. "steptypename": {
  39387. "description": "步骤名称",
  39388. "type": "string"
  39389. },
  39390. "stepvalue": {
  39391. "description": "步骤值",
  39392. "type": "number"
  39393. },
  39394. "templateid": {
  39395. "description": "履约计划模板ID",
  39396. "type": "integer"
  39397. }
  39398. }
  39399. },
  39400. "models.WrHoldLB": {
  39401. "type": "object",
  39402. "properties": {
  39403. "accountid": {
  39404. "description": "持有人帐户ID",
  39405. "type": "integer"
  39406. },
  39407. "bannerpicurl": {
  39408. "description": "Banner图",
  39409. "type": "string"
  39410. },
  39411. "createtime": {
  39412. "description": "创建时间(过户时间)",
  39413. "type": "string"
  39414. },
  39415. "deliverygoodscode": {
  39416. "description": "品种代码",
  39417. "type": "string"
  39418. },
  39419. "deliverygoodsid": {
  39420. "description": "品种ID",
  39421. "type": "integer"
  39422. },
  39423. "deliverygoodsname": {
  39424. "description": "品种名称",
  39425. "type": "string"
  39426. },
  39427. "enableqty": {
  39428. "description": "可用数量",
  39429. "type": "number"
  39430. },
  39431. "enumdicname": {
  39432. "description": "单位名称",
  39433. "type": "string"
  39434. },
  39435. "freezerqty": {
  39436. "description": "冻结数量",
  39437. "type": "number"
  39438. },
  39439. "ladingbillid": {
  39440. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39441. "type": "string"
  39442. },
  39443. "minivalue": {
  39444. "description": "现货商品最小变动值",
  39445. "type": "integer"
  39446. },
  39447. "optioncompare": {
  39448. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39449. "type": "string"
  39450. },
  39451. "parentsubnum": {
  39452. "description": "拆分父子单号",
  39453. "type": "integer"
  39454. },
  39455. "pledgeqty": {
  39456. "description": "质押数量",
  39457. "type": "number"
  39458. },
  39459. "qty": {
  39460. "description": "数量",
  39461. "type": "number"
  39462. },
  39463. "subnum": {
  39464. "description": "提单子单号",
  39465. "type": "integer"
  39466. },
  39467. "thumurls": {
  39468. "description": "缩略图",
  39469. "type": "string"
  39470. },
  39471. "tradedate": {
  39472. "description": "交易日(yyyyMMdd)",
  39473. "type": "string"
  39474. },
  39475. "userid": {
  39476. "description": "持有人ID",
  39477. "type": "integer"
  39478. },
  39479. "warehouseid": {
  39480. "description": "仓库ID",
  39481. "type": "integer"
  39482. },
  39483. "warehousename": {
  39484. "description": "仓库名称",
  39485. "type": "string"
  39486. },
  39487. "wrfactortypeid": {
  39488. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39489. "type": "string"
  39490. },
  39491. "wrfactortypename": {
  39492. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39493. "type": "string"
  39494. },
  39495. "wrholdeno": {
  39496. "description": "仓单编号",
  39497. "type": "string"
  39498. },
  39499. "wrid": {
  39500. "description": "仓单变更ID",
  39501. "type": "string"
  39502. },
  39503. "wrstandardcode": {
  39504. "description": "现货商品代码",
  39505. "type": "string"
  39506. },
  39507. "wrstandardid": {
  39508. "description": "现货商品ID",
  39509. "type": "integer"
  39510. },
  39511. "wrstandardname": {
  39512. "description": "商品名称",
  39513. "type": "string"
  39514. },
  39515. "wrtypename": {
  39516. "description": "商品",
  39517. "type": "string"
  39518. }
  39519. }
  39520. },
  39521. "models.WrMarketTradeConfig": {
  39522. "type": "object",
  39523. "properties": {
  39524. "basisdownratio": {
  39525. "description": "浮动价基差下限比例(仓单贸易)",
  39526. "type": "number"
  39527. },
  39528. "basisupratio": {
  39529. "description": "浮动价基差上限比例(仓单贸易)",
  39530. "type": "number"
  39531. },
  39532. "buychargealgorithm": {
  39533. "description": "买方手续费收取方式 1:比率 2:固定",
  39534. "type": "integer"
  39535. },
  39536. "buychargealgorithm2": {
  39537. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39538. "type": "integer"
  39539. },
  39540. "buychargealgorithmvalue": {
  39541. "description": "买方手续费设置值(交易所部分)",
  39542. "type": "number"
  39543. },
  39544. "buychargealgorithmvalue2": {
  39545. "description": "买方手续费设置值(会员部分)",
  39546. "type": "number"
  39547. },
  39548. "buychargealgorithmvalue3": {
  39549. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  39550. "type": "number"
  39551. },
  39552. "buychargealgorithmvalue4": {
  39553. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  39554. "type": "number"
  39555. },
  39556. "buyfirstmarginalgorithm": {
  39557. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  39558. "type": "integer"
  39559. },
  39560. "buyfirstmarginvalue": {
  39561. "description": "买方出价保证金设置值 - [竞拍]",
  39562. "type": "number"
  39563. },
  39564. "buymarginalgorithm": {
  39565. "description": "买方保证金方式 - 1:比率 2:固定",
  39566. "type": "integer"
  39567. },
  39568. "buymarginvalue": {
  39569. "description": "买方保证金设置值",
  39570. "type": "number"
  39571. },
  39572. "buyreleaseratio": {
  39573. "description": "买方释放比率[2:分步履约]",
  39574. "type": "number"
  39575. },
  39576. "executemode": {
  39577. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  39578. "type": "integer"
  39579. },
  39580. "executeside": {
  39581. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  39582. "type": "integer"
  39583. },
  39584. "failedchargealgorithm": {
  39585. "description": "流拍手续费收取方式 1:比率 2:固定",
  39586. "type": "integer"
  39587. },
  39588. "failedchargevalue": {
  39589. "description": "流拍手续费设置值",
  39590. "type": "number"
  39591. },
  39592. "failedchargevalue2": {
  39593. "description": "流拍卖方手续费设置值",
  39594. "type": "number"
  39595. },
  39596. "holddays": {
  39597. "description": "合同期限[2:分步履约]",
  39598. "type": "integer"
  39599. },
  39600. "listingmode": {
  39601. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39602. "type": "integer"
  39603. },
  39604. "marketid": {
  39605. "description": "市场ID-仓单贸易、竞拍、预售",
  39606. "type": "integer"
  39607. },
  39608. "minqty": {
  39609. "description": "最小执行量[2:分步履约]",
  39610. "type": "number"
  39611. },
  39612. "modifierid": {
  39613. "description": "修改人",
  39614. "type": "integer"
  39615. },
  39616. "nowrquotaflag": {
  39617. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  39618. "type": "integer"
  39619. },
  39620. "performancetempid": {
  39621. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39622. "type": "integer"
  39623. },
  39624. "performancetempid2": {
  39625. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39626. "type": "integer"
  39627. },
  39628. "performancetempid2s": {
  39629. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39630. "type": "string"
  39631. },
  39632. "performancetempids": {
  39633. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39634. "type": "string"
  39635. },
  39636. "performanceway": {
  39637. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  39638. "type": "integer"
  39639. },
  39640. "sellchargealgorithm": {
  39641. "description": "卖方手续费收取方式 1:比率 2:固定",
  39642. "type": "integer"
  39643. },
  39644. "sellchargealgorithm2": {
  39645. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39646. "type": "integer"
  39647. },
  39648. "sellchargealgorithmvalue": {
  39649. "description": "卖方手续费设置值(交易所部分)",
  39650. "type": "number"
  39651. },
  39652. "sellchargealgorithmvalue2": {
  39653. "description": "卖方手续费设置值(会员部分)",
  39654. "type": "number"
  39655. },
  39656. "sellchargealgorithmvalue3": {
  39657. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  39658. "type": "number"
  39659. },
  39660. "sellchargealgorithmvalue4": {
  39661. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  39662. "type": "number"
  39663. },
  39664. "sellmarginalgorithm": {
  39665. "description": "卖方保证金方式 - 1:比率 2:固定",
  39666. "type": "integer"
  39667. },
  39668. "sellmarginvalue": {
  39669. "description": "卖方保证金设置值",
  39670. "type": "number"
  39671. },
  39672. "sellmarginvalue2": {
  39673. "description": "卖方保证金设置值(无仓单)",
  39674. "type": "number"
  39675. },
  39676. "sellreleaseratio": {
  39677. "description": "卖方释放比率[2:分步履约]",
  39678. "type": "number"
  39679. },
  39680. "updatetime": {
  39681. "description": "更新时间",
  39682. "type": "string"
  39683. }
  39684. }
  39685. },
  39686. "models.WrOrderDetail": {
  39687. "type": "object",
  39688. "properties": {
  39689. "accountid": {
  39690. "description": "交易账号(资金账号)",
  39691. "type": "integer"
  39692. },
  39693. "allfriendsflag": {
  39694. "description": "是否全好友可见 - 0:否 1:是",
  39695. "type": "integer"
  39696. },
  39697. "amount": {
  39698. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  39699. "type": "number"
  39700. },
  39701. "bannerpicurl": {
  39702. "description": "Banner图",
  39703. "type": "string"
  39704. },
  39705. "begindate": {
  39706. "description": "开始交易日(yyyymmdd)",
  39707. "type": "string"
  39708. },
  39709. "buyorsell": {
  39710. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39711. "type": "integer"
  39712. },
  39713. "canbargain": {
  39714. "description": "是否可议价 - 0:不可 1:可",
  39715. "type": "integer"
  39716. },
  39717. "cancelqty": {
  39718. "description": "撤销数量",
  39719. "type": "number"
  39720. },
  39721. "canpart": {
  39722. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  39723. "type": "integer"
  39724. },
  39725. "delistminqty": {
  39726. "description": "起摘数量",
  39727. "type": "integer"
  39728. },
  39729. "deliverygoodscode": {
  39730. "description": "品种代码",
  39731. "type": "string"
  39732. },
  39733. "deliverygoodsid": {
  39734. "description": "品种ID",
  39735. "type": "integer"
  39736. },
  39737. "deliverygoodsname": {
  39738. "description": "品种名称",
  39739. "type": "string"
  39740. },
  39741. "deliverymonth": {
  39742. "description": "交收月",
  39743. "type": "string"
  39744. },
  39745. "enddate": {
  39746. "description": "结束交易日(yyyymmdd)",
  39747. "type": "string"
  39748. },
  39749. "enumdicname": {
  39750. "description": "单位名称",
  39751. "type": "string"
  39752. },
  39753. "fixedprice": {
  39754. "description": "固定价格 - [挂牌]",
  39755. "type": "number"
  39756. },
  39757. "freezecharge": {
  39758. "description": "冻结手续费",
  39759. "type": "number"
  39760. },
  39761. "freezemargin": {
  39762. "description": "冻结保证金(保证金)",
  39763. "type": "number"
  39764. },
  39765. "futupricemove": {
  39766. "description": "期货升贴水",
  39767. "type": "number"
  39768. },
  39769. "futushow": {
  39770. "description": "期货合约/升贴水",
  39771. "type": "string"
  39772. },
  39773. "goodscode": {
  39774. "description": "期货合约",
  39775. "type": "string"
  39776. },
  39777. "goodsid": {
  39778. "description": "期货商品id",
  39779. "type": "integer"
  39780. },
  39781. "goodsname": {
  39782. "description": "商品名称",
  39783. "type": "string"
  39784. },
  39785. "haswr": {
  39786. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39787. "type": "integer"
  39788. },
  39789. "isspecified": {
  39790. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  39791. "type": "integer"
  39792. },
  39793. "ladingbillid": {
  39794. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39795. "type": "string"
  39796. },
  39797. "marginvalue": {
  39798. "description": "保证金设置值(履约保证金)",
  39799. "type": "number"
  39800. },
  39801. "marketid": {
  39802. "description": "市场ID",
  39803. "type": "integer"
  39804. },
  39805. "matchusername": {
  39806. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  39807. "type": "string"
  39808. },
  39809. "minivalue": {
  39810. "description": "现货商品最小变动值",
  39811. "type": "integer"
  39812. },
  39813. "optioncompare": {
  39814. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39815. "type": "string"
  39816. },
  39817. "orderqty": {
  39818. "description": "委托数量",
  39819. "type": "number"
  39820. },
  39821. "ordertime": {
  39822. "description": "委托时间(挂牌时间)",
  39823. "type": "string"
  39824. },
  39825. "performancetemplateid": {
  39826. "description": "履约模板id",
  39827. "type": "integer"
  39828. },
  39829. "pricemove": {
  39830. "description": "升贴水(浮动价时填写) - [挂牌]",
  39831. "type": "number"
  39832. },
  39833. "taname": {
  39834. "description": "交易用户名称(资金账号名称)",
  39835. "type": "string"
  39836. },
  39837. "thumurls": {
  39838. "description": "缩略图",
  39839. "type": "string"
  39840. },
  39841. "tradedate": {
  39842. "description": "交易日(yyyyMMdd)",
  39843. "type": "string"
  39844. },
  39845. "tradeprice": {
  39846. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39847. "type": "number"
  39848. },
  39849. "tradeqty": {
  39850. "description": "成交数量",
  39851. "type": "number"
  39852. },
  39853. "userid": {
  39854. "description": "用户ID",
  39855. "type": "integer"
  39856. },
  39857. "validtime": {
  39858. "description": "挂牌有效期",
  39859. "type": "string"
  39860. },
  39861. "validtype": {
  39862. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39863. "type": "integer"
  39864. },
  39865. "warehouseid": {
  39866. "description": "仓库ID",
  39867. "type": "integer"
  39868. },
  39869. "warehousename": {
  39870. "description": "仓库名称",
  39871. "type": "string"
  39872. },
  39873. "wrfactortypeid": {
  39874. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39875. "type": "string"
  39876. },
  39877. "wrfactortypename": {
  39878. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39879. "type": "string"
  39880. },
  39881. "wrpricetype": {
  39882. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39883. "type": "integer"
  39884. },
  39885. "wrstandardcode": {
  39886. "description": "现货商品代码",
  39887. "type": "string"
  39888. },
  39889. "wrstandardid": {
  39890. "description": "现货商品ID",
  39891. "type": "integer"
  39892. },
  39893. "wrstandardname": {
  39894. "description": "商品名称",
  39895. "type": "string"
  39896. },
  39897. "wrtradeorderid": {
  39898. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39899. "type": "string"
  39900. },
  39901. "wrtradeorderstatus": {
  39902. "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:撤单解冻贷款失败",
  39903. "type": "integer"
  39904. },
  39905. "wrtradetype": {
  39906. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39907. "type": "integer"
  39908. },
  39909. "wrtypename": {
  39910. "description": "商品",
  39911. "type": "string"
  39912. }
  39913. }
  39914. },
  39915. "models.WrOrderQuote": {
  39916. "type": "object",
  39917. "properties": {
  39918. "bannerpicurl": {
  39919. "description": "Banner图",
  39920. "type": "string"
  39921. },
  39922. "buyprice": {
  39923. "description": "买价",
  39924. "type": "number"
  39925. },
  39926. "buypricemove": {
  39927. "description": "买升贴水(基差)",
  39928. "type": "number"
  39929. },
  39930. "buyqty": {
  39931. "description": "买量",
  39932. "type": "number"
  39933. },
  39934. "deliverygoodscode": {
  39935. "description": "品种代码",
  39936. "type": "string"
  39937. },
  39938. "deliverygoodsid": {
  39939. "description": "品种id",
  39940. "type": "integer"
  39941. },
  39942. "deliverygoodsname": {
  39943. "description": "品种名称",
  39944. "type": "string"
  39945. },
  39946. "deliverymonth": {
  39947. "description": "交收月",
  39948. "type": "string"
  39949. },
  39950. "enumdicname": {
  39951. "description": "单位名称",
  39952. "type": "string"
  39953. },
  39954. "goodscode": {
  39955. "description": "商品合约(浮动价列表才有)",
  39956. "type": "string"
  39957. },
  39958. "goodsid": {
  39959. "description": "商品id(浮动价列表才有)",
  39960. "type": "integer"
  39961. },
  39962. "minivalue": {
  39963. "description": "现货商品最小变动值",
  39964. "type": "integer"
  39965. },
  39966. "pictureurls": {
  39967. "description": "详情图片(逗号分隔)",
  39968. "type": "string"
  39969. },
  39970. "sellprice": {
  39971. "description": "卖价",
  39972. "type": "number"
  39973. },
  39974. "sellpricemove": {
  39975. "description": "卖升贴水(基差)",
  39976. "type": "number"
  39977. },
  39978. "sellqty": {
  39979. "description": "卖量",
  39980. "type": "number"
  39981. },
  39982. "thumurls": {
  39983. "description": "缩略图片(1:1)(逗号分隔)",
  39984. "type": "string"
  39985. },
  39986. "warehousecode": {
  39987. "description": "仓库代码",
  39988. "type": "string"
  39989. },
  39990. "warehouseid": {
  39991. "description": "仓库id",
  39992. "type": "integer"
  39993. },
  39994. "warehousename": {
  39995. "description": "仓库名称",
  39996. "type": "string"
  39997. },
  39998. "wrfactortypeid": {
  39999. "description": "仓单要素id",
  40000. "type": "string"
  40001. },
  40002. "wrfactortypename": {
  40003. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40004. "type": "string"
  40005. },
  40006. "wrgoodsname": {
  40007. "description": "商品(商品名称+仓库要素名称 拼接)",
  40008. "type": "string"
  40009. },
  40010. "wrstandardcode": {
  40011. "description": "商品代码",
  40012. "type": "string"
  40013. },
  40014. "wrstandardid": {
  40015. "description": "商品id",
  40016. "type": "integer"
  40017. },
  40018. "wrstandardname": {
  40019. "description": "商品名称",
  40020. "type": "string"
  40021. }
  40022. }
  40023. },
  40024. "models.WrOrderQuoteDetail": {
  40025. "type": "object",
  40026. "properties": {
  40027. "buyorsell": {
  40028. "description": "买卖 - 0:买 1:卖",
  40029. "type": "integer"
  40030. },
  40031. "delistminqty": {
  40032. "description": "起摘数量",
  40033. "type": "number"
  40034. },
  40035. "deliverymonth": {
  40036. "description": "交收月",
  40037. "type": "string"
  40038. },
  40039. "enumdicname": {
  40040. "description": "单位名称",
  40041. "type": "string"
  40042. },
  40043. "fixedprice": {
  40044. "description": "买(卖)价",
  40045. "type": "number"
  40046. },
  40047. "marketid": {
  40048. "description": "市场id",
  40049. "type": "integer"
  40050. },
  40051. "minivalue": {
  40052. "description": "现货商品最小变动值",
  40053. "type": "integer"
  40054. },
  40055. "orderqty": {
  40056. "description": "买(卖)量(=委托量-成交量)",
  40057. "type": "number"
  40058. },
  40059. "ordertime": {
  40060. "description": "委托时间",
  40061. "type": "string"
  40062. },
  40063. "pricemove": {
  40064. "description": "买(卖)升贴水- 基差",
  40065. "type": "number"
  40066. },
  40067. "userid": {
  40068. "description": "购买方(销售方)用户ID",
  40069. "type": "integer"
  40070. },
  40071. "username": {
  40072. "description": "购买方(销售方)",
  40073. "type": "string"
  40074. },
  40075. "wrtradeorderid": {
  40076. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40077. "type": "string"
  40078. }
  40079. }
  40080. },
  40081. "models.WrOutInApply": {
  40082. "type": "object",
  40083. "properties": {
  40084. "applyid": {
  40085. "description": "申请单id",
  40086. "type": "string"
  40087. },
  40088. "applystatus": {
  40089. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  40090. "type": "integer"
  40091. },
  40092. "applytime": {
  40093. "description": "申请时间",
  40094. "type": "string"
  40095. },
  40096. "applytype": {
  40097. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  40098. "type": "integer"
  40099. },
  40100. "bannerpicurl": {
  40101. "description": "Banner图",
  40102. "type": "string"
  40103. },
  40104. "begindate": {
  40105. "description": "开始交易日(yyyymmdd)",
  40106. "type": "string"
  40107. },
  40108. "deliverygoodscode": {
  40109. "description": "品种代码",
  40110. "type": "string"
  40111. },
  40112. "deliverygoodsid": {
  40113. "description": "品种ID",
  40114. "type": "integer"
  40115. },
  40116. "deliverygoodsname": {
  40117. "description": "品种名称",
  40118. "type": "string"
  40119. },
  40120. "enddate": {
  40121. "description": "结束交易日(yyyymmdd)",
  40122. "type": "string"
  40123. },
  40124. "enumdicname": {
  40125. "description": "单位名称",
  40126. "type": "string"
  40127. },
  40128. "expresscompany": {
  40129. "description": "物流公司",
  40130. "type": "string"
  40131. },
  40132. "expressnum": {
  40133. "description": "物流单号",
  40134. "type": "string"
  40135. },
  40136. "minivalue": {
  40137. "description": "现货商品最小变动值",
  40138. "type": "integer"
  40139. },
  40140. "optioncompare": {
  40141. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40142. "type": "string"
  40143. },
  40144. "qty": {
  40145. "description": "数量",
  40146. "type": "integer"
  40147. },
  40148. "userid": {
  40149. "description": "用户id",
  40150. "type": "integer"
  40151. },
  40152. "warehouseid": {
  40153. "description": "仓库ID",
  40154. "type": "integer"
  40155. },
  40156. "warehousename": {
  40157. "description": "仓库名称",
  40158. "type": "string"
  40159. },
  40160. "wrfactortypeid": {
  40161. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40162. "type": "string"
  40163. },
  40164. "wrfactortypename": {
  40165. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40166. "type": "string"
  40167. },
  40168. "wrstandardcode": {
  40169. "description": "现货商品代码",
  40170. "type": "string"
  40171. },
  40172. "wrstandardid": {
  40173. "description": "现货商品ID",
  40174. "type": "integer"
  40175. },
  40176. "wrstandardname": {
  40177. "description": "商品名称",
  40178. "type": "string"
  40179. },
  40180. "wrtypename": {
  40181. "description": "商品",
  40182. "type": "string"
  40183. }
  40184. }
  40185. },
  40186. "models.WrPerformancePlan": {
  40187. "type": "object",
  40188. "required": [
  40189. "userid"
  40190. ],
  40191. "properties": {
  40192. "activatemonth": {
  40193. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  40194. "type": "string"
  40195. },
  40196. "amount": {
  40197. "description": "履约金额(总金额)",
  40198. "type": "number"
  40199. },
  40200. "begindate": {
  40201. "description": "开始交易日(yyyymmdd)",
  40202. "type": "string"
  40203. },
  40204. "buyaccountid": {
  40205. "description": "买方账号",
  40206. "type": "integer"
  40207. },
  40208. "buyerfreezeamount": {
  40209. "description": "履约冻结(买履约)",
  40210. "type": "number"
  40211. },
  40212. "buyerfreezeamountremain": {
  40213. "description": "履约冻结剩余(买履约)",
  40214. "type": "number"
  40215. },
  40216. "buyorsell": {
  40217. "description": "买卖方向 0-买 1-卖",
  40218. "type": "integer"
  40219. },
  40220. "buypaidamount": {
  40221. "description": "买方已冻/已扣金额 (已付金额)",
  40222. "type": "number"
  40223. },
  40224. "buyusername": {
  40225. "description": "买方名字",
  40226. "type": "string"
  40227. },
  40228. "contractid": {
  40229. "description": "合同ID",
  40230. "type": "integer"
  40231. },
  40232. "createtime": {
  40233. "description": "创建时间",
  40234. "type": "string"
  40235. },
  40236. "creatorid": {
  40237. "description": "创建人",
  40238. "type": "integer"
  40239. },
  40240. "curstepdeadline": {
  40241. "description": "当前步骤到期时间",
  40242. "type": "string"
  40243. },
  40244. "curstepid": {
  40245. "description": "当前步骤ID",
  40246. "type": "string"
  40247. },
  40248. "curstepname": {
  40249. "description": "当前步骤名称",
  40250. "type": "string"
  40251. },
  40252. "deliverygoodscode": {
  40253. "description": "品种代码",
  40254. "type": "string"
  40255. },
  40256. "deliverygoodsid": {
  40257. "description": "品种ID",
  40258. "type": "integer"
  40259. },
  40260. "deliverygoodsname": {
  40261. "description": "品种名称",
  40262. "type": "string"
  40263. },
  40264. "enddate": {
  40265. "description": "结束交易日(yyyymmdd)",
  40266. "type": "string"
  40267. },
  40268. "enumdicname": {
  40269. "description": "单位名称",
  40270. "type": "string"
  40271. },
  40272. "expressfee": {
  40273. "description": "运费",
  40274. "type": "number"
  40275. },
  40276. "expressfeeconfirmed": {
  40277. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  40278. "type": "integer"
  40279. },
  40280. "hasovershort": {
  40281. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  40282. "type": "integer"
  40283. },
  40284. "haswr": {
  40285. "description": "类型 0-仓单预售 1-仓单贸易",
  40286. "type": "integer"
  40287. },
  40288. "marketid": {
  40289. "description": "市场ID",
  40290. "type": "integer"
  40291. },
  40292. "middleaccountid": {
  40293. "description": "中间商资金账号ID",
  40294. "type": "integer"
  40295. },
  40296. "middleuserid": {
  40297. "description": "中间商用户ID",
  40298. "type": "integer"
  40299. },
  40300. "minivalue": {
  40301. "description": "现货商品最小变动值",
  40302. "type": "integer"
  40303. },
  40304. "optioncompare": {
  40305. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40306. "type": "string"
  40307. },
  40308. "overshortamount": {
  40309. "description": "溢短金额",
  40310. "type": "number"
  40311. },
  40312. "overshortqty": {
  40313. "description": "溢短数量",
  40314. "type": "number"
  40315. },
  40316. "paymenttype": {
  40317. "description": "付款方式 - 1:冻结 2:扣款",
  40318. "type": "integer"
  40319. },
  40320. "performanceplanid": {
  40321. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  40322. "type": "string"
  40323. },
  40324. "performancestatus": {
  40325. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  40326. "type": "integer"
  40327. },
  40328. "performancetype": {
  40329. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  40330. "type": "integer"
  40331. },
  40332. "qty": {
  40333. "description": "履约数量",
  40334. "type": "number"
  40335. },
  40336. "relatedorderid": {
  40337. "description": "关联单号(履约类型的关联单号)",
  40338. "type": "string"
  40339. },
  40340. "remark": {
  40341. "description": "备注",
  40342. "type": "string"
  40343. },
  40344. "sellaccountid": {
  40345. "description": "卖方账号",
  40346. "type": "integer"
  40347. },
  40348. "sellerfreezeamount": {
  40349. "description": "履约冻结(卖履约)",
  40350. "type": "number"
  40351. },
  40352. "sellerfreezeamountremain": {
  40353. "description": "履约冻结剩余(卖履约)",
  40354. "type": "number"
  40355. },
  40356. "sellreceivedamount": {
  40357. "description": "卖方已收金额",
  40358. "type": "number"
  40359. },
  40360. "sellusername": {
  40361. "description": "卖方名字",
  40362. "type": "string"
  40363. },
  40364. "shipremark": {
  40365. "description": "发货备注[物流单号]",
  40366. "type": "string"
  40367. },
  40368. "starttime": {
  40369. "description": "开始时间",
  40370. "type": "string"
  40371. },
  40372. "steptypeid": {
  40373. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40374. "type": "integer"
  40375. },
  40376. "typename": {
  40377. "description": "履约类型 名称",
  40378. "type": "string"
  40379. },
  40380. "unpaidamount": {
  40381. "description": "剩余款(待支付金额)",
  40382. "type": "number"
  40383. },
  40384. "userid": {
  40385. "description": "用户id",
  40386. "type": "integer"
  40387. },
  40388. "warehouseid": {
  40389. "description": "仓库ID",
  40390. "type": "integer"
  40391. },
  40392. "warehousename": {
  40393. "description": "仓库名称",
  40394. "type": "string"
  40395. },
  40396. "wrfactortypeid": {
  40397. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40398. "type": "string"
  40399. },
  40400. "wrfactortypename": {
  40401. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40402. "type": "string"
  40403. },
  40404. "wrstandardcode": {
  40405. "description": "现货商品代码",
  40406. "type": "string"
  40407. },
  40408. "wrstandardid": {
  40409. "description": "现货商品ID",
  40410. "type": "integer"
  40411. },
  40412. "wrstandardname": {
  40413. "description": "商品名称",
  40414. "type": "string"
  40415. },
  40416. "wrtransferuserid": {
  40417. "description": "仓单受让用户",
  40418. "type": "integer"
  40419. },
  40420. "wrtypename": {
  40421. "description": "商品",
  40422. "type": "string"
  40423. }
  40424. }
  40425. },
  40426. "models.WrPerformancePlanStep": {
  40427. "type": "object",
  40428. "properties": {
  40429. "delaydays": {
  40430. "description": "延期申请天数",
  40431. "type": "integer"
  40432. },
  40433. "deliverygoodscode": {
  40434. "description": "品种代码",
  40435. "type": "string"
  40436. },
  40437. "deliverygoodsid": {
  40438. "description": "品种ID",
  40439. "type": "integer"
  40440. },
  40441. "deliverygoodsname": {
  40442. "description": "品种名称",
  40443. "type": "string"
  40444. },
  40445. "endtime": {
  40446. "description": "结束日期",
  40447. "type": "string"
  40448. },
  40449. "enumdicname": {
  40450. "description": "单位名称",
  40451. "type": "string"
  40452. },
  40453. "executeside": {
  40454. "description": "步骤执行方 - 1:买方 2:卖方",
  40455. "type": "integer"
  40456. },
  40457. "handlestatus": {
  40458. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  40459. "type": "integer"
  40460. },
  40461. "isauto": {
  40462. "description": "是否自动 - 0:不自动 1:自动",
  40463. "type": "integer"
  40464. },
  40465. "islastreceivestep": {
  40466. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  40467. "type": "integer"
  40468. },
  40469. "minivalue": {
  40470. "description": "现货商品最小变动值",
  40471. "type": "integer"
  40472. },
  40473. "optioncompare": {
  40474. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40475. "type": "string"
  40476. },
  40477. "overdays": {
  40478. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  40479. "type": "integer"
  40480. },
  40481. "performancestepid": {
  40482. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  40483. "type": "string"
  40484. },
  40485. "planid": {
  40486. "description": "所属履约计划ID",
  40487. "type": "string"
  40488. },
  40489. "realamount": {
  40490. "description": "实际完成金额",
  40491. "type": "number"
  40492. },
  40493. "relatedorderid": {
  40494. "description": "关联单号",
  40495. "type": "string"
  40496. },
  40497. "remaindays": {
  40498. "description": "剩余天数",
  40499. "type": "integer"
  40500. },
  40501. "remark": {
  40502. "description": "错误备注",
  40503. "type": "string"
  40504. },
  40505. "starttime": {
  40506. "description": "开始日期",
  40507. "type": "string"
  40508. },
  40509. "stepamount": {
  40510. "description": "步骤金额",
  40511. "type": "number"
  40512. },
  40513. "stepdays": {
  40514. "description": "距离上一步天数(分钟)",
  40515. "type": "integer"
  40516. },
  40517. "stepindex": {
  40518. "description": "步骤序号",
  40519. "type": "integer"
  40520. },
  40521. "steplanchtype": {
  40522. "description": "步骤启动类型 - 1:系统自动 2:手动",
  40523. "type": "integer"
  40524. },
  40525. "stepremark": {
  40526. "description": "步骤备注",
  40527. "type": "string"
  40528. },
  40529. "stepstatus": {
  40530. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  40531. "type": "integer"
  40532. },
  40533. "steptypeid": {
  40534. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40535. "type": "integer"
  40536. },
  40537. "steptypename": {
  40538. "description": "步骤名称",
  40539. "type": "string"
  40540. },
  40541. "stepvalue": {
  40542. "description": "步骤值",
  40543. "type": "number"
  40544. },
  40545. "warehouseid": {
  40546. "description": "仓库ID",
  40547. "type": "integer"
  40548. },
  40549. "warehousename": {
  40550. "description": "仓库名称",
  40551. "type": "string"
  40552. },
  40553. "wrfactortypeid": {
  40554. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40555. "type": "string"
  40556. },
  40557. "wrfactortypename": {
  40558. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40559. "type": "string"
  40560. },
  40561. "wrstandardcode": {
  40562. "description": "现货商品代码",
  40563. "type": "string"
  40564. },
  40565. "wrstandardid": {
  40566. "description": "现货商品ID",
  40567. "type": "integer"
  40568. },
  40569. "wrstandardname": {
  40570. "description": "商品名称",
  40571. "type": "string"
  40572. },
  40573. "wrtypename": {
  40574. "description": "商品",
  40575. "type": "string"
  40576. }
  40577. }
  40578. },
  40579. "models.WrPerformanceStepType": {
  40580. "type": "object",
  40581. "properties": {
  40582. "canauto": {
  40583. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  40584. "type": "integer"
  40585. },
  40586. "steptypeid": {
  40587. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  40588. "type": "integer"
  40589. },
  40590. "steptypename": {
  40591. "description": "步骤类型名称",
  40592. "type": "string"
  40593. }
  40594. }
  40595. },
  40596. "models.WrPerformanceTemplateEx": {
  40597. "type": "object",
  40598. "properties": {
  40599. "autoid": {
  40600. "description": "AutoID 模板id",
  40601. "type": "integer"
  40602. },
  40603. "createtime": {
  40604. "description": "创建时间",
  40605. "type": "string"
  40606. },
  40607. "creatorid": {
  40608. "description": "创建人",
  40609. "type": "integer"
  40610. },
  40611. "lstStep": {
  40612. "description": "步骤信息列表",
  40613. "type": "array",
  40614. "items": {
  40615. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40616. }
  40617. },
  40618. "paymenttype": {
  40619. "description": "支付方式 - 1:冻结 2:扣款",
  40620. "type": "integer"
  40621. },
  40622. "takemode": {
  40623. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  40624. "type": "integer"
  40625. },
  40626. "templatename": {
  40627. "description": "模板名称",
  40628. "type": "string"
  40629. },
  40630. "templatetype": {
  40631. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  40632. "type": "integer"
  40633. },
  40634. "userid": {
  40635. "description": "所属用户",
  40636. "type": "integer"
  40637. }
  40638. }
  40639. },
  40640. "models.WrPosition": {
  40641. "type": "object",
  40642. "properties": {
  40643. "accountid": {
  40644. "description": "帐户ID",
  40645. "type": "integer"
  40646. },
  40647. "buyexcuteqty": {
  40648. "description": "采购履约中数量",
  40649. "type": "number"
  40650. },
  40651. "creditcurqty": {
  40652. "description": "授信当前数量(预售仓单:预售当前量)",
  40653. "type": "number"
  40654. },
  40655. "creditenableqty": {
  40656. "description": "授信可用数量(预售仓单: 可用数量)",
  40657. "type": "number"
  40658. },
  40659. "creditfreezeqty": {
  40660. "description": "授信冻结数量(预售仓单: 当前数量)",
  40661. "type": "number"
  40662. },
  40663. "credittotalqty": {
  40664. "description": "授信总数量(预售仓单:预售总量)",
  40665. "type": "number"
  40666. },
  40667. "credittradeqty": {
  40668. "description": "授信成交数量(预售仓单:成交总量)",
  40669. "type": "number"
  40670. },
  40671. "deliverygoodscode": {
  40672. "description": "品种代码",
  40673. "type": "string"
  40674. },
  40675. "deliverygoodsid": {
  40676. "description": "品种ID",
  40677. "type": "integer"
  40678. },
  40679. "deliverygoodsname": {
  40680. "description": "品种名称",
  40681. "type": "string"
  40682. },
  40683. "enalbeqty": {
  40684. "description": "可用数量",
  40685. "type": "number"
  40686. },
  40687. "enumdicname": {
  40688. "description": "单位名称",
  40689. "type": "string"
  40690. },
  40691. "freezeqty": {
  40692. "description": "总冻结数量",
  40693. "type": "number"
  40694. },
  40695. "haswr": {
  40696. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40697. "type": "integer"
  40698. },
  40699. "minivalue": {
  40700. "description": "现货商品最小变动值",
  40701. "type": "integer"
  40702. },
  40703. "modifytime": {
  40704. "description": "修改时间(过户时间)",
  40705. "type": "string"
  40706. },
  40707. "optioncompare": {
  40708. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40709. "type": "string"
  40710. },
  40711. "pledgeqty": {
  40712. "description": "质押数量",
  40713. "type": "number"
  40714. },
  40715. "querytype": {
  40716. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  40717. "type": "integer"
  40718. },
  40719. "sellexcuteqty": {
  40720. "description": "销售履约中数量",
  40721. "type": "number"
  40722. },
  40723. "totalqty": {
  40724. "description": "总数量(库存数量)",
  40725. "type": "number"
  40726. },
  40727. "warehouseid": {
  40728. "description": "仓库ID",
  40729. "type": "integer"
  40730. },
  40731. "warehousename": {
  40732. "description": "仓库名称",
  40733. "type": "string"
  40734. },
  40735. "wrfactortypeid": {
  40736. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40737. "type": "string"
  40738. },
  40739. "wrfactortypename": {
  40740. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40741. "type": "string"
  40742. },
  40743. "wrpositionid": {
  40744. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40745. "type": "string"
  40746. },
  40747. "wrpositionno": {
  40748. "description": "仓单编号",
  40749. "type": "string"
  40750. },
  40751. "wrstandardcode": {
  40752. "description": "现货商品代码",
  40753. "type": "string"
  40754. },
  40755. "wrstandardid": {
  40756. "description": "现货商品ID",
  40757. "type": "integer"
  40758. },
  40759. "wrstandardname": {
  40760. "description": "商品名称",
  40761. "type": "string"
  40762. },
  40763. "wrtypename": {
  40764. "description": "商品",
  40765. "type": "string"
  40766. },
  40767. "wruserid": {
  40768. "description": "持有人ID",
  40769. "type": "integer"
  40770. }
  40771. }
  40772. },
  40773. "models.WrPreSaleInfo": {
  40774. "type": "object",
  40775. "properties": {
  40776. "bannerpicurl": {
  40777. "description": "Banner图",
  40778. "type": "string"
  40779. },
  40780. "baseqty": {
  40781. "description": "中签基数",
  40782. "type": "number"
  40783. },
  40784. "createtime": {
  40785. "description": "创建时间",
  40786. "type": "string"
  40787. },
  40788. "deliverygoodsid": {
  40789. "description": "现货品种ID",
  40790. "type": "integer"
  40791. },
  40792. "enddate": {
  40793. "description": "预售结束日期",
  40794. "type": "string"
  40795. },
  40796. "enumdicname": {
  40797. "description": "单位名称",
  40798. "type": "string"
  40799. },
  40800. "lotteryflag": {
  40801. "description": "摇号标识 - 0:未摇号 1:已摇号",
  40802. "type": "integer"
  40803. },
  40804. "lotteryqty": {
  40805. "description": "摇号总量",
  40806. "type": "number"
  40807. },
  40808. "luckyqty": {
  40809. "description": "已中签量",
  40810. "type": "number"
  40811. },
  40812. "marketid": {
  40813. "description": "市场ID",
  40814. "type": "integer"
  40815. },
  40816. "maxbuyqty": {
  40817. "description": "单人最大申购量",
  40818. "type": "number"
  40819. },
  40820. "maxluckyqty": {
  40821. "description": "单人最大中签量",
  40822. "type": "number"
  40823. },
  40824. "pictureurls": {
  40825. "description": "详情图片(逗号分隔)",
  40826. "type": "string"
  40827. },
  40828. "placeqty": {
  40829. "description": "已配售量",
  40830. "type": "number"
  40831. },
  40832. "presaleapplyid": {
  40833. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40834. "type": "string",
  40835. "example": "0"
  40836. },
  40837. "presaleqty": {
  40838. "description": "预售总量",
  40839. "type": "number"
  40840. },
  40841. "presalestatus": {
  40842. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  40843. "type": "integer"
  40844. },
  40845. "sellaccountid": {
  40846. "description": "发行方资金账户ID",
  40847. "type": "integer"
  40848. },
  40849. "selluserid": {
  40850. "description": "发行方用户ID",
  40851. "type": "integer"
  40852. },
  40853. "sellwrtradeorderid": {
  40854. "description": "发行方卖委托单ID",
  40855. "type": "string"
  40856. },
  40857. "startdate": {
  40858. "description": "预售开始日期",
  40859. "type": "string"
  40860. },
  40861. "takestartdate": {
  40862. "description": "提货开始日期",
  40863. "type": "string"
  40864. },
  40865. "thumurls": {
  40866. "description": "缩略图片(1:1)(逗号分隔)",
  40867. "type": "string"
  40868. },
  40869. "tradedate": {
  40870. "description": "交易日",
  40871. "type": "string"
  40872. },
  40873. "unitid": {
  40874. "description": "单位ID",
  40875. "type": "integer"
  40876. },
  40877. "unitprice": {
  40878. "description": "商品单价",
  40879. "type": "number"
  40880. },
  40881. "username": {
  40882. "description": "发行方用户名称",
  40883. "type": "string"
  40884. },
  40885. "warehousecode": {
  40886. "description": "仓库代码(仓库简称)",
  40887. "type": "string"
  40888. },
  40889. "warehouseid": {
  40890. "description": "仓库ID",
  40891. "type": "integer"
  40892. },
  40893. "warehousename": {
  40894. "description": "仓库名称",
  40895. "type": "string"
  40896. },
  40897. "wrfactortypeid": {
  40898. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  40899. "type": "string",
  40900. "example": "0"
  40901. },
  40902. "wrstandardid": {
  40903. "description": "现货商品ID",
  40904. "type": "integer"
  40905. },
  40906. "wrstandardname": {
  40907. "description": "现货商品名称",
  40908. "type": "string"
  40909. }
  40910. }
  40911. },
  40912. "models.WrQuoteOrderMyq": {
  40913. "type": "object",
  40914. "properties": {
  40915. "buyorsell": {
  40916. "description": "买卖 - 0:买 1:卖",
  40917. "type": "integer"
  40918. },
  40919. "canbargain": {
  40920. "description": "是否可议价 - 0:不可 1:可",
  40921. "type": "integer"
  40922. },
  40923. "canpart": {
  40924. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  40925. "type": "integer"
  40926. },
  40927. "delistminqty": {
  40928. "description": "起摘数量",
  40929. "type": "number"
  40930. },
  40931. "deliverygoodscode": {
  40932. "description": "品种代码",
  40933. "type": "string"
  40934. },
  40935. "deliverygoodsid": {
  40936. "description": "品种ID",
  40937. "type": "integer"
  40938. },
  40939. "deliverygoodsname": {
  40940. "description": "品种名称",
  40941. "type": "string"
  40942. },
  40943. "deliverymonth": {
  40944. "description": "交收月",
  40945. "type": "string"
  40946. },
  40947. "enumdicname": {
  40948. "description": "单位名称",
  40949. "type": "string"
  40950. },
  40951. "fixedprice": {
  40952. "description": "买(卖)价",
  40953. "type": "number"
  40954. },
  40955. "goodscode": {
  40956. "description": "商品合约代码",
  40957. "type": "string"
  40958. },
  40959. "marginflag": {
  40960. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  40961. "type": "integer"
  40962. },
  40963. "marginvalue": {
  40964. "description": "保证金设置值",
  40965. "type": "number"
  40966. },
  40967. "minivalue": {
  40968. "description": "现货商品最小变动值",
  40969. "type": "integer"
  40970. },
  40971. "orderqty": {
  40972. "description": "买(卖)量(=委托量-成交量)",
  40973. "type": "number"
  40974. },
  40975. "ordertime": {
  40976. "description": "委托时间",
  40977. "type": "string"
  40978. },
  40979. "performancetemplateid": {
  40980. "description": "履约模板id",
  40981. "type": "integer"
  40982. },
  40983. "pricemove": {
  40984. "description": "买(卖)升贴水- 基差",
  40985. "type": "number"
  40986. },
  40987. "templatename": {
  40988. "description": "履约模板名称",
  40989. "type": "string"
  40990. },
  40991. "userid": {
  40992. "description": "购买方(销售方)用户ID",
  40993. "type": "integer"
  40994. },
  40995. "username": {
  40996. "description": "购买方(销售方)",
  40997. "type": "string"
  40998. },
  40999. "validtime": {
  41000. "description": "有效期限",
  41001. "type": "string"
  41002. },
  41003. "validtype": {
  41004. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  41005. "type": "integer"
  41006. },
  41007. "warehousename": {
  41008. "description": "仓库名称",
  41009. "type": "string"
  41010. },
  41011. "wrfactortypeid": {
  41012. "description": "仓单要素id",
  41013. "type": "string"
  41014. },
  41015. "wrstandardcode": {
  41016. "description": "现货商品代码",
  41017. "type": "string"
  41018. },
  41019. "wrstandardid": {
  41020. "description": "现货商品ID",
  41021. "type": "integer"
  41022. },
  41023. "wrstandardname": {
  41024. "description": "商品名称",
  41025. "type": "string"
  41026. },
  41027. "wrtradeorderid": {
  41028. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41029. "type": "string"
  41030. },
  41031. "wrtypename": {
  41032. "description": "商品",
  41033. "type": "string"
  41034. }
  41035. }
  41036. },
  41037. "models.WrReckonSpotGoodsTradeSum": {
  41038. "type": "object",
  41039. "properties": {
  41040. "begindate": {
  41041. "description": "开始日期(结果含开始日期) yyyymmdd",
  41042. "type": "string"
  41043. },
  41044. "enddate": {
  41045. "description": "结束日期(结果含结束日期) yyyymmdd",
  41046. "type": "string"
  41047. },
  41048. "istoday": {
  41049. "description": "是否当日",
  41050. "type": "boolean"
  41051. },
  41052. "marketid": {
  41053. "description": "市场ID",
  41054. "type": "integer"
  41055. },
  41056. "price": {
  41057. "description": "价格 = 日成交金额 / 日成交数量",
  41058. "type": "string"
  41059. },
  41060. "reckondate": {
  41061. "description": "日期 格式 yyyymmdd",
  41062. "type": "string"
  41063. },
  41064. "tradeamount": {
  41065. "description": "日成交金额(当日单方向成交金额)",
  41066. "type": "number"
  41067. },
  41068. "tradeqty": {
  41069. "description": "日成交数量(当日单方向成交数量)",
  41070. "type": "number"
  41071. },
  41072. "wrstandardid": {
  41073. "description": "现货商品ID",
  41074. "type": "integer"
  41075. }
  41076. }
  41077. },
  41078. "models.WrScfContract": {
  41079. "type": "object",
  41080. "properties": {
  41081. "borroweruserid": {
  41082. "description": "借款用户ID",
  41083. "type": "integer"
  41084. },
  41085. "buybackwrpositionqty": {
  41086. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  41087. "type": "number"
  41088. },
  41089. "closeinterest": {
  41090. "description": "已结利息 -\u003e 已结费用",
  41091. "type": "number"
  41092. },
  41093. "currisklevel": {
  41094. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  41095. "type": "integer"
  41096. },
  41097. "deadline": {
  41098. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  41099. "type": "string"
  41100. },
  41101. "deliverygoodscode": {
  41102. "description": "品种代码",
  41103. "type": "string"
  41104. },
  41105. "deliverygoodsid": {
  41106. "description": "品种ID",
  41107. "type": "integer"
  41108. },
  41109. "deliverygoodsname": {
  41110. "description": "品种名称",
  41111. "type": "string"
  41112. },
  41113. "enumdicname": {
  41114. "description": "单位名称",
  41115. "type": "string"
  41116. },
  41117. "financingdays": {
  41118. "description": "天数(天)",
  41119. "type": "integer"
  41120. },
  41121. "initmargin": {
  41122. "description": "保证金 - [仓单回购]",
  41123. "type": "number"
  41124. },
  41125. "interestamount": {
  41126. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  41127. "type": "number"
  41128. },
  41129. "interestdebt": {
  41130. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  41131. "type": "number"
  41132. },
  41133. "interestminlen": {
  41134. "description": "最小起息天数",
  41135. "type": "integer"
  41136. },
  41137. "interestrate": {
  41138. "description": "利率",
  41139. "type": "number"
  41140. },
  41141. "interestratemode": {
  41142. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  41143. "type": "integer"
  41144. },
  41145. "interestsettlemode": {
  41146. "description": "结息方式 - 1:按日结息 3:按月结息",
  41147. "type": "integer"
  41148. },
  41149. "interestsettlevalue": {
  41150. "description": "结息方式值",
  41151. "type": "integer"
  41152. },
  41153. "isautoloan": {
  41154. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  41155. "type": "integer"
  41156. },
  41157. "lastcloseinterestday": {
  41158. "description": "最近结息日(yyyyMMdd)",
  41159. "type": "string"
  41160. },
  41161. "lenderamount": {
  41162. "description": "贷款金额 -\u003e 借款金额",
  41163. "type": "number"
  41164. },
  41165. "lenderuserid": {
  41166. "description": "贷款方用户ID -\u003e 融出方用户ID",
  41167. "type": "integer"
  41168. },
  41169. "lenderusername": {
  41170. "description": "融出方",
  41171. "type": "string"
  41172. },
  41173. "marginratio": {
  41174. "description": "保证金比率质押率 - [仓单质押]",
  41175. "type": "number"
  41176. },
  41177. "marketid": {
  41178. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  41179. "type": "integer"
  41180. },
  41181. "minivalue": {
  41182. "description": "现货商品最小变动值",
  41183. "type": "integer"
  41184. },
  41185. "optioncompare": {
  41186. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41187. "type": "string"
  41188. },
  41189. "pricemove": {
  41190. "description": "估值升贴水值",
  41191. "type": "number"
  41192. },
  41193. "productdetailid": {
  41194. "description": "产品组合ID",
  41195. "type": "integer"
  41196. },
  41197. "productid": {
  41198. "description": "金融产品ID",
  41199. "type": "integer"
  41200. },
  41201. "productname": {
  41202. "description": "产品名称",
  41203. "type": "string"
  41204. },
  41205. "remainamount": {
  41206. "description": "合同剩余金额 -\u003e 剩余金额",
  41207. "type": "number"
  41208. },
  41209. "remainwrpositionqty": {
  41210. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  41211. "type": "number"
  41212. },
  41213. "remark": {
  41214. "description": "备注",
  41215. "type": "string"
  41216. },
  41217. "scfcontractid": {
  41218. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  41219. "type": "string"
  41220. },
  41221. "scfcontractstatus": {
  41222. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  41223. "type": "integer"
  41224. },
  41225. "scfcontracttype": {
  41226. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  41227. "type": "integer"
  41228. },
  41229. "startinterestday": {
  41230. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  41231. "type": "string"
  41232. },
  41233. "totalinterest": {
  41234. "description": "已计利息 -\u003e 已计费用",
  41235. "type": "number"
  41236. },
  41237. "unpaidinterest": {
  41238. "description": "未结费用",
  41239. "type": "number"
  41240. },
  41241. "updatetime": {
  41242. "description": "更新时间",
  41243. "type": "string"
  41244. },
  41245. "warehouseid": {
  41246. "description": "仓库ID",
  41247. "type": "integer"
  41248. },
  41249. "warehousename": {
  41250. "description": "仓库名称",
  41251. "type": "string"
  41252. },
  41253. "wrfactortypeid": {
  41254. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41255. "type": "string"
  41256. },
  41257. "wrfactortypename": {
  41258. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41259. "type": "string"
  41260. },
  41261. "wrqty": {
  41262. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  41263. "type": "number"
  41264. },
  41265. "wrstandardcode": {
  41266. "description": "现货商品代码",
  41267. "type": "string"
  41268. },
  41269. "wrstandardid": {
  41270. "description": "现货商品ID",
  41271. "type": "integer"
  41272. },
  41273. "wrstandardname": {
  41274. "description": "商品名称",
  41275. "type": "string"
  41276. },
  41277. "wrtypename": {
  41278. "description": "商品",
  41279. "type": "string"
  41280. }
  41281. }
  41282. },
  41283. "models.WrScfContractInterest": {
  41284. "type": "object",
  41285. "properties": {
  41286. "closeinterest": {
  41287. "description": "已结利息",
  41288. "type": "number"
  41289. },
  41290. "closeintereststatus": {
  41291. "description": "结息状态 - 1:未结 2:已结",
  41292. "type": "integer"
  41293. },
  41294. "closetime": {
  41295. "description": "结息时间",
  41296. "type": "string"
  41297. },
  41298. "closetradedate": {
  41299. "description": "结息交易日",
  41300. "type": "string"
  41301. },
  41302. "creatorid": {
  41303. "description": "操作人ID",
  41304. "type": "integer"
  41305. },
  41306. "dayrate": {
  41307. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  41308. "type": "number"
  41309. },
  41310. "interest": {
  41311. "description": "利息",
  41312. "type": "number"
  41313. },
  41314. "interestamount": {
  41315. "description": "计息金额",
  41316. "type": "number"
  41317. },
  41318. "interestday": {
  41319. "description": "计息日(yyyyMMdd)",
  41320. "type": "string"
  41321. },
  41322. "scfcontractid": {
  41323. "description": "SCF合同ID",
  41324. "type": "string"
  41325. },
  41326. "scfcontractinterestid": {
  41327. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  41328. "type": "integer"
  41329. },
  41330. "updatetime": {
  41331. "description": "更新时间",
  41332. "type": "string"
  41333. }
  41334. }
  41335. },
  41336. "models.WrSearchUser": {
  41337. "type": "object",
  41338. "required": [
  41339. "username"
  41340. ],
  41341. "properties": {
  41342. "userid": {
  41343. "description": "用户ID",
  41344. "type": "integer"
  41345. },
  41346. "username": {
  41347. "description": "用户名称(已脱敏)",
  41348. "type": "string"
  41349. },
  41350. "username2": {
  41351. "description": "用户名称(未脱敏)",
  41352. "type": "string"
  41353. },
  41354. "usertype": {
  41355. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41356. "type": "integer"
  41357. }
  41358. }
  41359. },
  41360. "models.WrSiteColumnDetail": {
  41361. "type": "object",
  41362. "properties": {
  41363. "brief": {
  41364. "description": "简介",
  41365. "type": "string"
  41366. },
  41367. "context": {
  41368. "description": "内容",
  41369. "type": "string"
  41370. },
  41371. "coverimage": {
  41372. "description": "封面图片",
  41373. "type": "string"
  41374. },
  41375. "creaedate": {
  41376. "description": "创建时间",
  41377. "type": "string"
  41378. },
  41379. "id": {
  41380. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41381. "type": "integer"
  41382. },
  41383. "istop": {
  41384. "description": "是否置顶 - 0:不置 1:置顶",
  41385. "type": "integer"
  41386. },
  41387. "publishdate": {
  41388. "description": "发布日期",
  41389. "type": "string"
  41390. },
  41391. "title": {
  41392. "description": "标题",
  41393. "type": "string"
  41394. },
  41395. "updatedate": {
  41396. "description": "修改时间",
  41397. "type": "string"
  41398. }
  41399. }
  41400. },
  41401. "models.WrSpecialMatchOrder": {
  41402. "type": "object",
  41403. "properties": {
  41404. "amount": {
  41405. "description": "金额 = 数量 * 价格",
  41406. "type": "number"
  41407. },
  41408. "buyorsell": {
  41409. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41410. "type": "integer"
  41411. },
  41412. "cancelqty": {
  41413. "description": "撤销数量",
  41414. "type": "number"
  41415. },
  41416. "deliverygoodscode": {
  41417. "description": "品种代码",
  41418. "type": "string"
  41419. },
  41420. "deliverygoodsid": {
  41421. "description": "品种ID",
  41422. "type": "integer"
  41423. },
  41424. "deliverygoodsname": {
  41425. "description": "品种名称",
  41426. "type": "string"
  41427. },
  41428. "enumdicname": {
  41429. "description": "单位名称",
  41430. "type": "string"
  41431. },
  41432. "fixedprice": {
  41433. "description": "固定价格(价格)",
  41434. "type": "number"
  41435. },
  41436. "haswr": {
  41437. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41438. "type": "integer"
  41439. },
  41440. "isspecified": {
  41441. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  41442. "type": "integer"
  41443. },
  41444. "marketid": {
  41445. "description": "市场ID",
  41446. "type": "integer"
  41447. },
  41448. "matchuserid": {
  41449. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  41450. "type": "integer"
  41451. },
  41452. "matchusername": {
  41453. "description": "指定方",
  41454. "type": "string"
  41455. },
  41456. "minivalue": {
  41457. "description": "现货商品最小变动值",
  41458. "type": "integer"
  41459. },
  41460. "optioncompare": {
  41461. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41462. "type": "string"
  41463. },
  41464. "orderqty": {
  41465. "description": "委托数量",
  41466. "type": "number"
  41467. },
  41468. "ordertime": {
  41469. "description": "委托时间",
  41470. "type": "string"
  41471. },
  41472. "pricemove": {
  41473. "description": "升贴水(浮动价时填写) - [挂牌]",
  41474. "type": "number"
  41475. },
  41476. "tradedate": {
  41477. "description": "交易日(yyyyMMdd)",
  41478. "type": "string"
  41479. },
  41480. "tradeprice": {
  41481. "description": "成交价格",
  41482. "type": "number"
  41483. },
  41484. "tradeqty": {
  41485. "description": "成交数量",
  41486. "type": "number"
  41487. },
  41488. "userid": {
  41489. "description": "用户ID",
  41490. "type": "integer"
  41491. },
  41492. "username": {
  41493. "description": "发起方",
  41494. "type": "string"
  41495. },
  41496. "warehouseid": {
  41497. "description": "仓库ID",
  41498. "type": "integer"
  41499. },
  41500. "warehousename": {
  41501. "description": "仓库名称",
  41502. "type": "string"
  41503. },
  41504. "wrfactortypeid": {
  41505. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41506. "type": "string"
  41507. },
  41508. "wrfactortypename": {
  41509. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41510. "type": "string"
  41511. },
  41512. "wrpricetype": {
  41513. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41514. "type": "integer"
  41515. },
  41516. "wrstandardcode": {
  41517. "description": "现货商品代码",
  41518. "type": "string"
  41519. },
  41520. "wrstandardid": {
  41521. "description": "现货商品ID",
  41522. "type": "integer"
  41523. },
  41524. "wrstandardname": {
  41525. "description": "商品名称",
  41526. "type": "string"
  41527. },
  41528. "wrtradeorderid": {
  41529. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41530. "type": "string"
  41531. },
  41532. "wrtradeorderstatus": {
  41533. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  41534. "type": "integer"
  41535. },
  41536. "wrtradetype": {
  41537. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41538. "type": "integer"
  41539. },
  41540. "wrtypename": {
  41541. "description": "商品",
  41542. "type": "string"
  41543. }
  41544. }
  41545. },
  41546. "models.WrSpotGroupTradeSum": {
  41547. "type": "object",
  41548. "properties": {
  41549. "deliverygoodscode": {
  41550. "description": "现货品种代码",
  41551. "type": "string"
  41552. },
  41553. "deliverygoodsid": {
  41554. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41555. "type": "integer"
  41556. },
  41557. "deliverygoodsname": {
  41558. "description": "现货品种名称",
  41559. "type": "string"
  41560. },
  41561. "lastavgprice": {
  41562. "description": "上上个交易日价格(前2天价格)",
  41563. "type": "string"
  41564. },
  41565. "lastreckondate": {
  41566. "description": "上上个交易日(前2天交易日)",
  41567. "type": "string"
  41568. },
  41569. "reckondate": {
  41570. "description": "上个交易日(前1天交易日)",
  41571. "type": "string"
  41572. },
  41573. "todayavgprice": {
  41574. "description": "上个交易日价格(前1天价格)",
  41575. "type": "string"
  41576. },
  41577. "updown": {
  41578. "description": "涨跌",
  41579. "type": "string"
  41580. },
  41581. "updownratio": {
  41582. "description": "涨幅(已格式化, 直接显示即可)",
  41583. "type": "string"
  41584. }
  41585. }
  41586. },
  41587. "models.WrSpotGroupTradeSumDetail": {
  41588. "type": "object",
  41589. "properties": {
  41590. "deliverygoodsid": {
  41591. "description": "现货商品id",
  41592. "type": "integer"
  41593. },
  41594. "price": {
  41595. "description": "价格",
  41596. "type": "number"
  41597. },
  41598. "reckondate": {
  41599. "description": "日期(yyymmdd, 如:20211031)",
  41600. "type": "string"
  41601. }
  41602. }
  41603. },
  41604. "models.WrSpotGroupTradeSumEx": {
  41605. "type": "object",
  41606. "properties": {
  41607. "lst": {
  41608. "description": "指数列表",
  41609. "type": "array",
  41610. "items": {
  41611. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  41612. }
  41613. },
  41614. "prereckondate": {
  41615. "description": "上上个交易日(yyymmdd)",
  41616. "type": "string"
  41617. },
  41618. "reckondate": {
  41619. "description": "上个交易日(yyyymmdd)",
  41620. "type": "string"
  41621. }
  41622. }
  41623. },
  41624. "models.WrStandardFactoryItem": {
  41625. "type": "object",
  41626. "properties": {
  41627. "dgfactoryitemid": {
  41628. "description": "选择项id",
  41629. "type": "integer"
  41630. },
  41631. "dgfactoryitemvalue": {
  41632. "description": "要素项值",
  41633. "type": "string"
  41634. },
  41635. "warehouseid": {
  41636. "description": "仓库id",
  41637. "type": "integer"
  41638. }
  41639. }
  41640. },
  41641. "models.WrStandardFactoryItemEx": {
  41642. "type": "object",
  41643. "properties": {
  41644. "dgfactoryitemtypeid": {
  41645. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  41646. "type": "integer"
  41647. },
  41648. "itemlst": {
  41649. "description": "要素项列表",
  41650. "type": "array",
  41651. "items": {
  41652. "$ref": "#/definitions/models.WrStandardFactoryItem"
  41653. }
  41654. },
  41655. "itemtypename": {
  41656. "description": "要素项类型名称",
  41657. "type": "string"
  41658. },
  41659. "wrstandardid": {
  41660. "description": "品类",
  41661. "type": "integer"
  41662. }
  41663. }
  41664. },
  41665. "models.WrTradeDetail": {
  41666. "type": "object",
  41667. "properties": {
  41668. "accountid": {
  41669. "description": "资金账号",
  41670. "type": "integer"
  41671. },
  41672. "bannerpicurl": {
  41673. "description": "Banner图",
  41674. "type": "string"
  41675. },
  41676. "begindate": {
  41677. "description": "开始交易日(yyyymmdd)",
  41678. "type": "string"
  41679. },
  41680. "buyorsell": {
  41681. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41682. "type": "integer"
  41683. },
  41684. "chargevalue": {
  41685. "description": "手续费",
  41686. "type": "number"
  41687. },
  41688. "deliverygoodscode": {
  41689. "description": "品种代码",
  41690. "type": "string"
  41691. },
  41692. "deliverygoodsid": {
  41693. "description": "品种ID",
  41694. "type": "integer"
  41695. },
  41696. "deliverygoodsname": {
  41697. "description": "品种名称",
  41698. "type": "string"
  41699. },
  41700. "deliverymonth": {
  41701. "description": "交收月",
  41702. "type": "string"
  41703. },
  41704. "enddate": {
  41705. "description": "结束交易日(yyyymmdd)",
  41706. "type": "string"
  41707. },
  41708. "enumdicname": {
  41709. "description": "单位名称",
  41710. "type": "string"
  41711. },
  41712. "haswr": {
  41713. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41714. "type": "integer"
  41715. },
  41716. "marketid": {
  41717. "description": "市场ID",
  41718. "type": "integer"
  41719. },
  41720. "matchaccountid": {
  41721. "description": "对手账号",
  41722. "type": "integer"
  41723. },
  41724. "matchusername": {
  41725. "description": "对手方",
  41726. "type": "string"
  41727. },
  41728. "minivalue": {
  41729. "description": "现货商品最小变动值",
  41730. "type": "integer"
  41731. },
  41732. "optioncompare": {
  41733. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41734. "type": "string"
  41735. },
  41736. "thumurls": {
  41737. "description": "缩略图",
  41738. "type": "string"
  41739. },
  41740. "tradedate": {
  41741. "description": "交易日(yyyyMMdd)",
  41742. "type": "string"
  41743. },
  41744. "tradeprice": {
  41745. "description": "成交价格",
  41746. "type": "number"
  41747. },
  41748. "tradeqty": {
  41749. "description": "成交数量",
  41750. "type": "number"
  41751. },
  41752. "tradetime": {
  41753. "description": "成交时间",
  41754. "type": "string"
  41755. },
  41756. "userid": {
  41757. "description": "用户ID",
  41758. "type": "integer"
  41759. },
  41760. "warehouseid": {
  41761. "description": "仓库ID",
  41762. "type": "integer"
  41763. },
  41764. "warehousename": {
  41765. "description": "仓库名称",
  41766. "type": "string"
  41767. },
  41768. "wrfactortypeid": {
  41769. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41770. "type": "string"
  41771. },
  41772. "wrfactortypename": {
  41773. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41774. "type": "string"
  41775. },
  41776. "wrstandardcode": {
  41777. "description": "现货商品代码",
  41778. "type": "string"
  41779. },
  41780. "wrstandardid": {
  41781. "description": "现货商品ID",
  41782. "type": "integer"
  41783. },
  41784. "wrstandardname": {
  41785. "description": "商品名称",
  41786. "type": "string"
  41787. },
  41788. "wrtradedetailid": {
  41789. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41790. "type": "string"
  41791. },
  41792. "wrtradetype": {
  41793. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41794. "type": "integer"
  41795. },
  41796. "wrtypename": {
  41797. "description": "商品",
  41798. "type": "string"
  41799. }
  41800. }
  41801. },
  41802. "models.WrTradeOrderDetail": {
  41803. "type": "object",
  41804. "properties": {
  41805. "buyorsell": {
  41806. "description": "买卖方向 0-买 1-卖",
  41807. "type": "integer"
  41808. },
  41809. "goodsid": {
  41810. "description": "商品id",
  41811. "type": "integer"
  41812. },
  41813. "orderid": {
  41814. "description": "委托单号",
  41815. "type": "string"
  41816. },
  41817. "orderprice": {
  41818. "description": "委托价格",
  41819. "type": "number"
  41820. },
  41821. "orderqty": {
  41822. "description": "委托数量",
  41823. "type": "integer"
  41824. },
  41825. "userid": {
  41826. "description": "用户id",
  41827. "type": "integer"
  41828. },
  41829. "username": {
  41830. "description": "用户名称(已脱敏)",
  41831. "type": "string"
  41832. }
  41833. }
  41834. },
  41835. "models.WrTypeItem": {
  41836. "type": "object",
  41837. "properties": {
  41838. "name": {
  41839. "description": "名称",
  41840. "type": "string"
  41841. },
  41842. "value": {
  41843. "description": "值",
  41844. "type": "string"
  41845. }
  41846. }
  41847. },
  41848. "models.WrUserFriend": {
  41849. "type": "object",
  41850. "properties": {
  41851. "friendname": {
  41852. "description": "朋友名称(已脱敏)",
  41853. "type": "string"
  41854. },
  41855. "frienduserid": {
  41856. "description": "朋友id",
  41857. "type": "integer"
  41858. },
  41859. "isfriend": {
  41860. "description": "是否好友 0-不是 1-是",
  41861. "type": "integer"
  41862. },
  41863. "userid": {
  41864. "description": "用户id",
  41865. "type": "integer"
  41866. }
  41867. }
  41868. },
  41869. "models.WrUserReceiptInfo": {
  41870. "type": "object",
  41871. "properties": {
  41872. "address": {
  41873. "description": "地址[发票类型:企业]",
  41874. "type": "string"
  41875. },
  41876. "autoid": {
  41877. "description": "AutoID",
  41878. "type": "integer"
  41879. },
  41880. "contactinfo": {
  41881. "description": "联系方式",
  41882. "type": "string"
  41883. },
  41884. "idnum": {
  41885. "description": "身份证号码[发票类型:个人]",
  41886. "type": "string"
  41887. },
  41888. "isdefault": {
  41889. "description": "是否默认地址 - 0:否 1:是",
  41890. "type": "integer"
  41891. },
  41892. "receiptaccount": {
  41893. "description": "发票帐号[发票类型:企业]",
  41894. "type": "string"
  41895. },
  41896. "receiptbank": {
  41897. "description": "发票开户行[发票类型:企业]",
  41898. "type": "string"
  41899. },
  41900. "receipttype": {
  41901. "description": "发票类型 - 1:个人 2:企业",
  41902. "type": "integer"
  41903. },
  41904. "taxpayerid": {
  41905. "description": "纳税人识别号",
  41906. "type": "string"
  41907. },
  41908. "userid": {
  41909. "description": "用户ID",
  41910. "type": "integer"
  41911. },
  41912. "username": {
  41913. "description": "户名(个人姓名或企业名称)",
  41914. "type": "string"
  41915. }
  41916. }
  41917. },
  41918. "models.Wrtradetradequote": {
  41919. "type": "object",
  41920. "properties": {
  41921. "begindate": {
  41922. "description": "开始日期(结果含开始日期) yyyymmdd",
  41923. "type": "string"
  41924. },
  41925. "buyaccountid": {
  41926. "description": "买方账号ID",
  41927. "type": "integer"
  41928. },
  41929. "buyuserid": {
  41930. "description": "买方用户ID",
  41931. "type": "integer"
  41932. },
  41933. "deliverygoodsid": {
  41934. "description": "现货品种ID",
  41935. "type": "integer"
  41936. },
  41937. "enddate": {
  41938. "description": "结束日期(结果含结束日期) yyyymmdd",
  41939. "type": "string"
  41940. },
  41941. "marketid": {
  41942. "description": "市场ID",
  41943. "type": "integer"
  41944. },
  41945. "sellaccountid": {
  41946. "description": "卖方账号ID",
  41947. "type": "integer"
  41948. },
  41949. "selluserid": {
  41950. "description": "卖方用户ID",
  41951. "type": "integer"
  41952. },
  41953. "tradeamount": {
  41954. "description": "成交金额",
  41955. "type": "number"
  41956. },
  41957. "tradedate": {
  41958. "description": "交易日(yyyyMMdd)",
  41959. "type": "string"
  41960. },
  41961. "tradeprice": {
  41962. "description": "成交价格",
  41963. "type": "number"
  41964. },
  41965. "tradeqty": {
  41966. "description": "成交数量",
  41967. "type": "integer"
  41968. },
  41969. "tradetime": {
  41970. "description": "成交时间",
  41971. "type": "string"
  41972. },
  41973. "wrfactortypeid": {
  41974. "description": "仓单要素类型ID",
  41975. "type": "integer"
  41976. },
  41977. "wrstandardid": {
  41978. "description": "现货商品ID",
  41979. "type": "integer"
  41980. },
  41981. "wrtradedetailid": {
  41982. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41983. "type": "string"
  41984. }
  41985. }
  41986. },
  41987. "models.XHBRAND": {
  41988. "type": "object",
  41989. "properties": {
  41990. "brandid": {
  41991. "description": "品牌id",
  41992. "type": "integer"
  41993. },
  41994. "brandname": {
  41995. "description": "品牌名称",
  41996. "type": "string"
  41997. },
  41998. "isvalid": {
  41999. "description": "是否有效 0-无效 1-有效",
  42000. "type": "integer"
  42001. }
  42002. }
  42003. },
  42004. "models.XHDeliveryGoods": {
  42005. "type": "object",
  42006. "properties": {
  42007. "areauserid": {
  42008. "description": "所属机构",
  42009. "type": "integer"
  42010. },
  42011. "bdlst": {
  42012. "description": "品牌列表",
  42013. "type": "array",
  42014. "items": {
  42015. "$ref": "#/definitions/models.XHBRAND"
  42016. }
  42017. },
  42018. "deliverygoodscode": {
  42019. "description": "现货品种代码",
  42020. "type": "string"
  42021. },
  42022. "deliverygoodsid": {
  42023. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42024. "type": "integer"
  42025. },
  42026. "deliverygoodsname": {
  42027. "description": "现货品种名称",
  42028. "type": "string"
  42029. },
  42030. "dgstatus": {
  42031. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  42032. "type": "integer"
  42033. },
  42034. "filterSubEmpty": {
  42035. "description": "过滤下级为空的",
  42036. "type": "integer"
  42037. },
  42038. "isvalid": {
  42039. "description": "是否有效 - 0:无效 1:有效",
  42040. "type": "integer"
  42041. },
  42042. "remark": {
  42043. "description": "备注",
  42044. "type": "string"
  42045. },
  42046. "unitid": {
  42047. "description": "单位id(目前看,数据库中是空值)",
  42048. "type": "integer"
  42049. },
  42050. "wdlst": {
  42051. "description": "品类(现货商品)列表",
  42052. "type": "array",
  42053. "items": {
  42054. "$ref": "#/definitions/models.XHWrstandard"
  42055. }
  42056. }
  42057. }
  42058. },
  42059. "models.XHMiddleGoods": {
  42060. "type": "object",
  42061. "properties": {
  42062. "GPLST": {
  42063. "description": "期货品种列表",
  42064. "type": "array",
  42065. "items": {
  42066. "$ref": "#/definitions/models.TBGoodsGroup"
  42067. }
  42068. },
  42069. "convertratio": {
  42070. "description": "拆算系数",
  42071. "type": "number"
  42072. },
  42073. "costratio": {
  42074. "description": "成本权重",
  42075. "type": "number"
  42076. },
  42077. "deliverygoodsid": {
  42078. "description": "现货商品id",
  42079. "type": "integer"
  42080. },
  42081. "enumdicname": {
  42082. "description": "单位名称",
  42083. "type": "string"
  42084. },
  42085. "middlegoodscode": {
  42086. "description": "套保品种代码",
  42087. "type": "string"
  42088. },
  42089. "middlegoodsid": {
  42090. "description": "套保品种id",
  42091. "type": "integer"
  42092. },
  42093. "middlegoodsname": {
  42094. "description": "套保品种名称",
  42095. "type": "string"
  42096. },
  42097. "unitid": {
  42098. "description": "单位id",
  42099. "type": "integer"
  42100. }
  42101. }
  42102. },
  42103. "models.XHWrstandard": {
  42104. "type": "object",
  42105. "properties": {
  42106. "bannerpicurl": {
  42107. "description": "banner图",
  42108. "type": "string"
  42109. },
  42110. "deliverygoodsid": {
  42111. "description": "品种ID",
  42112. "type": "integer"
  42113. },
  42114. "enumdicname": {
  42115. "description": "单位名称",
  42116. "type": "string"
  42117. },
  42118. "mglst": {
  42119. "description": "套保品列表",
  42120. "type": "array",
  42121. "items": {
  42122. "$ref": "#/definitions/models.XHMiddleGoods"
  42123. }
  42124. },
  42125. "pictureurls": {
  42126. "description": "详情图片(逗号分隔)",
  42127. "type": "string"
  42128. },
  42129. "thumurls": {
  42130. "description": "缩略图片(1:1)(逗号分隔)",
  42131. "type": "string"
  42132. },
  42133. "unitid": {
  42134. "description": "单位id",
  42135. "type": "integer"
  42136. },
  42137. "vatrate": {
  42138. "description": "增值税率",
  42139. "type": "number"
  42140. },
  42141. "wrstandardcode": {
  42142. "description": "现货商品代码",
  42143. "type": "string"
  42144. },
  42145. "wrstandardid": {
  42146. "description": "现货商品ID(SEQ_WRSTANDARD)",
  42147. "type": "integer"
  42148. },
  42149. "wrstandardname": {
  42150. "description": "现货商品名称",
  42151. "type": "string"
  42152. }
  42153. }
  42154. },
  42155. "models.XhcpSellBackApplyEx": {
  42156. "type": "object",
  42157. "required": [
  42158. "userid"
  42159. ],
  42160. "properties": {
  42161. "applyremark": {
  42162. "description": "申请备注",
  42163. "type": "string"
  42164. },
  42165. "expirytype": {
  42166. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  42167. "type": "integer"
  42168. },
  42169. "goodsspec": {
  42170. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  42171. "type": "integer"
  42172. },
  42173. "holeflag": {
  42174. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  42175. "type": "integer"
  42176. },
  42177. "isunopened": {
  42178. "description": "是否原封 - 1:否 2:是",
  42179. "type": "integer"
  42180. },
  42181. "mpflag": {
  42182. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  42183. "type": "integer"
  42184. },
  42185. "openflag": {
  42186. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  42187. "type": "integer"
  42188. },
  42189. "phonenum": {
  42190. "description": "联系电话",
  42191. "type": "string"
  42192. },
  42193. "userid": {
  42194. "description": "所属用户ID",
  42195. "type": "integer"
  42196. },
  42197. "zpflag": {
  42198. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42199. "type": "integer"
  42200. }
  42201. }
  42202. },
  42203. "models.Xhcpsellbackapply": {
  42204. "type": "object",
  42205. "required": [
  42206. "userid"
  42207. ],
  42208. "properties": {
  42209. "applyid": {
  42210. "description": "申请人",
  42211. "type": "integer"
  42212. },
  42213. "applyremark": {
  42214. "description": "申请备注",
  42215. "type": "string"
  42216. },
  42217. "applysrc": {
  42218. "description": "申请来源 - 1:管理端 2:终端",
  42219. "type": "integer"
  42220. },
  42221. "applystatus": {
  42222. "description": "申请状态 - 1:待确认 2:已处理",
  42223. "type": "integer"
  42224. },
  42225. "applytime": {
  42226. "description": "申请时间",
  42227. "type": "string"
  42228. },
  42229. "auditremark": {
  42230. "description": "审核备注",
  42231. "type": "string"
  42232. },
  42233. "auditsrc": {
  42234. "description": "审核来源 - 1:管理端 2:终端",
  42235. "type": "integer"
  42236. },
  42237. "expirytype": {
  42238. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  42239. "type": "integer"
  42240. },
  42241. "goodsspec": {
  42242. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  42243. "type": "integer"
  42244. },
  42245. "holeflag": {
  42246. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  42247. "type": "integer"
  42248. },
  42249. "isunopened": {
  42250. "description": "是否原封 - 1:否 2:是",
  42251. "type": "integer"
  42252. },
  42253. "mpflag": {
  42254. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  42255. "type": "integer"
  42256. },
  42257. "openflag": {
  42258. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  42259. "type": "integer"
  42260. },
  42261. "phonenum": {
  42262. "description": "联系电话",
  42263. "type": "string"
  42264. },
  42265. "sellbackapplyid": {
  42266. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  42267. "type": "string"
  42268. },
  42269. "userid": {
  42270. "description": "所属用户ID",
  42271. "type": "integer"
  42272. },
  42273. "zpflag": {
  42274. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  42275. "type": "integer"
  42276. }
  42277. }
  42278. },
  42279. "order.QueryHisTradeDetailRsp": {
  42280. "type": "object",
  42281. "required": [
  42282. "accountid",
  42283. "buyorsell",
  42284. "goodsid",
  42285. "histradedate",
  42286. "marketid",
  42287. "memberuserid",
  42288. "orderid",
  42289. "tradeamount",
  42290. "tradedate",
  42291. "tradeid",
  42292. "tradeprice",
  42293. "tradeqty",
  42294. "tradetime"
  42295. ],
  42296. "properties": {
  42297. "accountid": {
  42298. "description": "账户ID[报价币种]",
  42299. "type": "integer"
  42300. },
  42301. "advanceratio": {
  42302. "description": "首付比率",
  42303. "type": "number"
  42304. },
  42305. "buildtype": {
  42306. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42307. "type": "integer"
  42308. },
  42309. "buyorsell": {
  42310. "description": "方向 - 0:买 1:卖",
  42311. "type": "integer"
  42312. },
  42313. "charge": {
  42314. "description": "手续费",
  42315. "type": "number"
  42316. },
  42317. "closecharge": {
  42318. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42319. "type": "number"
  42320. },
  42321. "closeexchagechargevalue": {
  42322. "description": "平仓交易所手续费设置值",
  42323. "type": "number"
  42324. },
  42325. "closefeealgorithm": {
  42326. "description": "平仓手续费收取方式 1:比率 2:固定",
  42327. "type": "integer"
  42328. },
  42329. "closememberchargevalue": {
  42330. "description": "平仓会员手续费设置值",
  42331. "type": "number"
  42332. },
  42333. "closepl": {
  42334. "description": "平仓盈亏",
  42335. "type": "number"
  42336. },
  42337. "closepl2": {
  42338. "description": "平仓盈亏[逐笔]",
  42339. "type": "number"
  42340. },
  42341. "closeqty": {
  42342. "description": "平仓数量(先建后平操作 需要记录)",
  42343. "type": "number"
  42344. },
  42345. "creditamount": {
  42346. "description": "授信金额",
  42347. "type": "number"
  42348. },
  42349. "decimalplace": {
  42350. "description": "商品报价小数位",
  42351. "type": "integer"
  42352. },
  42353. "enumdicname": {
  42354. "description": "单位名称",
  42355. "type": "string"
  42356. },
  42357. "gcaccountid": {
  42358. "description": "账户ID[合约币种]",
  42359. "type": "integer"
  42360. },
  42361. "goodscode": {
  42362. "description": "商品代码",
  42363. "type": "string"
  42364. },
  42365. "goodsid": {
  42366. "description": "商品ID",
  42367. "type": "integer"
  42368. },
  42369. "goodsname": {
  42370. "description": "商品名称",
  42371. "type": "string"
  42372. },
  42373. "goodunitid": {
  42374. "description": "商品单位id",
  42375. "type": "integer"
  42376. },
  42377. "histradedate": {
  42378. "description": "历史交易日",
  42379. "type": "string"
  42380. },
  42381. "intclosepl": {
  42382. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42383. "type": "integer"
  42384. },
  42385. "isconfirmexercise": {
  42386. "description": "是否确认行权- 0:否 1:是",
  42387. "type": "integer"
  42388. },
  42389. "ismain": {
  42390. "description": "是否主单 - 0:不是 1:是",
  42391. "type": "integer"
  42392. },
  42393. "ispreexercise": {
  42394. "description": "是否预申报- 0:否 1:是",
  42395. "type": "integer"
  42396. },
  42397. "isreckoned": {
  42398. "description": "是否结算 - 0:未结算 1:已结算",
  42399. "type": "integer"
  42400. },
  42401. "isvaliddata": {
  42402. "description": "是否有效 - 0:无效 1:有效",
  42403. "type": "integer"
  42404. },
  42405. "listingselecttype": {
  42406. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42407. "type": "integer"
  42408. },
  42409. "marketid": {
  42410. "description": "市场ID",
  42411. "type": "integer"
  42412. },
  42413. "marketname": {
  42414. "description": "市场名称",
  42415. "type": "string"
  42416. },
  42417. "matchaccountid": {
  42418. "description": "对手账号id",
  42419. "type": "integer"
  42420. },
  42421. "memberuserid": {
  42422. "description": "会员id 个人投资者 需要填写",
  42423. "type": "integer"
  42424. },
  42425. "opencharge": {
  42426. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42427. "type": "number"
  42428. },
  42429. "openexchagechargevalue": {
  42430. "description": "建仓交易所手续费设置值",
  42431. "type": "number"
  42432. },
  42433. "openfeealgorithm": {
  42434. "description": "建仓手续费收取方式 1:比率 2:固定",
  42435. "type": "integer"
  42436. },
  42437. "openmemberchargevalue": {
  42438. "description": "建仓会员手续费设置值",
  42439. "type": "number"
  42440. },
  42441. "openqty": {
  42442. "description": "开仓数量(先建后平操作 需要记录)",
  42443. "type": "number"
  42444. },
  42445. "optiontype": {
  42446. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42447. "type": "integer"
  42448. },
  42449. "orderid": {
  42450. "description": "委托单号",
  42451. "type": "string"
  42452. },
  42453. "payamount": {
  42454. "description": "支付金额(付款金额)",
  42455. "type": "number"
  42456. },
  42457. "performanceplanid": {
  42458. "description": "履约计划ID[期权]",
  42459. "type": "integer"
  42460. },
  42461. "performancestatus": {
  42462. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42463. "type": "integer"
  42464. },
  42465. "preexerciseprice": {
  42466. "description": "预申报价格",
  42467. "type": "number"
  42468. },
  42469. "premium": {
  42470. "description": "权利金 - [持仓单的权利金]",
  42471. "type": "number"
  42472. },
  42473. "qtydecimalplace": {
  42474. "description": "商品报价小数位",
  42475. "type": "integer"
  42476. },
  42477. "recvamount": {
  42478. "description": "到账金额 = 成交金额 - 手续费",
  42479. "type": "number"
  42480. },
  42481. "relatedouttradeid": {
  42482. "description": "关联外部成交单ID",
  42483. "type": "integer"
  42484. },
  42485. "status": {
  42486. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42487. "type": "integer"
  42488. },
  42489. "totalamount": {
  42490. "description": "订单总额 = 成交金额 + 手续费",
  42491. "type": "number"
  42492. },
  42493. "tradeamount": {
  42494. "description": "成交金额[账户币种,用于所有权]",
  42495. "type": "number"
  42496. },
  42497. "tradedate": {
  42498. "description": "交易日(yyyyMMdd)",
  42499. "type": "string"
  42500. },
  42501. "tradeid": {
  42502. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42503. "type": "string"
  42504. },
  42505. "trademode": {
  42506. "description": "交易模式",
  42507. "type": "integer"
  42508. },
  42509. "tradeprice": {
  42510. "description": "成交价格",
  42511. "type": "number"
  42512. },
  42513. "tradeproperty": {
  42514. "description": "交易属性",
  42515. "type": "integer"
  42516. },
  42517. "tradeqty": {
  42518. "description": "成交数量",
  42519. "type": "number"
  42520. },
  42521. "tradetime": {
  42522. "description": "成交时间",
  42523. "type": "string"
  42524. },
  42525. "tradetype": {
  42526. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42527. "type": "integer"
  42528. }
  42529. }
  42530. },
  42531. "order.QueryHisTradeOrderDetailRsp": {
  42532. "type": "object",
  42533. "required": [
  42534. "accountid",
  42535. "buildtype",
  42536. "buyorsell",
  42537. "goodsid",
  42538. "histradedate",
  42539. "marketid",
  42540. "memberuserid",
  42541. "operatetype",
  42542. "orderid",
  42543. "orderqty",
  42544. "ordertime",
  42545. "pricemode",
  42546. "tradedate",
  42547. "validtype"
  42548. ],
  42549. "properties": {
  42550. "accountid": {
  42551. "description": "账户ID[报价币种]",
  42552. "type": "integer"
  42553. },
  42554. "buildtype": {
  42555. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42556. "type": "integer"
  42557. },
  42558. "buyorsell": {
  42559. "description": "买卖 - 0:买 1:卖",
  42560. "type": "integer"
  42561. },
  42562. "cancelorderid": {
  42563. "description": "撤单单号(撤单时填写)",
  42564. "type": "string"
  42565. },
  42566. "cancelqty": {
  42567. "description": "撤单数量",
  42568. "type": "number"
  42569. },
  42570. "clientordertime": {
  42571. "description": "客户端委托时间",
  42572. "type": "string"
  42573. },
  42574. "clientticket": {
  42575. "description": "客户端流水号",
  42576. "type": "string"
  42577. },
  42578. "clienttype": {
  42579. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42580. "type": "integer"
  42581. },
  42582. "closeexchagechargevalue": {
  42583. "description": "平仓交易所手续费设置值",
  42584. "type": "number"
  42585. },
  42586. "closefeealgorithm": {
  42587. "description": "平仓手续费收取方式 1:比率 2:固定",
  42588. "type": "integer"
  42589. },
  42590. "closefreezecharge": {
  42591. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42592. "type": "number"
  42593. },
  42594. "closememberchargevalue": {
  42595. "description": "平仓会员手续费设置值",
  42596. "type": "number"
  42597. },
  42598. "closeqty": {
  42599. "description": "平仓数量(先建后平操作 需要记录)",
  42600. "type": "number"
  42601. },
  42602. "closetradeqty": {
  42603. "description": "平仓成交数量(先建后平操作,需要记录)",
  42604. "type": "number"
  42605. },
  42606. "closeunfreezecharge": {
  42607. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42608. "type": "number"
  42609. },
  42610. "decimalplace": {
  42611. "description": "商品报价小数位",
  42612. "type": "integer"
  42613. },
  42614. "delistingtype": {
  42615. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42616. "type": "integer"
  42617. },
  42618. "enumdicname": {
  42619. "description": "单位名称",
  42620. "type": "string"
  42621. },
  42622. "freezecharge": {
  42623. "description": "冻结手续费",
  42624. "type": "number"
  42625. },
  42626. "freezemargin": {
  42627. "description": "冻结保证金(冻结交易金额)",
  42628. "type": "number"
  42629. },
  42630. "gcaccountid": {
  42631. "description": "账户ID[合约币种]",
  42632. "type": "integer"
  42633. },
  42634. "goodscode": {
  42635. "description": "商品代码",
  42636. "type": "string"
  42637. },
  42638. "goodsid": {
  42639. "description": "商品ID",
  42640. "type": "integer"
  42641. },
  42642. "goodsname": {
  42643. "description": "商品名称",
  42644. "type": "string"
  42645. },
  42646. "goodunitid": {
  42647. "description": "商品单位id",
  42648. "type": "integer"
  42649. },
  42650. "histradedate": {
  42651. "description": "历史交易日",
  42652. "type": "string"
  42653. },
  42654. "isconfirmexercise": {
  42655. "description": "是否确认行权- 0:否 1:是",
  42656. "type": "integer"
  42657. },
  42658. "ispreexercise": {
  42659. "description": "是否预申报- 0:否 1:是",
  42660. "type": "integer"
  42661. },
  42662. "isvaliddata": {
  42663. "description": "是否有效 - 0:无效 1:有效",
  42664. "type": "integer"
  42665. },
  42666. "listingselecttype": {
  42667. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42668. "type": "integer"
  42669. },
  42670. "marginalgorithm": {
  42671. "description": "保证金收取方式 1:比率 2:固定",
  42672. "type": "integer"
  42673. },
  42674. "marginvalue": {
  42675. "description": "即市保证金设置值",
  42676. "type": "number"
  42677. },
  42678. "marketid": {
  42679. "description": "市场ID",
  42680. "type": "integer"
  42681. },
  42682. "marketmaxsub": {
  42683. "description": "市价最大偏移范围",
  42684. "type": "number"
  42685. },
  42686. "marketname": {
  42687. "description": "市场名称",
  42688. "type": "string"
  42689. },
  42690. "memberuserid": {
  42691. "description": "所属会员UserID",
  42692. "type": "integer"
  42693. },
  42694. "openexchagechargevalue": {
  42695. "description": "建仓交易所手续费设置值",
  42696. "type": "number"
  42697. },
  42698. "openfeealgorithm": {
  42699. "description": "建仓手续费收取方式 1:比率 2:固定",
  42700. "type": "integer"
  42701. },
  42702. "openfreezecharge": {
  42703. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42704. "type": "number"
  42705. },
  42706. "openmemberchargevalue": {
  42707. "description": "建仓会员手续费设置值",
  42708. "type": "number"
  42709. },
  42710. "openqty": {
  42711. "description": "开仓数量(先建后平操作,需要记录)",
  42712. "type": "number"
  42713. },
  42714. "opentradeqty": {
  42715. "description": "开仓成交数量(先建后平操作,需要记录)",
  42716. "type": "number"
  42717. },
  42718. "openunfreezecharge": {
  42719. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42720. "type": "number"
  42721. },
  42722. "operatetype": {
  42723. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42724. "type": "integer"
  42725. },
  42726. "operatorid": {
  42727. "description": "登录账号(LoginID)",
  42728. "type": "integer"
  42729. },
  42730. "optiontype": {
  42731. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42732. "type": "integer"
  42733. },
  42734. "orderid": {
  42735. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42736. "type": "string"
  42737. },
  42738. "orderprice": {
  42739. "description": "委托价格",
  42740. "type": "number"
  42741. },
  42742. "orderqty": {
  42743. "description": "委托数量",
  42744. "type": "number"
  42745. },
  42746. "ordersrc": {
  42747. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42748. "type": "integer"
  42749. },
  42750. "orderstatus": {
  42751. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42752. "type": "integer"
  42753. },
  42754. "ordertime": {
  42755. "description": "委托时间",
  42756. "type": "string"
  42757. },
  42758. "preexerciseprice": {
  42759. "description": "预申报价格",
  42760. "type": "number"
  42761. },
  42762. "premium": {
  42763. "description": "权利金",
  42764. "type": "number"
  42765. },
  42766. "preorderid": {
  42767. "description": "关联预埋单号(止盈止损单时填写)",
  42768. "type": "string"
  42769. },
  42770. "pricemode": {
  42771. "description": "取价方式 - 1:市价 2: 限价",
  42772. "type": "integer"
  42773. },
  42774. "qtydecimalplace": {
  42775. "description": "成交量小数位",
  42776. "type": "integer"
  42777. },
  42778. "quoteid": {
  42779. "description": "报价单ID",
  42780. "type": "integer"
  42781. },
  42782. "relatedid": {
  42783. "description": "关联单号(交割单)",
  42784. "type": "string"
  42785. },
  42786. "retcode": {
  42787. "description": "错误代码",
  42788. "type": "integer"
  42789. },
  42790. "sessionid": {
  42791. "description": "会话ID",
  42792. "type": "integer"
  42793. },
  42794. "tradedate": {
  42795. "description": "交易日(yyyyMMdd)",
  42796. "type": "string"
  42797. },
  42798. "trademode": {
  42799. "description": "交易模式",
  42800. "type": "integer"
  42801. },
  42802. "tradeproperty": {
  42803. "description": "交易属性",
  42804. "type": "integer"
  42805. },
  42806. "tradeqty": {
  42807. "description": "成交数量",
  42808. "type": "number"
  42809. },
  42810. "unfreezecharge": {
  42811. "description": "解冻手续费",
  42812. "type": "number"
  42813. },
  42814. "unfreezemargin": {
  42815. "description": "解冻保证金",
  42816. "type": "number"
  42817. },
  42818. "updatetime": {
  42819. "description": "更新时间",
  42820. "type": "string"
  42821. },
  42822. "uuid": {
  42823. "description": "发起端唯一id",
  42824. "type": "string"
  42825. },
  42826. "validtime": {
  42827. "description": "有效期限",
  42828. "type": "string"
  42829. },
  42830. "validtype": {
  42831. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  42832. "type": "integer"
  42833. },
  42834. "volumetype": {
  42835. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  42836. "type": "integer"
  42837. }
  42838. }
  42839. },
  42840. "order.QueryTradeDetailRsp": {
  42841. "type": "object",
  42842. "required": [
  42843. "accountid",
  42844. "buyorsell",
  42845. "goodsid",
  42846. "marketid",
  42847. "memberuserid",
  42848. "orderid",
  42849. "tradeamount",
  42850. "tradedate",
  42851. "tradeid",
  42852. "tradeprice",
  42853. "tradeqty",
  42854. "tradetime"
  42855. ],
  42856. "properties": {
  42857. "accountid": {
  42858. "description": "账户ID[报价币种]",
  42859. "type": "integer"
  42860. },
  42861. "advanceratio": {
  42862. "description": "首付比率",
  42863. "type": "number"
  42864. },
  42865. "buildtype": {
  42866. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42867. "type": "integer"
  42868. },
  42869. "buyorsell": {
  42870. "description": "方向 - 0:买 1:卖",
  42871. "type": "integer"
  42872. },
  42873. "charge": {
  42874. "description": "手续费",
  42875. "type": "number"
  42876. },
  42877. "closecharge": {
  42878. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42879. "type": "number"
  42880. },
  42881. "closeexchagechargevalue": {
  42882. "description": "平仓交易所手续费设置值",
  42883. "type": "number"
  42884. },
  42885. "closefeealgorithm": {
  42886. "description": "平仓手续费收取方式 1:比率 2:固定",
  42887. "type": "integer"
  42888. },
  42889. "closememberchargevalue": {
  42890. "description": "平仓会员手续费设置值",
  42891. "type": "number"
  42892. },
  42893. "closepl": {
  42894. "description": "平仓盈亏",
  42895. "type": "number"
  42896. },
  42897. "closepl2": {
  42898. "description": "平仓盈亏[逐笔]",
  42899. "type": "number"
  42900. },
  42901. "closeqty": {
  42902. "description": "平仓数量(先建后平操作 需要记录)",
  42903. "type": "number"
  42904. },
  42905. "creditamount": {
  42906. "description": "授信金额",
  42907. "type": "number"
  42908. },
  42909. "decimalplace": {
  42910. "description": "商品报价小数位",
  42911. "type": "integer"
  42912. },
  42913. "enumdicname": {
  42914. "description": "单位名称",
  42915. "type": "string"
  42916. },
  42917. "gcaccountid": {
  42918. "description": "账户ID[合约币种]",
  42919. "type": "integer"
  42920. },
  42921. "goodscode": {
  42922. "description": "商品代码",
  42923. "type": "string"
  42924. },
  42925. "goodsid": {
  42926. "description": "商品ID",
  42927. "type": "integer"
  42928. },
  42929. "goodsname": {
  42930. "description": "商品名称",
  42931. "type": "string"
  42932. },
  42933. "goodunitid": {
  42934. "description": "商品单位id",
  42935. "type": "integer"
  42936. },
  42937. "intclosepl": {
  42938. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42939. "type": "integer"
  42940. },
  42941. "isconfirmexercise": {
  42942. "description": "是否确认行权- 0:否 1:是",
  42943. "type": "integer"
  42944. },
  42945. "ismain": {
  42946. "description": "是否主单 - 0:不是 1:是",
  42947. "type": "integer"
  42948. },
  42949. "ispreexercise": {
  42950. "description": "是否预申报- 0:否 1:是",
  42951. "type": "integer"
  42952. },
  42953. "isreckoned": {
  42954. "description": "是否结算 - 0:未结算 1:已结算",
  42955. "type": "integer"
  42956. },
  42957. "listingselecttype": {
  42958. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42959. "type": "integer"
  42960. },
  42961. "marketid": {
  42962. "description": "市场ID",
  42963. "type": "integer"
  42964. },
  42965. "marketname": {
  42966. "description": "市场名称",
  42967. "type": "string"
  42968. },
  42969. "matchaccountid": {
  42970. "description": "对手账号id",
  42971. "type": "integer"
  42972. },
  42973. "memberuserid": {
  42974. "description": "会员id 个人投资者 需要填写",
  42975. "type": "integer"
  42976. },
  42977. "opencharge": {
  42978. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42979. "type": "number"
  42980. },
  42981. "openexchagechargevalue": {
  42982. "description": "建仓交易所手续费设置值",
  42983. "type": "number"
  42984. },
  42985. "openfeealgorithm": {
  42986. "description": "建仓手续费收取方式 1:比率 2:固定",
  42987. "type": "integer"
  42988. },
  42989. "openmemberchargevalue": {
  42990. "description": "建仓会员手续费设置值",
  42991. "type": "number"
  42992. },
  42993. "openqty": {
  42994. "description": "开仓数量(先建后平操作 需要记录)",
  42995. "type": "number"
  42996. },
  42997. "optiontype": {
  42998. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42999. "type": "integer"
  43000. },
  43001. "orderid": {
  43002. "description": "委托单号",
  43003. "type": "string"
  43004. },
  43005. "payamount": {
  43006. "description": "支付金额(付款金额)",
  43007. "type": "number"
  43008. },
  43009. "performanceplanid": {
  43010. "description": "履约计划ID[期权]",
  43011. "type": "integer"
  43012. },
  43013. "performancestatus": {
  43014. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43015. "type": "integer"
  43016. },
  43017. "preexerciseprice": {
  43018. "description": "预申报价格",
  43019. "type": "number"
  43020. },
  43021. "premium": {
  43022. "description": "权利金 - [持仓单的权利金]",
  43023. "type": "number"
  43024. },
  43025. "qtydecimalplace": {
  43026. "description": "商品报价小数位",
  43027. "type": "integer"
  43028. },
  43029. "recvamount": {
  43030. "description": "到账金额 = 成交金额 - 手续费",
  43031. "type": "number"
  43032. },
  43033. "relatedouttradeid": {
  43034. "description": "关联外部成交单ID",
  43035. "type": "integer"
  43036. },
  43037. "status": {
  43038. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43039. "type": "integer"
  43040. },
  43041. "totalamount": {
  43042. "description": "订单总额 = 成交金额 + 手续费",
  43043. "type": "number"
  43044. },
  43045. "tradeamount": {
  43046. "description": "成交金额[账户币种,用于所有权]",
  43047. "type": "number"
  43048. },
  43049. "tradedate": {
  43050. "description": "交易日(yyyyMMdd)",
  43051. "type": "string"
  43052. },
  43053. "tradeid": {
  43054. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43055. "type": "string"
  43056. },
  43057. "trademode": {
  43058. "description": "交易模式",
  43059. "type": "integer"
  43060. },
  43061. "tradeprice": {
  43062. "description": "成交价格",
  43063. "type": "number"
  43064. },
  43065. "tradeproperty": {
  43066. "description": "交易属性",
  43067. "type": "integer"
  43068. },
  43069. "tradeqty": {
  43070. "description": "成交数量",
  43071. "type": "number"
  43072. },
  43073. "tradetime": {
  43074. "description": "成交时间",
  43075. "type": "string"
  43076. },
  43077. "tradetype": {
  43078. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43079. "type": "integer"
  43080. }
  43081. }
  43082. },
  43083. "order.QueryTradeOrderDetailRsp": {
  43084. "type": "object",
  43085. "required": [
  43086. "accountid",
  43087. "buildtype",
  43088. "buyorsell",
  43089. "goodsid",
  43090. "marketid",
  43091. "operatetype",
  43092. "orderqty",
  43093. "ordertime",
  43094. "pricemode",
  43095. "tradedate",
  43096. "validtype"
  43097. ],
  43098. "properties": {
  43099. "accountid": {
  43100. "description": "账户ID[报价币种]",
  43101. "type": "integer"
  43102. },
  43103. "buildtype": {
  43104. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43105. "type": "integer"
  43106. },
  43107. "buyorsell": {
  43108. "description": "买卖 - 0:买 1:卖",
  43109. "type": "integer"
  43110. },
  43111. "cancelorderid": {
  43112. "description": "撤单单号(撤单时填写)",
  43113. "type": "string"
  43114. },
  43115. "cancelqty": {
  43116. "description": "撤单数量",
  43117. "type": "number"
  43118. },
  43119. "clienttype": {
  43120. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43121. "type": "integer"
  43122. },
  43123. "closefreezecharge": {
  43124. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43125. "type": "number"
  43126. },
  43127. "closeqty": {
  43128. "description": "平仓数量(先建后平操作 需要记录)",
  43129. "type": "number"
  43130. },
  43131. "closetradeqty": {
  43132. "description": "平仓成交数量(先建后平操作,需要记录)",
  43133. "type": "number"
  43134. },
  43135. "closeunfreezecharge": {
  43136. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43137. "type": "number"
  43138. },
  43139. "decimalplace": {
  43140. "description": "商品报价小数位",
  43141. "type": "integer"
  43142. },
  43143. "delistingtype": {
  43144. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43145. "type": "integer"
  43146. },
  43147. "enableqty": {
  43148. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  43149. "type": "number"
  43150. },
  43151. "enumdicname": {
  43152. "description": "单位名称",
  43153. "type": "string"
  43154. },
  43155. "freezecharge": {
  43156. "description": "冻结手续费",
  43157. "type": "number"
  43158. },
  43159. "freezemargin": {
  43160. "description": "冻结保证金(冻结交易金额)",
  43161. "type": "number"
  43162. },
  43163. "goodscode": {
  43164. "description": "商品代码",
  43165. "type": "string"
  43166. },
  43167. "goodsid": {
  43168. "description": "商品ID",
  43169. "type": "integer"
  43170. },
  43171. "goodsname": {
  43172. "description": "商品名称",
  43173. "type": "string"
  43174. },
  43175. "goodunitid": {
  43176. "description": "商品单位id",
  43177. "type": "integer"
  43178. },
  43179. "listingselecttype": {
  43180. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43181. "type": "integer"
  43182. },
  43183. "marketid": {
  43184. "description": "市场ID",
  43185. "type": "integer"
  43186. },
  43187. "marketname": {
  43188. "description": "市场名称",
  43189. "type": "string"
  43190. },
  43191. "openfreezecharge": {
  43192. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43193. "type": "number"
  43194. },
  43195. "openqty": {
  43196. "description": "开仓数量(先建后平操作,需要记录)",
  43197. "type": "number"
  43198. },
  43199. "opentradeqty": {
  43200. "description": "开仓成交数量(先建后平操作,需要记录)",
  43201. "type": "number"
  43202. },
  43203. "openunfreezecharge": {
  43204. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43205. "type": "number"
  43206. },
  43207. "operatetype": {
  43208. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43209. "type": "integer"
  43210. },
  43211. "operatorid": {
  43212. "description": "登录账号(LoginID)",
  43213. "type": "integer"
  43214. },
  43215. "orderid": {
  43216. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43217. "type": "string"
  43218. },
  43219. "orderprice": {
  43220. "description": "委托价格",
  43221. "type": "number"
  43222. },
  43223. "orderqty": {
  43224. "description": "委托数量",
  43225. "type": "number"
  43226. },
  43227. "ordersrc": {
  43228. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43229. "type": "integer"
  43230. },
  43231. "orderstatus": {
  43232. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43233. "type": "integer"
  43234. },
  43235. "ordertime": {
  43236. "description": "委托时间",
  43237. "type": "string"
  43238. },
  43239. "preorderid": {
  43240. "description": "关联预埋单号(止盈止损单时填写)",
  43241. "type": "string"
  43242. },
  43243. "pricemode": {
  43244. "description": "取价方式 - 1:市价 2: 限价",
  43245. "type": "integer"
  43246. },
  43247. "qtydecimalplace": {
  43248. "description": "商品报价小数位",
  43249. "type": "integer"
  43250. },
  43251. "relatedid": {
  43252. "description": "关联单号(交割单)",
  43253. "type": "string"
  43254. },
  43255. "tradedate": {
  43256. "description": "交易日(yyyyMMdd)",
  43257. "type": "string"
  43258. },
  43259. "trademode": {
  43260. "description": "交易模式",
  43261. "type": "integer"
  43262. },
  43263. "tradeqty": {
  43264. "description": "成交数量",
  43265. "type": "number"
  43266. },
  43267. "unfreezecharge": {
  43268. "description": "解冻手续费",
  43269. "type": "number"
  43270. },
  43271. "unfreezemargin": {
  43272. "description": "解冻保证金",
  43273. "type": "number"
  43274. },
  43275. "validtime": {
  43276. "description": "有效期限",
  43277. "type": "string"
  43278. },
  43279. "validtype": {
  43280. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43281. "type": "integer"
  43282. },
  43283. "volumetype": {
  43284. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43285. "type": "integer"
  43286. }
  43287. }
  43288. },
  43289. "order.QueryTradePositionRsp": {
  43290. "type": "object",
  43291. "required": [
  43292. "goodsid"
  43293. ],
  43294. "properties": {
  43295. "accountid": {
  43296. "description": "资金账户",
  43297. "type": "integer"
  43298. },
  43299. "agreeunit": {
  43300. "description": "合约单位",
  43301. "type": "number"
  43302. },
  43303. "averageprice": {
  43304. "description": "持仓均价",
  43305. "type": "number"
  43306. },
  43307. "buyorsell": {
  43308. "description": "方向 - 0:买 1:卖",
  43309. "type": "integer"
  43310. },
  43311. "closetotalqty": {
  43312. "description": "平仓总数量",
  43313. "type": "number"
  43314. },
  43315. "curholderamount": {
  43316. "description": "当前持仓总金额[商品币种]",
  43317. "type": "number"
  43318. },
  43319. "curpositionqty": {
  43320. "description": "当前持仓总数量",
  43321. "type": "number"
  43322. },
  43323. "currencyid": {
  43324. "description": "报价货币ID",
  43325. "type": "integer"
  43326. },
  43327. "curtdposition": {
  43328. "description": "期末今日头寸",
  43329. "type": "number"
  43330. },
  43331. "decimalplace": {
  43332. "description": "报价小数位",
  43333. "type": "integer"
  43334. },
  43335. "enableqty": {
  43336. "description": "可用量",
  43337. "type": "number"
  43338. },
  43339. "fretdposition": {
  43340. "description": "冻结今日头寸",
  43341. "type": "number"
  43342. },
  43343. "frozenqty": {
  43344. "description": "持仓冻结数量",
  43345. "type": "number"
  43346. },
  43347. "goodscode": {
  43348. "description": "商品代码",
  43349. "type": "string"
  43350. },
  43351. "goodsid": {
  43352. "description": "商品Id",
  43353. "type": "integer"
  43354. },
  43355. "goodsname": {
  43356. "description": "商品名称",
  43357. "type": "string"
  43358. },
  43359. "goodunit": {
  43360. "description": "报价单位",
  43361. "type": "string"
  43362. },
  43363. "goodunitid": {
  43364. "description": "报价单位ID",
  43365. "type": "integer"
  43366. },
  43367. "holderamount": {
  43368. "description": "期初持仓总金额[商品币种]",
  43369. "type": "number"
  43370. },
  43371. "lastprice": {
  43372. "description": "最新价",
  43373. "type": "number"
  43374. },
  43375. "marketamount": {
  43376. "description": "市值",
  43377. "type": "number"
  43378. },
  43379. "marketid": {
  43380. "description": "所属市场ID",
  43381. "type": "integer"
  43382. },
  43383. "openreqqty": {
  43384. "description": "开仓申请数量(用于比较最大持仓数量)",
  43385. "type": "number"
  43386. },
  43387. "opentotalqty": {
  43388. "description": "开仓总数量",
  43389. "type": "number"
  43390. },
  43391. "otherfrozenqty": {
  43392. "description": "持仓其他冻结数量(交割冻结)",
  43393. "type": "number"
  43394. },
  43395. "positionpl": {
  43396. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  43397. "type": "number"
  43398. },
  43399. "positionplrate": {
  43400. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  43401. "type": "number"
  43402. },
  43403. "positionqty": {
  43404. "description": "期初持仓数量",
  43405. "type": "number"
  43406. },
  43407. "qtydecimalplace": {
  43408. "description": "成交量小数位",
  43409. "type": "integer"
  43410. },
  43411. "refgoodscode": {
  43412. "description": "参考商品代码",
  43413. "type": "string"
  43414. },
  43415. "refgoodsid": {
  43416. "description": "参考商品ID",
  43417. "type": "integer"
  43418. },
  43419. "tnqty": {
  43420. "description": "T+N冻结总量",
  43421. "type": "number"
  43422. },
  43423. "tnusedqty": {
  43424. "description": "T+N使用量(可以使用T+N的冻结数量)",
  43425. "type": "number"
  43426. },
  43427. "trademode": {
  43428. "description": "交易模式",
  43429. "type": "integer"
  43430. },
  43431. "tradeproperty": {
  43432. "description": "交易属性",
  43433. "type": "integer"
  43434. },
  43435. "usedmargin": {
  43436. "description": "占用保证金[商品币种]",
  43437. "type": "number"
  43438. }
  43439. }
  43440. },
  43441. "pb.GoodsMarginCfgStruct": {
  43442. "type": "object",
  43443. "properties": {
  43444. "CustomerTypeID": {
  43445. "description": "投资者客户类型",
  43446. "type": "integer"
  43447. },
  43448. "GoodsID": {
  43449. "description": "商品ID",
  43450. "type": "integer"
  43451. },
  43452. "IsDefault": {
  43453. "description": "是否默认标志位",
  43454. "type": "integer"
  43455. },
  43456. "LockMarginValue": {
  43457. "description": "锁仓保证金",
  43458. "type": "number"
  43459. },
  43460. "MarginAlgorithm": {
  43461. "description": "保证金计算方式",
  43462. "type": "integer"
  43463. },
  43464. "MarketMarginValue": {
  43465. "description": "即市保证金值",
  43466. "type": "number"
  43467. },
  43468. "RealMarginAlgorithm": {
  43469. "description": "实付保证金计算方式",
  43470. "type": "integer"
  43471. },
  43472. "RealMarginValue": {
  43473. "description": "实付比例",
  43474. "type": "number"
  43475. },
  43476. "ReckonMarginValue": {
  43477. "description": "结算保证金值",
  43478. "type": "number"
  43479. }
  43480. }
  43481. },
  43482. "quote.HistoryData": {
  43483. "type": "object",
  43484. "properties": {
  43485. "c": {
  43486. "description": "收盘价",
  43487. "type": "number"
  43488. },
  43489. "f": {
  43490. "description": "是否补充数据",
  43491. "type": "boolean"
  43492. },
  43493. "h": {
  43494. "description": "最高价",
  43495. "type": "number"
  43496. },
  43497. "hv": {
  43498. "description": "持仓量",
  43499. "type": "integer"
  43500. },
  43501. "l": {
  43502. "description": "最低价",
  43503. "type": "number"
  43504. },
  43505. "o": {
  43506. "description": "开盘价",
  43507. "type": "number"
  43508. },
  43509. "s": {
  43510. "description": "结算价,日线周期(包括)以上才有",
  43511. "type": "number"
  43512. },
  43513. "ts": {
  43514. "description": "时间",
  43515. "type": "string"
  43516. },
  43517. "tt": {
  43518. "description": "总金额",
  43519. "type": "number"
  43520. },
  43521. "tv": {
  43522. "description": "总量(成交量)",
  43523. "type": "integer"
  43524. }
  43525. }
  43526. },
  43527. "quote.HistoryTikData": {
  43528. "type": "object",
  43529. "properties": {
  43530. "AV": {
  43531. "description": "卖量",
  43532. "type": "integer"
  43533. },
  43534. "Ask": {
  43535. "description": "卖价",
  43536. "type": "number"
  43537. },
  43538. "BV": {
  43539. "description": "买量",
  43540. "type": "integer"
  43541. },
  43542. "Bid": {
  43543. "description": "买价",
  43544. "type": "number"
  43545. },
  43546. "HI": {
  43547. "description": "单笔持仓",
  43548. "type": "integer"
  43549. },
  43550. "HV": {
  43551. "description": "持仓量",
  43552. "type": "integer"
  43553. },
  43554. "PE": {
  43555. "description": "现价",
  43556. "type": "number"
  43557. },
  43558. "TDR": {
  43559. "description": "交易方向,0:买 1:卖",
  43560. "type": "integer"
  43561. },
  43562. "TK": {
  43563. "description": "交易类型",
  43564. "type": "integer"
  43565. },
  43566. "TS": {
  43567. "description": "行情时间文本",
  43568. "type": "string"
  43569. },
  43570. "TT": {
  43571. "description": "现金额",
  43572. "type": "number"
  43573. },
  43574. "Vol": {
  43575. "description": "现量",
  43576. "type": "integer"
  43577. }
  43578. }
  43579. },
  43580. "quote.QueryQuoteDayRsp": {
  43581. "type": "object",
  43582. "properties": {
  43583. "ask": {
  43584. "description": "卖1",
  43585. "type": "number"
  43586. },
  43587. "ask10": {
  43588. "description": "卖10",
  43589. "type": "number"
  43590. },
  43591. "ask2": {
  43592. "description": "卖2",
  43593. "type": "number"
  43594. },
  43595. "ask3": {
  43596. "description": "卖3",
  43597. "type": "number"
  43598. },
  43599. "ask4": {
  43600. "description": "卖4",
  43601. "type": "number"
  43602. },
  43603. "ask5": {
  43604. "description": "卖5",
  43605. "type": "number"
  43606. },
  43607. "ask6": {
  43608. "description": "卖6",
  43609. "type": "number"
  43610. },
  43611. "ask7": {
  43612. "description": "卖7",
  43613. "type": "number"
  43614. },
  43615. "ask8": {
  43616. "description": "卖8",
  43617. "type": "number"
  43618. },
  43619. "ask9": {
  43620. "description": "卖9",
  43621. "type": "number"
  43622. },
  43623. "askorderid": {
  43624. "description": "卖单号1",
  43625. "type": "integer"
  43626. },
  43627. "askorderid2": {
  43628. "description": "卖单号2",
  43629. "type": "integer"
  43630. },
  43631. "askorderid3": {
  43632. "description": "卖单号3",
  43633. "type": "integer"
  43634. },
  43635. "askorderid4": {
  43636. "description": "卖单号4",
  43637. "type": "integer"
  43638. },
  43639. "askorderid5": {
  43640. "description": "卖单号5",
  43641. "type": "integer"
  43642. },
  43643. "askordervolume": {
  43644. "description": "卖单量1",
  43645. "type": "integer"
  43646. },
  43647. "askordervolume10": {
  43648. "description": "卖单量10",
  43649. "type": "integer"
  43650. },
  43651. "askordervolume2": {
  43652. "description": "卖单量2",
  43653. "type": "integer"
  43654. },
  43655. "askordervolume3": {
  43656. "description": "卖单量3",
  43657. "type": "integer"
  43658. },
  43659. "askordervolume4": {
  43660. "description": "卖单量4",
  43661. "type": "integer"
  43662. },
  43663. "askordervolume5": {
  43664. "description": "卖单量5",
  43665. "type": "integer"
  43666. },
  43667. "askordervolume6": {
  43668. "description": "卖单量6",
  43669. "type": "integer"
  43670. },
  43671. "askordervolume7": {
  43672. "description": "卖单量7",
  43673. "type": "integer"
  43674. },
  43675. "askordervolume8": {
  43676. "description": "卖单量8",
  43677. "type": "integer"
  43678. },
  43679. "askordervolume9": {
  43680. "description": "卖单量9",
  43681. "type": "integer"
  43682. },
  43683. "askqueueinfo": {
  43684. "description": "大利市卖港股用",
  43685. "type": "string"
  43686. },
  43687. "askvolume": {
  43688. "description": "卖量1",
  43689. "type": "integer"
  43690. },
  43691. "askvolume10": {
  43692. "description": "卖量10",
  43693. "type": "integer"
  43694. },
  43695. "askvolume2": {
  43696. "description": "卖量2",
  43697. "type": "integer"
  43698. },
  43699. "askvolume3": {
  43700. "description": "卖量3",
  43701. "type": "integer"
  43702. },
  43703. "askvolume4": {
  43704. "description": "卖量4",
  43705. "type": "integer"
  43706. },
  43707. "askvolume5": {
  43708. "description": "卖量5",
  43709. "type": "integer"
  43710. },
  43711. "askvolume6": {
  43712. "description": "卖量6",
  43713. "type": "integer"
  43714. },
  43715. "askvolume7": {
  43716. "description": "卖量7",
  43717. "type": "integer"
  43718. },
  43719. "askvolume8": {
  43720. "description": "卖量8",
  43721. "type": "integer"
  43722. },
  43723. "askvolume9": {
  43724. "description": "卖量9",
  43725. "type": "integer"
  43726. },
  43727. "averageprice": {
  43728. "description": "均价",
  43729. "type": "number"
  43730. },
  43731. "bid": {
  43732. "description": "买1",
  43733. "type": "number"
  43734. },
  43735. "bid10": {
  43736. "description": "买10",
  43737. "type": "number"
  43738. },
  43739. "bid2": {
  43740. "description": "买2",
  43741. "type": "number"
  43742. },
  43743. "bid3": {
  43744. "description": "买3",
  43745. "type": "number"
  43746. },
  43747. "bid4": {
  43748. "description": "买4",
  43749. "type": "number"
  43750. },
  43751. "bid5": {
  43752. "description": "买5",
  43753. "type": "number"
  43754. },
  43755. "bid6": {
  43756. "description": "买6",
  43757. "type": "number"
  43758. },
  43759. "bid7": {
  43760. "description": "买7",
  43761. "type": "number"
  43762. },
  43763. "bid8": {
  43764. "description": "买8",
  43765. "type": "number"
  43766. },
  43767. "bid9": {
  43768. "description": "买9",
  43769. "type": "number"
  43770. },
  43771. "bidorderid": {
  43772. "description": "买单号1",
  43773. "type": "integer"
  43774. },
  43775. "bidorderid2": {
  43776. "description": "买单号2",
  43777. "type": "integer"
  43778. },
  43779. "bidorderid3": {
  43780. "description": "买单号3",
  43781. "type": "integer"
  43782. },
  43783. "bidorderid4": {
  43784. "description": "买单号4",
  43785. "type": "integer"
  43786. },
  43787. "bidorderid5": {
  43788. "description": "买单号5",
  43789. "type": "integer"
  43790. },
  43791. "bidordervolume": {
  43792. "description": "买单量1",
  43793. "type": "integer"
  43794. },
  43795. "bidordervolume10": {
  43796. "description": "买单量10",
  43797. "type": "integer"
  43798. },
  43799. "bidordervolume2": {
  43800. "description": "买单量2",
  43801. "type": "integer"
  43802. },
  43803. "bidordervolume3": {
  43804. "description": "买单量3",
  43805. "type": "integer"
  43806. },
  43807. "bidordervolume4": {
  43808. "description": "买单量4",
  43809. "type": "integer"
  43810. },
  43811. "bidordervolume5": {
  43812. "description": "买单量5",
  43813. "type": "integer"
  43814. },
  43815. "bidordervolume6": {
  43816. "description": "买单量6",
  43817. "type": "integer"
  43818. },
  43819. "bidordervolume7": {
  43820. "description": "买单量7",
  43821. "type": "integer"
  43822. },
  43823. "bidordervolume8": {
  43824. "description": "买单量8",
  43825. "type": "integer"
  43826. },
  43827. "bidordervolume9": {
  43828. "description": "买单量9",
  43829. "type": "integer"
  43830. },
  43831. "bidqueueinfo": {
  43832. "description": "大利市买港股用",
  43833. "type": "string"
  43834. },
  43835. "bidvolume": {
  43836. "description": "买量1",
  43837. "type": "integer"
  43838. },
  43839. "bidvolume10": {
  43840. "description": "买量10",
  43841. "type": "integer"
  43842. },
  43843. "bidvolume2": {
  43844. "description": "买量2",
  43845. "type": "integer"
  43846. },
  43847. "bidvolume3": {
  43848. "description": "买量3",
  43849. "type": "integer"
  43850. },
  43851. "bidvolume4": {
  43852. "description": "买量4",
  43853. "type": "integer"
  43854. },
  43855. "bidvolume5": {
  43856. "description": "买量5",
  43857. "type": "integer"
  43858. },
  43859. "bidvolume6": {
  43860. "description": "买量6",
  43861. "type": "integer"
  43862. },
  43863. "bidvolume7": {
  43864. "description": "买量7",
  43865. "type": "integer"
  43866. },
  43867. "bidvolume8": {
  43868. "description": "买量8",
  43869. "type": "integer"
  43870. },
  43871. "bidvolume9": {
  43872. "description": "买量9",
  43873. "type": "integer"
  43874. },
  43875. "calloptionpremiums": {
  43876. "description": "认购期权1",
  43877. "type": "integer"
  43878. },
  43879. "calloptionpremiums2": {
  43880. "description": "认购期权2",
  43881. "type": "integer"
  43882. },
  43883. "calloptionpremiums3": {
  43884. "description": "认购期权3",
  43885. "type": "integer"
  43886. },
  43887. "calloptionpremiums4": {
  43888. "description": "认购期权4",
  43889. "type": "integer"
  43890. },
  43891. "calloptionpremiums5": {
  43892. "description": "认购期权5",
  43893. "type": "integer"
  43894. },
  43895. "cleartime": {
  43896. "description": "清盘时间",
  43897. "type": "integer"
  43898. },
  43899. "exchangecode": {
  43900. "description": "交易所代码",
  43901. "type": "integer"
  43902. },
  43903. "exchangedate": {
  43904. "description": "交易日",
  43905. "type": "integer"
  43906. },
  43907. "goodscode": {
  43908. "description": "商品代码",
  43909. "type": "string"
  43910. },
  43911. "grepmarketprice": {
  43912. "description": "暗盘价 港股专用",
  43913. "type": "number"
  43914. },
  43915. "highest": {
  43916. "description": "最高价",
  43917. "type": "number"
  43918. },
  43919. "holdincrement": {
  43920. "description": "单笔持仓",
  43921. "type": "integer"
  43922. },
  43923. "holdvolume": {
  43924. "description": "持仓",
  43925. "type": "integer"
  43926. },
  43927. "iep": {
  43928. "description": "平衡价 港股专用",
  43929. "type": "number"
  43930. },
  43931. "iev": {
  43932. "description": "平衡量 港股专用",
  43933. "type": "number"
  43934. },
  43935. "inventory": {
  43936. "description": "库存",
  43937. "type": "integer"
  43938. },
  43939. "iscleared": {
  43940. "description": "是否清盘标志",
  43941. "type": "integer"
  43942. },
  43943. "issettled": {
  43944. "description": "是否结算标志",
  43945. "type": "integer"
  43946. },
  43947. "last": {
  43948. "description": "最新价",
  43949. "type": "number"
  43950. },
  43951. "lastlot": {
  43952. "description": "最新成交手数",
  43953. "type": "integer"
  43954. },
  43955. "lasttime": {
  43956. "description": "行情时间(只有现价变化行情时间才变化)",
  43957. "type": "string"
  43958. },
  43959. "lastturnover": {
  43960. "description": "最新成交金额",
  43961. "type": "number"
  43962. },
  43963. "lastvolume": {
  43964. "description": "最新成交量",
  43965. "type": "integer"
  43966. },
  43967. "limitdown": {
  43968. "description": "跌停价",
  43969. "type": "number"
  43970. },
  43971. "limitup": {
  43972. "description": "涨停价",
  43973. "type": "number"
  43974. },
  43975. "lowest": {
  43976. "description": "最低价",
  43977. "type": "number"
  43978. },
  43979. "nontotalholdervolume": {
  43980. "description": "非交易持仓量",
  43981. "type": "integer"
  43982. },
  43983. "nontotallot": {
  43984. "description": "非交易总手数",
  43985. "type": "integer"
  43986. },
  43987. "nontotalturnover": {
  43988. "description": "非交易总金额",
  43989. "type": "integer"
  43990. },
  43991. "nontotalvolume": {
  43992. "description": "非交易总量",
  43993. "type": "integer"
  43994. },
  43995. "opened": {
  43996. "description": "开盘价",
  43997. "type": "number"
  43998. },
  43999. "opentime": {
  44000. "description": "开盘时间",
  44001. "type": "string"
  44002. },
  44003. "orderid": {
  44004. "description": "序号",
  44005. "type": "integer"
  44006. },
  44007. "preclose": {
  44008. "description": "昨收",
  44009. "type": "number"
  44010. },
  44011. "preholdvolume": {
  44012. "description": "昨持仓",
  44013. "type": "integer"
  44014. },
  44015. "presettle": {
  44016. "description": "昨结价",
  44017. "type": "number"
  44018. },
  44019. "publictradetype": {
  44020. "description": "公共交易标志类型 港股专用",
  44021. "type": "string"
  44022. },
  44023. "putoptionpremiums": {
  44024. "description": "认沽期权1",
  44025. "type": "integer"
  44026. },
  44027. "putoptionpremiums2": {
  44028. "description": "认沽期权2",
  44029. "type": "integer"
  44030. },
  44031. "putoptionpremiums3": {
  44032. "description": "认沽期权3",
  44033. "type": "integer"
  44034. },
  44035. "putoptionpremiums4": {
  44036. "description": "认沽期权4",
  44037. "type": "integer"
  44038. },
  44039. "putoptionpremiums5": {
  44040. "description": "认沽期权5",
  44041. "type": "integer"
  44042. },
  44043. "settle": {
  44044. "description": "结算价",
  44045. "type": "number"
  44046. },
  44047. "strikeprice": {
  44048. "description": "发行价",
  44049. "type": "number"
  44050. },
  44051. "totalaskvolume": {
  44052. "description": "内盘",
  44053. "type": "integer"
  44054. },
  44055. "totalbidvolume": {
  44056. "description": "外盘",
  44057. "type": "integer"
  44058. },
  44059. "totallot": {
  44060. "description": "总手数",
  44061. "type": "integer"
  44062. },
  44063. "totalturnover": {
  44064. "description": "总金额",
  44065. "type": "number"
  44066. },
  44067. "totalvolume": {
  44068. "description": "总量",
  44069. "type": "integer"
  44070. },
  44071. "utclasttime": {
  44072. "description": "utc的行情时间",
  44073. "type": "string"
  44074. }
  44075. }
  44076. },
  44077. "quote.QueryTSDataRsp": {
  44078. "type": "object",
  44079. "properties": {
  44080. "Count": {
  44081. "description": "交易日应有数据个数",
  44082. "type": "integer"
  44083. },
  44084. "decimalPlace": {
  44085. "description": "小数位",
  44086. "type": "integer"
  44087. },
  44088. "endTime": {
  44089. "description": "结束时间",
  44090. "type": "string"
  44091. },
  44092. "goodsCode": {
  44093. "description": "商品代码",
  44094. "type": "string"
  44095. },
  44096. "historyDatas": {
  44097. "description": "历史数据",
  44098. "type": "array",
  44099. "items": {
  44100. "$ref": "#/definitions/quote.HistoryData"
  44101. }
  44102. },
  44103. "outGoodsCode": {
  44104. "description": "外部商品代码",
  44105. "type": "string"
  44106. },
  44107. "preSettle": {
  44108. "description": "昨结价",
  44109. "type": "number"
  44110. },
  44111. "runSteps": {
  44112. "description": "交易日开休市计划",
  44113. "type": "array",
  44114. "items": {
  44115. "$ref": "#/definitions/quote.TSDataRunStep"
  44116. }
  44117. },
  44118. "startTime": {
  44119. "description": "开始时间",
  44120. "type": "string"
  44121. },
  44122. "tradeDate": {
  44123. "description": "交易日",
  44124. "type": "string"
  44125. }
  44126. }
  44127. },
  44128. "quote.TSDataRunStep": {
  44129. "type": "object",
  44130. "properties": {
  44131. "end": {
  44132. "description": "真实结束时间",
  44133. "type": "string"
  44134. },
  44135. "endflag": {
  44136. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  44137. "type": "integer"
  44138. },
  44139. "endtime": {
  44140. "description": "结束时间(HH:mm)",
  44141. "type": "string"
  44142. },
  44143. "endweekday": {
  44144. "description": "结束周几",
  44145. "type": "integer"
  44146. },
  44147. "groupid": {
  44148. "description": "分组ID",
  44149. "type": "integer"
  44150. },
  44151. "runstep": {
  44152. "description": "运行阶段 - 2:连续交易",
  44153. "type": "integer"
  44154. },
  44155. "sectionid": {
  44156. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  44157. "type": "integer"
  44158. },
  44159. "start": {
  44160. "description": "真实开始时间",
  44161. "type": "string"
  44162. },
  44163. "startflag": {
  44164. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  44165. "type": "integer"
  44166. },
  44167. "starttime": {
  44168. "description": "起始时间(HH:mm)",
  44169. "type": "string"
  44170. },
  44171. "startweekday": {
  44172. "description": "起始周几",
  44173. "type": "integer"
  44174. },
  44175. "tradeweekday": {
  44176. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  44177. "type": "integer"
  44178. }
  44179. }
  44180. },
  44181. "szdz.QueryConvertLogRsp": {
  44182. "type": "object",
  44183. "required": [
  44184. "logid"
  44185. ],
  44186. "properties": {
  44187. "accountid": {
  44188. "description": "资金账户ID",
  44189. "type": "integer"
  44190. },
  44191. "clientticket": {
  44192. "description": "客户端流水号",
  44193. "type": "string"
  44194. },
  44195. "converttype": {
  44196. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  44197. "type": "integer"
  44198. },
  44199. "createtime": {
  44200. "description": "记账时间",
  44201. "type": "string"
  44202. },
  44203. "daymaxvalue": {
  44204. "description": "配置当日最大转入限制",
  44205. "type": "number"
  44206. },
  44207. "daymaxvalue2": {
  44208. "description": "配置当日最大转入限制(转入)",
  44209. "type": "number"
  44210. },
  44211. "goodscode": {
  44212. "description": "商品代码",
  44213. "type": "string"
  44214. },
  44215. "goodsname": {
  44216. "description": "商品名称",
  44217. "type": "string"
  44218. },
  44219. "handlestatus": {
  44220. "description": "处理状态",
  44221. "type": "integer"
  44222. },
  44223. "innergoodsid": {
  44224. "description": "内部商品ID",
  44225. "type": "integer"
  44226. },
  44227. "inratio": {
  44228. "description": "配置转入比值",
  44229. "type": "integer"
  44230. },
  44231. "invalue": {
  44232. "description": "目标值",
  44233. "type": "number"
  44234. },
  44235. "logid": {
  44236. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44237. "type": "integer"
  44238. },
  44239. "mobile": {
  44240. "description": "手机号码(加密存储)",
  44241. "type": "string"
  44242. },
  44243. "outergoodscode": {
  44244. "description": "外部商品代码[JD\\PD]",
  44245. "type": "string"
  44246. },
  44247. "outratio": {
  44248. "description": "配置转出比值",
  44249. "type": "integer"
  44250. },
  44251. "outvalue": {
  44252. "description": "源值",
  44253. "type": "number"
  44254. },
  44255. "pddecimalplace": {
  44256. "description": "PD小数位",
  44257. "type": "integer"
  44258. },
  44259. "qty": {
  44260. "description": "数量",
  44261. "type": "string"
  44262. },
  44263. "remark": {
  44264. "description": "备注",
  44265. "type": "string"
  44266. },
  44267. "sessionid": {
  44268. "description": "会话ID",
  44269. "type": "integer"
  44270. },
  44271. "timemaxvalue": {
  44272. "description": "配置单次最大转入限制",
  44273. "type": "number"
  44274. },
  44275. "timemaxvalue2": {
  44276. "description": "配置单次最大转入限制(转入)",
  44277. "type": "number"
  44278. },
  44279. "timeminvalue": {
  44280. "description": "配置单次最小数量限制",
  44281. "type": "number"
  44282. },
  44283. "timeminvalue2": {
  44284. "description": "配置单次最小数量限制(转入)",
  44285. "type": "number"
  44286. },
  44287. "tradedate": {
  44288. "description": "交易日(yyyyMMdd)",
  44289. "type": "string"
  44290. },
  44291. "userid": {
  44292. "description": "用户ID",
  44293. "type": "integer"
  44294. }
  44295. }
  44296. },
  44297. "szdz.QueryGoodsPickupRsp": {
  44298. "type": "object",
  44299. "required": [
  44300. "takeorderid"
  44301. ],
  44302. "properties": {
  44303. "accountid": {
  44304. "description": "账户ID",
  44305. "type": "integer"
  44306. },
  44307. "address": {
  44308. "description": "提货人详细地址",
  44309. "type": "string"
  44310. },
  44311. "auditer": {
  44312. "description": "审核人",
  44313. "type": "integer"
  44314. },
  44315. "audittime": {
  44316. "description": "审核时间",
  44317. "type": "string"
  44318. },
  44319. "cardnum": {
  44320. "description": "提货人证件号码",
  44321. "type": "string"
  44322. },
  44323. "cardtypeid": {
  44324. "description": "提货人证件类型",
  44325. "type": "integer"
  44326. },
  44327. "checkremark": {
  44328. "description": "审核备注",
  44329. "type": "string"
  44330. },
  44331. "goodscode": {
  44332. "description": "商品代码",
  44333. "type": "string"
  44334. },
  44335. "goodsid": {
  44336. "description": "商品ID",
  44337. "type": "integer"
  44338. },
  44339. "goodsname": {
  44340. "description": "商品名称",
  44341. "type": "string"
  44342. },
  44343. "handlestatus": {
  44344. "description": "处理状态",
  44345. "type": "integer"
  44346. },
  44347. "marketid": {
  44348. "description": "市场ID",
  44349. "type": "integer"
  44350. },
  44351. "phonenum": {
  44352. "description": "提货人联系方式",
  44353. "type": "string"
  44354. },
  44355. "qty": {
  44356. "description": "提货数量",
  44357. "type": "number"
  44358. },
  44359. "recivername": {
  44360. "description": "提货人姓名",
  44361. "type": "string"
  44362. },
  44363. "reqtime": {
  44364. "description": "更新时间",
  44365. "type": "string"
  44366. },
  44367. "takemode": {
  44368. "description": "提货方式 - 2:自提 3:配送",
  44369. "type": "integer"
  44370. },
  44371. "takeorderid": {
  44372. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  44373. "type": "string"
  44374. },
  44375. "takeorderstatus": {
  44376. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  44377. "type": "integer"
  44378. },
  44379. "takeremark": {
  44380. "description": "提货备注",
  44381. "type": "string"
  44382. },
  44383. "tradedate": {
  44384. "description": "交易日(yyyyMMdd)",
  44385. "type": "string"
  44386. },
  44387. "userid": {
  44388. "description": "用户ID",
  44389. "type": "integer"
  44390. }
  44391. }
  44392. },
  44393. "szdz.QueryRecieptOrderRsp": {
  44394. "type": "object",
  44395. "required": [
  44396. "ordertime"
  44397. ],
  44398. "properties": {
  44399. "accountName": {
  44400. "description": "所属账号名称(已脱敏)",
  44401. "type": "string"
  44402. },
  44403. "accountid": {
  44404. "description": "资金账号",
  44405. "type": "integer"
  44406. },
  44407. "buyorsell": {
  44408. "description": "方向 - 0:买 1:卖",
  44409. "type": "integer"
  44410. },
  44411. "enableqty": {
  44412. "description": "可摘数量",
  44413. "type": "integer"
  44414. },
  44415. "goodscode": {
  44416. "description": "商品代码",
  44417. "type": "string"
  44418. },
  44419. "goodsid": {
  44420. "description": "商品ID",
  44421. "type": "integer"
  44422. },
  44423. "goodsname": {
  44424. "description": "商品名称",
  44425. "type": "string"
  44426. },
  44427. "orderid": {
  44428. "description": "委托单号",
  44429. "type": "string"
  44430. },
  44431. "orderprice": {
  44432. "description": "委托价格",
  44433. "type": "number"
  44434. },
  44435. "ordertime": {
  44436. "description": "委托时间",
  44437. "type": "string"
  44438. },
  44439. "tradedate": {
  44440. "description": "交易日(yyyyMMdd)",
  44441. "type": "string"
  44442. }
  44443. }
  44444. },
  44445. "szdz.QuerySZDZTradePositionRsp": {
  44446. "type": "object",
  44447. "properties": {
  44448. "accountid": {
  44449. "description": "账号Id",
  44450. "type": "integer"
  44451. },
  44452. "agreeunit": {
  44453. "description": "合约单位",
  44454. "type": "number"
  44455. },
  44456. "averageprice": {
  44457. "description": "持仓均价",
  44458. "type": "number"
  44459. },
  44460. "buyorsell": {
  44461. "description": "方向 - 0:买 1:卖",
  44462. "type": "integer"
  44463. },
  44464. "closetotalqty": {
  44465. "description": "平仓总数量",
  44466. "type": "integer"
  44467. },
  44468. "curholderamount": {
  44469. "description": "当前持仓总金额",
  44470. "type": "number"
  44471. },
  44472. "curpositionqty": {
  44473. "description": "当前持仓总数量",
  44474. "type": "integer"
  44475. },
  44476. "currencyid": {
  44477. "description": "报价货币ID",
  44478. "type": "integer"
  44479. },
  44480. "curtdposition": {
  44481. "description": "期末今日头寸",
  44482. "type": "integer"
  44483. },
  44484. "decimalplace": {
  44485. "description": "报价小数位",
  44486. "type": "integer"
  44487. },
  44488. "enableqty": {
  44489. "description": "可用量",
  44490. "type": "integer"
  44491. },
  44492. "fretdposition": {
  44493. "description": "冻结今日头寸",
  44494. "type": "integer"
  44495. },
  44496. "frozenqty": {
  44497. "description": "持仓冻结数量",
  44498. "type": "integer"
  44499. },
  44500. "goodscode": {
  44501. "description": "商品代码(内部)",
  44502. "type": "string"
  44503. },
  44504. "goodsid": {
  44505. "description": "商品Id",
  44506. "type": "integer"
  44507. },
  44508. "goodsname": {
  44509. "description": "商品名称",
  44510. "type": "string"
  44511. },
  44512. "goodunit": {
  44513. "description": "报价单位",
  44514. "type": "string"
  44515. },
  44516. "goodunitid": {
  44517. "description": "报价单位ID",
  44518. "type": "integer"
  44519. },
  44520. "holderamount": {
  44521. "description": "期初持仓总金额",
  44522. "type": "number"
  44523. },
  44524. "marketid": {
  44525. "description": "市场ID",
  44526. "type": "integer"
  44527. },
  44528. "openreqqty": {
  44529. "description": "开仓申请数量",
  44530. "type": "integer"
  44531. },
  44532. "opentotalqty": {
  44533. "description": "开仓总数量",
  44534. "type": "integer"
  44535. },
  44536. "otherfrozenqty": {
  44537. "description": "持仓其他冻结数量(交割冻结)",
  44538. "type": "integer"
  44539. },
  44540. "positionqty": {
  44541. "description": "期初持仓数量",
  44542. "type": "integer"
  44543. },
  44544. "szdz3freezqty": {
  44545. "description": "尚志大宗转换冻结总数量",
  44546. "type": "integer"
  44547. },
  44548. "tnqty": {
  44549. "description": "T+N冻结总量",
  44550. "type": "integer"
  44551. },
  44552. "tnusedqty": {
  44553. "description": "T+N使用量",
  44554. "type": "integer"
  44555. },
  44556. "trademode": {
  44557. "description": "交易模式",
  44558. "type": "integer"
  44559. },
  44560. "usedmargin": {
  44561. "description": "占用保证金",
  44562. "type": "number"
  44563. }
  44564. }
  44565. },
  44566. "taaccount.QueryAmountLogRsp": {
  44567. "type": "object",
  44568. "required": [
  44569. "accountid",
  44570. "amount",
  44571. "amountadjusttype",
  44572. "autoid",
  44573. "balance",
  44574. "createtime",
  44575. "currentbalance",
  44576. "operatetype"
  44577. ],
  44578. "properties": {
  44579. "OPERATETYPENAME": {
  44580. "description": "资金操作类型名称",
  44581. "type": "string"
  44582. },
  44583. "accountid": {
  44584. "description": "资金账户ID",
  44585. "type": "integer"
  44586. },
  44587. "agoodscode": {
  44588. "description": "竞拍商品代码",
  44589. "type": "string"
  44590. },
  44591. "agoodsname": {
  44592. "description": "竞拍商品名称",
  44593. "type": "string"
  44594. },
  44595. "amount": {
  44596. "description": "资金金额",
  44597. "type": "number"
  44598. },
  44599. "amountadjusttype": {
  44600. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44601. "type": "integer"
  44602. },
  44603. "autoid": {
  44604. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44605. "type": "integer"
  44606. },
  44607. "balance": {
  44608. "description": "期初余额",
  44609. "type": "number"
  44610. },
  44611. "businesscode": {
  44612. "description": "业务编号",
  44613. "type": "integer"
  44614. },
  44615. "createtime": {
  44616. "description": "发生时间",
  44617. "type": "string"
  44618. },
  44619. "currencyid": {
  44620. "description": "币种ID",
  44621. "type": "integer"
  44622. },
  44623. "currentbalance": {
  44624. "description": "期末余额(变动后金额)",
  44625. "type": "number"
  44626. },
  44627. "dgoodscode": {
  44628. "description": "交割商品代码",
  44629. "type": "string"
  44630. },
  44631. "dgoodsname": {
  44632. "description": "交割商品名称",
  44633. "type": "string"
  44634. },
  44635. "goodscode": {
  44636. "description": "商品代码",
  44637. "type": "string"
  44638. },
  44639. "goodsid": {
  44640. "description": "商品ID",
  44641. "type": "integer"
  44642. },
  44643. "goodsname": {
  44644. "description": "商品名称",
  44645. "type": "string"
  44646. },
  44647. "marketid": {
  44648. "description": "市场ID",
  44649. "type": "integer"
  44650. },
  44651. "marketname": {
  44652. "description": "市场名称",
  44653. "type": "string"
  44654. },
  44655. "moneyticket": {
  44656. "description": "资金流水号:银行端流水号",
  44657. "type": "integer"
  44658. },
  44659. "operatetype": {
  44660. "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:营销收款",
  44661. "type": "integer"
  44662. },
  44663. "relationorderid": {
  44664. "description": "关联单号",
  44665. "type": "string"
  44666. },
  44667. "remark": {
  44668. "description": "备注",
  44669. "type": "string"
  44670. },
  44671. "trademode": {
  44672. "description": "交易模式",
  44673. "type": "integer"
  44674. }
  44675. }
  44676. },
  44677. "taaccount.QueryHisAmountLogRsp": {
  44678. "type": "object",
  44679. "required": [
  44680. "accountid",
  44681. "amount",
  44682. "amountadjusttype",
  44683. "autoid",
  44684. "balance",
  44685. "createtime",
  44686. "currentbalance",
  44687. "histradedate",
  44688. "operatetype"
  44689. ],
  44690. "properties": {
  44691. "OPERATETYPENAME": {
  44692. "description": "资金操作类型名称",
  44693. "type": "string"
  44694. },
  44695. "accountid": {
  44696. "description": "资金账户ID",
  44697. "type": "integer"
  44698. },
  44699. "agoodscode": {
  44700. "description": "竞拍商品代码",
  44701. "type": "string"
  44702. },
  44703. "agoodsname": {
  44704. "description": "竞拍商品名称",
  44705. "type": "string"
  44706. },
  44707. "amount": {
  44708. "description": "资金金额",
  44709. "type": "number"
  44710. },
  44711. "amountadjusttype": {
  44712. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44713. "type": "integer"
  44714. },
  44715. "autoid": {
  44716. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44717. "type": "integer"
  44718. },
  44719. "balance": {
  44720. "description": "期初余额",
  44721. "type": "number"
  44722. },
  44723. "businesscode": {
  44724. "description": "业务编号",
  44725. "type": "integer"
  44726. },
  44727. "createtime": {
  44728. "description": "发生时间",
  44729. "type": "string"
  44730. },
  44731. "currencyid": {
  44732. "description": "币种ID",
  44733. "type": "integer"
  44734. },
  44735. "currentbalance": {
  44736. "description": "期末余额(变动后金额)",
  44737. "type": "number"
  44738. },
  44739. "dgoodscode": {
  44740. "description": "交割商品代码",
  44741. "type": "string"
  44742. },
  44743. "dgoodsname": {
  44744. "description": "交割商品名称",
  44745. "type": "string"
  44746. },
  44747. "goodscode": {
  44748. "description": "商品代码",
  44749. "type": "string"
  44750. },
  44751. "goodsid": {
  44752. "description": "商品ID",
  44753. "type": "integer"
  44754. },
  44755. "goodsname": {
  44756. "description": "商品名称",
  44757. "type": "string"
  44758. },
  44759. "histradedate": {
  44760. "description": "历史交易日",
  44761. "type": "string"
  44762. },
  44763. "isvaliddata": {
  44764. "description": "是否有效 - 0:无效 1:有效",
  44765. "type": "integer"
  44766. },
  44767. "marketid": {
  44768. "description": "市场ID",
  44769. "type": "integer"
  44770. },
  44771. "marketname": {
  44772. "description": "市场名称",
  44773. "type": "string"
  44774. },
  44775. "moneyticket": {
  44776. "description": "资金流水号:银行端流水号",
  44777. "type": "integer"
  44778. },
  44779. "operatetype": {
  44780. "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:营销收款",
  44781. "type": "integer"
  44782. },
  44783. "relationorderid": {
  44784. "description": "关联单号",
  44785. "type": "string"
  44786. },
  44787. "remark": {
  44788. "description": "备注",
  44789. "type": "string"
  44790. },
  44791. "trademode": {
  44792. "description": "交易模式",
  44793. "type": "integer"
  44794. }
  44795. }
  44796. },
  44797. "trade.QueryRecieptOrderRsp": {
  44798. "type": "object",
  44799. "required": [
  44800. "ordertime"
  44801. ],
  44802. "properties": {
  44803. "accountName": {
  44804. "description": "所属账号名称(已脱敏)",
  44805. "type": "string"
  44806. },
  44807. "accountid": {
  44808. "description": "资金账号",
  44809. "type": "integer"
  44810. },
  44811. "buyorsell": {
  44812. "description": "方向 - 0:买 1:卖",
  44813. "type": "integer"
  44814. },
  44815. "enableqty": {
  44816. "description": "可摘数量",
  44817. "type": "integer"
  44818. },
  44819. "goodscode": {
  44820. "description": "商品代码",
  44821. "type": "string"
  44822. },
  44823. "goodsid": {
  44824. "description": "商品ID",
  44825. "type": "integer"
  44826. },
  44827. "goodsname": {
  44828. "description": "商品名称",
  44829. "type": "string"
  44830. },
  44831. "orderid": {
  44832. "description": "委托单号",
  44833. "type": "string"
  44834. },
  44835. "orderprice": {
  44836. "description": "委托价格",
  44837. "type": "number"
  44838. },
  44839. "ordertime": {
  44840. "description": "委托时间",
  44841. "type": "string"
  44842. },
  44843. "tradedate": {
  44844. "description": "交易日(yyyyMMdd)",
  44845. "type": "string"
  44846. }
  44847. }
  44848. },
  44849. "user.LoginQueryRsp": {
  44850. "type": "object",
  44851. "properties": {
  44852. "areaRoles": {
  44853. "description": "所属角色信息",
  44854. "type": "array",
  44855. "items": {
  44856. "$ref": "#/definitions/models.Arearole"
  44857. }
  44858. },
  44859. "externalExchanges": {
  44860. "description": "外部交易所",
  44861. "type": "array",
  44862. "items": {
  44863. "$ref": "#/definitions/models.Externalexchange"
  44864. }
  44865. },
  44866. "goodsgroups": {
  44867. "description": "商品组",
  44868. "type": "array",
  44869. "items": {
  44870. "$ref": "#/definitions/models.Goodsgroup"
  44871. }
  44872. },
  44873. "loginAccount": {
  44874. "description": "登录账号",
  44875. "$ref": "#/definitions/models.Loginaccount"
  44876. },
  44877. "markets": {
  44878. "description": "市场",
  44879. "type": "array",
  44880. "items": {
  44881. "$ref": "#/definitions/models.Market"
  44882. }
  44883. },
  44884. "systemParams": {
  44885. "description": "系统参数",
  44886. "type": "array",
  44887. "items": {
  44888. "$ref": "#/definitions/models.Systemparam"
  44889. }
  44890. },
  44891. "userAccount": {
  44892. "description": "用户账号",
  44893. "$ref": "#/definitions/models.Useraccount"
  44894. },
  44895. "userInfo": {
  44896. "description": "用户信息",
  44897. "$ref": "#/definitions/models.Userinfo"
  44898. },
  44899. "username": {
  44900. "description": "用户姓名",
  44901. "type": "string"
  44902. }
  44903. }
  44904. }
  44905. },
  44906. "securityDefinitions": {
  44907. "ApiKeyAuth": {
  44908. "type": "apiKey",
  44909. "name": "Authorization",
  44910. "in": "header"
  44911. }
  44912. }
  44913. }`
  44914. type swaggerInfo struct {
  44915. Version string
  44916. Host string
  44917. BasePath string
  44918. Schemes []string
  44919. Title string
  44920. Description string
  44921. }
  44922. // SwaggerInfo holds exported Swagger Info so clients can modify it
  44923. var SwaggerInfo = swaggerInfo{
  44924. Version: "1.0",
  44925. Host: "",
  44926. BasePath: "/api",
  44927. Schemes: []string{},
  44928. Title: "MTP2.0 查询服务 API",
  44929. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  44930. }
  44931. type s struct{}
  44932. func (s *s) ReadDoc() string {
  44933. sInfo := SwaggerInfo
  44934. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  44935. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  44936. "marshal": func(v interface{}) string {
  44937. a, _ := json.Marshal(v)
  44938. return string(a)
  44939. },
  44940. }).Parse(doc)
  44941. if err != nil {
  44942. return doc
  44943. }
  44944. var tpl bytes.Buffer
  44945. if err := t.Execute(&tpl, sInfo); err != nil {
  44946. return doc
  44947. }
  44948. return tpl.String()
  44949. }
  44950. func init() {
  44951. swag.Register(swag.Name, &s{})
  44952. }