docs.go 1.6 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687
  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/QueryErmcp2HedgedItemsDetail": {
  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": "userid",
  5868. "in": "query",
  5869. "required": true
  5870. },
  5871. {
  5872. "type": "integer",
  5873. "description": "套保品种ID",
  5874. "name": "middlegoodsid",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "type": "array",
  5884. "items": {
  5885. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  5886. }
  5887. }
  5888. },
  5889. "500": {
  5890. "description": "Internal Server Error",
  5891. "schema": {
  5892. "$ref": "#/definitions/app.Response"
  5893. }
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  5899. "get": {
  5900. "security": [
  5901. {
  5902. "ApiKeyAuth": []
  5903. }
  5904. ],
  5905. "produces": [
  5906. "application/json"
  5907. ],
  5908. "tags": [
  5909. "企业风险管理v8"
  5910. ],
  5911. "summary": "敞口明细 - 现货变动明细查询",
  5912. "parameters": [
  5913. {
  5914. "type": "integer",
  5915. "description": "用户ID",
  5916. "name": "userid",
  5917. "in": "query",
  5918. "required": true
  5919. },
  5920. {
  5921. "type": "integer",
  5922. "description": "套保品种ID",
  5923. "name": "middlegoodsid",
  5924. "in": "query",
  5925. "required": true
  5926. }
  5927. ],
  5928. "responses": {
  5929. "200": {
  5930. "description": "OK",
  5931. "schema": {
  5932. "type": "array",
  5933. "items": {
  5934. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  5935. }
  5936. }
  5937. },
  5938. "500": {
  5939. "description": "Internal Server Error",
  5940. "schema": {
  5941. "$ref": "#/definitions/app.Response"
  5942. }
  5943. }
  5944. }
  5945. }
  5946. },
  5947. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  5948. "get": {
  5949. "security": [
  5950. {
  5951. "ApiKeyAuth": []
  5952. }
  5953. ],
  5954. "produces": [
  5955. "application/json"
  5956. ],
  5957. "tags": [
  5958. "企业风险管理v8"
  5959. ],
  5960. "summary": "可关联项目查询",
  5961. "parameters": [
  5962. {
  5963. "type": "integer",
  5964. "description": "用户ID",
  5965. "name": "userid",
  5966. "in": "query",
  5967. "required": true
  5968. },
  5969. {
  5970. "type": "integer",
  5971. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  5972. "name": "spottype",
  5973. "in": "query",
  5974. "required": true
  5975. }
  5976. ],
  5977. "responses": {
  5978. "200": {
  5979. "description": "OK",
  5980. "schema": {
  5981. "type": "array",
  5982. "items": {
  5983. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  5984. }
  5985. }
  5986. },
  5987. "500": {
  5988. "description": "Internal Server Error",
  5989. "schema": {
  5990. "$ref": "#/definitions/app.Response"
  5991. }
  5992. }
  5993. }
  5994. }
  5995. },
  5996. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  5997. "get": {
  5998. "security": [
  5999. {
  6000. "ApiKeyAuth": []
  6001. }
  6002. ],
  6003. "produces": [
  6004. "application/json"
  6005. ],
  6006. "tags": [
  6007. "企业风险管理v8"
  6008. ],
  6009. "summary": "套期项目报表查询",
  6010. "parameters": [
  6011. {
  6012. "type": "integer",
  6013. "description": "用户ID",
  6014. "name": "userid",
  6015. "in": "query",
  6016. "required": true
  6017. },
  6018. {
  6019. "type": "integer",
  6020. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6021. "name": "cycletype",
  6022. "in": "query"
  6023. },
  6024. {
  6025. "type": "string",
  6026. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6027. "name": "cycletime",
  6028. "in": "query",
  6029. "required": true
  6030. },
  6031. {
  6032. "type": "integer",
  6033. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6034. "name": "hedgedtype",
  6035. "in": "query"
  6036. },
  6037. {
  6038. "type": "integer",
  6039. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6040. "name": "hedgeditemstatus",
  6041. "in": "query"
  6042. },
  6043. {
  6044. "type": "string",
  6045. "description": "项目编号,模糊查询",
  6046. "name": "hedgeditemnum",
  6047. "in": "query"
  6048. },
  6049. {
  6050. "type": "integer",
  6051. "description": "现货商品ID",
  6052. "name": "wrstandardid",
  6053. "in": "query"
  6054. }
  6055. ],
  6056. "responses": {
  6057. "200": {
  6058. "description": "OK",
  6059. "schema": {
  6060. "type": "array",
  6061. "items": {
  6062. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6063. }
  6064. }
  6065. },
  6066. "500": {
  6067. "description": "Internal Server Error",
  6068. "schema": {
  6069. "$ref": "#/definitions/app.Response"
  6070. }
  6071. }
  6072. }
  6073. }
  6074. },
  6075. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6076. "get": {
  6077. "security": [
  6078. {
  6079. "ApiKeyAuth": []
  6080. }
  6081. ],
  6082. "produces": [
  6083. "application/json"
  6084. ],
  6085. "tags": [
  6086. "企业风险管理v8"
  6087. ],
  6088. "summary": "查询执行中项目查询信息",
  6089. "parameters": [
  6090. {
  6091. "type": "string",
  6092. "description": "用户ID",
  6093. "name": "userid",
  6094. "in": "query",
  6095. "required": true
  6096. }
  6097. ],
  6098. "responses": {
  6099. "200": {
  6100. "description": "OK",
  6101. "schema": {
  6102. "type": "array",
  6103. "items": {
  6104. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6105. }
  6106. }
  6107. },
  6108. "500": {
  6109. "description": "Internal Server Error",
  6110. "schema": {
  6111. "$ref": "#/definitions/app.Response"
  6112. }
  6113. }
  6114. }
  6115. }
  6116. },
  6117. "/Ermcp8/QueryInternalEnableTradeDetail": {
  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": "integer",
  6134. "description": "企业ID",
  6135. "name": "areauserid",
  6136. "in": "query",
  6137. "required": true
  6138. },
  6139. {
  6140. "type": "integer",
  6141. "description": "期货合约ID",
  6142. "name": "goodsid",
  6143. "in": "query",
  6144. "required": true
  6145. }
  6146. ],
  6147. "responses": {
  6148. "200": {
  6149. "description": "OK",
  6150. "schema": {
  6151. "type": "array",
  6152. "items": {
  6153. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6154. }
  6155. }
  6156. },
  6157. "500": {
  6158. "description": "Internal Server Error",
  6159. "schema": {
  6160. "$ref": "#/definitions/app.Response"
  6161. }
  6162. }
  6163. }
  6164. }
  6165. },
  6166. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6167. "get": {
  6168. "security": [
  6169. {
  6170. "ApiKeyAuth": []
  6171. }
  6172. ],
  6173. "produces": [
  6174. "application/json"
  6175. ],
  6176. "tags": [
  6177. "企业风险管理v8"
  6178. ],
  6179. "summary": "内部未关联成交单查询",
  6180. "parameters": [
  6181. {
  6182. "type": "integer",
  6183. "description": "用户编号",
  6184. "name": "userid",
  6185. "in": "query",
  6186. "required": true
  6187. },
  6188. {
  6189. "type": "string",
  6190. "description": "起始日期(格式yyyymmdd)",
  6191. "name": "begindate",
  6192. "in": "query"
  6193. },
  6194. {
  6195. "type": "string",
  6196. "description": "终止日期(格式yyyymmdd)",
  6197. "name": "enddate",
  6198. "in": "query"
  6199. },
  6200. {
  6201. "type": "string",
  6202. "description": "合约代码",
  6203. "name": "goodscode",
  6204. "in": "query"
  6205. },
  6206. {
  6207. "type": "string",
  6208. "description": "合约名称",
  6209. "name": "goodsname",
  6210. "in": "query"
  6211. },
  6212. {
  6213. "type": "integer",
  6214. "description": "成交单号",
  6215. "name": "tradeid",
  6216. "in": "query"
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "方向 - 0:买 1:卖",
  6221. "name": "buyorsell",
  6222. "in": "query"
  6223. },
  6224. {
  6225. "type": "string",
  6226. "description": "套期主体",
  6227. "name": "accountname",
  6228. "in": "query"
  6229. }
  6230. ],
  6231. "responses": {
  6232. "200": {
  6233. "description": "OK",
  6234. "schema": {
  6235. "type": "array",
  6236. "items": {
  6237. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6238. }
  6239. }
  6240. },
  6241. "500": {
  6242. "description": "Internal Server Error",
  6243. "schema": {
  6244. "$ref": "#/definitions/app.Response"
  6245. }
  6246. }
  6247. }
  6248. }
  6249. },
  6250. "/Ermcp8/QueryPatradeLinkDetail": {
  6251. "get": {
  6252. "security": [
  6253. {
  6254. "ApiKeyAuth": []
  6255. }
  6256. ],
  6257. "produces": [
  6258. "application/json"
  6259. ],
  6260. "tags": [
  6261. "企业风险管理v8"
  6262. ],
  6263. "summary": "敞口明细 - 期货变动明细",
  6264. "parameters": [
  6265. {
  6266. "type": "integer",
  6267. "description": "用户ID",
  6268. "name": "userid",
  6269. "in": "query",
  6270. "required": true
  6271. },
  6272. {
  6273. "type": "integer",
  6274. "description": "套保品种ID",
  6275. "name": "middlegoodsid",
  6276. "in": "query",
  6277. "required": true
  6278. }
  6279. ],
  6280. "responses": {
  6281. "200": {
  6282. "description": "OK",
  6283. "schema": {
  6284. "type": "array",
  6285. "items": {
  6286. "$ref": "#/definitions/models.Patradelinkdetail"
  6287. }
  6288. }
  6289. },
  6290. "500": {
  6291. "description": "Internal Server Error",
  6292. "schema": {
  6293. "$ref": "#/definitions/app.Response"
  6294. }
  6295. }
  6296. }
  6297. }
  6298. },
  6299. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6300. "get": {
  6301. "security": [
  6302. {
  6303. "ApiKeyAuth": []
  6304. }
  6305. ],
  6306. "produces": [
  6307. "application/json"
  6308. ],
  6309. "tags": [
  6310. "企业风险管理v8"
  6311. ],
  6312. "summary": "未关联购销计划",
  6313. "parameters": [
  6314. {
  6315. "type": "integer",
  6316. "description": "企业ID",
  6317. "name": "areauserid",
  6318. "in": "query",
  6319. "required": true
  6320. },
  6321. {
  6322. "type": "integer",
  6323. "description": "计划类型 - 1:采购 -1:销售",
  6324. "name": "contracttype",
  6325. "in": "query"
  6326. },
  6327. {
  6328. "type": "string",
  6329. "description": "计划编号,模糊查询",
  6330. "name": "hedgeplanno",
  6331. "in": "query"
  6332. },
  6333. {
  6334. "type": "string",
  6335. "description": "现货商品,模糊查询",
  6336. "name": "wrstandardname",
  6337. "in": "query"
  6338. }
  6339. ],
  6340. "responses": {
  6341. "200": {
  6342. "description": "OK",
  6343. "schema": {
  6344. "type": "array",
  6345. "items": {
  6346. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6347. }
  6348. }
  6349. },
  6350. "500": {
  6351. "description": "Internal Server Error",
  6352. "schema": {
  6353. "$ref": "#/definitions/app.Response"
  6354. }
  6355. }
  6356. }
  6357. }
  6358. },
  6359. "/Ermcp8/QueryUnLinkSpotContract": {
  6360. "get": {
  6361. "security": [
  6362. {
  6363. "ApiKeyAuth": []
  6364. }
  6365. ],
  6366. "produces": [
  6367. "application/json"
  6368. ],
  6369. "tags": [
  6370. "企业风险管理v8"
  6371. ],
  6372. "summary": "未关联合同查询",
  6373. "parameters": [
  6374. {
  6375. "type": "integer",
  6376. "description": "用户ID",
  6377. "name": "userid",
  6378. "in": "query",
  6379. "required": true
  6380. },
  6381. {
  6382. "type": "integer",
  6383. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6384. "name": "pricetype",
  6385. "in": "query"
  6386. },
  6387. {
  6388. "type": "string",
  6389. "description": "合同编号, 模拟查询",
  6390. "name": "contractno",
  6391. "in": "query"
  6392. },
  6393. {
  6394. "type": "string",
  6395. "description": "对手方, 模拟查询",
  6396. "name": "customername",
  6397. "in": "query"
  6398. },
  6399. {
  6400. "type": "integer",
  6401. "description": "项合同类型 - 1:采购 -1:销售",
  6402. "name": "contracttype",
  6403. "in": "query"
  6404. }
  6405. ],
  6406. "responses": {
  6407. "200": {
  6408. "description": "OK",
  6409. "schema": {
  6410. "type": "array",
  6411. "items": {
  6412. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6413. }
  6414. }
  6415. },
  6416. "500": {
  6417. "description": "Internal Server Error",
  6418. "schema": {
  6419. "$ref": "#/definitions/app.Response"
  6420. }
  6421. }
  6422. }
  6423. }
  6424. },
  6425. "/Erms2/QueryArbitrageStrategy": {
  6426. "get": {
  6427. "security": [
  6428. {
  6429. "ApiKeyAuth": []
  6430. }
  6431. ],
  6432. "produces": [
  6433. "application/json"
  6434. ],
  6435. "tags": [
  6436. "风险管理"
  6437. ],
  6438. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6439. "parameters": [
  6440. {
  6441. "type": "integer",
  6442. "description": "账户ID",
  6443. "name": "userid",
  6444. "in": "query",
  6445. "required": true
  6446. },
  6447. {
  6448. "type": "string",
  6449. "description": "商品组ID(品种ID)",
  6450. "name": "goodsgroupid",
  6451. "in": "query"
  6452. }
  6453. ],
  6454. "responses": {
  6455. "200": {
  6456. "description": "OK",
  6457. "schema": {
  6458. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Erms2/QueryInnerTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "风险管理"
  6482. ],
  6483. "summary": "查询内部成交单信息",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "资金账户",
  6488. "name": "accountid",
  6489. "in": "query",
  6490. "required": true
  6491. }
  6492. ],
  6493. "responses": {
  6494. "200": {
  6495. "description": "OK",
  6496. "schema": {
  6497. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6498. }
  6499. },
  6500. "500": {
  6501. "description": "Internal Server Error",
  6502. "schema": {
  6503. "$ref": "#/definitions/app.Response"
  6504. }
  6505. }
  6506. }
  6507. }
  6508. },
  6509. "/Erms2/QuerySpotContract": {
  6510. "get": {
  6511. "security": [
  6512. {
  6513. "ApiKeyAuth": []
  6514. }
  6515. ],
  6516. "produces": [
  6517. "application/json"
  6518. ],
  6519. "tags": [
  6520. "风险管理"
  6521. ],
  6522. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6523. "parameters": [
  6524. {
  6525. "type": "integer",
  6526. "description": "策略申请ID",
  6527. "name": "asapplyid",
  6528. "in": "query",
  6529. "required": true
  6530. },
  6531. {
  6532. "type": "integer",
  6533. "description": "现货合同ID",
  6534. "name": "spotcontractid",
  6535. "in": "query"
  6536. }
  6537. ],
  6538. "responses": {
  6539. "200": {
  6540. "description": "OK",
  6541. "schema": {
  6542. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6543. }
  6544. },
  6545. "500": {
  6546. "description": "Internal Server Error",
  6547. "schema": {
  6548. "$ref": "#/definitions/app.Response"
  6549. }
  6550. }
  6551. }
  6552. }
  6553. },
  6554. "/Erms3/AddErms2ASApply": {
  6555. "post": {
  6556. "security": [
  6557. {
  6558. "ApiKeyAuth": []
  6559. }
  6560. ],
  6561. "produces": [
  6562. "application/json"
  6563. ],
  6564. "tags": [
  6565. "风险管理v3"
  6566. ],
  6567. "summary": "新增期现套利业务申请",
  6568. "parameters": [
  6569. {
  6570. "description": "申请参数",
  6571. "name": "jsonBody",
  6572. "in": "body",
  6573. "required": true,
  6574. "schema": {
  6575. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6576. }
  6577. }
  6578. ],
  6579. "responses": {
  6580. "200": {
  6581. "description": "OK",
  6582. "schema": {
  6583. "$ref": "#/definitions/app.Response"
  6584. }
  6585. },
  6586. "500": {
  6587. "description": "Internal Server Error",
  6588. "schema": {
  6589. "$ref": "#/definitions/app.Response"
  6590. }
  6591. }
  6592. }
  6593. }
  6594. },
  6595. "/Erms3/AddErms2SpotTradeApply": {
  6596. "post": {
  6597. "security": [
  6598. {
  6599. "ApiKeyAuth": []
  6600. }
  6601. ],
  6602. "produces": [
  6603. "application/json"
  6604. ],
  6605. "tags": [
  6606. "风险管理v3"
  6607. ],
  6608. "summary": "新增现货贸易业务申请",
  6609. "parameters": [
  6610. {
  6611. "description": "申请参数",
  6612. "name": "jsonBody",
  6613. "in": "body",
  6614. "required": true,
  6615. "schema": {
  6616. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6617. }
  6618. }
  6619. ],
  6620. "responses": {
  6621. "200": {
  6622. "description": "OK",
  6623. "schema": {
  6624. "$ref": "#/definitions/app.Response"
  6625. }
  6626. },
  6627. "500": {
  6628. "description": "Internal Server Error",
  6629. "schema": {
  6630. "$ref": "#/definitions/app.Response"
  6631. }
  6632. }
  6633. }
  6634. }
  6635. },
  6636. "/Erms3/AddSpotContractApply": {
  6637. "post": {
  6638. "security": [
  6639. {
  6640. "ApiKeyAuth": []
  6641. }
  6642. ],
  6643. "produces": [
  6644. "application/json"
  6645. ],
  6646. "tags": [
  6647. "风险管理v3"
  6648. ],
  6649. "summary": "新增现货合同申请",
  6650. "parameters": [
  6651. {
  6652. "description": "申请参数",
  6653. "name": "jsonBody",
  6654. "in": "body",
  6655. "required": true,
  6656. "schema": {
  6657. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6658. }
  6659. }
  6660. ],
  6661. "responses": {
  6662. "200": {
  6663. "description": "OK",
  6664. "schema": {
  6665. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  6666. }
  6667. },
  6668. "500": {
  6669. "description": "Internal Server Error",
  6670. "schema": {
  6671. "$ref": "#/definitions/app.Response"
  6672. }
  6673. }
  6674. }
  6675. }
  6676. },
  6677. "/Erms3/AddUserInfoApply": {
  6678. "post": {
  6679. "security": [
  6680. {
  6681. "ApiKeyAuth": []
  6682. }
  6683. ],
  6684. "produces": [
  6685. "application/json"
  6686. ],
  6687. "tags": [
  6688. "风险管理v3"
  6689. ],
  6690. "summary": "新增客户申请",
  6691. "parameters": [
  6692. {
  6693. "description": "用户信息",
  6694. "name": "jsonBody",
  6695. "in": "body",
  6696. "required": true,
  6697. "schema": {
  6698. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  6699. }
  6700. }
  6701. ],
  6702. "responses": {
  6703. "200": {
  6704. "description": "OK",
  6705. "schema": {
  6706. "$ref": "#/definitions/app.Response"
  6707. }
  6708. },
  6709. "500": {
  6710. "description": "Internal Server Error",
  6711. "schema": {
  6712. "$ref": "#/definitions/app.Response"
  6713. }
  6714. }
  6715. }
  6716. }
  6717. },
  6718. "/Erms3/DeleteUserInfoApply": {
  6719. "get": {
  6720. "security": [
  6721. {
  6722. "ApiKeyAuth": []
  6723. }
  6724. ],
  6725. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  6726. "produces": [
  6727. "application/json"
  6728. ],
  6729. "tags": [
  6730. "风险管理v3"
  6731. ],
  6732. "summary": "删除客户申请",
  6733. "parameters": [
  6734. {
  6735. "type": "integer",
  6736. "description": "用户ID",
  6737. "name": "userID",
  6738. "in": "query",
  6739. "required": true
  6740. }
  6741. ],
  6742. "responses": {
  6743. "200": {
  6744. "description": "OK",
  6745. "schema": {
  6746. "$ref": "#/definitions/app.Response"
  6747. }
  6748. },
  6749. "500": {
  6750. "description": "Internal Server Error",
  6751. "schema": {
  6752. "$ref": "#/definitions/app.Response"
  6753. }
  6754. }
  6755. }
  6756. }
  6757. },
  6758. "/Erms3/ModifyUserInfoApply": {
  6759. "post": {
  6760. "security": [
  6761. {
  6762. "ApiKeyAuth": []
  6763. }
  6764. ],
  6765. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  6766. "produces": [
  6767. "application/json"
  6768. ],
  6769. "tags": [
  6770. "风险管理v3"
  6771. ],
  6772. "summary": "修改客户申请",
  6773. "parameters": [
  6774. {
  6775. "description": "用户信息",
  6776. "name": "jsonBody",
  6777. "in": "body",
  6778. "required": true,
  6779. "schema": {
  6780. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  6781. }
  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/QueryBusinessInfo": {
  6801. "get": {
  6802. "security": [
  6803. {
  6804. "ApiKeyAuth": []
  6805. }
  6806. ],
  6807. "produces": [
  6808. "application/json"
  6809. ],
  6810. "tags": [
  6811. "风险管理v3"
  6812. ],
  6813. "summary": "查询业务表单数据",
  6814. "parameters": [
  6815. {
  6816. "type": "string",
  6817. "description": "资金账号ID列表,用逗号分隔",
  6818. "name": "accountids",
  6819. "in": "query",
  6820. "required": true
  6821. },
  6822. {
  6823. "type": "integer",
  6824. "description": "状态,0为未结束 1为已结束",
  6825. "name": "status",
  6826. "in": "query",
  6827. "required": true
  6828. }
  6829. ],
  6830. "responses": {
  6831. "200": {
  6832. "description": "OK",
  6833. "schema": {
  6834. "type": "array",
  6835. "items": {
  6836. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6837. }
  6838. }
  6839. },
  6840. "500": {
  6841. "description": "Internal Server Error",
  6842. "schema": {
  6843. "$ref": "#/definitions/app.Response"
  6844. }
  6845. }
  6846. }
  6847. }
  6848. },
  6849. "/Erms3/QueryPendingAuditContract": {
  6850. "get": {
  6851. "security": [
  6852. {
  6853. "ApiKeyAuth": []
  6854. }
  6855. ],
  6856. "produces": [
  6857. "application/json"
  6858. ],
  6859. "tags": [
  6860. "风险管理v3"
  6861. ],
  6862. "summary": "查询待审核合同",
  6863. "parameters": [
  6864. {
  6865. "type": "string",
  6866. "description": "资金账号ID列表,逗号隔开",
  6867. "name": "accountids",
  6868. "in": "query",
  6869. "required": true
  6870. },
  6871. {
  6872. "type": "integer",
  6873. "description": "合同类型 1-采购 -1-销售",
  6874. "name": "contracttype",
  6875. "in": "query",
  6876. "required": true
  6877. },
  6878. {
  6879. "type": "integer",
  6880. "description": "合同模式 1-普通 2-回购",
  6881. "name": "contractmode",
  6882. "in": "query",
  6883. "required": true
  6884. }
  6885. ],
  6886. "responses": {
  6887. "200": {
  6888. "description": "OK",
  6889. "schema": {
  6890. "type": "array",
  6891. "items": {
  6892. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6893. }
  6894. }
  6895. },
  6896. "500": {
  6897. "description": "Internal Server Error",
  6898. "schema": {
  6899. "$ref": "#/definitions/app.Response"
  6900. }
  6901. }
  6902. }
  6903. }
  6904. },
  6905. "/Erms3/QueryPendingBusiness": {
  6906. "get": {
  6907. "security": [
  6908. {
  6909. "ApiKeyAuth": []
  6910. }
  6911. ],
  6912. "produces": [
  6913. "application/json"
  6914. ],
  6915. "tags": [
  6916. "风险管理v3"
  6917. ],
  6918. "summary": "查询待审核基差贸易业务",
  6919. "parameters": [
  6920. {
  6921. "type": "string",
  6922. "description": "资金账号ID列表,逗号隔开",
  6923. "name": "accountids",
  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.QryPendingBizRsp"
  6935. }
  6936. }
  6937. },
  6938. "500": {
  6939. "description": "Internal Server Error",
  6940. "schema": {
  6941. "$ref": "#/definitions/app.Response"
  6942. }
  6943. }
  6944. }
  6945. }
  6946. },
  6947. "/Erms3/QuerySpotContractAppleForm": {
  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": "integer",
  6964. "description": "登录账号",
  6965. "name": "loginID",
  6966. "in": "query",
  6967. "required": true
  6968. }
  6969. ],
  6970. "responses": {
  6971. "200": {
  6972. "description": "OK",
  6973. "schema": {
  6974. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6975. }
  6976. },
  6977. "500": {
  6978. "description": "Internal Server Error",
  6979. "schema": {
  6980. "$ref": "#/definitions/app.Response"
  6981. }
  6982. }
  6983. }
  6984. }
  6985. },
  6986. "/Erms3/QuerySpotContractDetail": {
  6987. "get": {
  6988. "security": [
  6989. {
  6990. "ApiKeyAuth": []
  6991. }
  6992. ],
  6993. "produces": [
  6994. "application/json"
  6995. ],
  6996. "tags": [
  6997. "风险管理v3"
  6998. ],
  6999. "summary": "查询合同详细信息",
  7000. "parameters": [
  7001. {
  7002. "type": "string",
  7003. "description": "资金账号ID列表,用逗号分隔",
  7004. "name": "accountids",
  7005. "in": "query",
  7006. "required": true
  7007. },
  7008. {
  7009. "type": "integer",
  7010. "description": "合同类型,1为采购合同 -1为销售合同",
  7011. "name": "contracttype",
  7012. "in": "query",
  7013. "required": true
  7014. },
  7015. {
  7016. "type": "integer",
  7017. "description": "合同模式,1为普通合同 2为回购销售合同",
  7018. "name": "contractmode",
  7019. "in": "query",
  7020. "required": true
  7021. },
  7022. {
  7023. "type": "integer",
  7024. "description": "状态,0为履约中 1为已完成",
  7025. "name": "status",
  7026. "in": "query",
  7027. "required": true
  7028. }
  7029. ],
  7030. "responses": {
  7031. "200": {
  7032. "description": "OK",
  7033. "schema": {
  7034. "type": "array",
  7035. "items": {
  7036. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7037. }
  7038. }
  7039. },
  7040. "500": {
  7041. "description": "Internal Server Error",
  7042. "schema": {
  7043. "$ref": "#/definitions/app.Response"
  7044. }
  7045. }
  7046. }
  7047. }
  7048. },
  7049. "/Erms3/QueryUserInfoApplies": {
  7050. "get": {
  7051. "security": [
  7052. {
  7053. "ApiKeyAuth": []
  7054. }
  7055. ],
  7056. "produces": [
  7057. "application/json"
  7058. ],
  7059. "tags": [
  7060. "风险管理v3"
  7061. ],
  7062. "summary": "客户申请信息查询",
  7063. "parameters": [
  7064. {
  7065. "type": "integer",
  7066. "description": "页码",
  7067. "name": "page",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "integer",
  7072. "description": "每页条数",
  7073. "name": "pagesize",
  7074. "in": "query"
  7075. },
  7076. {
  7077. "type": "string",
  7078. "description": "客户名称,支持模糊查询",
  7079. "name": "userName",
  7080. "in": "query"
  7081. }
  7082. ],
  7083. "responses": {
  7084. "200": {
  7085. "description": "OK",
  7086. "schema": {
  7087. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7088. }
  7089. },
  7090. "500": {
  7091. "description": "Internal Server Error",
  7092. "schema": {
  7093. "$ref": "#/definitions/app.Response"
  7094. }
  7095. }
  7096. }
  7097. }
  7098. },
  7099. "/Erms3/QueryUserInfos": {
  7100. "get": {
  7101. "security": [
  7102. {
  7103. "ApiKeyAuth": []
  7104. }
  7105. ],
  7106. "produces": [
  7107. "application/json"
  7108. ],
  7109. "tags": [
  7110. "风险管理v3"
  7111. ],
  7112. "summary": "客户信息查询",
  7113. "parameters": [
  7114. {
  7115. "type": "integer",
  7116. "description": "页码",
  7117. "name": "page",
  7118. "in": "query"
  7119. },
  7120. {
  7121. "type": "integer",
  7122. "description": "每页条数",
  7123. "name": "pagesize",
  7124. "in": "query"
  7125. },
  7126. {
  7127. "type": "string",
  7128. "description": "客户名称,支持模糊查询",
  7129. "name": "userName",
  7130. "in": "query"
  7131. }
  7132. ],
  7133. "responses": {
  7134. "200": {
  7135. "description": "OK",
  7136. "schema": {
  7137. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7138. }
  7139. },
  7140. "500": {
  7141. "description": "Internal Server Error",
  7142. "schema": {
  7143. "$ref": "#/definitions/app.Response"
  7144. }
  7145. }
  7146. }
  7147. }
  7148. },
  7149. "/HSBY/GetHsbyMyCount": {
  7150. "get": {
  7151. "security": [
  7152. {
  7153. "ApiKeyAuth": []
  7154. }
  7155. ],
  7156. "description": "说明: 不包括已完成的数量。",
  7157. "produces": [
  7158. "application/json"
  7159. ],
  7160. "tags": [
  7161. "定制【海商报业】"
  7162. ],
  7163. "summary": "获取我的订单与包裹数量",
  7164. "parameters": [
  7165. {
  7166. "type": "string",
  7167. "description": "资金账户列表,格式:1,2,3",
  7168. "name": "accountIDs",
  7169. "in": "query",
  7170. "required": true
  7171. }
  7172. ],
  7173. "responses": {
  7174. "200": {
  7175. "description": "OK",
  7176. "schema": {
  7177. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  7178. }
  7179. },
  7180. "500": {
  7181. "description": "Internal Server Error",
  7182. "schema": {
  7183. "$ref": "#/definitions/app.Response"
  7184. }
  7185. }
  7186. }
  7187. }
  7188. },
  7189. "/HSBY/QueryClientFixedADConfigs": {
  7190. "get": {
  7191. "security": [
  7192. {
  7193. "ApiKeyAuth": []
  7194. }
  7195. ],
  7196. "produces": [
  7197. "application/json"
  7198. ],
  7199. "tags": [
  7200. "定制【海商报业】"
  7201. ],
  7202. "summary": "获取终端固定广告配置",
  7203. "responses": {
  7204. "200": {
  7205. "description": "OK",
  7206. "schema": {
  7207. "$ref": "#/definitions/models.Clientfixedadconfig"
  7208. }
  7209. },
  7210. "500": {
  7211. "description": "Internal Server Error",
  7212. "schema": {
  7213. "$ref": "#/definitions/app.Response"
  7214. }
  7215. }
  7216. }
  7217. }
  7218. },
  7219. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  7220. "get": {
  7221. "security": [
  7222. {
  7223. "ApiKeyAuth": []
  7224. }
  7225. ],
  7226. "produces": [
  7227. "application/json"
  7228. ],
  7229. "tags": [
  7230. "定制【海商报业】"
  7231. ],
  7232. "summary": "查询\"我的订单 - 已完成\"单据信息",
  7233. "parameters": [
  7234. {
  7235. "type": "integer",
  7236. "description": "页码",
  7237. "name": "page",
  7238. "in": "query"
  7239. },
  7240. {
  7241. "type": "integer",
  7242. "description": "每页条数",
  7243. "name": "pagesize",
  7244. "in": "query"
  7245. },
  7246. {
  7247. "type": "string",
  7248. "description": "资金账户列表,格式:1,2,3",
  7249. "name": "accountIDs",
  7250. "in": "query",
  7251. "required": true
  7252. }
  7253. ],
  7254. "responses": {
  7255. "200": {
  7256. "description": "OK",
  7257. "schema": {
  7258. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  7259. }
  7260. },
  7261. "500": {
  7262. "description": "Internal Server Error",
  7263. "schema": {
  7264. "$ref": "#/definitions/app.Response"
  7265. }
  7266. }
  7267. }
  7268. }
  7269. },
  7270. "/HSBY/QueryHsbyGoodsOrderDetails": {
  7271. "get": {
  7272. "security": [
  7273. {
  7274. "ApiKeyAuth": []
  7275. }
  7276. ],
  7277. "description": "说明:查询结果已按委托价格和委托时间排序",
  7278. "produces": [
  7279. "application/json"
  7280. ],
  7281. "tags": [
  7282. "定制【海商报业】"
  7283. ],
  7284. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  7285. "parameters": [
  7286. {
  7287. "type": "integer",
  7288. "description": "商品ID",
  7289. "name": "goodsID",
  7290. "in": "query",
  7291. "required": true
  7292. },
  7293. {
  7294. "type": "string",
  7295. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  7296. "name": "accountIDs",
  7297. "in": "query"
  7298. },
  7299. {
  7300. "type": "integer",
  7301. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  7302. "name": "buyOrSell",
  7303. "in": "query"
  7304. },
  7305. {
  7306. "type": "number",
  7307. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  7308. "name": "price",
  7309. "in": "query"
  7310. },
  7311. {
  7312. "type": "integer",
  7313. "description": "档位,不传则默认为3档",
  7314. "name": "speed",
  7315. "in": "query"
  7316. }
  7317. ],
  7318. "responses": {
  7319. "200": {
  7320. "description": "OK",
  7321. "schema": {
  7322. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  7323. }
  7324. },
  7325. "500": {
  7326. "description": "Internal Server Error",
  7327. "schema": {
  7328. "$ref": "#/definitions/app.Response"
  7329. }
  7330. }
  7331. }
  7332. }
  7333. },
  7334. "/HSBY/QueryHsbyListingGoodsDetail": {
  7335. "get": {
  7336. "security": [
  7337. {
  7338. "ApiKeyAuth": []
  7339. }
  7340. ],
  7341. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  7342. "produces": [
  7343. "application/json"
  7344. ],
  7345. "tags": [
  7346. "定制【海商报业】"
  7347. ],
  7348. "summary": "查询二级市场(挂牌点选)商品信息详情",
  7349. "parameters": [
  7350. {
  7351. "type": "integer",
  7352. "description": "商品ID",
  7353. "name": "goodsID",
  7354. "in": "query",
  7355. "required": true
  7356. },
  7357. {
  7358. "type": "integer",
  7359. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  7360. "name": "accountID",
  7361. "in": "query"
  7362. }
  7363. ],
  7364. "responses": {
  7365. "200": {
  7366. "description": "OK",
  7367. "schema": {
  7368. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  7369. }
  7370. },
  7371. "500": {
  7372. "description": "Internal Server Error",
  7373. "schema": {
  7374. "$ref": "#/definitions/app.Response"
  7375. }
  7376. }
  7377. }
  7378. }
  7379. },
  7380. "/HSBY/QueryHsbyMarketGoodsDetail": {
  7381. "get": {
  7382. "security": [
  7383. {
  7384. "ApiKeyAuth": []
  7385. }
  7386. ],
  7387. "produces": [
  7388. "application/json"
  7389. ],
  7390. "tags": [
  7391. "定制【海商报业】"
  7392. ],
  7393. "summary": "查询三级市场(商城)商品信息详情",
  7394. "parameters": [
  7395. {
  7396. "type": "integer",
  7397. "description": "委托单号",
  7398. "name": "orderID",
  7399. "in": "query",
  7400. "required": true
  7401. },
  7402. {
  7403. "type": "integer",
  7404. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  7405. "name": "accountID",
  7406. "in": "query"
  7407. }
  7408. ],
  7409. "responses": {
  7410. "200": {
  7411. "description": "OK",
  7412. "schema": {
  7413. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7414. }
  7415. },
  7416. "500": {
  7417. "description": "Internal Server Error",
  7418. "schema": {
  7419. "$ref": "#/definitions/app.Response"
  7420. }
  7421. }
  7422. }
  7423. }
  7424. },
  7425. "/HSBY/QueryHsbyMarketGoodses": {
  7426. "get": {
  7427. "security": [
  7428. {
  7429. "ApiKeyAuth": []
  7430. }
  7431. ],
  7432. "produces": [
  7433. "application/json"
  7434. ],
  7435. "tags": [
  7436. "定制【海商报业】"
  7437. ],
  7438. "summary": "查询特卖商品列表(三级商城)",
  7439. "parameters": [
  7440. {
  7441. "type": "integer",
  7442. "description": "页码",
  7443. "name": "page",
  7444. "in": "query"
  7445. },
  7446. {
  7447. "type": "integer",
  7448. "description": "每页条数",
  7449. "name": "pagesize",
  7450. "in": "query"
  7451. },
  7452. {
  7453. "type": "string",
  7454. "description": "市场ID列表,格式:1,2,3",
  7455. "name": "marketIDs",
  7456. "in": "query",
  7457. "required": true
  7458. },
  7459. {
  7460. "type": "integer",
  7461. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  7462. "name": "accountID",
  7463. "in": "query",
  7464. "required": true
  7465. },
  7466. {
  7467. "type": "integer",
  7468. "description": "类别ID",
  7469. "name": "categoryID",
  7470. "in": "query"
  7471. },
  7472. {
  7473. "type": "string",
  7474. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7475. "name": "goodsIDs",
  7476. "in": "query"
  7477. },
  7478. {
  7479. "type": "integer",
  7480. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  7481. "name": "couponTypeID",
  7482. "in": "query"
  7483. }
  7484. ],
  7485. "responses": {
  7486. "200": {
  7487. "description": "OK",
  7488. "schema": {
  7489. "$ref": "#/definitions/models.HsbyMarketGoods"
  7490. }
  7491. },
  7492. "500": {
  7493. "description": "Internal Server Error",
  7494. "schema": {
  7495. "$ref": "#/definitions/app.Response"
  7496. }
  7497. }
  7498. }
  7499. }
  7500. },
  7501. "/HSBY/QueryHsbyMarkets": {
  7502. "get": {
  7503. "security": [
  7504. {
  7505. "ApiKeyAuth": []
  7506. }
  7507. ],
  7508. "produces": [
  7509. "application/json"
  7510. ],
  7511. "tags": [
  7512. "定制【海商报业】"
  7513. ],
  7514. "summary": "查询海商报业相关市场信息",
  7515. "responses": {
  7516. "200": {
  7517. "description": "OK",
  7518. "schema": {
  7519. "$ref": "#/definitions/models.HsbyMarketInfo"
  7520. }
  7521. },
  7522. "500": {
  7523. "description": "Internal Server Error",
  7524. "schema": {
  7525. "$ref": "#/definitions/app.Response"
  7526. }
  7527. }
  7528. }
  7529. }
  7530. },
  7531. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  7532. "get": {
  7533. "security": [
  7534. {
  7535. "ApiKeyAuth": []
  7536. }
  7537. ],
  7538. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  7539. "produces": [
  7540. "application/json"
  7541. ],
  7542. "tags": [
  7543. "定制【海商报业】"
  7544. ],
  7545. "summary": "查询“我的订单”信息",
  7546. "parameters": [
  7547. {
  7548. "type": "string",
  7549. "description": "资金账户列表,格式:1,2,3",
  7550. "name": "accountIDs",
  7551. "in": "query",
  7552. "required": true
  7553. }
  7554. ],
  7555. "responses": {
  7556. "200": {
  7557. "description": "OK",
  7558. "schema": {
  7559. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  7560. }
  7561. },
  7562. "500": {
  7563. "description": "Internal Server Error",
  7564. "schema": {
  7565. "$ref": "#/definitions/app.Response"
  7566. }
  7567. }
  7568. }
  7569. }
  7570. },
  7571. "/HSBY/QueryHsbyMyGoods": {
  7572. "get": {
  7573. "security": [
  7574. {
  7575. "ApiKeyAuth": []
  7576. }
  7577. ],
  7578. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "定制【海商报业】"
  7584. ],
  7585. "summary": "查询“我的商品”信息",
  7586. "parameters": [
  7587. {
  7588. "type": "string",
  7589. "description": "资金账户列表,格式:1,2,3",
  7590. "name": "accountIDs",
  7591. "in": "query",
  7592. "required": true
  7593. }
  7594. ],
  7595. "responses": {
  7596. "200": {
  7597. "description": "OK",
  7598. "schema": {
  7599. "$ref": "#/definitions/models.HsbyMyGoods"
  7600. }
  7601. },
  7602. "500": {
  7603. "description": "Internal Server Error",
  7604. "schema": {
  7605. "$ref": "#/definitions/app.Response"
  7606. }
  7607. }
  7608. }
  7609. }
  7610. },
  7611. "/HSBY/QueryHsbyMyPackages": {
  7612. "get": {
  7613. "security": [
  7614. {
  7615. "ApiKeyAuth": []
  7616. }
  7617. ],
  7618. "produces": [
  7619. "application/json"
  7620. ],
  7621. "tags": [
  7622. "定制【海商报业】"
  7623. ],
  7624. "summary": "查询我的包裹信息",
  7625. "parameters": [
  7626. {
  7627. "type": "string",
  7628. "description": "资金账户列表,格式:1,2,3",
  7629. "name": "accountIDs",
  7630. "in": "query",
  7631. "required": true
  7632. },
  7633. {
  7634. "type": "integer",
  7635. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7636. "name": "takeOrderStatus",
  7637. "in": "query"
  7638. }
  7639. ],
  7640. "responses": {
  7641. "200": {
  7642. "description": "OK",
  7643. "schema": {
  7644. "$ref": "#/definitions/models.HsbyMyPackage"
  7645. }
  7646. },
  7647. "500": {
  7648. "description": "Internal Server Error",
  7649. "schema": {
  7650. "$ref": "#/definitions/app.Response"
  7651. }
  7652. }
  7653. }
  7654. }
  7655. },
  7656. "/HSBY/QueryHsbyPreGoodsDetail": {
  7657. "get": {
  7658. "security": [
  7659. {
  7660. "ApiKeyAuth": []
  7661. }
  7662. ],
  7663. "produces": [
  7664. "application/json"
  7665. ],
  7666. "tags": [
  7667. "定制【海商报业】"
  7668. ],
  7669. "summary": "查询一级市场(预售)商品信息详情",
  7670. "parameters": [
  7671. {
  7672. "type": "integer",
  7673. "description": "商品ID",
  7674. "name": "goodsID",
  7675. "in": "query",
  7676. "required": true
  7677. },
  7678. {
  7679. "type": "integer",
  7680. "description": "资金账户,主要用于获取预售商品购买上限",
  7681. "name": "accountID",
  7682. "in": "query"
  7683. }
  7684. ],
  7685. "responses": {
  7686. "200": {
  7687. "description": "OK",
  7688. "schema": {
  7689. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  7690. }
  7691. },
  7692. "500": {
  7693. "description": "Internal Server Error",
  7694. "schema": {
  7695. "$ref": "#/definitions/app.Response"
  7696. }
  7697. }
  7698. }
  7699. }
  7700. },
  7701. "/HSBY/QueryHsbyPreGoodses": {
  7702. "get": {
  7703. "security": [
  7704. {
  7705. "ApiKeyAuth": []
  7706. }
  7707. ],
  7708. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  7709. "produces": [
  7710. "application/json"
  7711. ],
  7712. "tags": [
  7713. "定制【海商报业】"
  7714. ],
  7715. "summary": "查询新品上市商品列表(一级市场预售)",
  7716. "parameters": [
  7717. {
  7718. "type": "integer",
  7719. "description": "页码",
  7720. "name": "page",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "integer",
  7725. "description": "每页条数",
  7726. "name": "pagesize",
  7727. "in": "query"
  7728. },
  7729. {
  7730. "type": "string",
  7731. "description": "市场ID列表,格式:1,2,3",
  7732. "name": "marketIDs",
  7733. "in": "query",
  7734. "required": true
  7735. },
  7736. {
  7737. "type": "integer",
  7738. "description": "目的地(省)ID",
  7739. "name": "descProvinceID",
  7740. "in": "query"
  7741. },
  7742. {
  7743. "type": "integer",
  7744. "description": "目的地(市)ID",
  7745. "name": "descCityID",
  7746. "in": "query"
  7747. }
  7748. ],
  7749. "responses": {
  7750. "200": {
  7751. "description": "OK",
  7752. "schema": {
  7753. "$ref": "#/definitions/models.HsbyPreGoods"
  7754. }
  7755. },
  7756. "500": {
  7757. "description": "Internal Server Error",
  7758. "schema": {
  7759. "$ref": "#/definitions/app.Response"
  7760. }
  7761. }
  7762. }
  7763. }
  7764. },
  7765. "/HSBY/QueryHsbySellMyDetails": {
  7766. "get": {
  7767. "security": [
  7768. {
  7769. "ApiKeyAuth": []
  7770. }
  7771. ],
  7772. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  7773. "produces": [
  7774. "application/json"
  7775. ],
  7776. "tags": [
  7777. "定制【海商报业】"
  7778. ],
  7779. "summary": "查询\"我的闲置\"单据信息",
  7780. "parameters": [
  7781. {
  7782. "type": "integer",
  7783. "description": "页码",
  7784. "name": "page",
  7785. "in": "query"
  7786. },
  7787. {
  7788. "type": "integer",
  7789. "description": "每页条数",
  7790. "name": "pagesize",
  7791. "in": "query"
  7792. },
  7793. {
  7794. "type": "string",
  7795. "description": "资金账户列表,格式:1,2,3",
  7796. "name": "accountIDs",
  7797. "in": "query",
  7798. "required": true
  7799. },
  7800. {
  7801. "type": "integer",
  7802. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7803. "name": "orderType",
  7804. "in": "query"
  7805. }
  7806. ],
  7807. "responses": {
  7808. "200": {
  7809. "description": "OK",
  7810. "schema": {
  7811. "$ref": "#/definitions/models.HsbySellMyDetail"
  7812. }
  7813. },
  7814. "500": {
  7815. "description": "Internal Server Error",
  7816. "schema": {
  7817. "$ref": "#/definitions/app.Response"
  7818. }
  7819. }
  7820. }
  7821. }
  7822. },
  7823. "/HSBY/QueryHsbyTopGoodses": {
  7824. "get": {
  7825. "security": [
  7826. {
  7827. "ApiKeyAuth": []
  7828. }
  7829. ],
  7830. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7831. "produces": [
  7832. "application/json"
  7833. ],
  7834. "tags": [
  7835. "定制【海商报业】"
  7836. ],
  7837. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7838. "parameters": [
  7839. {
  7840. "type": "integer",
  7841. "description": "页码",
  7842. "name": "page",
  7843. "in": "query"
  7844. },
  7845. {
  7846. "type": "integer",
  7847. "description": "每页条数",
  7848. "name": "pagesize",
  7849. "in": "query"
  7850. },
  7851. {
  7852. "type": "string",
  7853. "description": "市场ID列表,格式:1,2,3",
  7854. "name": "marketIDs",
  7855. "in": "query",
  7856. "required": true
  7857. },
  7858. {
  7859. "type": "integer",
  7860. "description": "目的地(省)ID",
  7861. "name": "descProvinceID",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "integer",
  7866. "description": "目的地(市)ID",
  7867. "name": "descCityID",
  7868. "in": "query"
  7869. }
  7870. ],
  7871. "responses": {
  7872. "200": {
  7873. "description": "OK",
  7874. "schema": {
  7875. "$ref": "#/definitions/models.HsbyTopGoods"
  7876. }
  7877. },
  7878. "500": {
  7879. "description": "Internal Server Error",
  7880. "schema": {
  7881. "$ref": "#/definitions/app.Response"
  7882. }
  7883. }
  7884. }
  7885. }
  7886. },
  7887. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7888. "get": {
  7889. "security": [
  7890. {
  7891. "ApiKeyAuth": []
  7892. }
  7893. ],
  7894. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7895. "produces": [
  7896. "application/json"
  7897. ],
  7898. "tags": [
  7899. "定制【海商报业】"
  7900. ],
  7901. "summary": "查询游客三级市场(商城)商品信息详情",
  7902. "parameters": [
  7903. {
  7904. "type": "integer",
  7905. "description": "商品ID",
  7906. "name": "goodsID",
  7907. "in": "query",
  7908. "required": true
  7909. }
  7910. ],
  7911. "responses": {
  7912. "200": {
  7913. "description": "OK",
  7914. "schema": {
  7915. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7916. }
  7917. },
  7918. "500": {
  7919. "description": "Internal Server Error",
  7920. "schema": {
  7921. "$ref": "#/definitions/app.Response"
  7922. }
  7923. }
  7924. }
  7925. }
  7926. },
  7927. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7928. "get": {
  7929. "security": [
  7930. {
  7931. "ApiKeyAuth": []
  7932. }
  7933. ],
  7934. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7935. "produces": [
  7936. "application/json"
  7937. ],
  7938. "tags": [
  7939. "定制【海商报业】"
  7940. ],
  7941. "summary": "查询游客特卖商品列表(三级商城)",
  7942. "parameters": [
  7943. {
  7944. "type": "integer",
  7945. "description": "页码",
  7946. "name": "page",
  7947. "in": "query"
  7948. },
  7949. {
  7950. "type": "integer",
  7951. "description": "每页条数",
  7952. "name": "pagesize",
  7953. "in": "query"
  7954. },
  7955. {
  7956. "type": "string",
  7957. "description": "市场ID列表,格式:1,2,3",
  7958. "name": "marketIDs",
  7959. "in": "query",
  7960. "required": true
  7961. },
  7962. {
  7963. "type": "integer",
  7964. "description": "类别ID",
  7965. "name": "categoryID",
  7966. "in": "query"
  7967. },
  7968. {
  7969. "type": "string",
  7970. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7971. "name": "goodsIDs",
  7972. "in": "query"
  7973. }
  7974. ],
  7975. "responses": {
  7976. "200": {
  7977. "description": "OK",
  7978. "schema": {
  7979. "$ref": "#/definitions/models.HsbyMarketGoods"
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/HSBY/QueryMyCollectionOrders": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "定制【海商报业】"
  8003. ],
  8004. "summary": "我的闲置中收款信息查询",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "页码",
  8009. "name": "page",
  8010. "in": "query"
  8011. },
  8012. {
  8013. "type": "integer",
  8014. "description": "每页条数",
  8015. "name": "pagesize",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "string",
  8020. "description": "资金账户,格式:1,2,3",
  8021. "name": "accountIDs",
  8022. "in": "query",
  8023. "required": true
  8024. }
  8025. ],
  8026. "responses": {
  8027. "200": {
  8028. "description": "OK",
  8029. "schema": {
  8030. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  8031. }
  8032. },
  8033. "500": {
  8034. "description": "Internal Server Error",
  8035. "schema": {
  8036. "$ref": "#/definitions/app.Response"
  8037. }
  8038. }
  8039. }
  8040. }
  8041. },
  8042. "/HSBY/QueryMyCouponHolds": {
  8043. "get": {
  8044. "security": [
  8045. {
  8046. "ApiKeyAuth": []
  8047. }
  8048. ],
  8049. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  8050. "produces": [
  8051. "application/json"
  8052. ],
  8053. "tags": [
  8054. "定制【海商报业】"
  8055. ],
  8056. "summary": "我的优惠卷持仓查询",
  8057. "parameters": [
  8058. {
  8059. "type": "string",
  8060. "description": "资金账户列表,格式:1,2,3",
  8061. "name": "accountIDs",
  8062. "in": "query",
  8063. "required": true
  8064. },
  8065. {
  8066. "type": "string",
  8067. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  8068. "name": "holdStatus",
  8069. "in": "query"
  8070. }
  8071. ],
  8072. "responses": {
  8073. "200": {
  8074. "description": "OK",
  8075. "schema": {
  8076. "$ref": "#/definitions/models.MyCouponHold"
  8077. }
  8078. },
  8079. "500": {
  8080. "description": "Internal Server Error",
  8081. "schema": {
  8082. "$ref": "#/definitions/app.Response"
  8083. }
  8084. }
  8085. }
  8086. }
  8087. },
  8088. "/HSBY/QueryMyCoupons": {
  8089. "get": {
  8090. "security": [
  8091. {
  8092. "ApiKeyAuth": []
  8093. }
  8094. ],
  8095. "produces": [
  8096. "application/json"
  8097. ],
  8098. "tags": [
  8099. "定制【海商报业】"
  8100. ],
  8101. "summary": "我的优惠卷查询",
  8102. "parameters": [
  8103. {
  8104. "type": "string",
  8105. "description": "资金账户列表,格式:1,2,3",
  8106. "name": "accountIDs",
  8107. "in": "query",
  8108. "required": true
  8109. },
  8110. {
  8111. "type": "integer",
  8112. "description": "商品ID, 一般与sellUserID配套传入",
  8113. "name": "goodsID",
  8114. "in": "query"
  8115. },
  8116. {
  8117. "type": "integer",
  8118. "description": "卖方UserID",
  8119. "name": "sellUserID",
  8120. "in": "query"
  8121. }
  8122. ],
  8123. "responses": {
  8124. "200": {
  8125. "description": "OK",
  8126. "schema": {
  8127. "$ref": "#/definitions/models.MyCoupon"
  8128. }
  8129. },
  8130. "500": {
  8131. "description": "Internal Server Error",
  8132. "schema": {
  8133. "$ref": "#/definitions/app.Response"
  8134. }
  8135. }
  8136. }
  8137. }
  8138. },
  8139. "/HSBY/QueryMyPayOrders": {
  8140. "get": {
  8141. "security": [
  8142. {
  8143. "ApiKeyAuth": []
  8144. }
  8145. ],
  8146. "produces": [
  8147. "application/json"
  8148. ],
  8149. "tags": [
  8150. "定制【海商报业】"
  8151. ],
  8152. "summary": "获取我的订单中待付款信息",
  8153. "parameters": [
  8154. {
  8155. "type": "integer",
  8156. "description": "页码",
  8157. "name": "page",
  8158. "in": "query"
  8159. },
  8160. {
  8161. "type": "integer",
  8162. "description": "每页条数",
  8163. "name": "pagesize",
  8164. "in": "query"
  8165. },
  8166. {
  8167. "type": "string",
  8168. "description": "资金账户列表,格式:1,2,3",
  8169. "name": "accountIDs",
  8170. "in": "query",
  8171. "required": true
  8172. },
  8173. {
  8174. "type": "integer",
  8175. "description": "买方委托单号",
  8176. "name": "buyOrderID",
  8177. "in": "query"
  8178. },
  8179. {
  8180. "type": "integer",
  8181. "description": "卖方委托单号",
  8182. "name": "sellOrderID",
  8183. "in": "query"
  8184. }
  8185. ],
  8186. "responses": {
  8187. "200": {
  8188. "description": "OK",
  8189. "schema": {
  8190. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  8191. }
  8192. },
  8193. "500": {
  8194. "description": "Internal Server Error",
  8195. "schema": {
  8196. "$ref": "#/definitions/app.Response"
  8197. }
  8198. }
  8199. }
  8200. }
  8201. },
  8202. "/HSBY/QueryMyUsedCoupon": {
  8203. "get": {
  8204. "security": [
  8205. {
  8206. "ApiKeyAuth": []
  8207. }
  8208. ],
  8209. "produces": [
  8210. "application/json"
  8211. ],
  8212. "tags": [
  8213. "定制【海商报业】"
  8214. ],
  8215. "summary": "已使用优惠卷查询",
  8216. "parameters": [
  8217. {
  8218. "type": "string",
  8219. "description": "资金账户列表,格式:1,2,3",
  8220. "name": "accountIDs",
  8221. "in": "query",
  8222. "required": true
  8223. }
  8224. ],
  8225. "responses": {
  8226. "200": {
  8227. "description": "OK",
  8228. "schema": {
  8229. "$ref": "#/definitions/models.MyUsedCoupon"
  8230. }
  8231. },
  8232. "500": {
  8233. "description": "Internal Server Error",
  8234. "schema": {
  8235. "$ref": "#/definitions/app.Response"
  8236. }
  8237. }
  8238. }
  8239. }
  8240. },
  8241. "/HSBY/QueryProvincesAndCities": {
  8242. "get": {
  8243. "security": [
  8244. {
  8245. "ApiKeyAuth": []
  8246. }
  8247. ],
  8248. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  8249. "produces": [
  8250. "application/json"
  8251. ],
  8252. "tags": [
  8253. "定制【海商报业】"
  8254. ],
  8255. "summary": "查询省市信息(不包括区)",
  8256. "parameters": [
  8257. {
  8258. "type": "integer",
  8259. "description": "省ID",
  8260. "name": "provinceID",
  8261. "in": "query"
  8262. }
  8263. ],
  8264. "responses": {
  8265. "200": {
  8266. "description": "OK",
  8267. "schema": {
  8268. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  8269. }
  8270. },
  8271. "500": {
  8272. "description": "Internal Server Error",
  8273. "schema": {
  8274. "$ref": "#/definitions/app.Response"
  8275. }
  8276. }
  8277. }
  8278. }
  8279. },
  8280. "/HSBY/SetHsbyMyPackagesStatus": {
  8281. "post": {
  8282. "security": [
  8283. {
  8284. "ApiKeyAuth": []
  8285. }
  8286. ],
  8287. "produces": [
  8288. "application/json"
  8289. ],
  8290. "tags": [
  8291. "定制【海商报业】"
  8292. ],
  8293. "summary": "设置我的包裹已收货状态",
  8294. "parameters": [
  8295. {
  8296. "type": "string",
  8297. "description": "提货单号",
  8298. "name": "takeOrderID",
  8299. "in": "query",
  8300. "required": true
  8301. },
  8302. {
  8303. "type": "integer",
  8304. "description": "资金账号",
  8305. "name": "accountID",
  8306. "in": "query",
  8307. "required": true
  8308. }
  8309. ],
  8310. "responses": {
  8311. "200": {
  8312. "description": "OK",
  8313. "schema": {
  8314. "$ref": "#/definitions/app.Response"
  8315. }
  8316. },
  8317. "500": {
  8318. "description": "Internal Server Error",
  8319. "schema": {
  8320. "$ref": "#/definitions/app.Response"
  8321. }
  8322. }
  8323. }
  8324. }
  8325. },
  8326. "/Market/GetAllExExchanges": {
  8327. "get": {
  8328. "security": [
  8329. {
  8330. "ApiKeyAuth": []
  8331. }
  8332. ],
  8333. "produces": [
  8334. "application/json"
  8335. ],
  8336. "tags": [
  8337. "通用市场"
  8338. ],
  8339. "summary": "获取所有外部交易所信息",
  8340. "responses": {
  8341. "200": {
  8342. "description": "OK",
  8343. "schema": {
  8344. "$ref": "#/definitions/models.Goods"
  8345. }
  8346. },
  8347. "500": {
  8348. "description": "Internal Server Error",
  8349. "schema": {
  8350. "$ref": "#/definitions/app.Response"
  8351. }
  8352. }
  8353. }
  8354. }
  8355. },
  8356. "/Market/QueryGoodsesByLoginID": {
  8357. "get": {
  8358. "security": [
  8359. {
  8360. "ApiKeyAuth": []
  8361. }
  8362. ],
  8363. "produces": [
  8364. "application/json"
  8365. ],
  8366. "tags": [
  8367. "通用市场"
  8368. ],
  8369. "summary": "获取登录账号有权限的商品信息",
  8370. "parameters": [
  8371. {
  8372. "type": "integer",
  8373. "description": "登录账号",
  8374. "name": "loginID",
  8375. "in": "query",
  8376. "required": true
  8377. },
  8378. {
  8379. "type": "string",
  8380. "description": "市场ID列表,格式:1,2,3",
  8381. "name": "marketIDs",
  8382. "in": "query"
  8383. }
  8384. ],
  8385. "responses": {
  8386. "200": {
  8387. "description": "OK",
  8388. "schema": {
  8389. "$ref": "#/definitions/models.Goods"
  8390. }
  8391. },
  8392. "500": {
  8393. "description": "Internal Server Error",
  8394. "schema": {
  8395. "$ref": "#/definitions/app.Response"
  8396. }
  8397. }
  8398. }
  8399. }
  8400. },
  8401. "/Market/QueryMarketRun": {
  8402. "get": {
  8403. "security": [
  8404. {
  8405. "ApiKeyAuth": []
  8406. }
  8407. ],
  8408. "produces": [
  8409. "application/json"
  8410. ],
  8411. "tags": [
  8412. "通用市场"
  8413. ],
  8414. "summary": "查询市场运行信息",
  8415. "parameters": [
  8416. {
  8417. "type": "integer",
  8418. "description": "市场ID,不传返回所有",
  8419. "name": "marketID",
  8420. "in": "query"
  8421. }
  8422. ],
  8423. "responses": {
  8424. "200": {
  8425. "description": "OK",
  8426. "schema": {
  8427. "$ref": "#/definitions/models.Marketrun"
  8428. }
  8429. },
  8430. "500": {
  8431. "description": "Internal Server Error",
  8432. "schema": {
  8433. "$ref": "#/definitions/app.Response"
  8434. }
  8435. }
  8436. }
  8437. }
  8438. },
  8439. "/Market/QueryMarketsByLoginID": {
  8440. "get": {
  8441. "security": [
  8442. {
  8443. "ApiKeyAuth": []
  8444. }
  8445. ],
  8446. "produces": [
  8447. "application/json"
  8448. ],
  8449. "tags": [
  8450. "通用市场"
  8451. ],
  8452. "summary": "获取登录账号有权限的市场信息",
  8453. "parameters": [
  8454. {
  8455. "type": "integer",
  8456. "description": "登录账号",
  8457. "name": "loginID",
  8458. "in": "query",
  8459. "required": true
  8460. }
  8461. ],
  8462. "responses": {
  8463. "200": {
  8464. "description": "OK",
  8465. "schema": {
  8466. "$ref": "#/definitions/models.Market"
  8467. }
  8468. },
  8469. "500": {
  8470. "description": "Internal Server Error",
  8471. "schema": {
  8472. "$ref": "#/definitions/app.Response"
  8473. }
  8474. }
  8475. }
  8476. }
  8477. },
  8478. "/Order/QueryHisTradeDetail": {
  8479. "get": {
  8480. "security": [
  8481. {
  8482. "ApiKeyAuth": []
  8483. }
  8484. ],
  8485. "produces": [
  8486. "application/json"
  8487. ],
  8488. "tags": [
  8489. "通用单据"
  8490. ],
  8491. "summary": "历史成交单查询(合约市场)",
  8492. "parameters": [
  8493. {
  8494. "type": "string",
  8495. "description": "资金账户 - 格式:1,2,3",
  8496. "name": "accountID",
  8497. "in": "query",
  8498. "required": true
  8499. },
  8500. {
  8501. "type": "integer",
  8502. "description": "成交单号",
  8503. "name": "tradeID",
  8504. "in": "query"
  8505. },
  8506. {
  8507. "type": "integer",
  8508. "description": "委托单号",
  8509. "name": "orderID",
  8510. "in": "query"
  8511. },
  8512. {
  8513. "type": "integer",
  8514. "description": "商品ID",
  8515. "name": "goodsID",
  8516. "in": "query"
  8517. },
  8518. {
  8519. "type": "string",
  8520. "description": "交易模式 - 格式:1,2,3",
  8521. "name": "tradeMode",
  8522. "in": "query"
  8523. },
  8524. {
  8525. "type": "integer",
  8526. "description": "委托单据类型",
  8527. "name": "buildType",
  8528. "in": "query"
  8529. },
  8530. {
  8531. "type": "string",
  8532. "description": "成交类别 - 格式:1,2,3",
  8533. "name": "tradeType",
  8534. "in": "query"
  8535. },
  8536. {
  8537. "type": "string",
  8538. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8539. "name": "startDate",
  8540. "in": "query"
  8541. },
  8542. {
  8543. "type": "string",
  8544. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8545. "name": "endDate",
  8546. "in": "query"
  8547. }
  8548. ],
  8549. "responses": {
  8550. "200": {
  8551. "description": "OK",
  8552. "schema": {
  8553. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8554. }
  8555. },
  8556. "500": {
  8557. "description": "Internal Server Error",
  8558. "schema": {
  8559. "$ref": "#/definitions/app.Response"
  8560. }
  8561. }
  8562. }
  8563. }
  8564. },
  8565. "/Order/QueryHisTradeOrderDetail": {
  8566. "get": {
  8567. "security": [
  8568. {
  8569. "ApiKeyAuth": []
  8570. }
  8571. ],
  8572. "produces": [
  8573. "application/json"
  8574. ],
  8575. "tags": [
  8576. "通用单据"
  8577. ],
  8578. "summary": "历史委托单查询请求(合约市场)",
  8579. "parameters": [
  8580. {
  8581. "type": "string",
  8582. "description": "资金账户 - 格式:1,2,3",
  8583. "name": "accountID",
  8584. "in": "query",
  8585. "required": true
  8586. },
  8587. {
  8588. "type": "string",
  8589. "description": "交易模式 - 格式:1,2,3",
  8590. "name": "tradeMode",
  8591. "in": "query"
  8592. },
  8593. {
  8594. "type": "string",
  8595. "description": "委托状态 - 格式:1,2,3",
  8596. "name": "orderStatus",
  8597. "in": "query"
  8598. },
  8599. {
  8600. "type": "integer",
  8601. "description": "委托单号",
  8602. "name": "orderID",
  8603. "in": "query"
  8604. },
  8605. {
  8606. "type": "string",
  8607. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8608. "name": "startDate",
  8609. "in": "query"
  8610. },
  8611. {
  8612. "type": "string",
  8613. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8614. "name": "endDate",
  8615. "in": "query"
  8616. }
  8617. ],
  8618. "responses": {
  8619. "200": {
  8620. "description": "OK",
  8621. "schema": {
  8622. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8623. }
  8624. },
  8625. "500": {
  8626. "description": "Internal Server Error",
  8627. "schema": {
  8628. "$ref": "#/definitions/app.Response"
  8629. }
  8630. }
  8631. }
  8632. }
  8633. },
  8634. "/Order/QueryTradeDetail": {
  8635. "get": {
  8636. "security": [
  8637. {
  8638. "ApiKeyAuth": []
  8639. }
  8640. ],
  8641. "produces": [
  8642. "application/json"
  8643. ],
  8644. "tags": [
  8645. "通用单据"
  8646. ],
  8647. "summary": "成交单查询(合约市场)",
  8648. "parameters": [
  8649. {
  8650. "type": "string",
  8651. "description": "资金账户 - 格式:1,2,3",
  8652. "name": "accountID",
  8653. "in": "query",
  8654. "required": true
  8655. },
  8656. {
  8657. "type": "integer",
  8658. "description": "成交单号",
  8659. "name": "tradeID",
  8660. "in": "query"
  8661. },
  8662. {
  8663. "type": "integer",
  8664. "description": "委托单号",
  8665. "name": "orderID",
  8666. "in": "query"
  8667. },
  8668. {
  8669. "type": "string",
  8670. "description": "交易模式 - 格式:1,2,3",
  8671. "name": "tradeMode",
  8672. "in": "query"
  8673. },
  8674. {
  8675. "type": "integer",
  8676. "description": "委托单据类型",
  8677. "name": "buildType",
  8678. "in": "query"
  8679. },
  8680. {
  8681. "type": "string",
  8682. "description": "成交类别 - 格式:1,2,3",
  8683. "name": "tradeType",
  8684. "in": "query"
  8685. },
  8686. {
  8687. "type": "integer",
  8688. "description": "商品ID",
  8689. "name": "goodsID",
  8690. "in": "query"
  8691. }
  8692. ],
  8693. "responses": {
  8694. "200": {
  8695. "description": "OK",
  8696. "schema": {
  8697. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8698. }
  8699. },
  8700. "500": {
  8701. "description": "Internal Server Error",
  8702. "schema": {
  8703. "$ref": "#/definitions/app.Response"
  8704. }
  8705. }
  8706. }
  8707. }
  8708. },
  8709. "/Order/QueryTradeHolderDetail": {
  8710. "get": {
  8711. "security": [
  8712. {
  8713. "ApiKeyAuth": []
  8714. }
  8715. ],
  8716. "produces": [
  8717. "application/json"
  8718. ],
  8719. "tags": [
  8720. "通用单据"
  8721. ],
  8722. "summary": "查询持仓明细",
  8723. "parameters": [
  8724. {
  8725. "type": "integer",
  8726. "description": "用户id",
  8727. "name": "userid",
  8728. "in": "query"
  8729. },
  8730. {
  8731. "type": "string",
  8732. "description": "资金账号, 格式 1,2,3",
  8733. "name": "accids",
  8734. "in": "query"
  8735. },
  8736. {
  8737. "type": "string",
  8738. "description": "交易模式, 格式 1,2,3",
  8739. "name": "trademodes",
  8740. "in": "query"
  8741. },
  8742. {
  8743. "type": "string",
  8744. "description": "市场id, 格式 1,2,3",
  8745. "name": "marketids",
  8746. "in": "query"
  8747. },
  8748. {
  8749. "type": "integer",
  8750. "description": "商品id",
  8751. "name": "goodsid",
  8752. "in": "query"
  8753. },
  8754. {
  8755. "type": "integer",
  8756. "description": "买卖方向 0-买 1-卖",
  8757. "name": "buyorsell",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.TradeHolderDetail"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/Order/QueryTradeOrderDetail": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "通用单据"
  8792. ],
  8793. "summary": "委托单查询请求(合约市场)",
  8794. "parameters": [
  8795. {
  8796. "type": "string",
  8797. "description": "资金账户 - 格式:1,2,3",
  8798. "name": "accountID",
  8799. "in": "query",
  8800. "required": true
  8801. },
  8802. {
  8803. "type": "string",
  8804. "description": "交易模式 - 格式:1,2,3",
  8805. "name": "tradeMode",
  8806. "in": "query"
  8807. },
  8808. {
  8809. "type": "string",
  8810. "description": "委托状态 - 格式:1,2,3",
  8811. "name": "orderStatus",
  8812. "in": "query"
  8813. },
  8814. {
  8815. "type": "integer",
  8816. "description": "委托单号",
  8817. "name": "orderID",
  8818. "in": "query"
  8819. }
  8820. ],
  8821. "responses": {
  8822. "200": {
  8823. "description": "OK",
  8824. "schema": {
  8825. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8826. }
  8827. },
  8828. "500": {
  8829. "description": "Internal Server Error",
  8830. "schema": {
  8831. "$ref": "#/definitions/app.Response"
  8832. }
  8833. }
  8834. }
  8835. }
  8836. },
  8837. "/Order/QueryTradePosition": {
  8838. "get": {
  8839. "security": [
  8840. {
  8841. "ApiKeyAuth": []
  8842. }
  8843. ],
  8844. "produces": [
  8845. "application/json"
  8846. ],
  8847. "tags": [
  8848. "通用单据"
  8849. ],
  8850. "summary": "持仓汇总查询(合约市场)",
  8851. "parameters": [
  8852. {
  8853. "type": "string",
  8854. "description": "资金账户 - 格式:1,2,3",
  8855. "name": "accountID",
  8856. "in": "query",
  8857. "required": true
  8858. },
  8859. {
  8860. "type": "string",
  8861. "description": "交易模式 - 格式:1,2,3",
  8862. "name": "tradeMode",
  8863. "in": "query"
  8864. }
  8865. ],
  8866. "responses": {
  8867. "200": {
  8868. "description": "OK",
  8869. "schema": {
  8870. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8871. }
  8872. },
  8873. "500": {
  8874. "description": "Internal Server Error",
  8875. "schema": {
  8876. "$ref": "#/definitions/app.Response"
  8877. }
  8878. }
  8879. }
  8880. }
  8881. },
  8882. "/Qhj/QueryAccountInOutApply": {
  8883. "get": {
  8884. "security": [
  8885. {
  8886. "ApiKeyAuth": []
  8887. }
  8888. ],
  8889. "produces": [
  8890. "application/json"
  8891. ],
  8892. "tags": [
  8893. "大连千海金"
  8894. ],
  8895. "summary": "查询充值提现",
  8896. "parameters": [
  8897. {
  8898. "type": "integer",
  8899. "description": "用户ID",
  8900. "name": "userid",
  8901. "in": "query",
  8902. "required": true
  8903. },
  8904. {
  8905. "type": "string",
  8906. "description": "申请起始日期(格式yyyymmdd)",
  8907. "name": "begindate",
  8908. "in": "query"
  8909. },
  8910. {
  8911. "type": "string",
  8912. "description": "申请截止日期(格式yyyymmdd)",
  8913. "name": "enddate",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "string",
  8918. "description": "模糊搜索名称",
  8919. "name": "likename",
  8920. "in": "query"
  8921. }
  8922. ],
  8923. "responses": {
  8924. "200": {
  8925. "description": "OK",
  8926. "schema": {
  8927. "type": "array",
  8928. "items": {
  8929. "$ref": "#/definitions/models.QhjAccountOutInApply"
  8930. }
  8931. }
  8932. },
  8933. "500": {
  8934. "description": "Internal Server Error",
  8935. "schema": {
  8936. "$ref": "#/definitions/app.Response"
  8937. }
  8938. }
  8939. }
  8940. }
  8941. },
  8942. "/Qhj/QueryAreaFinanceConfig": {
  8943. "get": {
  8944. "security": [
  8945. {
  8946. "ApiKeyAuth": []
  8947. }
  8948. ],
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "大连千海金"
  8954. ],
  8955. "summary": "查询企业配置表",
  8956. "parameters": [
  8957. {
  8958. "type": "integer",
  8959. "description": "机构用户ID 其他做市关系,都设置为 1",
  8960. "name": "userid",
  8961. "in": "query"
  8962. }
  8963. ],
  8964. "responses": {
  8965. "200": {
  8966. "description": "OK",
  8967. "schema": {
  8968. "type": "array",
  8969. "items": {
  8970. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8971. }
  8972. }
  8973. },
  8974. "500": {
  8975. "description": "Internal Server Error",
  8976. "schema": {
  8977. "$ref": "#/definitions/app.Response"
  8978. }
  8979. }
  8980. }
  8981. }
  8982. },
  8983. "/Qhj/QueryBankAccountSign": {
  8984. "get": {
  8985. "security": [
  8986. {
  8987. "ApiKeyAuth": []
  8988. }
  8989. ],
  8990. "produces": [
  8991. "application/json"
  8992. ],
  8993. "tags": [
  8994. "大连千海金"
  8995. ],
  8996. "summary": "查询签约银行信息(提现账户管理)",
  8997. "parameters": [
  8998. {
  8999. "type": "integer",
  9000. "description": "用户ID",
  9001. "name": "userid",
  9002. "in": "query",
  9003. "required": true
  9004. }
  9005. ],
  9006. "responses": {
  9007. "200": {
  9008. "description": "OK",
  9009. "schema": {
  9010. "type": "array",
  9011. "items": {
  9012. "$ref": "#/definitions/models.QhjBankAccountSign"
  9013. }
  9014. }
  9015. },
  9016. "500": {
  9017. "description": "Internal Server Error",
  9018. "schema": {
  9019. "$ref": "#/definitions/app.Response"
  9020. }
  9021. }
  9022. }
  9023. }
  9024. },
  9025. "/Qhj/QueryBankInfo": {
  9026. "get": {
  9027. "security": [
  9028. {
  9029. "ApiKeyAuth": []
  9030. }
  9031. ],
  9032. "produces": [
  9033. "application/json"
  9034. ],
  9035. "tags": [
  9036. "大连千海金"
  9037. ],
  9038. "summary": "查询开户行",
  9039. "responses": {
  9040. "200": {
  9041. "description": "OK",
  9042. "schema": {
  9043. "type": "array",
  9044. "items": {
  9045. "$ref": "#/definitions/models.QhjBankInfo"
  9046. }
  9047. }
  9048. },
  9049. "500": {
  9050. "description": "Internal Server Error",
  9051. "schema": {
  9052. "$ref": "#/definitions/app.Response"
  9053. }
  9054. }
  9055. }
  9056. }
  9057. },
  9058. "/Qhj/QueryBrokerApply": {
  9059. "get": {
  9060. "security": [
  9061. {
  9062. "ApiKeyAuth": []
  9063. }
  9064. ],
  9065. "produces": [
  9066. "application/json"
  9067. ],
  9068. "tags": [
  9069. "大连千海金"
  9070. ],
  9071. "summary": "查询经纪人申请",
  9072. "parameters": [
  9073. {
  9074. "type": "integer",
  9075. "description": "所属机构ID",
  9076. "name": "userid",
  9077. "in": "query"
  9078. },
  9079. {
  9080. "type": "string",
  9081. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9082. "name": "filterstatus",
  9083. "in": "query"
  9084. }
  9085. ],
  9086. "responses": {
  9087. "200": {
  9088. "description": "OK",
  9089. "schema": {
  9090. "type": "array",
  9091. "items": {
  9092. "$ref": "#/definitions/models.QhjBrokerApply"
  9093. }
  9094. }
  9095. },
  9096. "500": {
  9097. "description": "Internal Server Error",
  9098. "schema": {
  9099. "$ref": "#/definitions/app.Response"
  9100. }
  9101. }
  9102. }
  9103. }
  9104. },
  9105. "/Qhj/QueryBrokerApplyEx": {
  9106. "get": {
  9107. "security": [
  9108. {
  9109. "ApiKeyAuth": []
  9110. }
  9111. ],
  9112. "produces": [
  9113. "application/json"
  9114. ],
  9115. "tags": [
  9116. "大连千海金"
  9117. ],
  9118. "summary": "查询经纪人信息和申请记录",
  9119. "parameters": [
  9120. {
  9121. "type": "integer",
  9122. "description": "所属机构ID",
  9123. "name": "userid",
  9124. "in": "query"
  9125. }
  9126. ],
  9127. "responses": {
  9128. "200": {
  9129. "description": "OK",
  9130. "schema": {
  9131. "type": "array",
  9132. "items": {
  9133. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9134. }
  9135. }
  9136. },
  9137. "500": {
  9138. "description": "Internal Server Error",
  9139. "schema": {
  9140. "$ref": "#/definitions/app.Response"
  9141. }
  9142. }
  9143. }
  9144. }
  9145. },
  9146. "/Qhj/QueryBrokerRewardLog": {
  9147. "get": {
  9148. "security": [
  9149. {
  9150. "ApiKeyAuth": []
  9151. }
  9152. ],
  9153. "produces": [
  9154. "application/json"
  9155. ],
  9156. "tags": [
  9157. "大连千海金"
  9158. ],
  9159. "summary": "查询奖励流水(我的奖励)",
  9160. "parameters": [
  9161. {
  9162. "type": "integer",
  9163. "description": "用户ID",
  9164. "name": "userid",
  9165. "in": "query",
  9166. "required": true
  9167. },
  9168. {
  9169. "type": "string",
  9170. "description": "开始交易日(yyyymmdd)",
  9171. "name": "begindate",
  9172. "in": "query"
  9173. },
  9174. {
  9175. "type": "string",
  9176. "description": "结束交易日(yyyymmdd)",
  9177. "name": "enddate",
  9178. "in": "query"
  9179. }
  9180. ],
  9181. "responses": {
  9182. "200": {
  9183. "description": "OK",
  9184. "schema": {
  9185. "type": "array",
  9186. "items": {
  9187. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9188. }
  9189. }
  9190. },
  9191. "500": {
  9192. "description": "Internal Server Error",
  9193. "schema": {
  9194. "$ref": "#/definitions/app.Response"
  9195. }
  9196. }
  9197. }
  9198. }
  9199. },
  9200. "/Qhj/QueryContract": {
  9201. "get": {
  9202. "security": [
  9203. {
  9204. "ApiKeyAuth": []
  9205. }
  9206. ],
  9207. "produces": [
  9208. "application/json"
  9209. ],
  9210. "tags": [
  9211. "大连千海金"
  9212. ],
  9213. "summary": "查询融资明细(合同)",
  9214. "parameters": [
  9215. {
  9216. "type": "integer",
  9217. "description": "用户ID",
  9218. "name": "userid",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "integer",
  9223. "description": "scf合同id",
  9224. "name": "scfcontractid",
  9225. "in": "query"
  9226. }
  9227. ],
  9228. "responses": {
  9229. "200": {
  9230. "description": "OK",
  9231. "schema": {
  9232. "type": "array",
  9233. "items": {
  9234. "$ref": "#/definitions/models.QhjContract"
  9235. }
  9236. }
  9237. },
  9238. "500": {
  9239. "description": "Internal Server Error",
  9240. "schema": {
  9241. "$ref": "#/definitions/app.Response"
  9242. }
  9243. }
  9244. }
  9245. }
  9246. },
  9247. "/Qhj/QueryContractLog": {
  9248. "get": {
  9249. "security": [
  9250. {
  9251. "ApiKeyAuth": []
  9252. }
  9253. ],
  9254. "produces": [
  9255. "application/json"
  9256. ],
  9257. "tags": [
  9258. "大连千海金"
  9259. ],
  9260. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9261. "parameters": [
  9262. {
  9263. "type": "integer",
  9264. "description": "scf合同id",
  9265. "name": "scfcontractid",
  9266. "in": "query",
  9267. "required": true
  9268. },
  9269. {
  9270. "type": "string",
  9271. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9272. "name": "amounttype",
  9273. "in": "query"
  9274. }
  9275. ],
  9276. "responses": {
  9277. "200": {
  9278. "description": "OK",
  9279. "schema": {
  9280. "type": "array",
  9281. "items": {
  9282. "$ref": "#/definitions/models.QhjContractLog"
  9283. }
  9284. }
  9285. },
  9286. "500": {
  9287. "description": "Internal Server Error",
  9288. "schema": {
  9289. "$ref": "#/definitions/app.Response"
  9290. }
  9291. }
  9292. }
  9293. }
  9294. },
  9295. "/Qhj/QueryCusBankSignBank": {
  9296. "get": {
  9297. "security": [
  9298. {
  9299. "ApiKeyAuth": []
  9300. }
  9301. ],
  9302. "produces": [
  9303. "application/json"
  9304. ],
  9305. "tags": [
  9306. "大连千海金"
  9307. ],
  9308. "summary": "查询托管银行",
  9309. "responses": {
  9310. "200": {
  9311. "description": "OK",
  9312. "schema": {
  9313. "type": "array",
  9314. "items": {
  9315. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9316. }
  9317. }
  9318. },
  9319. "500": {
  9320. "description": "Internal Server Error",
  9321. "schema": {
  9322. "$ref": "#/definitions/app.Response"
  9323. }
  9324. }
  9325. }
  9326. }
  9327. },
  9328. "/Qhj/QueryCustomerInfo": {
  9329. "get": {
  9330. "security": [
  9331. {
  9332. "ApiKeyAuth": []
  9333. }
  9334. ],
  9335. "produces": [
  9336. "application/json"
  9337. ],
  9338. "tags": [
  9339. "大连千海金"
  9340. ],
  9341. "summary": "查询客户资料",
  9342. "parameters": [
  9343. {
  9344. "type": "integer",
  9345. "description": "用户ID",
  9346. "name": "userid",
  9347. "in": "query",
  9348. "required": true
  9349. },
  9350. {
  9351. "type": "integer",
  9352. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9353. "name": "querytype",
  9354. "in": "query",
  9355. "required": true
  9356. },
  9357. {
  9358. "type": "integer",
  9359. "description": "客户类型 1-个人 2-企业",
  9360. "name": "userinfotype",
  9361. "in": "query"
  9362. },
  9363. {
  9364. "type": "string",
  9365. "description": "客户名称(模糊匹配)",
  9366. "name": "customername",
  9367. "in": "query"
  9368. },
  9369. {
  9370. "type": "string",
  9371. "description": "昵称(模糊匹配)",
  9372. "name": "nickname",
  9373. "in": "query"
  9374. },
  9375. {
  9376. "type": "integer",
  9377. "description": "是否包含子级 1-包含",
  9378. "name": "includesub",
  9379. "in": "query"
  9380. }
  9381. ],
  9382. "responses": {
  9383. "200": {
  9384. "description": "OK",
  9385. "schema": {
  9386. "type": "array",
  9387. "items": {
  9388. "$ref": "#/definitions/models.QhjCustomer"
  9389. }
  9390. }
  9391. },
  9392. "500": {
  9393. "description": "Internal Server Error",
  9394. "schema": {
  9395. "$ref": "#/definitions/app.Response"
  9396. }
  9397. }
  9398. }
  9399. }
  9400. },
  9401. "/Qhj/QueryGoodsEx": {
  9402. "get": {
  9403. "security": [
  9404. {
  9405. "ApiKeyAuth": []
  9406. }
  9407. ],
  9408. "produces": [
  9409. "application/json"
  9410. ],
  9411. "tags": [
  9412. "大连千海金"
  9413. ],
  9414. "summary": "交易商品扩展表",
  9415. "parameters": [
  9416. {
  9417. "type": "integer",
  9418. "description": "商品id",
  9419. "name": "goodsid",
  9420. "in": "query"
  9421. }
  9422. ],
  9423. "responses": {
  9424. "200": {
  9425. "description": "OK",
  9426. "schema": {
  9427. "type": "array",
  9428. "items": {
  9429. "$ref": "#/definitions/models.Qhjgoodsex"
  9430. }
  9431. }
  9432. },
  9433. "500": {
  9434. "description": "Internal Server Error",
  9435. "schema": {
  9436. "$ref": "#/definitions/app.Response"
  9437. }
  9438. }
  9439. }
  9440. }
  9441. },
  9442. "/Qhj/QueryMyTeam": {
  9443. "get": {
  9444. "security": [
  9445. {
  9446. "ApiKeyAuth": []
  9447. }
  9448. ],
  9449. "produces": [
  9450. "application/json"
  9451. ],
  9452. "tags": [
  9453. "大连千海金"
  9454. ],
  9455. "summary": "查询我的团队",
  9456. "parameters": [
  9457. {
  9458. "type": "integer",
  9459. "description": "用户ID",
  9460. "name": "userid",
  9461. "in": "query",
  9462. "required": true
  9463. }
  9464. ],
  9465. "responses": {
  9466. "200": {
  9467. "description": "OK",
  9468. "schema": {
  9469. "type": "array",
  9470. "items": {
  9471. "$ref": "#/definitions/models.QhjMyTeamEx"
  9472. }
  9473. }
  9474. },
  9475. "500": {
  9476. "description": "Internal Server Error",
  9477. "schema": {
  9478. "$ref": "#/definitions/app.Response"
  9479. }
  9480. }
  9481. }
  9482. }
  9483. },
  9484. "/Qhj/QueryMyTeamOrder": {
  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": "页码",
  9502. "name": "page",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "integer",
  9507. "description": "每页条数",
  9508. "name": "pagesize",
  9509. "in": "query"
  9510. },
  9511. {
  9512. "type": "integer",
  9513. "description": "用户ID",
  9514. "name": "userid",
  9515. "in": "query",
  9516. "required": true
  9517. },
  9518. {
  9519. "type": "integer",
  9520. "description": "交易模式",
  9521. "name": "trademode",
  9522. "in": "query"
  9523. },
  9524. {
  9525. "type": "string",
  9526. "description": "名称(模糊搜索账户)",
  9527. "name": "filtername",
  9528. "in": "query"
  9529. }
  9530. ],
  9531. "responses": {
  9532. "200": {
  9533. "description": "OK",
  9534. "schema": {
  9535. "type": "array",
  9536. "items": {
  9537. "$ref": "#/definitions/models.QhjTeamOrder"
  9538. }
  9539. }
  9540. },
  9541. "500": {
  9542. "description": "Internal Server Error",
  9543. "schema": {
  9544. "$ref": "#/definitions/app.Response"
  9545. }
  9546. }
  9547. }
  9548. }
  9549. },
  9550. "/Qhj/QueryParentAreaList": {
  9551. "get": {
  9552. "security": [
  9553. {
  9554. "ApiKeyAuth": []
  9555. }
  9556. ],
  9557. "produces": [
  9558. "application/json"
  9559. ],
  9560. "tags": [
  9561. "大连千海金"
  9562. ],
  9563. "summary": "查询所属机构列表",
  9564. "parameters": [
  9565. {
  9566. "type": "integer",
  9567. "description": "用户ID",
  9568. "name": "userid",
  9569. "in": "query",
  9570. "required": true
  9571. }
  9572. ],
  9573. "responses": {
  9574. "200": {
  9575. "description": "OK",
  9576. "schema": {
  9577. "type": "array",
  9578. "items": {
  9579. "$ref": "#/definitions/models.QhjParentAreaList"
  9580. }
  9581. }
  9582. },
  9583. "500": {
  9584. "description": "Internal Server Error",
  9585. "schema": {
  9586. "$ref": "#/definitions/app.Response"
  9587. }
  9588. }
  9589. }
  9590. }
  9591. },
  9592. "/Qhj/QueryPayOrder": {
  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": "accountid",
  9611. "in": "query",
  9612. "required": true
  9613. },
  9614. {
  9615. "type": "integer",
  9616. "description": "成交单号",
  9617. "name": "tradeid",
  9618. "in": "query"
  9619. },
  9620. {
  9621. "type": "string",
  9622. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9623. "name": "payflag",
  9624. "in": "query"
  9625. }
  9626. ],
  9627. "responses": {
  9628. "200": {
  9629. "description": "OK",
  9630. "schema": {
  9631. "type": "array",
  9632. "items": {
  9633. "$ref": "#/definitions/models.QhjPayOrder"
  9634. }
  9635. }
  9636. },
  9637. "500": {
  9638. "description": "Internal Server Error",
  9639. "schema": {
  9640. "$ref": "#/definitions/app.Response"
  9641. }
  9642. }
  9643. }
  9644. }
  9645. },
  9646. "/Qhj/QueryPickArea": {
  9647. "get": {
  9648. "security": [
  9649. {
  9650. "ApiKeyAuth": []
  9651. }
  9652. ],
  9653. "produces": [
  9654. "application/json"
  9655. ],
  9656. "tags": [
  9657. "大连千海金"
  9658. ],
  9659. "summary": "查询提货门店",
  9660. "parameters": [
  9661. {
  9662. "type": "integer",
  9663. "description": "用户ID",
  9664. "name": "userid",
  9665. "in": "query"
  9666. }
  9667. ],
  9668. "responses": {
  9669. "200": {
  9670. "description": "OK",
  9671. "schema": {
  9672. "type": "array",
  9673. "items": {
  9674. "$ref": "#/definitions/models.QhjPickArea"
  9675. }
  9676. }
  9677. },
  9678. "500": {
  9679. "description": "Internal Server Error",
  9680. "schema": {
  9681. "$ref": "#/definitions/app.Response"
  9682. }
  9683. }
  9684. }
  9685. }
  9686. },
  9687. "/Qhj/QueryPickGoods": {
  9688. "get": {
  9689. "security": [
  9690. {
  9691. "ApiKeyAuth": []
  9692. }
  9693. ],
  9694. "produces": [
  9695. "application/json"
  9696. ],
  9697. "tags": [
  9698. "大连千海金"
  9699. ],
  9700. "summary": "查询提货商品",
  9701. "parameters": [
  9702. {
  9703. "type": "integer",
  9704. "description": "交易商品id",
  9705. "name": "goodsid",
  9706. "in": "query",
  9707. "required": true
  9708. },
  9709. {
  9710. "type": "string",
  9711. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9712. "name": "status",
  9713. "in": "query"
  9714. }
  9715. ],
  9716. "responses": {
  9717. "200": {
  9718. "description": "OK",
  9719. "schema": {
  9720. "type": "array",
  9721. "items": {
  9722. "$ref": "#/definitions/models.QhjPickGoods"
  9723. }
  9724. }
  9725. },
  9726. "500": {
  9727. "description": "Internal Server Error",
  9728. "schema": {
  9729. "$ref": "#/definitions/app.Response"
  9730. }
  9731. }
  9732. }
  9733. }
  9734. },
  9735. "/Qhj/QueryRSTriggerLog": {
  9736. "get": {
  9737. "security": [
  9738. {
  9739. "ApiKeyAuth": []
  9740. }
  9741. ],
  9742. "produces": [
  9743. "application/json"
  9744. ],
  9745. "tags": [
  9746. "大连千海金"
  9747. ],
  9748. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9749. "parameters": [
  9750. {
  9751. "type": "integer",
  9752. "description": "用户ID",
  9753. "name": "userid",
  9754. "in": "query"
  9755. },
  9756. {
  9757. "type": "integer",
  9758. "description": "定投策略id",
  9759. "name": "regularlystrategyid",
  9760. "in": "query"
  9761. },
  9762. {
  9763. "type": "integer",
  9764. "description": "商品id",
  9765. "name": "goodsid",
  9766. "in": "query"
  9767. },
  9768. {
  9769. "type": "string",
  9770. "description": "开始交易日(yyyymmdd)",
  9771. "name": "begindate",
  9772. "in": "query"
  9773. },
  9774. {
  9775. "type": "string",
  9776. "description": "结束交易日(yyyymmdd)",
  9777. "name": "enddate",
  9778. "in": "query"
  9779. },
  9780. {
  9781. "type": "string",
  9782. "description": "名称(模糊搜索账户)",
  9783. "name": "filtername",
  9784. "in": "query"
  9785. }
  9786. ],
  9787. "responses": {
  9788. "200": {
  9789. "description": "OK",
  9790. "schema": {
  9791. "type": "array",
  9792. "items": {
  9793. "$ref": "#/definitions/models.QhjRSTriggerLog"
  9794. }
  9795. }
  9796. },
  9797. "500": {
  9798. "description": "Internal Server Error",
  9799. "schema": {
  9800. "$ref": "#/definitions/app.Response"
  9801. }
  9802. }
  9803. }
  9804. }
  9805. },
  9806. "/Qhj/QueryRStrategy": {
  9807. "get": {
  9808. "security": [
  9809. {
  9810. "ApiKeyAuth": []
  9811. }
  9812. ],
  9813. "produces": [
  9814. "application/json"
  9815. ],
  9816. "tags": [
  9817. "大连千海金"
  9818. ],
  9819. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  9820. "parameters": [
  9821. {
  9822. "type": "integer",
  9823. "description": "用户ID",
  9824. "name": "userid",
  9825. "in": "query"
  9826. },
  9827. {
  9828. "type": "integer",
  9829. "description": "商品id",
  9830. "name": "goodsid",
  9831. "in": "query"
  9832. },
  9833. {
  9834. "type": "string",
  9835. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  9836. "name": "status",
  9837. "in": "query"
  9838. },
  9839. {
  9840. "type": "string",
  9841. "description": "名称(模糊搜索账户)",
  9842. "name": "filtername",
  9843. "in": "query"
  9844. }
  9845. ],
  9846. "responses": {
  9847. "200": {
  9848. "description": "OK",
  9849. "schema": {
  9850. "type": "array",
  9851. "items": {
  9852. "$ref": "#/definitions/models.QhjRStrategy"
  9853. }
  9854. }
  9855. },
  9856. "500": {
  9857. "description": "Internal Server Error",
  9858. "schema": {
  9859. "$ref": "#/definitions/app.Response"
  9860. }
  9861. }
  9862. }
  9863. }
  9864. },
  9865. "/Qhj/QueryReckonPriceLog": {
  9866. "get": {
  9867. "security": [
  9868. {
  9869. "ApiKeyAuth": []
  9870. }
  9871. ],
  9872. "produces": [
  9873. "application/json"
  9874. ],
  9875. "tags": [
  9876. "大连千海金"
  9877. ],
  9878. "summary": "查询定投价(结算价)",
  9879. "parameters": [
  9880. {
  9881. "type": "integer",
  9882. "description": "商品ID",
  9883. "name": "goodsid",
  9884. "in": "query"
  9885. },
  9886. {
  9887. "type": "string",
  9888. "description": "交易日 格式(yyyymmdd)",
  9889. "name": "tradedate",
  9890. "in": "query"
  9891. }
  9892. ],
  9893. "responses": {
  9894. "200": {
  9895. "description": "OK",
  9896. "schema": {
  9897. "type": "array",
  9898. "items": {
  9899. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9900. }
  9901. }
  9902. },
  9903. "500": {
  9904. "description": "Internal Server Error",
  9905. "schema": {
  9906. "$ref": "#/definitions/app.Response"
  9907. }
  9908. }
  9909. }
  9910. }
  9911. },
  9912. "/Qhj/QueryScoreLog": {
  9913. "get": {
  9914. "security": [
  9915. {
  9916. "ApiKeyAuth": []
  9917. }
  9918. ],
  9919. "produces": [
  9920. "application/json"
  9921. ],
  9922. "tags": [
  9923. "大连千海金"
  9924. ],
  9925. "summary": "查询积分流水(我的积分)",
  9926. "parameters": [
  9927. {
  9928. "type": "integer",
  9929. "description": "用户ID",
  9930. "name": "userid",
  9931. "in": "query",
  9932. "required": true
  9933. },
  9934. {
  9935. "type": "string",
  9936. "description": "开始交易日(yyyymmdd)",
  9937. "name": "begindate",
  9938. "in": "query"
  9939. },
  9940. {
  9941. "type": "string",
  9942. "description": "结束交易日(yyyymmdd)",
  9943. "name": "enddate",
  9944. "in": "query"
  9945. },
  9946. {
  9947. "type": "integer",
  9948. "description": "最近多少条",
  9949. "name": "lastnum",
  9950. "in": "query"
  9951. }
  9952. ],
  9953. "responses": {
  9954. "200": {
  9955. "description": "OK",
  9956. "schema": {
  9957. "type": "array",
  9958. "items": {
  9959. "$ref": "#/definitions/models.QhjScoreLog"
  9960. }
  9961. }
  9962. },
  9963. "500": {
  9964. "description": "Internal Server Error",
  9965. "schema": {
  9966. "$ref": "#/definitions/app.Response"
  9967. }
  9968. }
  9969. }
  9970. }
  9971. },
  9972. "/Qhj/QuerySiteColumnDetail": {
  9973. "get": {
  9974. "security": [
  9975. {
  9976. "ApiKeyAuth": []
  9977. }
  9978. ],
  9979. "produces": [
  9980. "application/json"
  9981. ],
  9982. "tags": [
  9983. "大连千海金"
  9984. ],
  9985. "summary": "查询资讯",
  9986. "parameters": [
  9987. {
  9988. "type": "integer",
  9989. "description": "用户ID",
  9990. "name": "userid",
  9991. "in": "query",
  9992. "required": true
  9993. }
  9994. ],
  9995. "responses": {
  9996. "200": {
  9997. "description": "OK",
  9998. "schema": {
  9999. "type": "array",
  10000. "items": {
  10001. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10002. }
  10003. }
  10004. },
  10005. "500": {
  10006. "description": "Internal Server Error",
  10007. "schema": {
  10008. "$ref": "#/definitions/app.Response"
  10009. }
  10010. }
  10011. }
  10012. }
  10013. },
  10014. "/Qhj/QueryTradeGoodsPickup": {
  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. "type": "integer",
  10038. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10039. "name": "takeorderstatus",
  10040. "in": "query"
  10041. }
  10042. ],
  10043. "responses": {
  10044. "200": {
  10045. "description": "OK",
  10046. "schema": {
  10047. "type": "array",
  10048. "items": {
  10049. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10050. }
  10051. }
  10052. },
  10053. "500": {
  10054. "description": "Internal Server Error",
  10055. "schema": {
  10056. "$ref": "#/definitions/app.Response"
  10057. }
  10058. }
  10059. }
  10060. }
  10061. },
  10062. "/Qhj/QueryUserCollectConfig": {
  10063. "get": {
  10064. "security": [
  10065. {
  10066. "ApiKeyAuth": []
  10067. }
  10068. ],
  10069. "produces": [
  10070. "application/json"
  10071. ],
  10072. "tags": [
  10073. "大连千海金"
  10074. ],
  10075. "summary": "查询提现账户设置",
  10076. "parameters": [
  10077. {
  10078. "type": "integer",
  10079. "description": "用户ID",
  10080. "name": "userid",
  10081. "in": "query",
  10082. "required": true
  10083. }
  10084. ],
  10085. "responses": {
  10086. "200": {
  10087. "description": "OK",
  10088. "schema": {
  10089. "type": "array",
  10090. "items": {
  10091. "$ref": "#/definitions/models.UserCollectConfig"
  10092. }
  10093. }
  10094. },
  10095. "500": {
  10096. "description": "Internal Server Error",
  10097. "schema": {
  10098. "$ref": "#/definitions/app.Response"
  10099. }
  10100. }
  10101. }
  10102. }
  10103. },
  10104. "/Qhj/QueryUserReceiveInfo": {
  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.UserReceiveInfo"
  10134. }
  10135. }
  10136. },
  10137. "500": {
  10138. "description": "Internal Server Error",
  10139. "schema": {
  10140. "$ref": "#/definitions/app.Response"
  10141. }
  10142. }
  10143. }
  10144. }
  10145. },
  10146. "/QhjMgr/QueryAccountInOutApply": {
  10147. "get": {
  10148. "security": [
  10149. {
  10150. "ApiKeyAuth": []
  10151. }
  10152. ],
  10153. "produces": [
  10154. "application/json"
  10155. ],
  10156. "tags": [
  10157. "大连千海金(PCWeb)"
  10158. ],
  10159. "summary": "查询充值提现",
  10160. "parameters": [
  10161. {
  10162. "type": "integer",
  10163. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10164. "name": "querytype",
  10165. "in": "query",
  10166. "required": true
  10167. },
  10168. {
  10169. "type": "integer",
  10170. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10171. "name": "applystatus",
  10172. "in": "query"
  10173. },
  10174. {
  10175. "type": "string",
  10176. "description": "申请起始日期(格式yyyymmdd)",
  10177. "name": "begindate",
  10178. "in": "query"
  10179. },
  10180. {
  10181. "type": "string",
  10182. "description": "申请截止日期(格式yyyymmdd)",
  10183. "name": "enddate",
  10184. "in": "query"
  10185. },
  10186. {
  10187. "type": "string",
  10188. "description": "模糊搜索名称",
  10189. "name": "likename",
  10190. "in": "query"
  10191. }
  10192. ],
  10193. "responses": {
  10194. "200": {
  10195. "description": "OK",
  10196. "schema": {
  10197. "type": "array",
  10198. "items": {
  10199. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10200. }
  10201. }
  10202. },
  10203. "500": {
  10204. "description": "Internal Server Error",
  10205. "schema": {
  10206. "$ref": "#/definitions/app.Response"
  10207. }
  10208. }
  10209. }
  10210. }
  10211. },
  10212. "/QhjMgr/QueryBrokerApply": {
  10213. "get": {
  10214. "security": [
  10215. {
  10216. "ApiKeyAuth": []
  10217. }
  10218. ],
  10219. "produces": [
  10220. "application/json"
  10221. ],
  10222. "tags": [
  10223. "大连千海金(PCWeb)"
  10224. ],
  10225. "summary": "查询经纪人申请",
  10226. "parameters": [
  10227. {
  10228. "type": "integer",
  10229. "description": "所属机构ID",
  10230. "name": "userid",
  10231. "in": "query"
  10232. },
  10233. {
  10234. "type": "string",
  10235. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10236. "name": "filterstatus",
  10237. "in": "query"
  10238. },
  10239. {
  10240. "type": "string",
  10241. "description": "名称(模糊匹配)",
  10242. "name": "filtername",
  10243. "in": "query"
  10244. },
  10245. {
  10246. "type": "integer",
  10247. "description": "是否包含子级 1-包含",
  10248. "name": "includesub",
  10249. "in": "query"
  10250. }
  10251. ],
  10252. "responses": {
  10253. "200": {
  10254. "description": "OK",
  10255. "schema": {
  10256. "type": "array",
  10257. "items": {
  10258. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10259. }
  10260. }
  10261. },
  10262. "500": {
  10263. "description": "Internal Server Error",
  10264. "schema": {
  10265. "$ref": "#/definitions/app.Response"
  10266. }
  10267. }
  10268. }
  10269. }
  10270. },
  10271. "/QhjMgr/QueryBrokerRewardReport": {
  10272. "get": {
  10273. "security": [
  10274. {
  10275. "ApiKeyAuth": []
  10276. }
  10277. ],
  10278. "produces": [
  10279. "application/json"
  10280. ],
  10281. "tags": [
  10282. "大连千海金(PCWeb)"
  10283. ],
  10284. "summary": "查询经纪人奖励报表(废弃)",
  10285. "parameters": [
  10286. {
  10287. "type": "integer",
  10288. "description": "所属机构ID",
  10289. "name": "userid",
  10290. "in": "query",
  10291. "required": true
  10292. },
  10293. {
  10294. "type": "integer",
  10295. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10296. "name": "cycletype",
  10297. "in": "query",
  10298. "required": true
  10299. },
  10300. {
  10301. "type": "string",
  10302. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10303. "name": "cycletime",
  10304. "in": "query",
  10305. "required": true
  10306. },
  10307. {
  10308. "type": "string",
  10309. "description": "名称(模糊匹配)",
  10310. "name": "filtername",
  10311. "in": "query"
  10312. },
  10313. {
  10314. "type": "integer",
  10315. "description": "是否包含子级 1-包含",
  10316. "name": "includesub",
  10317. "in": "query"
  10318. }
  10319. ],
  10320. "responses": {
  10321. "200": {
  10322. "description": "OK",
  10323. "schema": {
  10324. "type": "array",
  10325. "items": {
  10326. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10327. }
  10328. }
  10329. },
  10330. "500": {
  10331. "description": "Internal Server Error",
  10332. "schema": {
  10333. "$ref": "#/definitions/app.Response"
  10334. }
  10335. }
  10336. }
  10337. }
  10338. },
  10339. "/QhjMgr/QueryContract": {
  10340. "get": {
  10341. "security": [
  10342. {
  10343. "ApiKeyAuth": []
  10344. }
  10345. ],
  10346. "produces": [
  10347. "application/json"
  10348. ],
  10349. "tags": [
  10350. "大连千海金(PCWeb)"
  10351. ],
  10352. "summary": "查询融资信息(合同)",
  10353. "parameters": [
  10354. {
  10355. "type": "integer",
  10356. "description": "用户ID",
  10357. "name": "userid",
  10358. "in": "query"
  10359. },
  10360. {
  10361. "type": "integer",
  10362. "description": "商品id",
  10363. "name": "goodsid",
  10364. "in": "query"
  10365. },
  10366. {
  10367. "type": "string",
  10368. "description": "名称(模糊搜索账户)",
  10369. "name": "filtername",
  10370. "in": "query"
  10371. },
  10372. {
  10373. "type": "string",
  10374. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10375. "name": "risklevel",
  10376. "in": "query"
  10377. },
  10378. {
  10379. "type": "string",
  10380. "description": "开始交易日(yyyymmdd)",
  10381. "name": "begindate",
  10382. "in": "query"
  10383. },
  10384. {
  10385. "type": "string",
  10386. "description": "结束交易日(yyyymmdd)",
  10387. "name": "enddate",
  10388. "in": "query"
  10389. }
  10390. ],
  10391. "responses": {
  10392. "200": {
  10393. "description": "OK",
  10394. "schema": {
  10395. "type": "array",
  10396. "items": {
  10397. "$ref": "#/definitions/models.QhjMgrContract"
  10398. }
  10399. }
  10400. },
  10401. "500": {
  10402. "description": "Internal Server Error",
  10403. "schema": {
  10404. "$ref": "#/definitions/app.Response"
  10405. }
  10406. }
  10407. }
  10408. }
  10409. },
  10410. "/QhjMgr/QueryCustomerInfo": {
  10411. "get": {
  10412. "security": [
  10413. {
  10414. "ApiKeyAuth": []
  10415. }
  10416. ],
  10417. "produces": [
  10418. "application/json"
  10419. ],
  10420. "tags": [
  10421. "大连千海金(PCWeb)"
  10422. ],
  10423. "summary": "查询客户资料",
  10424. "parameters": [
  10425. {
  10426. "type": "integer",
  10427. "description": "用户ID",
  10428. "name": "userid",
  10429. "in": "query",
  10430. "required": true
  10431. },
  10432. {
  10433. "type": "integer",
  10434. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10435. "name": "querytype",
  10436. "in": "query",
  10437. "required": true
  10438. },
  10439. {
  10440. "type": "integer",
  10441. "description": "客户类型 1-个人 2-企业",
  10442. "name": "userinfotype",
  10443. "in": "query"
  10444. },
  10445. {
  10446. "type": "string",
  10447. "description": "客户名称(模糊匹配)",
  10448. "name": "customername",
  10449. "in": "query"
  10450. },
  10451. {
  10452. "type": "string",
  10453. "description": "昵称(模糊匹配)",
  10454. "name": "nickname",
  10455. "in": "query"
  10456. },
  10457. {
  10458. "type": "string",
  10459. "description": "所属客户经理(模糊匹配)",
  10460. "name": "brokername",
  10461. "in": "query"
  10462. },
  10463. {
  10464. "type": "string",
  10465. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10466. "name": "birthday",
  10467. "in": "query"
  10468. },
  10469. {
  10470. "type": "integer",
  10471. "description": "是否包含子级 1-包含",
  10472. "name": "includesub",
  10473. "in": "query"
  10474. }
  10475. ],
  10476. "responses": {
  10477. "200": {
  10478. "description": "OK",
  10479. "schema": {
  10480. "type": "array",
  10481. "items": {
  10482. "$ref": "#/definitions/models.QhjMgrCustomer"
  10483. }
  10484. }
  10485. },
  10486. "500": {
  10487. "description": "Internal Server Error",
  10488. "schema": {
  10489. "$ref": "#/definitions/app.Response"
  10490. }
  10491. }
  10492. }
  10493. }
  10494. },
  10495. "/QhjMgr/QueryPickGoods": {
  10496. "get": {
  10497. "security": [
  10498. {
  10499. "ApiKeyAuth": []
  10500. }
  10501. ],
  10502. "produces": [
  10503. "application/json"
  10504. ],
  10505. "tags": [
  10506. "大连千海金(PCWeb)"
  10507. ],
  10508. "summary": "查询提货商品",
  10509. "parameters": [
  10510. {
  10511. "type": "string",
  10512. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10513. "name": "status",
  10514. "in": "query"
  10515. }
  10516. ],
  10517. "responses": {
  10518. "200": {
  10519. "description": "OK",
  10520. "schema": {
  10521. "type": "array",
  10522. "items": {
  10523. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10524. }
  10525. }
  10526. },
  10527. "500": {
  10528. "description": "Internal Server Error",
  10529. "schema": {
  10530. "$ref": "#/definitions/app.Response"
  10531. }
  10532. }
  10533. }
  10534. }
  10535. },
  10536. "/QhjMgr/QuerySubArea": {
  10537. "get": {
  10538. "security": [
  10539. {
  10540. "ApiKeyAuth": []
  10541. }
  10542. ],
  10543. "produces": [
  10544. "application/json"
  10545. ],
  10546. "tags": [
  10547. "大连千海金(PCWeb)"
  10548. ],
  10549. "summary": "查询子机构列表",
  10550. "parameters": [
  10551. {
  10552. "type": "integer",
  10553. "description": "用户ID",
  10554. "name": "userid",
  10555. "in": "query",
  10556. "required": true
  10557. }
  10558. ],
  10559. "responses": {
  10560. "200": {
  10561. "description": "OK",
  10562. "schema": {
  10563. "type": "array",
  10564. "items": {
  10565. "$ref": "#/definitions/models.QhjMgrSubArea"
  10566. }
  10567. }
  10568. },
  10569. "500": {
  10570. "description": "Internal Server Error",
  10571. "schema": {
  10572. "$ref": "#/definitions/app.Response"
  10573. }
  10574. }
  10575. }
  10576. }
  10577. },
  10578. "/QhjMgr/QueryTradeDetail": {
  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. "type": "integer",
  10602. "description": "用户类型 1-个人 2-企业",
  10603. "name": "userinfotype",
  10604. "in": "query"
  10605. },
  10606. {
  10607. "type": "integer",
  10608. "description": "交易模式",
  10609. "name": "trademode",
  10610. "in": "query"
  10611. },
  10612. {
  10613. "type": "integer",
  10614. "description": "商品id",
  10615. "name": "goodsid",
  10616. "in": "query"
  10617. },
  10618. {
  10619. "type": "string",
  10620. "description": "名称(模糊搜索账户)",
  10621. "name": "filtername",
  10622. "in": "query"
  10623. },
  10624. {
  10625. "type": "string",
  10626. "description": "开始交易日(yyyymmdd)",
  10627. "name": "begindate",
  10628. "in": "query"
  10629. },
  10630. {
  10631. "type": "string",
  10632. "description": "结束交易日(yyyymmdd)",
  10633. "name": "enddate",
  10634. "in": "query"
  10635. },
  10636. {
  10637. "type": "integer",
  10638. "description": "是否包含子级 1-包含",
  10639. "name": "includesub",
  10640. "in": "query"
  10641. }
  10642. ],
  10643. "responses": {
  10644. "200": {
  10645. "description": "OK",
  10646. "schema": {
  10647. "type": "array",
  10648. "items": {
  10649. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10650. }
  10651. }
  10652. },
  10653. "500": {
  10654. "description": "Internal Server Error",
  10655. "schema": {
  10656. "$ref": "#/definitions/app.Response"
  10657. }
  10658. }
  10659. }
  10660. }
  10661. },
  10662. "/QhjMgr/QueryTradeOrderDetail": {
  10663. "get": {
  10664. "security": [
  10665. {
  10666. "ApiKeyAuth": []
  10667. }
  10668. ],
  10669. "produces": [
  10670. "application/json"
  10671. ],
  10672. "tags": [
  10673. "大连千海金(PCWeb)"
  10674. ],
  10675. "summary": "查询委托明细",
  10676. "parameters": [
  10677. {
  10678. "type": "integer",
  10679. "description": "用户ID",
  10680. "name": "userid",
  10681. "in": "query",
  10682. "required": true
  10683. },
  10684. {
  10685. "type": "integer",
  10686. "description": "用户类型 1-个人 2-企业",
  10687. "name": "userinfotype",
  10688. "in": "query"
  10689. },
  10690. {
  10691. "type": "integer",
  10692. "description": "交易模式",
  10693. "name": "trademode",
  10694. "in": "query"
  10695. },
  10696. {
  10697. "type": "integer",
  10698. "description": "商品id",
  10699. "name": "goodsid",
  10700. "in": "query"
  10701. },
  10702. {
  10703. "type": "string",
  10704. "description": "名称(模糊搜索账户)",
  10705. "name": "filtername",
  10706. "in": "query"
  10707. },
  10708. {
  10709. "type": "string",
  10710. "description": "开始交易日(yyyymmdd)",
  10711. "name": "begindate",
  10712. "in": "query"
  10713. },
  10714. {
  10715. "type": "string",
  10716. "description": "结束交易日(yyyymmdd)",
  10717. "name": "enddate",
  10718. "in": "query"
  10719. },
  10720. {
  10721. "type": "integer",
  10722. "description": "是否包含子级 1-包含",
  10723. "name": "includesub",
  10724. "in": "query"
  10725. }
  10726. ],
  10727. "responses": {
  10728. "200": {
  10729. "description": "OK",
  10730. "schema": {
  10731. "type": "array",
  10732. "items": {
  10733. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10734. }
  10735. }
  10736. },
  10737. "500": {
  10738. "description": "Internal Server Error",
  10739. "schema": {
  10740. "$ref": "#/definitions/app.Response"
  10741. }
  10742. }
  10743. }
  10744. }
  10745. },
  10746. "/QhjMgr/QueryTradePayOrder": {
  10747. "get": {
  10748. "security": [
  10749. {
  10750. "ApiKeyAuth": []
  10751. }
  10752. ],
  10753. "produces": [
  10754. "application/json"
  10755. ],
  10756. "tags": [
  10757. "大连千海金(PCWeb)"
  10758. ],
  10759. "summary": "查询待付款单",
  10760. "parameters": [
  10761. {
  10762. "type": "integer",
  10763. "description": "用户ID",
  10764. "name": "userid",
  10765. "in": "query",
  10766. "required": true
  10767. },
  10768. {
  10769. "type": "string",
  10770. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10771. "name": "payflag",
  10772. "in": "query"
  10773. },
  10774. {
  10775. "type": "integer",
  10776. "description": "用户类型 1-个人 2-企业",
  10777. "name": "userinfotype",
  10778. "in": "query"
  10779. },
  10780. {
  10781. "type": "integer",
  10782. "description": "交易模式",
  10783. "name": "trademode",
  10784. "in": "query"
  10785. },
  10786. {
  10787. "type": "integer",
  10788. "description": "商品id",
  10789. "name": "goodsid",
  10790. "in": "query"
  10791. },
  10792. {
  10793. "type": "string",
  10794. "description": "名称(模糊搜索账户)",
  10795. "name": "filtername",
  10796. "in": "query"
  10797. },
  10798. {
  10799. "type": "string",
  10800. "description": "开始交易日(yyyymmdd)",
  10801. "name": "begindate",
  10802. "in": "query"
  10803. },
  10804. {
  10805. "type": "string",
  10806. "description": "结束交易日(yyyymmdd)",
  10807. "name": "enddate",
  10808. "in": "query"
  10809. },
  10810. {
  10811. "type": "integer",
  10812. "description": "是否包含子级 1-包含",
  10813. "name": "includesub",
  10814. "in": "query"
  10815. }
  10816. ],
  10817. "responses": {
  10818. "200": {
  10819. "description": "OK",
  10820. "schema": {
  10821. "type": "array",
  10822. "items": {
  10823. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  10824. }
  10825. }
  10826. },
  10827. "500": {
  10828. "description": "Internal Server Error",
  10829. "schema": {
  10830. "$ref": "#/definitions/app.Response"
  10831. }
  10832. }
  10833. }
  10834. }
  10835. },
  10836. "/QhjMgr/QueryTradePosition": {
  10837. "get": {
  10838. "security": [
  10839. {
  10840. "ApiKeyAuth": []
  10841. }
  10842. ],
  10843. "produces": [
  10844. "application/json"
  10845. ],
  10846. "tags": [
  10847. "大连千海金(PCWeb)"
  10848. ],
  10849. "summary": "查询持仓汇总",
  10850. "parameters": [
  10851. {
  10852. "type": "integer",
  10853. "description": "用户ID",
  10854. "name": "userid",
  10855. "in": "query",
  10856. "required": true
  10857. },
  10858. {
  10859. "type": "integer",
  10860. "description": "用户类型 1-个人 2-企业",
  10861. "name": "userinfotype",
  10862. "in": "query"
  10863. },
  10864. {
  10865. "type": "integer",
  10866. "description": "交易模式",
  10867. "name": "trademode",
  10868. "in": "query"
  10869. },
  10870. {
  10871. "type": "integer",
  10872. "description": "商品id",
  10873. "name": "goodsid",
  10874. "in": "query"
  10875. },
  10876. {
  10877. "type": "string",
  10878. "description": "名称(模糊搜索账户)",
  10879. "name": "filtername",
  10880. "in": "query"
  10881. },
  10882. {
  10883. "type": "integer",
  10884. "description": "是否包含子级 1-包含",
  10885. "name": "includesub",
  10886. "in": "query"
  10887. }
  10888. ],
  10889. "responses": {
  10890. "200": {
  10891. "description": "OK",
  10892. "schema": {
  10893. "type": "array",
  10894. "items": {
  10895. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10896. }
  10897. }
  10898. },
  10899. "500": {
  10900. "description": "Internal Server Error",
  10901. "schema": {
  10902. "$ref": "#/definitions/app.Response"
  10903. }
  10904. }
  10905. }
  10906. }
  10907. },
  10908. "/QhjSys/QueryAgreementChangeLog": {
  10909. "get": {
  10910. "security": [
  10911. {
  10912. "ApiKeyAuth": []
  10913. }
  10914. ],
  10915. "produces": [
  10916. "application/json"
  10917. ],
  10918. "tags": [
  10919. "大连千海金(协议和签约信息)"
  10920. ],
  10921. "summary": "查询协议配置变更流水",
  10922. "parameters": [
  10923. {
  10924. "type": "integer",
  10925. "description": "协议ID",
  10926. "name": "agreementid",
  10927. "in": "query"
  10928. },
  10929. {
  10930. "type": "integer",
  10931. "description": "协议版本号",
  10932. "name": "agreementversion",
  10933. "in": "query"
  10934. },
  10935. {
  10936. "type": "integer",
  10937. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10938. "name": "agreementtype",
  10939. "in": "query"
  10940. },
  10941. {
  10942. "type": "string",
  10943. "description": "协议编号(模糊匹配)",
  10944. "name": "agreementno",
  10945. "in": "query"
  10946. },
  10947. {
  10948. "type": "string",
  10949. "description": "协议名称(模糊匹配)",
  10950. "name": "agreementname",
  10951. "in": "query"
  10952. }
  10953. ],
  10954. "responses": {
  10955. "200": {
  10956. "description": "OK",
  10957. "schema": {
  10958. "type": "array",
  10959. "items": {
  10960. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10961. }
  10962. }
  10963. },
  10964. "500": {
  10965. "description": "Internal Server Error",
  10966. "schema": {
  10967. "$ref": "#/definitions/app.Response"
  10968. }
  10969. }
  10970. }
  10971. }
  10972. },
  10973. "/QhjSys/QueryAgreementConfig": {
  10974. "get": {
  10975. "security": [
  10976. {
  10977. "ApiKeyAuth": []
  10978. }
  10979. ],
  10980. "produces": [
  10981. "application/json"
  10982. ],
  10983. "tags": [
  10984. "大连千海金(协议和签约信息)"
  10985. ],
  10986. "summary": "查询协议配置",
  10987. "parameters": [
  10988. {
  10989. "type": "integer",
  10990. "description": "协议ID",
  10991. "name": "agreementid",
  10992. "in": "query"
  10993. },
  10994. {
  10995. "type": "integer",
  10996. "description": "协议版本号",
  10997. "name": "agreementversion",
  10998. "in": "query"
  10999. },
  11000. {
  11001. "type": "integer",
  11002. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11003. "name": "agreementtype",
  11004. "in": "query"
  11005. },
  11006. {
  11007. "type": "integer",
  11008. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11009. "name": "isvalid",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "string",
  11014. "description": "协议编号(模糊匹配)",
  11015. "name": "agreementno",
  11016. "in": "query"
  11017. },
  11018. {
  11019. "type": "string",
  11020. "description": "协议名称(模糊匹配)",
  11021. "name": "agreementname",
  11022. "in": "query"
  11023. }
  11024. ],
  11025. "responses": {
  11026. "200": {
  11027. "description": "OK",
  11028. "schema": {
  11029. "type": "array",
  11030. "items": {
  11031. "$ref": "#/definitions/models.QhjAgreementConfig"
  11032. }
  11033. }
  11034. },
  11035. "500": {
  11036. "description": "Internal Server Error",
  11037. "schema": {
  11038. "$ref": "#/definitions/app.Response"
  11039. }
  11040. }
  11041. }
  11042. }
  11043. },
  11044. "/QhjSys/QueryCustomerSignStatus": {
  11045. "get": {
  11046. "security": [
  11047. {
  11048. "ApiKeyAuth": []
  11049. }
  11050. ],
  11051. "produces": [
  11052. "application/json"
  11053. ],
  11054. "tags": [
  11055. "大连千海金(协议和签约信息)"
  11056. ],
  11057. "summary": "查询客户协议签约状态",
  11058. "parameters": [
  11059. {
  11060. "type": "integer",
  11061. "description": "客户ID",
  11062. "name": "userid",
  11063. "in": "query"
  11064. },
  11065. {
  11066. "type": "integer",
  11067. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11068. "name": "nodetype",
  11069. "in": "query"
  11070. },
  11071. {
  11072. "type": "integer",
  11073. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11074. "name": "goodsid",
  11075. "in": "query"
  11076. },
  11077. {
  11078. "type": "string",
  11079. "description": "创建交易日(yyyyMMdd)",
  11080. "name": "tradedate",
  11081. "in": "query"
  11082. },
  11083. {
  11084. "type": "string",
  11085. "description": "用户名称(模糊匹配)",
  11086. "name": "username",
  11087. "in": "query"
  11088. }
  11089. ],
  11090. "responses": {
  11091. "200": {
  11092. "description": "OK",
  11093. "schema": {
  11094. "type": "array",
  11095. "items": {
  11096. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11097. }
  11098. }
  11099. },
  11100. "500": {
  11101. "description": "Internal Server Error",
  11102. "schema": {
  11103. "$ref": "#/definitions/app.Response"
  11104. }
  11105. }
  11106. }
  11107. }
  11108. },
  11109. "/QhjSys/QueryNodeAgreementConfig": {
  11110. "get": {
  11111. "security": [
  11112. {
  11113. "ApiKeyAuth": []
  11114. }
  11115. ],
  11116. "produces": [
  11117. "application/json"
  11118. ],
  11119. "tags": [
  11120. "大连千海金(协议和签约信息)"
  11121. ],
  11122. "summary": "查询协议节点配置",
  11123. "parameters": [
  11124. {
  11125. "type": "integer",
  11126. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11127. "name": "configid",
  11128. "in": "query"
  11129. },
  11130. {
  11131. "type": "integer",
  11132. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11133. "name": "nodetype",
  11134. "in": "query"
  11135. },
  11136. {
  11137. "type": "integer",
  11138. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11139. "name": "goodsid",
  11140. "in": "query"
  11141. },
  11142. {
  11143. "type": "integer",
  11144. "description": "协议ID",
  11145. "name": "agreementid",
  11146. "in": "query"
  11147. },
  11148. {
  11149. "type": "integer",
  11150. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11151. "name": "agreementtype",
  11152. "in": "query"
  11153. },
  11154. {
  11155. "type": "integer",
  11156. "description": "协议版本号",
  11157. "name": "agreementversion",
  11158. "in": "query"
  11159. },
  11160. {
  11161. "type": "string",
  11162. "description": "协议编号(模糊匹配)",
  11163. "name": "agreementno",
  11164. "in": "query"
  11165. },
  11166. {
  11167. "type": "string",
  11168. "description": "协议名称(模糊匹配)",
  11169. "name": "agreementname",
  11170. "in": "query"
  11171. }
  11172. ],
  11173. "responses": {
  11174. "200": {
  11175. "description": "OK",
  11176. "schema": {
  11177. "type": "array",
  11178. "items": {
  11179. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11180. }
  11181. }
  11182. },
  11183. "500": {
  11184. "description": "Internal Server Error",
  11185. "schema": {
  11186. "$ref": "#/definitions/app.Response"
  11187. }
  11188. }
  11189. }
  11190. }
  11191. },
  11192. "/QhjSys/QueryQhjCustomerSignLog": {
  11193. "get": {
  11194. "security": [
  11195. {
  11196. "ApiKeyAuth": []
  11197. }
  11198. ],
  11199. "produces": [
  11200. "application/json"
  11201. ],
  11202. "tags": [
  11203. "大连千海金(协议和签约信息)"
  11204. ],
  11205. "summary": "查询客户协议签约流水",
  11206. "parameters": [
  11207. {
  11208. "type": "integer",
  11209. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11210. "name": "logid",
  11211. "in": "query"
  11212. },
  11213. {
  11214. "type": "integer",
  11215. "description": "客户ID",
  11216. "name": "userid",
  11217. "in": "query"
  11218. },
  11219. {
  11220. "type": "integer",
  11221. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11222. "name": "nodetype",
  11223. "in": "query"
  11224. },
  11225. {
  11226. "type": "integer",
  11227. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11228. "name": "goodsid",
  11229. "in": "query"
  11230. },
  11231. {
  11232. "type": "integer",
  11233. "description": "协议ID",
  11234. "name": "agreementid",
  11235. "in": "query"
  11236. },
  11237. {
  11238. "type": "string",
  11239. "description": "用户名称(模糊匹配)",
  11240. "name": "username",
  11241. "in": "query"
  11242. },
  11243. {
  11244. "type": "string",
  11245. "description": "协议编号(模糊匹配)",
  11246. "name": "agreementno",
  11247. "in": "query"
  11248. },
  11249. {
  11250. "type": "string",
  11251. "description": "协议名称(模糊匹配)",
  11252. "name": "agreementname",
  11253. "in": "query"
  11254. }
  11255. ],
  11256. "responses": {
  11257. "200": {
  11258. "description": "OK",
  11259. "schema": {
  11260. "type": "array",
  11261. "items": {
  11262. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11263. }
  11264. }
  11265. },
  11266. "500": {
  11267. "description": "Internal Server Error",
  11268. "schema": {
  11269. "$ref": "#/definitions/app.Response"
  11270. }
  11271. }
  11272. }
  11273. }
  11274. },
  11275. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11276. "get": {
  11277. "security": [
  11278. {
  11279. "ApiKeyAuth": []
  11280. }
  11281. ],
  11282. "produces": [
  11283. "application/json"
  11284. ],
  11285. "tags": [
  11286. "大连千海金(协议和签约信息)"
  11287. ],
  11288. "summary": "查询用户协议节点配置和状态",
  11289. "parameters": [
  11290. {
  11291. "type": "integer",
  11292. "description": "客户ID",
  11293. "name": "userid",
  11294. "in": "query"
  11295. },
  11296. {
  11297. "type": "integer",
  11298. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11299. "name": "configid",
  11300. "in": "query"
  11301. },
  11302. {
  11303. "type": "string",
  11304. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11305. "name": "nodetype",
  11306. "in": "query"
  11307. },
  11308. {
  11309. "type": "integer",
  11310. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11311. "name": "goodsid",
  11312. "in": "query"
  11313. },
  11314. {
  11315. "type": "integer",
  11316. "description": "协议ID",
  11317. "name": "agreementid",
  11318. "in": "query"
  11319. },
  11320. {
  11321. "type": "integer",
  11322. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11323. "name": "agreementtype",
  11324. "in": "query"
  11325. },
  11326. {
  11327. "type": "integer",
  11328. "description": "协议版本号",
  11329. "name": "agreementversion",
  11330. "in": "query"
  11331. },
  11332. {
  11333. "type": "string",
  11334. "description": "协议编号(模糊匹配)",
  11335. "name": "agreementno",
  11336. "in": "query"
  11337. },
  11338. {
  11339. "type": "string",
  11340. "description": "协议名称(模糊匹配)",
  11341. "name": "agreementname",
  11342. "in": "query"
  11343. }
  11344. ],
  11345. "responses": {
  11346. "200": {
  11347. "description": "OK",
  11348. "schema": {
  11349. "type": "array",
  11350. "items": {
  11351. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11352. }
  11353. }
  11354. },
  11355. "500": {
  11356. "description": "Internal Server Error",
  11357. "schema": {
  11358. "$ref": "#/definitions/app.Response"
  11359. }
  11360. }
  11361. }
  11362. }
  11363. },
  11364. "/Quote/QueryHistoryDatas": {
  11365. "get": {
  11366. "security": [
  11367. {
  11368. "ApiKeyAuth": []
  11369. }
  11370. ],
  11371. "produces": [
  11372. "application/json"
  11373. ],
  11374. "tags": [
  11375. "行情服务"
  11376. ],
  11377. "summary": "查询行情历史数据",
  11378. "parameters": [
  11379. {
  11380. "type": "integer",
  11381. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11382. "name": "cycleType",
  11383. "in": "query",
  11384. "required": true
  11385. },
  11386. {
  11387. "type": "string",
  11388. "description": "商品代码",
  11389. "name": "goodsCode",
  11390. "in": "query",
  11391. "required": true
  11392. },
  11393. {
  11394. "type": "string",
  11395. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11396. "name": "startTime",
  11397. "in": "query"
  11398. },
  11399. {
  11400. "type": "string",
  11401. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11402. "name": "endTime",
  11403. "in": "query"
  11404. },
  11405. {
  11406. "type": "integer",
  11407. "description": "条数",
  11408. "name": "count",
  11409. "in": "query"
  11410. },
  11411. {
  11412. "type": "boolean",
  11413. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11414. "name": "isAsc",
  11415. "in": "query"
  11416. }
  11417. ],
  11418. "responses": {
  11419. "200": {
  11420. "description": "OK",
  11421. "schema": {
  11422. "$ref": "#/definitions/quote.HistoryData"
  11423. }
  11424. },
  11425. "500": {
  11426. "description": "Internal Server Error",
  11427. "schema": {
  11428. "$ref": "#/definitions/app.Response"
  11429. }
  11430. }
  11431. }
  11432. }
  11433. },
  11434. "/Quote/QueryHistoryTikDatas": {
  11435. "get": {
  11436. "security": [
  11437. {
  11438. "ApiKeyAuth": []
  11439. }
  11440. ],
  11441. "produces": [
  11442. "application/json"
  11443. ],
  11444. "tags": [
  11445. "行情服务"
  11446. ],
  11447. "summary": "查询行情Tik数据",
  11448. "parameters": [
  11449. {
  11450. "type": "string",
  11451. "description": "商品代码",
  11452. "name": "goodsCode",
  11453. "in": "query",
  11454. "required": true
  11455. },
  11456. {
  11457. "type": "string",
  11458. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11459. "name": "startTime",
  11460. "in": "query"
  11461. },
  11462. {
  11463. "type": "string",
  11464. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11465. "name": "endTime",
  11466. "in": "query"
  11467. },
  11468. {
  11469. "type": "integer",
  11470. "description": "条数",
  11471. "name": "count",
  11472. "in": "query"
  11473. },
  11474. {
  11475. "type": "boolean",
  11476. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11477. "name": "isAsc",
  11478. "in": "query"
  11479. }
  11480. ],
  11481. "responses": {
  11482. "200": {
  11483. "description": "OK",
  11484. "schema": {
  11485. "$ref": "#/definitions/quote.HistoryTikData"
  11486. }
  11487. },
  11488. "500": {
  11489. "description": "Internal Server Error",
  11490. "schema": {
  11491. "$ref": "#/definitions/app.Response"
  11492. }
  11493. }
  11494. }
  11495. }
  11496. },
  11497. "/Quote/QueryQuoteDay": {
  11498. "get": {
  11499. "security": [
  11500. {
  11501. "ApiKeyAuth": []
  11502. }
  11503. ],
  11504. "produces": [
  11505. "application/json"
  11506. ],
  11507. "tags": [
  11508. "行情服务"
  11509. ],
  11510. "summary": "获取商品盘面信息",
  11511. "parameters": [
  11512. {
  11513. "type": "string",
  11514. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11515. "name": "goodsCodes",
  11516. "in": "query"
  11517. }
  11518. ],
  11519. "responses": {
  11520. "200": {
  11521. "description": "OK",
  11522. "schema": {
  11523. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11524. }
  11525. },
  11526. "500": {
  11527. "description": "Internal Server Error",
  11528. "schema": {
  11529. "$ref": "#/definitions/app.Response"
  11530. }
  11531. }
  11532. }
  11533. }
  11534. },
  11535. "/Quote/QueryTSData": {
  11536. "get": {
  11537. "security": [
  11538. {
  11539. "ApiKeyAuth": []
  11540. }
  11541. ],
  11542. "produces": [
  11543. "application/json"
  11544. ],
  11545. "tags": [
  11546. "行情服务"
  11547. ],
  11548. "summary": "分时图数据查询",
  11549. "parameters": [
  11550. {
  11551. "type": "string",
  11552. "description": "商品代码",
  11553. "name": "goodsCode",
  11554. "in": "query",
  11555. "required": true
  11556. }
  11557. ],
  11558. "responses": {
  11559. "200": {
  11560. "description": "OK",
  11561. "schema": {
  11562. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11563. }
  11564. },
  11565. "500": {
  11566. "description": "Internal Server Error",
  11567. "schema": {
  11568. "$ref": "#/definitions/app.Response"
  11569. }
  11570. }
  11571. }
  11572. }
  11573. },
  11574. "/SZDZ/QueryConvertConfig": {
  11575. "get": {
  11576. "security": [
  11577. {
  11578. "ApiKeyAuth": []
  11579. }
  11580. ],
  11581. "produces": [
  11582. "application/json"
  11583. ],
  11584. "tags": [
  11585. "定制【尚志大宗】"
  11586. ],
  11587. "summary": "查询交易系统转换设置",
  11588. "parameters": [
  11589. {
  11590. "type": "integer",
  11591. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11592. "name": "convertType",
  11593. "in": "query"
  11594. },
  11595. {
  11596. "type": "string",
  11597. "description": "外部商品代码[JD\\PD]",
  11598. "name": "outerGoodsCode",
  11599. "in": "query"
  11600. },
  11601. {
  11602. "type": "string",
  11603. "description": "内部商品ID列表[交易],格式:1,2,3",
  11604. "name": "innerGoodsIDs",
  11605. "in": "query"
  11606. }
  11607. ],
  11608. "responses": {
  11609. "200": {
  11610. "description": "OK",
  11611. "schema": {
  11612. "$ref": "#/definitions/models.Szdz3convertconfig"
  11613. }
  11614. },
  11615. "500": {
  11616. "description": "Internal Server Error",
  11617. "schema": {
  11618. "$ref": "#/definitions/app.Response"
  11619. }
  11620. }
  11621. }
  11622. }
  11623. },
  11624. "/SZDZ/QueryConvertLog": {
  11625. "get": {
  11626. "security": [
  11627. {
  11628. "ApiKeyAuth": []
  11629. }
  11630. ],
  11631. "produces": [
  11632. "application/json"
  11633. ],
  11634. "tags": [
  11635. "定制【尚志大宗】"
  11636. ],
  11637. "summary": "交易系统转换流水查询",
  11638. "parameters": [
  11639. {
  11640. "type": "string",
  11641. "description": "资金账户 - 格式:1,2,3",
  11642. "name": "accountID",
  11643. "in": "query",
  11644. "required": true
  11645. },
  11646. {
  11647. "type": "string",
  11648. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11649. "name": "startDate",
  11650. "in": "query"
  11651. },
  11652. {
  11653. "type": "string",
  11654. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11655. "name": "endDate",
  11656. "in": "query"
  11657. }
  11658. ],
  11659. "responses": {
  11660. "200": {
  11661. "description": "OK",
  11662. "schema": {
  11663. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11664. }
  11665. },
  11666. "500": {
  11667. "description": "Internal Server Error",
  11668. "schema": {
  11669. "$ref": "#/definitions/app.Response"
  11670. }
  11671. }
  11672. }
  11673. }
  11674. },
  11675. "/SZDZ/QueryGoodsPickup": {
  11676. "get": {
  11677. "security": [
  11678. {
  11679. "ApiKeyAuth": []
  11680. }
  11681. ],
  11682. "produces": [
  11683. "application/json"
  11684. ],
  11685. "tags": [
  11686. "定制【尚志大宗】"
  11687. ],
  11688. "summary": "商品提货单查询",
  11689. "parameters": [
  11690. {
  11691. "type": "string",
  11692. "description": "资金账户 - 格式:1,2,3",
  11693. "name": "accountID",
  11694. "in": "query",
  11695. "required": true
  11696. },
  11697. {
  11698. "type": "integer",
  11699. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11700. "name": "takeOrderStatus",
  11701. "in": "query"
  11702. }
  11703. ],
  11704. "responses": {
  11705. "200": {
  11706. "description": "OK",
  11707. "schema": {
  11708. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11709. }
  11710. },
  11711. "500": {
  11712. "description": "Internal Server Error",
  11713. "schema": {
  11714. "$ref": "#/definitions/app.Response"
  11715. }
  11716. }
  11717. }
  11718. }
  11719. },
  11720. "/SZDZ/QueryRecieptOrder": {
  11721. "get": {
  11722. "security": [
  11723. {
  11724. "ApiKeyAuth": []
  11725. }
  11726. ],
  11727. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11728. "produces": [
  11729. "application/json"
  11730. ],
  11731. "tags": [
  11732. "定制【尚志大宗】"
  11733. ],
  11734. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11735. "parameters": [
  11736. {
  11737. "type": "integer",
  11738. "description": "页码",
  11739. "name": "page",
  11740. "in": "query"
  11741. },
  11742. {
  11743. "type": "integer",
  11744. "description": "每页条数",
  11745. "name": "pagesize",
  11746. "in": "query"
  11747. },
  11748. {
  11749. "type": "integer",
  11750. "description": "商品ID",
  11751. "name": "goodsID",
  11752. "in": "query",
  11753. "required": true
  11754. },
  11755. {
  11756. "type": "string",
  11757. "description": "所属账户名称",
  11758. "name": "accountName",
  11759. "in": "query"
  11760. },
  11761. {
  11762. "type": "integer",
  11763. "description": "市场ID",
  11764. "name": "marketID",
  11765. "in": "query"
  11766. },
  11767. {
  11768. "type": "integer",
  11769. "description": "方向 - 0:买 1:卖",
  11770. "name": "buyorsell",
  11771. "in": "query",
  11772. "required": true
  11773. }
  11774. ],
  11775. "responses": {
  11776. "200": {
  11777. "description": "OK",
  11778. "schema": {
  11779. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  11780. }
  11781. },
  11782. "500": {
  11783. "description": "Internal Server Error",
  11784. "schema": {
  11785. "$ref": "#/definitions/app.Response"
  11786. }
  11787. }
  11788. }
  11789. }
  11790. },
  11791. "/SZDZ/QuerySZDZTradePosition": {
  11792. "get": {
  11793. "security": [
  11794. {
  11795. "ApiKeyAuth": []
  11796. }
  11797. ],
  11798. "produces": [
  11799. "application/json"
  11800. ],
  11801. "tags": [
  11802. "定制【尚志大宗】"
  11803. ],
  11804. "summary": "持仓汇总查询(尚志大宗)",
  11805. "parameters": [
  11806. {
  11807. "type": "integer",
  11808. "description": "资金账户",
  11809. "name": "accountID",
  11810. "in": "query",
  11811. "required": true
  11812. }
  11813. ],
  11814. "responses": {
  11815. "200": {
  11816. "description": "OK",
  11817. "schema": {
  11818. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  11819. }
  11820. },
  11821. "500": {
  11822. "description": "Internal Server Error",
  11823. "schema": {
  11824. "$ref": "#/definitions/app.Response"
  11825. }
  11826. }
  11827. }
  11828. }
  11829. },
  11830. "/SZDZ/SearchWhite": {
  11831. "get": {
  11832. "security": [
  11833. {
  11834. "ApiKeyAuth": []
  11835. }
  11836. ],
  11837. "produces": [
  11838. "application/json"
  11839. ],
  11840. "tags": [
  11841. "定制【尚志大宗】"
  11842. ],
  11843. "summary": "搜索白名单",
  11844. "parameters": [
  11845. {
  11846. "type": "integer",
  11847. "description": "用户ID",
  11848. "name": "userID",
  11849. "in": "query",
  11850. "required": true
  11851. }
  11852. ],
  11853. "responses": {
  11854. "200": {
  11855. "description": "OK",
  11856. "schema": {
  11857. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11858. }
  11859. },
  11860. "500": {
  11861. "description": "Internal Server Error",
  11862. "schema": {
  11863. "$ref": "#/definitions/app.Response"
  11864. }
  11865. }
  11866. }
  11867. }
  11868. },
  11869. "/Search/SearchGoodses": {
  11870. "get": {
  11871. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11872. "produces": [
  11873. "application/json"
  11874. ],
  11875. "tags": [
  11876. "检索服务"
  11877. ],
  11878. "summary": "检索商品信息",
  11879. "parameters": [
  11880. {
  11881. "type": "string",
  11882. "description": "检索内容",
  11883. "name": "content",
  11884. "in": "query",
  11885. "required": true
  11886. },
  11887. {
  11888. "type": "string",
  11889. "description": "交易模式,格式:1,2,3",
  11890. "name": "tradeModes",
  11891. "in": "query"
  11892. }
  11893. ],
  11894. "responses": {
  11895. "200": {
  11896. "description": "OK",
  11897. "schema": {
  11898. "$ref": "#/definitions/models.SearchGoods"
  11899. }
  11900. },
  11901. "500": {
  11902. "description": "Internal Server Error",
  11903. "schema": {
  11904. "$ref": "#/definitions/app.Response"
  11905. }
  11906. }
  11907. }
  11908. }
  11909. },
  11910. "/TaAccount/GetTaAccounts": {
  11911. "get": {
  11912. "security": [
  11913. {
  11914. "ApiKeyAuth": []
  11915. }
  11916. ],
  11917. "produces": [
  11918. "application/json"
  11919. ],
  11920. "tags": [
  11921. "资金账户"
  11922. ],
  11923. "summary": "获取资金账户信息",
  11924. "parameters": [
  11925. {
  11926. "type": "integer",
  11927. "description": "登录账户",
  11928. "name": "loginID",
  11929. "in": "query",
  11930. "required": true
  11931. },
  11932. {
  11933. "type": "integer",
  11934. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  11935. "name": "taAccountType",
  11936. "in": "query"
  11937. }
  11938. ],
  11939. "responses": {
  11940. "200": {
  11941. "description": "OK",
  11942. "schema": {
  11943. "$ref": "#/definitions/models.Taaccount"
  11944. }
  11945. },
  11946. "500": {
  11947. "description": "Internal Server Error",
  11948. "schema": {
  11949. "$ref": "#/definitions/app.Response"
  11950. }
  11951. }
  11952. }
  11953. }
  11954. },
  11955. "/TaAccount/QueryAmountLog": {
  11956. "get": {
  11957. "security": [
  11958. {
  11959. "ApiKeyAuth": []
  11960. }
  11961. ],
  11962. "produces": [
  11963. "application/json"
  11964. ],
  11965. "tags": [
  11966. "资金账户"
  11967. ],
  11968. "summary": "资金流水查询(当前)",
  11969. "parameters": [
  11970. {
  11971. "type": "integer",
  11972. "description": "页码",
  11973. "name": "page",
  11974. "in": "query"
  11975. },
  11976. {
  11977. "type": "integer",
  11978. "description": "每页条数",
  11979. "name": "pagesize",
  11980. "in": "query"
  11981. },
  11982. {
  11983. "type": "string",
  11984. "description": "资金账户 - 格式:1,2,3",
  11985. "name": "accountID",
  11986. "in": "query",
  11987. "required": true
  11988. },
  11989. {
  11990. "type": "string",
  11991. "description": "资金操作类型 - 格式:1,2,3",
  11992. "name": "OperateType",
  11993. "in": "query"
  11994. }
  11995. ],
  11996. "responses": {
  11997. "200": {
  11998. "description": "OK",
  11999. "schema": {
  12000. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12001. }
  12002. },
  12003. "500": {
  12004. "description": "Internal Server Error",
  12005. "schema": {
  12006. "$ref": "#/definitions/app.Response"
  12007. }
  12008. }
  12009. }
  12010. }
  12011. },
  12012. "/TaAccount/QueryHisAmountLog": {
  12013. "get": {
  12014. "security": [
  12015. {
  12016. "ApiKeyAuth": []
  12017. }
  12018. ],
  12019. "produces": [
  12020. "application/json"
  12021. ],
  12022. "tags": [
  12023. "资金账户"
  12024. ],
  12025. "summary": "资金流水查询(历史)",
  12026. "parameters": [
  12027. {
  12028. "type": "integer",
  12029. "description": "页码",
  12030. "name": "page",
  12031. "in": "query"
  12032. },
  12033. {
  12034. "type": "integer",
  12035. "description": "每页条数",
  12036. "name": "pagesize",
  12037. "in": "query"
  12038. },
  12039. {
  12040. "type": "string",
  12041. "description": "资金账户 - 格式:1,2,3",
  12042. "name": "accountID",
  12043. "in": "query",
  12044. "required": true
  12045. },
  12046. {
  12047. "type": "string",
  12048. "description": "资金操作类型 - 格式:1,2,3",
  12049. "name": "OperateType",
  12050. "in": "query"
  12051. },
  12052. {
  12053. "type": "string",
  12054. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12055. "name": "startDate",
  12056. "in": "query"
  12057. },
  12058. {
  12059. "type": "string",
  12060. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12061. "name": "endDate",
  12062. "in": "query"
  12063. }
  12064. ],
  12065. "responses": {
  12066. "200": {
  12067. "description": "OK",
  12068. "schema": {
  12069. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12070. }
  12071. },
  12072. "500": {
  12073. "description": "Internal Server Error",
  12074. "schema": {
  12075. "$ref": "#/definitions/app.Response"
  12076. }
  12077. }
  12078. }
  12079. }
  12080. },
  12081. "/TaAccount/QueryRelatedTaAccount": {
  12082. "get": {
  12083. "security": [
  12084. {
  12085. "ApiKeyAuth": []
  12086. }
  12087. ],
  12088. "produces": [
  12089. "application/json"
  12090. ],
  12091. "tags": [
  12092. "资金账户"
  12093. ],
  12094. "summary": "查询关联资金账户信息",
  12095. "parameters": [
  12096. {
  12097. "type": "integer",
  12098. "description": "关联UserID",
  12099. "name": "relateduserid",
  12100. "in": "query",
  12101. "required": true
  12102. }
  12103. ],
  12104. "responses": {
  12105. "200": {
  12106. "description": "OK",
  12107. "schema": {
  12108. "type": "array",
  12109. "items": {
  12110. "$ref": "#/definitions/models.RelatedTaAccount"
  12111. }
  12112. }
  12113. },
  12114. "500": {
  12115. "description": "Internal Server Error",
  12116. "schema": {
  12117. "$ref": "#/definitions/app.Response"
  12118. }
  12119. }
  12120. }
  12121. }
  12122. },
  12123. "/Tjmd/QueryQuoteGoodsList": {
  12124. "get": {
  12125. "security": [
  12126. {
  12127. "ApiKeyAuth": []
  12128. }
  12129. ],
  12130. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12131. "produces": [
  12132. "application/json"
  12133. ],
  12134. "tags": [
  12135. "天津麦顿"
  12136. ],
  12137. "summary": "查询掉期报价列表",
  12138. "parameters": [
  12139. {
  12140. "type": "integer",
  12141. "description": "用户类型",
  12142. "name": "usertype",
  12143. "in": "query",
  12144. "required": true
  12145. },
  12146. {
  12147. "type": "string",
  12148. "description": "市场id, 格式 1,2,3",
  12149. "name": "marketids",
  12150. "in": "query"
  12151. },
  12152. {
  12153. "type": "integer",
  12154. "description": "商品组id",
  12155. "name": "goodsgroupid",
  12156. "in": "query"
  12157. },
  12158. {
  12159. "type": "integer",
  12160. "description": "商品id",
  12161. "name": "goodsid",
  12162. "in": "query"
  12163. }
  12164. ],
  12165. "responses": {
  12166. "200": {
  12167. "description": "OK",
  12168. "schema": {
  12169. "type": "array",
  12170. "items": {
  12171. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12172. }
  12173. }
  12174. },
  12175. "500": {
  12176. "description": "Internal Server Error",
  12177. "schema": {
  12178. "$ref": "#/definitions/app.Response"
  12179. }
  12180. }
  12181. }
  12182. }
  12183. },
  12184. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12185. "get": {
  12186. "security": [
  12187. {
  12188. "ApiKeyAuth": []
  12189. }
  12190. ],
  12191. "produces": [
  12192. "application/json"
  12193. ],
  12194. "tags": [
  12195. "天津麦顿"
  12196. ],
  12197. "summary": "掉期商品订单详情(交易确认书)",
  12198. "parameters": [
  12199. {
  12200. "type": "string",
  12201. "description": "成交单号",
  12202. "name": "tradeid",
  12203. "in": "query",
  12204. "required": true
  12205. }
  12206. ],
  12207. "responses": {
  12208. "200": {
  12209. "description": "OK",
  12210. "schema": {
  12211. "type": "array",
  12212. "items": {
  12213. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12214. }
  12215. }
  12216. },
  12217. "500": {
  12218. "description": "Internal Server Error",
  12219. "schema": {
  12220. "$ref": "#/definitions/app.Response"
  12221. }
  12222. }
  12223. }
  12224. }
  12225. },
  12226. "/Tjmd/QueryTjmdMarketSection": {
  12227. "get": {
  12228. "security": [
  12229. {
  12230. "ApiKeyAuth": []
  12231. }
  12232. ],
  12233. "produces": [
  12234. "application/json"
  12235. ],
  12236. "tags": [
  12237. "天津麦顿"
  12238. ],
  12239. "summary": "查询市场板块",
  12240. "responses": {
  12241. "200": {
  12242. "description": "OK",
  12243. "schema": {
  12244. "type": "array",
  12245. "items": {
  12246. "$ref": "#/definitions/models.TjmdMarketSection"
  12247. }
  12248. }
  12249. },
  12250. "500": {
  12251. "description": "Internal Server Error",
  12252. "schema": {
  12253. "$ref": "#/definitions/app.Response"
  12254. }
  12255. }
  12256. }
  12257. }
  12258. },
  12259. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12260. "get": {
  12261. "security": [
  12262. {
  12263. "ApiKeyAuth": []
  12264. }
  12265. ],
  12266. "produces": [
  12267. "application/json"
  12268. ],
  12269. "tags": [
  12270. "天津麦顿"
  12271. ],
  12272. "summary": "查询今日账户保证金配置",
  12273. "parameters": [
  12274. {
  12275. "type": "string",
  12276. "description": "市场id",
  12277. "name": "marketid",
  12278. "in": "query"
  12279. },
  12280. {
  12281. "type": "string",
  12282. "description": "商品id",
  12283. "name": "goodsid",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "string",
  12288. "description": "资金账号",
  12289. "name": "accountid",
  12290. "in": "query"
  12291. }
  12292. ],
  12293. "responses": {
  12294. "200": {
  12295. "description": "OK",
  12296. "schema": {
  12297. "type": "array",
  12298. "items": {
  12299. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12300. }
  12301. }
  12302. },
  12303. "500": {
  12304. "description": "Internal Server Error",
  12305. "schema": {
  12306. "$ref": "#/definitions/app.Response"
  12307. }
  12308. }
  12309. }
  12310. }
  12311. },
  12312. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12313. "get": {
  12314. "security": [
  12315. {
  12316. "ApiKeyAuth": []
  12317. }
  12318. ],
  12319. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12320. "produces": [
  12321. "application/json"
  12322. ],
  12323. "tags": [
  12324. "天津麦顿"
  12325. ],
  12326. "summary": "查询掉期买卖大厅",
  12327. "parameters": [
  12328. {
  12329. "type": "integer",
  12330. "description": "页码",
  12331. "name": "page",
  12332. "in": "query"
  12333. },
  12334. {
  12335. "type": "integer",
  12336. "description": "每页条数",
  12337. "name": "pagesize",
  12338. "in": "query"
  12339. },
  12340. {
  12341. "type": "integer",
  12342. "description": "用户id",
  12343. "name": "userid",
  12344. "in": "query",
  12345. "required": true
  12346. },
  12347. {
  12348. "type": "integer",
  12349. "description": "用户类型",
  12350. "name": "usertype",
  12351. "in": "query",
  12352. "required": true
  12353. },
  12354. {
  12355. "type": "string",
  12356. "description": "市场id, 格式 1,2,3",
  12357. "name": "marketids",
  12358. "in": "query"
  12359. },
  12360. {
  12361. "type": "integer",
  12362. "description": "商品id",
  12363. "name": "goodsid",
  12364. "in": "query",
  12365. "required": true
  12366. },
  12367. {
  12368. "type": "integer",
  12369. "description": "买卖方向 0-买 1-卖",
  12370. "name": "buyorsell",
  12371. "in": "query",
  12372. "required": true
  12373. }
  12374. ],
  12375. "responses": {
  12376. "200": {
  12377. "description": "OK",
  12378. "schema": {
  12379. "type": "array",
  12380. "items": {
  12381. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12382. }
  12383. }
  12384. },
  12385. "500": {
  12386. "description": "Internal Server Error",
  12387. "schema": {
  12388. "$ref": "#/definitions/app.Response"
  12389. }
  12390. }
  12391. }
  12392. }
  12393. },
  12394. "/Tjmd/QueryTjmdTransferApply": {
  12395. "get": {
  12396. "security": [
  12397. {
  12398. "ApiKeyAuth": []
  12399. }
  12400. ],
  12401. "produces": [
  12402. "application/json"
  12403. ],
  12404. "tags": [
  12405. "天津麦顿"
  12406. ],
  12407. "summary": "查询掉期协议单",
  12408. "parameters": [
  12409. {
  12410. "type": "integer",
  12411. "description": "类型 1-我的申请 2-对方申请",
  12412. "name": "applytype",
  12413. "in": "query",
  12414. "required": true
  12415. },
  12416. {
  12417. "type": "string",
  12418. "description": "市场id, 格式 1,2,3",
  12419. "name": "marketids",
  12420. "in": "query"
  12421. },
  12422. {
  12423. "type": "string",
  12424. "description": "资金账号, 格式 25000000001,25000000003",
  12425. "name": "accountids",
  12426. "in": "query"
  12427. },
  12428. {
  12429. "type": "string",
  12430. "description": "开始交易日(yyyymmdd)",
  12431. "name": "begindate",
  12432. "in": "query"
  12433. },
  12434. {
  12435. "type": "string",
  12436. "description": "结束交易日(yyyymmdd)",
  12437. "name": "enddate",
  12438. "in": "query"
  12439. }
  12440. ],
  12441. "responses": {
  12442. "200": {
  12443. "description": "OK",
  12444. "schema": {
  12445. "type": "array",
  12446. "items": {
  12447. "$ref": "#/definitions/models.TjmdTransferApply"
  12448. }
  12449. }
  12450. },
  12451. "500": {
  12452. "description": "Internal Server Error",
  12453. "schema": {
  12454. "$ref": "#/definitions/app.Response"
  12455. }
  12456. }
  12457. }
  12458. }
  12459. },
  12460. "/Trade/QueryRecieptOrder": {
  12461. "get": {
  12462. "security": [
  12463. {
  12464. "ApiKeyAuth": []
  12465. }
  12466. ],
  12467. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12468. "produces": [
  12469. "application/json"
  12470. ],
  12471. "tags": [
  12472. "通用交易"
  12473. ],
  12474. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12475. "parameters": [
  12476. {
  12477. "type": "integer",
  12478. "description": "页码",
  12479. "name": "page",
  12480. "in": "query"
  12481. },
  12482. {
  12483. "type": "integer",
  12484. "description": "每页条数",
  12485. "name": "pagesize",
  12486. "in": "query"
  12487. },
  12488. {
  12489. "type": "integer",
  12490. "description": "商品ID",
  12491. "name": "goodsID",
  12492. "in": "query",
  12493. "required": true
  12494. },
  12495. {
  12496. "type": "string",
  12497. "description": "所属账户名称",
  12498. "name": "accountName",
  12499. "in": "query"
  12500. },
  12501. {
  12502. "type": "integer",
  12503. "description": "市场ID",
  12504. "name": "marketID",
  12505. "in": "query"
  12506. },
  12507. {
  12508. "type": "integer",
  12509. "description": "方向 - 0:买 1:卖",
  12510. "name": "buyorsell",
  12511. "in": "query",
  12512. "required": true
  12513. }
  12514. ],
  12515. "responses": {
  12516. "200": {
  12517. "description": "OK",
  12518. "schema": {
  12519. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12520. }
  12521. },
  12522. "500": {
  12523. "description": "Internal Server Error",
  12524. "schema": {
  12525. "$ref": "#/definitions/app.Response"
  12526. }
  12527. }
  12528. }
  12529. }
  12530. },
  12531. "/User/AddMessageBoard": {
  12532. "post": {
  12533. "security": [
  12534. {
  12535. "ApiKeyAuth": []
  12536. }
  12537. ],
  12538. "produces": [
  12539. "application/json"
  12540. ],
  12541. "tags": [
  12542. "用户信息"
  12543. ],
  12544. "summary": "添加用户留言板信息",
  12545. "parameters": [
  12546. {
  12547. "type": "integer",
  12548. "description": "用户ID",
  12549. "name": "userID",
  12550. "in": "query",
  12551. "required": true
  12552. },
  12553. {
  12554. "type": "string",
  12555. "description": "留言信息",
  12556. "name": "message",
  12557. "in": "query",
  12558. "required": true
  12559. },
  12560. {
  12561. "type": "string",
  12562. "description": "联系电话",
  12563. "name": "contactNum",
  12564. "in": "query",
  12565. "required": true
  12566. }
  12567. ],
  12568. "responses": {
  12569. "200": {
  12570. "description": "OK",
  12571. "schema": {
  12572. "$ref": "#/definitions/app.Response"
  12573. }
  12574. },
  12575. "500": {
  12576. "description": "Internal Server Error",
  12577. "schema": {
  12578. "$ref": "#/definitions/app.Response"
  12579. }
  12580. }
  12581. }
  12582. }
  12583. },
  12584. "/User/AddUserFavoriteGoods": {
  12585. "post": {
  12586. "security": [
  12587. {
  12588. "ApiKeyAuth": []
  12589. }
  12590. ],
  12591. "produces": [
  12592. "application/json"
  12593. ],
  12594. "tags": [
  12595. "用户信息"
  12596. ],
  12597. "summary": "添加用户商品收藏信息",
  12598. "parameters": [
  12599. {
  12600. "type": "integer",
  12601. "description": "用户ID",
  12602. "name": "userID",
  12603. "in": "query",
  12604. "required": true
  12605. },
  12606. {
  12607. "type": "integer",
  12608. "description": "商品ID",
  12609. "name": "goodsID",
  12610. "in": "query",
  12611. "required": true
  12612. }
  12613. ],
  12614. "responses": {
  12615. "200": {
  12616. "description": "OK",
  12617. "schema": {
  12618. "$ref": "#/definitions/app.Response"
  12619. }
  12620. },
  12621. "500": {
  12622. "description": "Internal Server Error",
  12623. "schema": {
  12624. "$ref": "#/definitions/app.Response"
  12625. }
  12626. }
  12627. }
  12628. }
  12629. },
  12630. "/User/GetLoginID": {
  12631. "get": {
  12632. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12633. "produces": [
  12634. "application/json"
  12635. ],
  12636. "tags": [
  12637. "用户信息"
  12638. ],
  12639. "summary": "获取登录ID",
  12640. "parameters": [
  12641. {
  12642. "type": "string",
  12643. "description": "登录代码",
  12644. "name": "username",
  12645. "in": "query",
  12646. "required": true
  12647. }
  12648. ],
  12649. "responses": {
  12650. "200": {
  12651. "description": "OK",
  12652. "schema": {
  12653. "$ref": "#/definitions/app.Response"
  12654. }
  12655. },
  12656. "500": {
  12657. "description": "Internal Server Error",
  12658. "schema": {
  12659. "$ref": "#/definitions/app.Response"
  12660. }
  12661. }
  12662. }
  12663. }
  12664. },
  12665. "/User/GetUserAccount": {
  12666. "get": {
  12667. "security": [
  12668. {
  12669. "ApiKeyAuth": []
  12670. }
  12671. ],
  12672. "produces": [
  12673. "application/json"
  12674. ],
  12675. "tags": [
  12676. "用户信息"
  12677. ],
  12678. "summary": "获取用户账号信息",
  12679. "parameters": [
  12680. {
  12681. "type": "integer",
  12682. "description": "用户ID",
  12683. "name": "userID",
  12684. "in": "query",
  12685. "required": true
  12686. }
  12687. ],
  12688. "responses": {
  12689. "200": {
  12690. "description": "OK",
  12691. "schema": {
  12692. "$ref": "#/definitions/models.Useraccount"
  12693. }
  12694. },
  12695. "500": {
  12696. "description": "Internal Server Error",
  12697. "schema": {
  12698. "$ref": "#/definitions/app.Response"
  12699. }
  12700. }
  12701. }
  12702. }
  12703. },
  12704. "/User/GetUserAuthStatus": {
  12705. "get": {
  12706. "security": [
  12707. {
  12708. "ApiKeyAuth": []
  12709. }
  12710. ],
  12711. "produces": [
  12712. "application/json"
  12713. ],
  12714. "tags": [
  12715. "用户信息"
  12716. ],
  12717. "summary": "获取用户实名认证状态",
  12718. "parameters": [
  12719. {
  12720. "type": "integer",
  12721. "description": "用户ID",
  12722. "name": "userID",
  12723. "in": "query",
  12724. "required": true
  12725. }
  12726. ],
  12727. "responses": {
  12728. "200": {
  12729. "description": "OK",
  12730. "schema": {
  12731. "$ref": "#/definitions/app.Response"
  12732. }
  12733. },
  12734. "500": {
  12735. "description": "Internal Server Error",
  12736. "schema": {
  12737. "$ref": "#/definitions/app.Response"
  12738. }
  12739. }
  12740. }
  12741. }
  12742. },
  12743. "/User/LoginQuery": {
  12744. "get": {
  12745. "security": [
  12746. {
  12747. "ApiKeyAuth": []
  12748. }
  12749. ],
  12750. "produces": [
  12751. "application/json"
  12752. ],
  12753. "tags": [
  12754. "用户信息"
  12755. ],
  12756. "summary": "账户登录后信息查询",
  12757. "parameters": [
  12758. {
  12759. "type": "integer",
  12760. "description": "登录账号",
  12761. "name": "loginID",
  12762. "in": "query",
  12763. "required": true
  12764. }
  12765. ],
  12766. "responses": {
  12767. "200": {
  12768. "description": "OK",
  12769. "schema": {
  12770. "$ref": "#/definitions/user.LoginQueryRsp"
  12771. }
  12772. },
  12773. "500": {
  12774. "description": "Internal Server Error",
  12775. "schema": {
  12776. "$ref": "#/definitions/app.Response"
  12777. }
  12778. }
  12779. }
  12780. }
  12781. },
  12782. "/User/QueryMessageBoard": {
  12783. "get": {
  12784. "security": [
  12785. {
  12786. "ApiKeyAuth": []
  12787. }
  12788. ],
  12789. "produces": [
  12790. "application/json"
  12791. ],
  12792. "tags": [
  12793. "用户信息"
  12794. ],
  12795. "summary": "获取用户留言板信息",
  12796. "parameters": [
  12797. {
  12798. "type": "integer",
  12799. "description": "用户ID",
  12800. "name": "userID",
  12801. "in": "query",
  12802. "required": true
  12803. }
  12804. ],
  12805. "responses": {
  12806. "200": {
  12807. "description": "OK",
  12808. "schema": {
  12809. "$ref": "#/definitions/models.Messageboard"
  12810. }
  12811. },
  12812. "500": {
  12813. "description": "Internal Server Error",
  12814. "schema": {
  12815. "$ref": "#/definitions/app.Response"
  12816. }
  12817. }
  12818. }
  12819. }
  12820. },
  12821. "/User/QueryUserFavoriteGoodses": {
  12822. "get": {
  12823. "security": [
  12824. {
  12825. "ApiKeyAuth": []
  12826. }
  12827. ],
  12828. "produces": [
  12829. "application/json"
  12830. ],
  12831. "tags": [
  12832. "用户信息"
  12833. ],
  12834. "summary": "获取用户商品收藏信息",
  12835. "parameters": [
  12836. {
  12837. "type": "integer",
  12838. "description": "用户ID",
  12839. "name": "userID",
  12840. "in": "query",
  12841. "required": true
  12842. }
  12843. ],
  12844. "responses": {
  12845. "200": {
  12846. "description": "OK",
  12847. "schema": {
  12848. "$ref": "#/definitions/models.Userfavoritegoods"
  12849. }
  12850. },
  12851. "500": {
  12852. "description": "Internal Server Error",
  12853. "schema": {
  12854. "$ref": "#/definitions/app.Response"
  12855. }
  12856. }
  12857. }
  12858. }
  12859. },
  12860. "/User/QueryUserInfo": {
  12861. "get": {
  12862. "security": [
  12863. {
  12864. "ApiKeyAuth": []
  12865. }
  12866. ],
  12867. "produces": [
  12868. "application/json"
  12869. ],
  12870. "tags": [
  12871. "用户信息"
  12872. ],
  12873. "summary": "获取用户信息",
  12874. "parameters": [
  12875. {
  12876. "type": "integer",
  12877. "description": "用户ID",
  12878. "name": "userID",
  12879. "in": "query",
  12880. "required": true
  12881. },
  12882. {
  12883. "type": "boolean",
  12884. "description": "是否解密",
  12885. "name": "isDecrypt",
  12886. "in": "query"
  12887. }
  12888. ],
  12889. "responses": {
  12890. "200": {
  12891. "description": "OK",
  12892. "schema": {
  12893. "$ref": "#/definitions/models.Userinfo"
  12894. }
  12895. },
  12896. "500": {
  12897. "description": "Internal Server Error",
  12898. "schema": {
  12899. "$ref": "#/definitions/app.Response"
  12900. }
  12901. }
  12902. }
  12903. }
  12904. },
  12905. "/User/QueryUserReferNum": {
  12906. "get": {
  12907. "produces": [
  12908. "application/json"
  12909. ],
  12910. "tags": [
  12911. "用户信息"
  12912. ],
  12913. "summary": "获取用户邀请码",
  12914. "parameters": [
  12915. {
  12916. "type": "integer",
  12917. "description": "用户ID",
  12918. "name": "userID",
  12919. "in": "query",
  12920. "required": true
  12921. }
  12922. ],
  12923. "responses": {
  12924. "200": {
  12925. "description": "OK",
  12926. "schema": {
  12927. "$ref": "#/definitions/app.Response"
  12928. }
  12929. },
  12930. "500": {
  12931. "description": "Internal Server Error",
  12932. "schema": {
  12933. "$ref": "#/definitions/app.Response"
  12934. }
  12935. }
  12936. }
  12937. }
  12938. },
  12939. "/User/RemoveUserFavoriteGoods": {
  12940. "post": {
  12941. "security": [
  12942. {
  12943. "ApiKeyAuth": []
  12944. }
  12945. ],
  12946. "produces": [
  12947. "application/json"
  12948. ],
  12949. "tags": [
  12950. "用户信息"
  12951. ],
  12952. "summary": "移除用户商品收藏信息",
  12953. "parameters": [
  12954. {
  12955. "type": "integer",
  12956. "description": "用户ID",
  12957. "name": "userID",
  12958. "in": "query",
  12959. "required": true
  12960. },
  12961. {
  12962. "type": "integer",
  12963. "description": "商品ID",
  12964. "name": "goodsID",
  12965. "in": "query",
  12966. "required": true
  12967. }
  12968. ],
  12969. "responses": {
  12970. "200": {
  12971. "description": "OK",
  12972. "schema": {
  12973. "$ref": "#/definitions/app.Response"
  12974. }
  12975. },
  12976. "500": {
  12977. "description": "Internal Server Error",
  12978. "schema": {
  12979. "$ref": "#/definitions/app.Response"
  12980. }
  12981. }
  12982. }
  12983. }
  12984. },
  12985. "/User/UpdateUserAccountStatus": {
  12986. "post": {
  12987. "security": [
  12988. {
  12989. "ApiKeyAuth": []
  12990. }
  12991. ],
  12992. "produces": [
  12993. "application/json"
  12994. ],
  12995. "tags": [
  12996. "用户信息"
  12997. ],
  12998. "summary": "更新用户状态",
  12999. "parameters": [
  13000. {
  13001. "type": "integer",
  13002. "description": "用户ID",
  13003. "name": "userID",
  13004. "in": "query",
  13005. "required": true
  13006. },
  13007. {
  13008. "type": "integer",
  13009. "description": "账户状态 - 4:正常 6:注销(停用)",
  13010. "name": "accountStatus",
  13011. "in": "query",
  13012. "required": true
  13013. }
  13014. ],
  13015. "responses": {
  13016. "200": {
  13017. "description": "OK",
  13018. "schema": {
  13019. "$ref": "#/definitions/app.Response"
  13020. }
  13021. },
  13022. "500": {
  13023. "description": "Internal Server Error",
  13024. "schema": {
  13025. "$ref": "#/definitions/app.Response"
  13026. }
  13027. }
  13028. }
  13029. }
  13030. },
  13031. "/WRTrade/GetAllDeliveryGoods": {
  13032. "get": {
  13033. "security": [
  13034. {
  13035. "ApiKeyAuth": []
  13036. }
  13037. ],
  13038. "produces": [
  13039. "application/json"
  13040. ],
  13041. "tags": [
  13042. "仓单贸易",
  13043. "仓单贸易"
  13044. ],
  13045. "summary": "获取带仓单分类的种类信息",
  13046. "responses": {
  13047. "200": {
  13048. "description": "OK",
  13049. "schema": {
  13050. "$ref": "#/definitions/app.Response"
  13051. }
  13052. },
  13053. "500": {
  13054. "description": "Internal Server Error",
  13055. "schema": {
  13056. "$ref": "#/definitions/app.Response"
  13057. }
  13058. }
  13059. }
  13060. }
  13061. },
  13062. "/WrTrade2/InsertXhcpSellBackApply": {
  13063. "post": {
  13064. "security": [
  13065. {
  13066. "ApiKeyAuth": []
  13067. }
  13068. ],
  13069. "produces": [
  13070. "application/json"
  13071. ],
  13072. "tags": [
  13073. "仓单贸易v2"
  13074. ],
  13075. "summary": "新增回收申请(新会陈皮)",
  13076. "parameters": [
  13077. {
  13078. "description": "回收申请",
  13079. "name": "jsonBody",
  13080. "in": "body",
  13081. "required": true,
  13082. "schema": {
  13083. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13084. }
  13085. }
  13086. ],
  13087. "responses": {
  13088. "200": {
  13089. "description": "OK",
  13090. "schema": {
  13091. "$ref": "#/definitions/app.Response"
  13092. }
  13093. },
  13094. "500": {
  13095. "description": "Internal Server Error",
  13096. "schema": {
  13097. "$ref": "#/definitions/app.Response"
  13098. }
  13099. }
  13100. }
  13101. }
  13102. },
  13103. "/WrTrade2/QueryDeliveryGoodsSection": {
  13104. "get": {
  13105. "security": [
  13106. {
  13107. "ApiKeyAuth": []
  13108. }
  13109. ],
  13110. "produces": [
  13111. "application/json"
  13112. ],
  13113. "tags": [
  13114. "仓单贸易v2"
  13115. ],
  13116. "summary": "查询板块(分类)",
  13117. "responses": {
  13118. "200": {
  13119. "description": "OK",
  13120. "schema": {
  13121. "type": "array",
  13122. "items": {
  13123. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13124. }
  13125. }
  13126. },
  13127. "500": {
  13128. "description": "Internal Server Error",
  13129. "schema": {
  13130. "$ref": "#/definitions/app.Response"
  13131. }
  13132. }
  13133. }
  13134. }
  13135. },
  13136. "/WrTrade2/QueryFaProductDetail": {
  13137. "get": {
  13138. "security": [
  13139. {
  13140. "ApiKeyAuth": []
  13141. }
  13142. ],
  13143. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13144. "produces": [
  13145. "application/json"
  13146. ],
  13147. "tags": [
  13148. "仓单贸易v2"
  13149. ],
  13150. "summary": "查询融资产品列表",
  13151. "parameters": [
  13152. {
  13153. "type": "integer",
  13154. "description": "仓单要素id",
  13155. "name": "wrfactortypeid",
  13156. "in": "query",
  13157. "required": true
  13158. }
  13159. ],
  13160. "responses": {
  13161. "200": {
  13162. "description": "OK",
  13163. "schema": {
  13164. "type": "array",
  13165. "items": {
  13166. "$ref": "#/definitions/models.WrFAProductDetail"
  13167. }
  13168. }
  13169. },
  13170. "500": {
  13171. "description": "Internal Server Error",
  13172. "schema": {
  13173. "$ref": "#/definitions/app.Response"
  13174. }
  13175. }
  13176. }
  13177. }
  13178. },
  13179. "/WrTrade2/QueryFilterItem": {
  13180. "get": {
  13181. "security": [
  13182. {
  13183. "ApiKeyAuth": []
  13184. }
  13185. ],
  13186. "produces": [
  13187. "application/json"
  13188. ],
  13189. "tags": [
  13190. "仓单贸易v2"
  13191. ],
  13192. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13193. "parameters": [
  13194. {
  13195. "type": "string",
  13196. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13197. "name": "itype",
  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.WrFilterItem"
  13209. }
  13210. }
  13211. },
  13212. "500": {
  13213. "description": "Internal Server Error",
  13214. "schema": {
  13215. "$ref": "#/definitions/app.Response"
  13216. }
  13217. }
  13218. }
  13219. }
  13220. },
  13221. "/WrTrade2/QueryFtDeliveryGoods": {
  13222. "get": {
  13223. "security": [
  13224. {
  13225. "ApiKeyAuth": []
  13226. }
  13227. ],
  13228. "produces": [
  13229. "application/json"
  13230. ],
  13231. "tags": [
  13232. "仓单贸易v2"
  13233. ],
  13234. "summary": "查询品种品类筛选框列表",
  13235. "responses": {
  13236. "200": {
  13237. "description": "OK",
  13238. "schema": {
  13239. "type": "array",
  13240. "items": {
  13241. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13242. }
  13243. }
  13244. },
  13245. "500": {
  13246. "description": "Internal Server Error",
  13247. "schema": {
  13248. "$ref": "#/definitions/app.Response"
  13249. }
  13250. }
  13251. }
  13252. }
  13253. },
  13254. "/WrTrade2/QueryHoldLB": {
  13255. "get": {
  13256. "security": [
  13257. {
  13258. "ApiKeyAuth": []
  13259. }
  13260. ],
  13261. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13262. "produces": [
  13263. "application/json"
  13264. ],
  13265. "tags": [
  13266. "仓单贸易v2"
  13267. ],
  13268. "summary": "查询仓单持有记录",
  13269. "parameters": [
  13270. {
  13271. "type": "integer",
  13272. "description": "资金账号",
  13273. "name": "accountid",
  13274. "in": "query",
  13275. "required": true
  13276. },
  13277. {
  13278. "type": "integer",
  13279. "description": "仓库id",
  13280. "name": "warehouseid",
  13281. "in": "query"
  13282. },
  13283. {
  13284. "type": "integer",
  13285. "description": "品种id",
  13286. "name": "deliverygoodsid",
  13287. "in": "query"
  13288. },
  13289. {
  13290. "type": "integer",
  13291. "description": "品类id",
  13292. "name": "wrstandardid",
  13293. "in": "query"
  13294. },
  13295. {
  13296. "type": "integer",
  13297. "description": "仓单要素id",
  13298. "name": "wrfactortypeid",
  13299. "in": "query"
  13300. },
  13301. {
  13302. "type": "string",
  13303. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13304. "name": "dgitemname",
  13305. "in": "query"
  13306. }
  13307. ],
  13308. "responses": {
  13309. "200": {
  13310. "description": "OK",
  13311. "schema": {
  13312. "type": "array",
  13313. "items": {
  13314. "$ref": "#/definitions/models.WrHoldLB"
  13315. }
  13316. }
  13317. },
  13318. "500": {
  13319. "description": "Internal Server Error",
  13320. "schema": {
  13321. "$ref": "#/definitions/app.Response"
  13322. }
  13323. }
  13324. }
  13325. }
  13326. },
  13327. "/WrTrade2/QueryOrderQuote": {
  13328. "get": {
  13329. "security": [
  13330. {
  13331. "ApiKeyAuth": []
  13332. }
  13333. ],
  13334. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13335. "produces": [
  13336. "application/json"
  13337. ],
  13338. "tags": [
  13339. "仓单贸易v2"
  13340. ],
  13341. "summary": "查询大厅行情列表",
  13342. "parameters": [
  13343. {
  13344. "type": "integer",
  13345. "description": "页码",
  13346. "name": "page",
  13347. "in": "query"
  13348. },
  13349. {
  13350. "type": "integer",
  13351. "description": "每页条数",
  13352. "name": "pagesize",
  13353. "in": "query"
  13354. },
  13355. {
  13356. "type": "integer",
  13357. "description": "仓单贸易市场id",
  13358. "name": "marketid",
  13359. "in": "query"
  13360. },
  13361. {
  13362. "type": "integer",
  13363. "description": "价格方式 - 1:固定价 2-浮动价",
  13364. "name": "wrpricetype",
  13365. "in": "query",
  13366. "required": true
  13367. },
  13368. {
  13369. "type": "integer",
  13370. "description": "0:仓单预售 1:仓单贸易",
  13371. "name": "haswr",
  13372. "in": "query"
  13373. },
  13374. {
  13375. "type": "string",
  13376. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13377. "name": "dgitemname",
  13378. "in": "query"
  13379. },
  13380. {
  13381. "type": "integer",
  13382. "description": "仓库id(筛选条件)",
  13383. "name": "warehouseid",
  13384. "in": "query"
  13385. },
  13386. {
  13387. "type": "integer",
  13388. "description": "品种id",
  13389. "name": "deliverygoodsid",
  13390. "in": "query"
  13391. },
  13392. {
  13393. "type": "integer",
  13394. "description": "品类id",
  13395. "name": "wrstandardid",
  13396. "in": "query"
  13397. },
  13398. {
  13399. "type": "integer",
  13400. "description": "品牌id(dgfactoryitemid)",
  13401. "name": "brandid",
  13402. "in": "query"
  13403. },
  13404. {
  13405. "type": "integer",
  13406. "description": "年份id(dgfactoryitemid)",
  13407. "name": "yearsid",
  13408. "in": "query"
  13409. },
  13410. {
  13411. "type": "integer",
  13412. "description": "仓单要素id",
  13413. "name": "wrfactortypeid",
  13414. "in": "query"
  13415. },
  13416. {
  13417. "type": "string",
  13418. "description": "交收月(yyyy-mm) 仓单预售填写",
  13419. "name": "deliverymonth",
  13420. "in": "query"
  13421. }
  13422. ],
  13423. "responses": {
  13424. "200": {
  13425. "description": "OK",
  13426. "schema": {
  13427. "type": "array",
  13428. "items": {
  13429. "$ref": "#/definitions/models.WrOrderQuote"
  13430. }
  13431. }
  13432. },
  13433. "500": {
  13434. "description": "Internal Server Error",
  13435. "schema": {
  13436. "$ref": "#/definitions/app.Response"
  13437. }
  13438. }
  13439. }
  13440. }
  13441. },
  13442. "/WrTrade2/QueryOrderQuoteDetail": {
  13443. "get": {
  13444. "security": [
  13445. {
  13446. "ApiKeyAuth": []
  13447. }
  13448. ],
  13449. "produces": [
  13450. "application/json"
  13451. ],
  13452. "tags": [
  13453. "仓单贸易v2"
  13454. ],
  13455. "summary": "查询买卖大厅",
  13456. "parameters": [
  13457. {
  13458. "type": "integer",
  13459. "description": "页码",
  13460. "name": "page",
  13461. "in": "query"
  13462. },
  13463. {
  13464. "type": "integer",
  13465. "description": "每页条数",
  13466. "name": "pagesize",
  13467. "in": "query"
  13468. },
  13469. {
  13470. "type": "integer",
  13471. "description": "仓单贸易市场id",
  13472. "name": "marketid",
  13473. "in": "query"
  13474. },
  13475. {
  13476. "type": "integer",
  13477. "description": "价格方式 - 1:固定价 2-浮动价",
  13478. "name": "wrpricetype",
  13479. "in": "query",
  13480. "required": true
  13481. },
  13482. {
  13483. "type": "integer",
  13484. "description": "0:仓单预售 1:仓单贸易",
  13485. "name": "haswr",
  13486. "in": "query"
  13487. },
  13488. {
  13489. "type": "integer",
  13490. "description": "仓单要素id",
  13491. "name": "wrfactortypeid",
  13492. "in": "query",
  13493. "required": true
  13494. },
  13495. {
  13496. "type": "integer",
  13497. "description": "期货商品id(浮动价方式时填)",
  13498. "name": "goodsid",
  13499. "in": "query"
  13500. },
  13501. {
  13502. "type": "integer",
  13503. "description": "买卖方向 0-买 1-卖",
  13504. "name": "buyorsell",
  13505. "in": "query",
  13506. "required": true
  13507. },
  13508. {
  13509. "type": "string",
  13510. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13511. "name": "deliverymonth",
  13512. "in": "query"
  13513. }
  13514. ],
  13515. "responses": {
  13516. "200": {
  13517. "description": "OK",
  13518. "schema": {
  13519. "type": "array",
  13520. "items": {
  13521. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13522. }
  13523. }
  13524. },
  13525. "500": {
  13526. "description": "Internal Server Error",
  13527. "schema": {
  13528. "$ref": "#/definitions/app.Response"
  13529. }
  13530. }
  13531. }
  13532. }
  13533. },
  13534. "/WrTrade2/QueryOrderQuoteMyq": {
  13535. "get": {
  13536. "security": [
  13537. {
  13538. "ApiKeyAuth": []
  13539. }
  13540. ],
  13541. "produces": [
  13542. "application/json"
  13543. ],
  13544. "tags": [
  13545. "仓单贸易v2"
  13546. ],
  13547. "summary": "查询贸易圈挂牌大厅",
  13548. "parameters": [
  13549. {
  13550. "type": "integer",
  13551. "description": "页码",
  13552. "name": "page",
  13553. "in": "query"
  13554. },
  13555. {
  13556. "type": "integer",
  13557. "description": "每页条数",
  13558. "name": "pagesize",
  13559. "in": "query"
  13560. },
  13561. {
  13562. "type": "integer",
  13563. "description": "用户id",
  13564. "name": "userid",
  13565. "in": "query",
  13566. "required": true
  13567. },
  13568. {
  13569. "type": "integer",
  13570. "description": "仓单贸易市场id",
  13571. "name": "marketid",
  13572. "in": "query"
  13573. },
  13574. {
  13575. "type": "integer",
  13576. "description": "0:仓单预售 1:仓单贸易",
  13577. "name": "haswr",
  13578. "in": "query"
  13579. },
  13580. {
  13581. "type": "integer",
  13582. "description": "买卖方向 0-买 1-卖",
  13583. "name": "buyorsell",
  13584. "in": "query",
  13585. "required": true
  13586. },
  13587. {
  13588. "type": "integer",
  13589. "description": "品种id",
  13590. "name": "deliverygoodsid",
  13591. "in": "query"
  13592. },
  13593. {
  13594. "type": "integer",
  13595. "description": "品类id",
  13596. "name": "wrstandardid",
  13597. "in": "query"
  13598. },
  13599. {
  13600. "type": "string",
  13601. "description": "交收月(yyyy-mm) 仓单预售填写",
  13602. "name": "deliverymonth",
  13603. "in": "query"
  13604. },
  13605. {
  13606. "type": "string",
  13607. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13608. "name": "dgitemname",
  13609. "in": "query"
  13610. }
  13611. ],
  13612. "responses": {
  13613. "200": {
  13614. "description": "OK",
  13615. "schema": {
  13616. "type": "array",
  13617. "items": {
  13618. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13619. }
  13620. }
  13621. },
  13622. "500": {
  13623. "description": "Internal Server Error",
  13624. "schema": {
  13625. "$ref": "#/definitions/app.Response"
  13626. }
  13627. }
  13628. }
  13629. }
  13630. },
  13631. "/WrTrade2/QueryPerformancePlan": {
  13632. "get": {
  13633. "security": [
  13634. {
  13635. "ApiKeyAuth": []
  13636. }
  13637. ],
  13638. "produces": [
  13639. "application/json"
  13640. ],
  13641. "tags": [
  13642. "仓单贸易v2"
  13643. ],
  13644. "summary": "查询履约信息",
  13645. "parameters": [
  13646. {
  13647. "type": "integer",
  13648. "description": "用户id",
  13649. "name": "userid",
  13650. "in": "query",
  13651. "required": true
  13652. },
  13653. {
  13654. "type": "integer",
  13655. "description": "买卖方向 0-买 1-卖",
  13656. "name": "buyorsell",
  13657. "in": "query",
  13658. "required": true
  13659. },
  13660. {
  13661. "type": "string",
  13662. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13663. "name": "status",
  13664. "in": "query"
  13665. },
  13666. {
  13667. "type": "string",
  13668. "description": "开始交易日(yyyymmdd)",
  13669. "name": "begindate",
  13670. "in": "query"
  13671. },
  13672. {
  13673. "type": "string",
  13674. "description": "结束交易日(yyyymmdd)",
  13675. "name": "enddate",
  13676. "in": "query"
  13677. }
  13678. ],
  13679. "responses": {
  13680. "200": {
  13681. "description": "OK",
  13682. "schema": {
  13683. "type": "array",
  13684. "items": {
  13685. "$ref": "#/definitions/models.WrPerformancePlan"
  13686. }
  13687. }
  13688. },
  13689. "500": {
  13690. "description": "Internal Server Error",
  13691. "schema": {
  13692. "$ref": "#/definitions/app.Response"
  13693. }
  13694. }
  13695. }
  13696. }
  13697. },
  13698. "/WrTrade2/QueryPermancePlanTmp": {
  13699. "get": {
  13700. "security": [
  13701. {
  13702. "ApiKeyAuth": []
  13703. }
  13704. ],
  13705. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13706. "produces": [
  13707. "application/json"
  13708. ],
  13709. "tags": [
  13710. "仓单贸易v2"
  13711. ],
  13712. "summary": "查询履约模板",
  13713. "parameters": [
  13714. {
  13715. "type": "integer",
  13716. "description": "用户id",
  13717. "name": "userid",
  13718. "in": "query"
  13719. },
  13720. {
  13721. "type": "string",
  13722. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13723. "name": "tmptype",
  13724. "in": "query"
  13725. },
  13726. {
  13727. "type": "integer",
  13728. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13729. "name": "includepub",
  13730. "in": "query"
  13731. },
  13732. {
  13733. "type": "integer",
  13734. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13735. "name": "marketid",
  13736. "in": "query"
  13737. }
  13738. ],
  13739. "responses": {
  13740. "200": {
  13741. "description": "OK",
  13742. "schema": {
  13743. "type": "array",
  13744. "items": {
  13745. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13746. }
  13747. }
  13748. },
  13749. "500": {
  13750. "description": "Internal Server Error",
  13751. "schema": {
  13752. "$ref": "#/definitions/app.Response"
  13753. }
  13754. }
  13755. }
  13756. }
  13757. },
  13758. "/WrTrade2/QuerySiteColumnDetail": {
  13759. "get": {
  13760. "security": [
  13761. {
  13762. "ApiKeyAuth": []
  13763. }
  13764. ],
  13765. "produces": [
  13766. "application/json"
  13767. ],
  13768. "tags": [
  13769. "仓单贸易v2"
  13770. ],
  13771. "summary": "查询资讯",
  13772. "parameters": [
  13773. {
  13774. "type": "integer",
  13775. "description": "页码",
  13776. "name": "page",
  13777. "in": "query"
  13778. },
  13779. {
  13780. "type": "integer",
  13781. "description": "每页条数",
  13782. "name": "pagesize",
  13783. "in": "query"
  13784. },
  13785. {
  13786. "type": "integer",
  13787. "description": "所属栏目id",
  13788. "name": "columnid",
  13789. "in": "query"
  13790. }
  13791. ],
  13792. "responses": {
  13793. "200": {
  13794. "description": "OK",
  13795. "schema": {
  13796. "type": "array",
  13797. "items": {
  13798. "$ref": "#/definitions/models.WrSiteColumnDetail"
  13799. }
  13800. }
  13801. },
  13802. "500": {
  13803. "description": "Internal Server Error",
  13804. "schema": {
  13805. "$ref": "#/definitions/app.Response"
  13806. }
  13807. }
  13808. }
  13809. }
  13810. },
  13811. "/WrTrade2/QuerySpotGroupTradeSum": {
  13812. "get": {
  13813. "security": [
  13814. {
  13815. "ApiKeyAuth": []
  13816. }
  13817. ],
  13818. "produces": [
  13819. "application/json"
  13820. ],
  13821. "tags": [
  13822. "仓单贸易v2"
  13823. ],
  13824. "summary": "查询指数",
  13825. "responses": {
  13826. "200": {
  13827. "description": "OK",
  13828. "schema": {
  13829. "type": "array",
  13830. "items": {
  13831. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  13832. }
  13833. }
  13834. },
  13835. "500": {
  13836. "description": "Internal Server Error",
  13837. "schema": {
  13838. "$ref": "#/definitions/app.Response"
  13839. }
  13840. }
  13841. }
  13842. }
  13843. },
  13844. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  13845. "get": {
  13846. "security": [
  13847. {
  13848. "ApiKeyAuth": []
  13849. }
  13850. ],
  13851. "description": "查询的结果将会按日期 从小到大 排序",
  13852. "produces": [
  13853. "application/json"
  13854. ],
  13855. "tags": [
  13856. "仓单贸易v2"
  13857. ],
  13858. "summary": "查询指数详细(价格走势图)",
  13859. "parameters": [
  13860. {
  13861. "type": "integer",
  13862. "description": "现货商品id",
  13863. "name": "deliverygoodsid",
  13864. "in": "query",
  13865. "required": true
  13866. },
  13867. {
  13868. "type": "integer",
  13869. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  13870. "name": "lastnum",
  13871. "in": "query"
  13872. }
  13873. ],
  13874. "responses": {
  13875. "200": {
  13876. "description": "OK",
  13877. "schema": {
  13878. "type": "array",
  13879. "items": {
  13880. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  13881. }
  13882. }
  13883. },
  13884. "500": {
  13885. "description": "Internal Server Error",
  13886. "schema": {
  13887. "$ref": "#/definitions/app.Response"
  13888. }
  13889. }
  13890. }
  13891. }
  13892. },
  13893. "/WrTrade2/QueryWrAverageTradePrice": {
  13894. "get": {
  13895. "security": [
  13896. {
  13897. "ApiKeyAuth": []
  13898. }
  13899. ],
  13900. "produces": [
  13901. "application/json"
  13902. ],
  13903. "tags": [
  13904. "仓单贸易v2"
  13905. ],
  13906. "summary": "查询成交价(历史走势)",
  13907. "parameters": [
  13908. {
  13909. "type": "integer",
  13910. "description": "页码",
  13911. "name": "page",
  13912. "in": "query"
  13913. },
  13914. {
  13915. "type": "integer",
  13916. "description": "每页条数",
  13917. "name": "pagesize",
  13918. "in": "query"
  13919. },
  13920. {
  13921. "type": "integer",
  13922. "description": "0:仓单预售 1:仓单贸易",
  13923. "name": "haswr",
  13924. "in": "query",
  13925. "required": true
  13926. },
  13927. {
  13928. "type": "integer",
  13929. "description": "仓单要素id",
  13930. "name": "wrfactortypeid",
  13931. "in": "query",
  13932. "required": true
  13933. }
  13934. ],
  13935. "responses": {
  13936. "200": {
  13937. "description": "OK",
  13938. "schema": {
  13939. "type": "array",
  13940. "items": {
  13941. "$ref": "#/definitions/models.WrAverageTradePrice"
  13942. }
  13943. }
  13944. },
  13945. "500": {
  13946. "description": "Internal Server Error",
  13947. "schema": {
  13948. "$ref": "#/definitions/app.Response"
  13949. }
  13950. }
  13951. }
  13952. }
  13953. },
  13954. "/WrTrade2/QueryWrBrandAndYears": {
  13955. "get": {
  13956. "security": [
  13957. {
  13958. "ApiKeyAuth": []
  13959. }
  13960. ],
  13961. "produces": [
  13962. "application/json"
  13963. ],
  13964. "tags": [
  13965. "仓单贸易v2"
  13966. ],
  13967. "summary": "查询品牌和年份",
  13968. "responses": {
  13969. "200": {
  13970. "description": "OK",
  13971. "schema": {
  13972. "type": "array",
  13973. "items": {
  13974. "$ref": "#/definitions/models.WrBrandAndYears"
  13975. }
  13976. }
  13977. },
  13978. "500": {
  13979. "description": "Internal Server Error",
  13980. "schema": {
  13981. "$ref": "#/definitions/app.Response"
  13982. }
  13983. }
  13984. }
  13985. }
  13986. },
  13987. "/WrTrade2/QueryWrBsGoodsInfo": {
  13988. "get": {
  13989. "security": [
  13990. {
  13991. "ApiKeyAuth": []
  13992. }
  13993. ],
  13994. "description": "合约交易/买卖大厅/详情",
  13995. "produces": [
  13996. "application/json"
  13997. ],
  13998. "tags": [
  13999. "仓单贸易v2"
  14000. ],
  14001. "summary": "查询合约交易买卖大厅详情",
  14002. "parameters": [
  14003. {
  14004. "type": "integer",
  14005. "description": "商品id",
  14006. "name": "goodsid",
  14007. "in": "query",
  14008. "required": true
  14009. }
  14010. ],
  14011. "responses": {
  14012. "200": {
  14013. "description": "OK",
  14014. "schema": {
  14015. "type": "array",
  14016. "items": {
  14017. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14018. }
  14019. }
  14020. },
  14021. "500": {
  14022. "description": "Internal Server Error",
  14023. "schema": {
  14024. "$ref": "#/definitions/app.Response"
  14025. }
  14026. }
  14027. }
  14028. }
  14029. },
  14030. "/WrTrade2/QueryWrBuybackDetail": {
  14031. "get": {
  14032. "security": [
  14033. {
  14034. "ApiKeyAuth": []
  14035. }
  14036. ],
  14037. "produces": [
  14038. "application/json"
  14039. ],
  14040. "tags": [
  14041. "仓单贸易v2"
  14042. ],
  14043. "summary": "查询仓单回购明细",
  14044. "parameters": [
  14045. {
  14046. "type": "integer",
  14047. "description": "融资合同id",
  14048. "name": "scfcontractid",
  14049. "in": "query"
  14050. }
  14051. ],
  14052. "responses": {
  14053. "200": {
  14054. "description": "OK",
  14055. "schema": {
  14056. "type": "array",
  14057. "items": {
  14058. "$ref": "#/definitions/models.WrBuybackDetail"
  14059. }
  14060. }
  14061. },
  14062. "500": {
  14063. "description": "Internal Server Error",
  14064. "schema": {
  14065. "$ref": "#/definitions/app.Response"
  14066. }
  14067. }
  14068. }
  14069. }
  14070. },
  14071. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14072. "get": {
  14073. "security": [
  14074. {
  14075. "ApiKeyAuth": []
  14076. }
  14077. ],
  14078. "produces": [
  14079. "application/json"
  14080. ],
  14081. "tags": [
  14082. "仓单贸易v2"
  14083. ],
  14084. "summary": "查询固定广告配置",
  14085. "responses": {
  14086. "200": {
  14087. "description": "OK",
  14088. "schema": {
  14089. "type": "array",
  14090. "items": {
  14091. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14092. }
  14093. }
  14094. },
  14095. "500": {
  14096. "description": "Internal Server Error",
  14097. "schema": {
  14098. "$ref": "#/definitions/app.Response"
  14099. }
  14100. }
  14101. }
  14102. }
  14103. },
  14104. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14105. "get": {
  14106. "security": [
  14107. {
  14108. "ApiKeyAuth": []
  14109. }
  14110. ],
  14111. "produces": [
  14112. "application/json"
  14113. ],
  14114. "tags": [
  14115. "仓单贸易v2"
  14116. ],
  14117. "summary": "查询合约交收可点选仓单",
  14118. "parameters": [
  14119. {
  14120. "type": "integer",
  14121. "description": "资金账号",
  14122. "name": "accountid",
  14123. "in": "query",
  14124. "required": true
  14125. },
  14126. {
  14127. "type": "integer",
  14128. "description": "商品id",
  14129. "name": "goodsid",
  14130. "in": "query",
  14131. "required": true
  14132. }
  14133. ],
  14134. "responses": {
  14135. "200": {
  14136. "description": "OK",
  14137. "schema": {
  14138. "type": "array",
  14139. "items": {
  14140. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14141. }
  14142. }
  14143. },
  14144. "500": {
  14145. "description": "Internal Server Error",
  14146. "schema": {
  14147. "$ref": "#/definitions/app.Response"
  14148. }
  14149. }
  14150. }
  14151. }
  14152. },
  14153. "/WrTrade2/QueryWrDeliveryDetail": {
  14154. "get": {
  14155. "security": [
  14156. {
  14157. "ApiKeyAuth": []
  14158. }
  14159. ],
  14160. "produces": [
  14161. "application/json"
  14162. ],
  14163. "tags": [
  14164. "仓单贸易v2"
  14165. ],
  14166. "summary": "查询交收",
  14167. "parameters": [
  14168. {
  14169. "type": "integer",
  14170. "description": "用户id",
  14171. "name": "userid",
  14172. "in": "query",
  14173. "required": true
  14174. },
  14175. {
  14176. "type": "integer",
  14177. "description": "资金账号id",
  14178. "name": "accountid",
  14179. "in": "query"
  14180. },
  14181. {
  14182. "type": "string",
  14183. "description": "开始交易日(yyyymmdd)",
  14184. "name": "begindate",
  14185. "in": "query"
  14186. },
  14187. {
  14188. "type": "string",
  14189. "description": "结束交易日(yyyymmdd)",
  14190. "name": "enddate",
  14191. "in": "query"
  14192. }
  14193. ],
  14194. "responses": {
  14195. "200": {
  14196. "description": "OK",
  14197. "schema": {
  14198. "type": "array",
  14199. "items": {
  14200. "$ref": "#/definitions/models.WrDeliveryDetail"
  14201. }
  14202. }
  14203. },
  14204. "500": {
  14205. "description": "Internal Server Error",
  14206. "schema": {
  14207. "$ref": "#/definitions/app.Response"
  14208. }
  14209. }
  14210. }
  14211. }
  14212. },
  14213. "/WrTrade2/QueryWrDraftUserInfo": {
  14214. "get": {
  14215. "security": [
  14216. {
  14217. "ApiKeyAuth": []
  14218. }
  14219. ],
  14220. "produces": [
  14221. "application/json"
  14222. ],
  14223. "tags": [
  14224. "仓单贸易v2"
  14225. ],
  14226. "summary": "查询实名认证信息",
  14227. "parameters": [
  14228. {
  14229. "type": "integer",
  14230. "description": "用户ID",
  14231. "name": "userid",
  14232. "in": "query",
  14233. "required": true
  14234. },
  14235. {
  14236. "type": "integer",
  14237. "description": "用户状态 1:正常 2:注销",
  14238. "name": "userstatus",
  14239. "in": "query"
  14240. }
  14241. ],
  14242. "responses": {
  14243. "200": {
  14244. "description": "OK",
  14245. "schema": {
  14246. "type": "array",
  14247. "items": {
  14248. "$ref": "#/definitions/models.WrDraftUserInfo"
  14249. }
  14250. }
  14251. },
  14252. "500": {
  14253. "description": "Internal Server Error",
  14254. "schema": {
  14255. "$ref": "#/definitions/app.Response"
  14256. }
  14257. }
  14258. }
  14259. }
  14260. },
  14261. "/WrTrade2/QueryWrFactorTypeInfo": {
  14262. "get": {
  14263. "security": [
  14264. {
  14265. "ApiKeyAuth": []
  14266. }
  14267. ],
  14268. "produces": [
  14269. "application/json"
  14270. ],
  14271. "tags": [
  14272. "仓单贸易v2"
  14273. ],
  14274. "summary": "查询仓单要素详细信息",
  14275. "parameters": [
  14276. {
  14277. "type": "integer",
  14278. "description": "仓单要素id",
  14279. "name": "wrfactortypeid",
  14280. "in": "query",
  14281. "required": true
  14282. }
  14283. ],
  14284. "responses": {
  14285. "200": {
  14286. "description": "OK",
  14287. "schema": {
  14288. "type": "array",
  14289. "items": {
  14290. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14291. }
  14292. }
  14293. },
  14294. "500": {
  14295. "description": "Internal Server Error",
  14296. "schema": {
  14297. "$ref": "#/definitions/app.Response"
  14298. }
  14299. }
  14300. }
  14301. }
  14302. },
  14303. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  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.WrTypeItem"
  14333. }
  14334. }
  14335. },
  14336. "500": {
  14337. "description": "Internal Server Error",
  14338. "schema": {
  14339. "$ref": "#/definitions/app.Response"
  14340. }
  14341. }
  14342. }
  14343. }
  14344. },
  14345. "/WrTrade2/QueryWrFinanceBuyApply": {
  14346. "get": {
  14347. "security": [
  14348. {
  14349. "ApiKeyAuth": []
  14350. }
  14351. ],
  14352. "description": "页面 融资信息+ / 申请单",
  14353. "produces": [
  14354. "application/json"
  14355. ],
  14356. "tags": [
  14357. "仓单贸易v2"
  14358. ],
  14359. "summary": "查询融资购买申请",
  14360. "parameters": [
  14361. {
  14362. "type": "integer",
  14363. "description": "用户id",
  14364. "name": "userid",
  14365. "in": "query",
  14366. "required": true
  14367. }
  14368. ],
  14369. "responses": {
  14370. "200": {
  14371. "description": "OK",
  14372. "schema": {
  14373. "type": "array",
  14374. "items": {
  14375. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14376. }
  14377. }
  14378. },
  14379. "500": {
  14380. "description": "Internal Server Error",
  14381. "schema": {
  14382. "$ref": "#/definitions/app.Response"
  14383. }
  14384. }
  14385. }
  14386. }
  14387. },
  14388. "/WrTrade2/QueryWrFriendApply": {
  14389. "get": {
  14390. "security": [
  14391. {
  14392. "ApiKeyAuth": []
  14393. }
  14394. ],
  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.WrFriendApply"
  14418. }
  14419. }
  14420. },
  14421. "500": {
  14422. "description": "Internal Server Error",
  14423. "schema": {
  14424. "$ref": "#/definitions/app.Response"
  14425. }
  14426. }
  14427. }
  14428. }
  14429. },
  14430. "/WrTrade2/QueryWrGoodsInfo": {
  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": "marketid",
  14449. "in": "query"
  14450. },
  14451. {
  14452. "type": "integer",
  14453. "description": "0:仓单预售 1:仓单贸易",
  14454. "name": "haswr",
  14455. "in": "query",
  14456. "required": true
  14457. },
  14458. {
  14459. "type": "integer",
  14460. "description": "仓单要素id",
  14461. "name": "wrfactortypeid",
  14462. "in": "query",
  14463. "required": true
  14464. },
  14465. {
  14466. "type": "integer",
  14467. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14468. "name": "tmplateid",
  14469. "in": "query"
  14470. }
  14471. ],
  14472. "responses": {
  14473. "200": {
  14474. "description": "OK",
  14475. "schema": {
  14476. "type": "array",
  14477. "items": {
  14478. "$ref": "#/definitions/models.WrGoodsInfo"
  14479. }
  14480. }
  14481. },
  14482. "500": {
  14483. "description": "Internal Server Error",
  14484. "schema": {
  14485. "$ref": "#/definitions/app.Response"
  14486. }
  14487. }
  14488. }
  14489. }
  14490. },
  14491. "/WrTrade2/QueryWrMarketTradeConfig": {
  14492. "get": {
  14493. "security": [
  14494. {
  14495. "ApiKeyAuth": []
  14496. }
  14497. ],
  14498. "produces": [
  14499. "application/json"
  14500. ],
  14501. "tags": [
  14502. "仓单贸易v2"
  14503. ],
  14504. "summary": "查询市场交易参数配置",
  14505. "parameters": [
  14506. {
  14507. "type": "integer",
  14508. "description": "市场id",
  14509. "name": "marketid",
  14510. "in": "query"
  14511. }
  14512. ],
  14513. "responses": {
  14514. "200": {
  14515. "description": "OK",
  14516. "schema": {
  14517. "type": "array",
  14518. "items": {
  14519. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14520. }
  14521. }
  14522. },
  14523. "500": {
  14524. "description": "Internal Server Error",
  14525. "schema": {
  14526. "$ref": "#/definitions/app.Response"
  14527. }
  14528. }
  14529. }
  14530. }
  14531. },
  14532. "/WrTrade2/QueryWrOrderDetail": {
  14533. "get": {
  14534. "security": [
  14535. {
  14536. "ApiKeyAuth": []
  14537. }
  14538. ],
  14539. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14540. "produces": [
  14541. "application/json"
  14542. ],
  14543. "tags": [
  14544. "仓单贸易v2"
  14545. ],
  14546. "summary": "查询仓单委托单",
  14547. "parameters": [
  14548. {
  14549. "type": "integer",
  14550. "description": "页码",
  14551. "name": "page",
  14552. "in": "query"
  14553. },
  14554. {
  14555. "type": "integer",
  14556. "description": "每页条数",
  14557. "name": "pagesize",
  14558. "in": "query"
  14559. },
  14560. {
  14561. "type": "integer",
  14562. "description": "用户id",
  14563. "name": "userid",
  14564. "in": "query",
  14565. "required": true
  14566. },
  14567. {
  14568. "type": "integer",
  14569. "description": "仓单贸易市场id",
  14570. "name": "marketid",
  14571. "in": "query"
  14572. },
  14573. {
  14574. "type": "integer",
  14575. "description": "0:仓单预售 1:仓单贸易",
  14576. "name": "haswr",
  14577. "in": "query",
  14578. "required": true
  14579. },
  14580. {
  14581. "type": "integer",
  14582. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14583. "name": "bcancel",
  14584. "in": "query"
  14585. },
  14586. {
  14587. "type": "integer",
  14588. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14589. "name": "wrtradetype",
  14590. "in": "query"
  14591. },
  14592. {
  14593. "type": "string",
  14594. "description": "开始交易日(yyyymmdd)",
  14595. "name": "begindate",
  14596. "in": "query"
  14597. },
  14598. {
  14599. "type": "string",
  14600. "description": "结束交易日(yyyymmdd)",
  14601. "name": "enddate",
  14602. "in": "query"
  14603. }
  14604. ],
  14605. "responses": {
  14606. "200": {
  14607. "description": "OK",
  14608. "schema": {
  14609. "type": "array",
  14610. "items": {
  14611. "$ref": "#/definitions/models.WrOrderDetail"
  14612. }
  14613. }
  14614. },
  14615. "500": {
  14616. "description": "Internal Server Error",
  14617. "schema": {
  14618. "$ref": "#/definitions/app.Response"
  14619. }
  14620. }
  14621. }
  14622. }
  14623. },
  14624. "/WrTrade2/QueryWrOutInApply": {
  14625. "get": {
  14626. "security": [
  14627. {
  14628. "ApiKeyAuth": []
  14629. }
  14630. ],
  14631. "produces": [
  14632. "application/json"
  14633. ],
  14634. "tags": [
  14635. "仓单贸易v2"
  14636. ],
  14637. "summary": "查询提货申请",
  14638. "parameters": [
  14639. {
  14640. "type": "integer",
  14641. "description": "用户id",
  14642. "name": "userid",
  14643. "in": "query",
  14644. "required": true
  14645. },
  14646. {
  14647. "type": "string",
  14648. "description": "开始交易日(yyyymmdd)",
  14649. "name": "begindate",
  14650. "in": "query"
  14651. },
  14652. {
  14653. "type": "string",
  14654. "description": "结束交易日(yyyymmdd)",
  14655. "name": "enddate",
  14656. "in": "query"
  14657. }
  14658. ],
  14659. "responses": {
  14660. "200": {
  14661. "description": "OK",
  14662. "schema": {
  14663. "type": "array",
  14664. "items": {
  14665. "$ref": "#/definitions/models.WrOutInApply"
  14666. }
  14667. }
  14668. },
  14669. "500": {
  14670. "description": "Internal Server Error",
  14671. "schema": {
  14672. "$ref": "#/definitions/app.Response"
  14673. }
  14674. }
  14675. }
  14676. }
  14677. },
  14678. "/WrTrade2/QueryWrPerformancePlanStep": {
  14679. "get": {
  14680. "security": [
  14681. {
  14682. "ApiKeyAuth": []
  14683. }
  14684. ],
  14685. "produces": [
  14686. "application/json"
  14687. ],
  14688. "tags": [
  14689. "仓单贸易v2"
  14690. ],
  14691. "summary": "查询履约信息详情",
  14692. "parameters": [
  14693. {
  14694. "type": "integer",
  14695. "description": "履约计划id(performanceplanid)",
  14696. "name": "planid",
  14697. "in": "query",
  14698. "required": true
  14699. },
  14700. {
  14701. "type": "integer",
  14702. "description": "当前步骤id",
  14703. "name": "curstepid",
  14704. "in": "query"
  14705. }
  14706. ],
  14707. "responses": {
  14708. "200": {
  14709. "description": "OK",
  14710. "schema": {
  14711. "type": "array",
  14712. "items": {
  14713. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14714. }
  14715. }
  14716. },
  14717. "500": {
  14718. "description": "Internal Server Error",
  14719. "schema": {
  14720. "$ref": "#/definitions/app.Response"
  14721. }
  14722. }
  14723. }
  14724. }
  14725. },
  14726. "/WrTrade2/QueryWrPerformanceStepType": {
  14727. "get": {
  14728. "security": [
  14729. {
  14730. "ApiKeyAuth": []
  14731. }
  14732. ],
  14733. "produces": [
  14734. "application/json"
  14735. ],
  14736. "tags": [
  14737. "仓单贸易v2"
  14738. ],
  14739. "summary": "查询履约步骤枚举",
  14740. "responses": {
  14741. "200": {
  14742. "description": "OK",
  14743. "schema": {
  14744. "type": "array",
  14745. "items": {
  14746. "$ref": "#/definitions/models.WrPerformanceStepType"
  14747. }
  14748. }
  14749. },
  14750. "500": {
  14751. "description": "Internal Server Error",
  14752. "schema": {
  14753. "$ref": "#/definitions/app.Response"
  14754. }
  14755. }
  14756. }
  14757. }
  14758. },
  14759. "/WrTrade2/QueryWrPosition": {
  14760. "get": {
  14761. "security": [
  14762. {
  14763. "ApiKeyAuth": []
  14764. }
  14765. ],
  14766. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  14767. "produces": [
  14768. "application/json"
  14769. ],
  14770. "tags": [
  14771. "仓单贸易v2"
  14772. ],
  14773. "summary": "查询现货(预售)仓单持仓",
  14774. "parameters": [
  14775. {
  14776. "type": "integer",
  14777. "description": "用户id",
  14778. "name": "userid",
  14779. "in": "query",
  14780. "required": true
  14781. },
  14782. {
  14783. "type": "integer",
  14784. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  14785. "name": "querytype",
  14786. "in": "query",
  14787. "required": true
  14788. },
  14789. {
  14790. "type": "integer",
  14791. "description": "0:仓单预售 1:仓单贸易",
  14792. "name": "haswr",
  14793. "in": "query",
  14794. "required": true
  14795. },
  14796. {
  14797. "type": "string",
  14798. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14799. "name": "dgitemname",
  14800. "in": "query"
  14801. },
  14802. {
  14803. "type": "integer",
  14804. "description": "仓库id(筛选条件)",
  14805. "name": "warehouseid",
  14806. "in": "query"
  14807. },
  14808. {
  14809. "type": "integer",
  14810. "description": "品种id",
  14811. "name": "deliverygoodsid",
  14812. "in": "query"
  14813. },
  14814. {
  14815. "type": "integer",
  14816. "description": "品类id",
  14817. "name": "wrstandardid",
  14818. "in": "query"
  14819. }
  14820. ],
  14821. "responses": {
  14822. "200": {
  14823. "description": "OK",
  14824. "schema": {
  14825. "type": "array",
  14826. "items": {
  14827. "$ref": "#/definitions/models.WrPosition"
  14828. }
  14829. }
  14830. },
  14831. "500": {
  14832. "description": "Internal Server Error",
  14833. "schema": {
  14834. "$ref": "#/definitions/app.Response"
  14835. }
  14836. }
  14837. }
  14838. }
  14839. },
  14840. "/WrTrade2/QueryWrPreSaleInfo": {
  14841. "get": {
  14842. "security": [
  14843. {
  14844. "ApiKeyAuth": []
  14845. }
  14846. ],
  14847. "produces": [
  14848. "application/json"
  14849. ],
  14850. "tags": [
  14851. "仓单贸易v2"
  14852. ],
  14853. "summary": "查询新品发布",
  14854. "parameters": [
  14855. {
  14856. "type": "integer",
  14857. "description": "市场id",
  14858. "name": "marketid",
  14859. "in": "query"
  14860. },
  14861. {
  14862. "type": "string",
  14863. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  14864. "name": "presalestatus",
  14865. "in": "query"
  14866. },
  14867. {
  14868. "type": "integer",
  14869. "description": "摇号标识 - 0:未摇号 1:已摇号",
  14870. "name": "lotteryflag",
  14871. "in": "query"
  14872. },
  14873. {
  14874. "type": "integer",
  14875. "description": "最近多少条记录(按创建时间倒序)",
  14876. "name": "lastnum",
  14877. "in": "query"
  14878. }
  14879. ],
  14880. "responses": {
  14881. "200": {
  14882. "description": "OK",
  14883. "schema": {
  14884. "type": "array",
  14885. "items": {
  14886. "$ref": "#/definitions/models.WrPreSaleInfo"
  14887. }
  14888. }
  14889. },
  14890. "500": {
  14891. "description": "Internal Server Error",
  14892. "schema": {
  14893. "$ref": "#/definitions/app.Response"
  14894. }
  14895. }
  14896. }
  14897. }
  14898. },
  14899. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  14900. "get": {
  14901. "security": [
  14902. {
  14903. "ApiKeyAuth": []
  14904. }
  14905. ],
  14906. "produces": [
  14907. "application/json"
  14908. ],
  14909. "tags": [
  14910. "仓单贸易v2"
  14911. ],
  14912. "summary": "查询价格走势",
  14913. "parameters": [
  14914. {
  14915. "type": "integer",
  14916. "description": "市场id",
  14917. "name": "marketid",
  14918. "in": "query",
  14919. "required": true
  14920. },
  14921. {
  14922. "type": "integer",
  14923. "description": "现货商品id",
  14924. "name": "wrstandardid",
  14925. "in": "query",
  14926. "required": true
  14927. },
  14928. {
  14929. "type": "string",
  14930. "description": "开始交易日(yyyymmdd)",
  14931. "name": "begindate",
  14932. "in": "query"
  14933. },
  14934. {
  14935. "type": "string",
  14936. "description": "结束交易日(yyyymmdd)",
  14937. "name": "enddate",
  14938. "in": "query"
  14939. },
  14940. {
  14941. "type": "integer",
  14942. "description": "最近多少条记录(按交易日倒序)",
  14943. "name": "lastnum",
  14944. "in": "query"
  14945. },
  14946. {
  14947. "type": "boolean",
  14948. "description": "是否今日",
  14949. "name": "istoday",
  14950. "in": "query"
  14951. }
  14952. ],
  14953. "responses": {
  14954. "200": {
  14955. "description": "OK",
  14956. "schema": {
  14957. "type": "array",
  14958. "items": {
  14959. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  14960. }
  14961. }
  14962. },
  14963. "500": {
  14964. "description": "Internal Server Error",
  14965. "schema": {
  14966. "$ref": "#/definitions/app.Response"
  14967. }
  14968. }
  14969. }
  14970. }
  14971. },
  14972. "/WrTrade2/QueryWrScfContract": {
  14973. "get": {
  14974. "security": [
  14975. {
  14976. "ApiKeyAuth": []
  14977. }
  14978. ],
  14979. "produces": [
  14980. "application/json"
  14981. ],
  14982. "tags": [
  14983. "仓单贸易v2"
  14984. ],
  14985. "summary": "查询仓单贸易融资合同",
  14986. "parameters": [
  14987. {
  14988. "type": "integer",
  14989. "description": "用户id",
  14990. "name": "userid",
  14991. "in": "query",
  14992. "required": true
  14993. },
  14994. {
  14995. "type": "integer",
  14996. "description": "融资合同id",
  14997. "name": "scfcontractid",
  14998. "in": "query"
  14999. }
  15000. ],
  15001. "responses": {
  15002. "200": {
  15003. "description": "OK",
  15004. "schema": {
  15005. "type": "array",
  15006. "items": {
  15007. "$ref": "#/definitions/models.WrScfContract"
  15008. }
  15009. }
  15010. },
  15011. "500": {
  15012. "description": "Internal Server Error",
  15013. "schema": {
  15014. "$ref": "#/definitions/app.Response"
  15015. }
  15016. }
  15017. }
  15018. }
  15019. },
  15020. "/WrTrade2/QueryWrScfContractInterest": {
  15021. "get": {
  15022. "security": [
  15023. {
  15024. "ApiKeyAuth": []
  15025. }
  15026. ],
  15027. "produces": [
  15028. "application/json"
  15029. ],
  15030. "tags": [
  15031. "仓单贸易v2"
  15032. ],
  15033. "summary": "查询融资合同费用明细",
  15034. "parameters": [
  15035. {
  15036. "type": "integer",
  15037. "description": "融资合同id",
  15038. "name": "scfcontractid",
  15039. "in": "query"
  15040. }
  15041. ],
  15042. "responses": {
  15043. "200": {
  15044. "description": "OK",
  15045. "schema": {
  15046. "type": "array",
  15047. "items": {
  15048. "$ref": "#/definitions/models.WrScfContractInterest"
  15049. }
  15050. }
  15051. },
  15052. "500": {
  15053. "description": "Internal Server Error",
  15054. "schema": {
  15055. "$ref": "#/definitions/app.Response"
  15056. }
  15057. }
  15058. }
  15059. }
  15060. },
  15061. "/WrTrade2/QueryWrSearchUser": {
  15062. "get": {
  15063. "security": [
  15064. {
  15065. "ApiKeyAuth": []
  15066. }
  15067. ],
  15068. "produces": [
  15069. "application/json"
  15070. ],
  15071. "tags": [
  15072. "仓单贸易v2"
  15073. ],
  15074. "summary": "查询用户",
  15075. "parameters": [
  15076. {
  15077. "type": "string",
  15078. "description": "用户名称(模糊匹配)",
  15079. "name": "username",
  15080. "in": "query",
  15081. "required": true
  15082. }
  15083. ],
  15084. "responses": {
  15085. "200": {
  15086. "description": "OK",
  15087. "schema": {
  15088. "type": "array",
  15089. "items": {
  15090. "$ref": "#/definitions/models.WrSearchUser"
  15091. }
  15092. }
  15093. },
  15094. "500": {
  15095. "description": "Internal Server Error",
  15096. "schema": {
  15097. "$ref": "#/definitions/app.Response"
  15098. }
  15099. }
  15100. }
  15101. }
  15102. },
  15103. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15104. "get": {
  15105. "security": [
  15106. {
  15107. "ApiKeyAuth": []
  15108. }
  15109. ],
  15110. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15111. "produces": [
  15112. "application/json"
  15113. ],
  15114. "tags": [
  15115. "仓单贸易v2"
  15116. ],
  15117. "summary": "查询指定成交",
  15118. "parameters": [
  15119. {
  15120. "type": "integer",
  15121. "description": "页码",
  15122. "name": "page",
  15123. "in": "query"
  15124. },
  15125. {
  15126. "type": "integer",
  15127. "description": "每页条数",
  15128. "name": "pagesize",
  15129. "in": "query"
  15130. },
  15131. {
  15132. "type": "integer",
  15133. "description": "用户id",
  15134. "name": "userid",
  15135. "in": "query",
  15136. "required": true
  15137. },
  15138. {
  15139. "type": "integer",
  15140. "description": "仓单贸易市场id",
  15141. "name": "marketid",
  15142. "in": "query"
  15143. },
  15144. {
  15145. "type": "integer",
  15146. "description": "0:仓单预售 1:仓单贸易",
  15147. "name": "haswr",
  15148. "in": "query",
  15149. "required": true
  15150. },
  15151. {
  15152. "type": "integer",
  15153. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15154. "name": "isspecified",
  15155. "in": "query"
  15156. }
  15157. ],
  15158. "responses": {
  15159. "200": {
  15160. "description": "OK",
  15161. "schema": {
  15162. "type": "array",
  15163. "items": {
  15164. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15165. }
  15166. }
  15167. },
  15168. "500": {
  15169. "description": "Internal Server Error",
  15170. "schema": {
  15171. "$ref": "#/definitions/app.Response"
  15172. }
  15173. }
  15174. }
  15175. }
  15176. },
  15177. "/WrTrade2/QueryWrStandardFactoryItem": {
  15178. "get": {
  15179. "security": [
  15180. {
  15181. "ApiKeyAuth": []
  15182. }
  15183. ],
  15184. "produces": [
  15185. "application/json"
  15186. ],
  15187. "tags": [
  15188. "仓单贸易v2"
  15189. ],
  15190. "summary": "查询品类要素定义项",
  15191. "parameters": [
  15192. {
  15193. "type": "integer",
  15194. "description": "品类id",
  15195. "name": "wrstandardid",
  15196. "in": "query",
  15197. "required": true
  15198. }
  15199. ],
  15200. "responses": {
  15201. "200": {
  15202. "description": "OK",
  15203. "schema": {
  15204. "type": "array",
  15205. "items": {
  15206. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15207. }
  15208. }
  15209. },
  15210. "500": {
  15211. "description": "Internal Server Error",
  15212. "schema": {
  15213. "$ref": "#/definitions/app.Response"
  15214. }
  15215. }
  15216. }
  15217. }
  15218. },
  15219. "/WrTrade2/QueryWrTradeBargainApply": {
  15220. "get": {
  15221. "security": [
  15222. {
  15223. "ApiKeyAuth": []
  15224. }
  15225. ],
  15226. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15227. "produces": [
  15228. "application/json"
  15229. ],
  15230. "tags": [
  15231. "仓单贸易v2"
  15232. ],
  15233. "summary": "查询议价单",
  15234. "parameters": [
  15235. {
  15236. "type": "integer",
  15237. "description": "议价人id(摘牌方)",
  15238. "name": "userid",
  15239. "in": "query"
  15240. },
  15241. {
  15242. "type": "integer",
  15243. "description": "挂牌方id(查对方议价时,填写此项)",
  15244. "name": "matchuserid",
  15245. "in": "query"
  15246. },
  15247. {
  15248. "type": "integer",
  15249. "description": "关联委托单id",
  15250. "name": "wrtradeorderid",
  15251. "in": "query"
  15252. },
  15253. {
  15254. "type": "integer",
  15255. "description": "0:仓单预售 1:仓单贸易",
  15256. "name": "haswr",
  15257. "in": "query",
  15258. "required": true
  15259. },
  15260. {
  15261. "type": "string",
  15262. "description": "开始交易日(yyyymmdd)",
  15263. "name": "begindate",
  15264. "in": "query"
  15265. },
  15266. {
  15267. "type": "string",
  15268. "description": "结束交易日(yyyymmdd)",
  15269. "name": "enddate",
  15270. "in": "query"
  15271. }
  15272. ],
  15273. "responses": {
  15274. "200": {
  15275. "description": "OK",
  15276. "schema": {
  15277. "type": "array",
  15278. "items": {
  15279. "$ref": "#/definitions/models.WRTradeBargainApply"
  15280. }
  15281. }
  15282. },
  15283. "500": {
  15284. "description": "Internal Server Error",
  15285. "schema": {
  15286. "$ref": "#/definitions/app.Response"
  15287. }
  15288. }
  15289. }
  15290. }
  15291. },
  15292. "/WrTrade2/QueryWrTradeDetail": {
  15293. "get": {
  15294. "security": [
  15295. {
  15296. "ApiKeyAuth": []
  15297. }
  15298. ],
  15299. "produces": [
  15300. "application/json"
  15301. ],
  15302. "tags": [
  15303. "仓单贸易v2"
  15304. ],
  15305. "summary": "查询仓单成交明细",
  15306. "parameters": [
  15307. {
  15308. "type": "integer",
  15309. "description": "页码",
  15310. "name": "page",
  15311. "in": "query"
  15312. },
  15313. {
  15314. "type": "integer",
  15315. "description": "每页条数",
  15316. "name": "pagesize",
  15317. "in": "query"
  15318. },
  15319. {
  15320. "type": "integer",
  15321. "description": "用户id",
  15322. "name": "userid",
  15323. "in": "query",
  15324. "required": true
  15325. },
  15326. {
  15327. "type": "integer",
  15328. "description": "仓单贸易市场id",
  15329. "name": "marketid",
  15330. "in": "query"
  15331. },
  15332. {
  15333. "type": "integer",
  15334. "description": "0:仓单预售 1:仓单贸易",
  15335. "name": "haswr",
  15336. "in": "query",
  15337. "required": true
  15338. },
  15339. {
  15340. "type": "string",
  15341. "description": "开始交易日(yyyymmdd)",
  15342. "name": "begindate",
  15343. "in": "query"
  15344. },
  15345. {
  15346. "type": "string",
  15347. "description": "结束交易日(yyyymmdd)",
  15348. "name": "enddate",
  15349. "in": "query"
  15350. }
  15351. ],
  15352. "responses": {
  15353. "200": {
  15354. "description": "OK",
  15355. "schema": {
  15356. "type": "array",
  15357. "items": {
  15358. "$ref": "#/definitions/models.WrTradeDetail"
  15359. }
  15360. }
  15361. },
  15362. "500": {
  15363. "description": "Internal Server Error",
  15364. "schema": {
  15365. "$ref": "#/definitions/app.Response"
  15366. }
  15367. }
  15368. }
  15369. }
  15370. },
  15371. "/WrTrade2/QueryWrTradeOrderDetail": {
  15372. "get": {
  15373. "security": [
  15374. {
  15375. "ApiKeyAuth": []
  15376. }
  15377. ],
  15378. "produces": [
  15379. "application/json"
  15380. ],
  15381. "tags": [
  15382. "仓单贸易v2"
  15383. ],
  15384. "summary": "查询合约交易买卖大厅",
  15385. "parameters": [
  15386. {
  15387. "type": "integer",
  15388. "description": "页码",
  15389. "name": "page",
  15390. "in": "query"
  15391. },
  15392. {
  15393. "type": "integer",
  15394. "description": "每页条数",
  15395. "name": "pagesize",
  15396. "in": "query"
  15397. },
  15398. {
  15399. "type": "integer",
  15400. "description": "商品id",
  15401. "name": "goodsid",
  15402. "in": "query",
  15403. "required": true
  15404. },
  15405. {
  15406. "type": "integer",
  15407. "description": "买卖方向 0-买 1-卖",
  15408. "name": "buyorsell",
  15409. "in": "query",
  15410. "required": true
  15411. }
  15412. ],
  15413. "responses": {
  15414. "200": {
  15415. "description": "OK",
  15416. "schema": {
  15417. "type": "array",
  15418. "items": {
  15419. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15420. }
  15421. }
  15422. },
  15423. "500": {
  15424. "description": "Internal Server Error",
  15425. "schema": {
  15426. "$ref": "#/definitions/app.Response"
  15427. }
  15428. }
  15429. }
  15430. }
  15431. },
  15432. "/WrTrade2/QueryWrUserFriend": {
  15433. "get": {
  15434. "security": [
  15435. {
  15436. "ApiKeyAuth": []
  15437. }
  15438. ],
  15439. "produces": [
  15440. "application/json"
  15441. ],
  15442. "tags": [
  15443. "仓单贸易v2"
  15444. ],
  15445. "summary": "查询我的朋友",
  15446. "parameters": [
  15447. {
  15448. "type": "integer",
  15449. "description": "用户id",
  15450. "name": "userid",
  15451. "in": "query",
  15452. "required": true
  15453. },
  15454. {
  15455. "type": "integer",
  15456. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15457. "name": "newuserid",
  15458. "in": "query"
  15459. }
  15460. ],
  15461. "responses": {
  15462. "200": {
  15463. "description": "OK",
  15464. "schema": {
  15465. "type": "array",
  15466. "items": {
  15467. "$ref": "#/definitions/models.WrUserFriend"
  15468. }
  15469. }
  15470. },
  15471. "500": {
  15472. "description": "Internal Server Error",
  15473. "schema": {
  15474. "$ref": "#/definitions/app.Response"
  15475. }
  15476. }
  15477. }
  15478. }
  15479. },
  15480. "/WrTrade2/QueryWrUserReceiptInfo": {
  15481. "get": {
  15482. "security": [
  15483. {
  15484. "ApiKeyAuth": []
  15485. }
  15486. ],
  15487. "produces": [
  15488. "application/json"
  15489. ],
  15490. "tags": [
  15491. "仓单贸易v2"
  15492. ],
  15493. "summary": "查询发票信息",
  15494. "parameters": [
  15495. {
  15496. "type": "integer",
  15497. "description": "用户id",
  15498. "name": "userid",
  15499. "in": "query"
  15500. },
  15501. {
  15502. "type": "integer",
  15503. "description": "发票类型 - 1:个人 2:企业",
  15504. "name": "receipttype",
  15505. "in": "query"
  15506. }
  15507. ],
  15508. "responses": {
  15509. "200": {
  15510. "description": "OK",
  15511. "schema": {
  15512. "type": "array",
  15513. "items": {
  15514. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15515. }
  15516. }
  15517. },
  15518. "500": {
  15519. "description": "Internal Server Error",
  15520. "schema": {
  15521. "$ref": "#/definitions/app.Response"
  15522. }
  15523. }
  15524. }
  15525. }
  15526. },
  15527. "/WrTrade2/QueryXhcpSellBackApply": {
  15528. "get": {
  15529. "security": [
  15530. {
  15531. "ApiKeyAuth": []
  15532. }
  15533. ],
  15534. "produces": [
  15535. "application/json"
  15536. ],
  15537. "tags": [
  15538. "仓单贸易v2"
  15539. ],
  15540. "summary": "查询我的回收申请(新会陈皮)",
  15541. "parameters": [
  15542. {
  15543. "type": "integer",
  15544. "description": "用户ID",
  15545. "name": "userid",
  15546. "in": "query",
  15547. "required": true
  15548. }
  15549. ],
  15550. "responses": {
  15551. "200": {
  15552. "description": "OK",
  15553. "schema": {
  15554. "type": "array",
  15555. "items": {
  15556. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15557. }
  15558. }
  15559. },
  15560. "500": {
  15561. "description": "Internal Server Error",
  15562. "schema": {
  15563. "$ref": "#/definitions/app.Response"
  15564. }
  15565. }
  15566. }
  15567. }
  15568. },
  15569. "/ZJ/GetBankTip": {
  15570. "get": {
  15571. "produces": [
  15572. "application/json"
  15573. ],
  15574. "tags": [
  15575. "中江"
  15576. ],
  15577. "summary": "获取中江网银端出入金提示信息",
  15578. "responses": {
  15579. "200": {
  15580. "description": "OK",
  15581. "schema": {
  15582. "type": "string"
  15583. }
  15584. },
  15585. "500": {
  15586. "description": "Internal Server Error",
  15587. "schema": {
  15588. "$ref": "#/definitions/app.Response"
  15589. }
  15590. }
  15591. }
  15592. }
  15593. },
  15594. "/ZJ/GetCusBankChannels": {
  15595. "get": {
  15596. "produces": [
  15597. "application/json"
  15598. ],
  15599. "tags": [
  15600. "中江"
  15601. ],
  15602. "summary": "获取中江出入金渠道显示列表",
  15603. "responses": {
  15604. "200": {
  15605. "description": "OK",
  15606. "schema": {
  15607. "type": "array",
  15608. "items": {
  15609. "type": "string"
  15610. }
  15611. }
  15612. },
  15613. "500": {
  15614. "description": "Internal Server Error",
  15615. "schema": {
  15616. "$ref": "#/definitions/app.Response"
  15617. }
  15618. }
  15619. }
  15620. }
  15621. }
  15622. },
  15623. "definitions": {
  15624. "app.Response": {
  15625. "type": "object",
  15626. "properties": {
  15627. "code": {
  15628. "type": "integer"
  15629. },
  15630. "data": {
  15631. "type": "object"
  15632. },
  15633. "msg": {
  15634. "type": "string"
  15635. },
  15636. "page": {
  15637. "description": "页码",
  15638. "type": "integer"
  15639. },
  15640. "pagesize": {
  15641. "description": "每页条数",
  15642. "type": "integer"
  15643. },
  15644. "total": {
  15645. "description": "总条数",
  15646. "type": "integer"
  15647. }
  15648. }
  15649. },
  15650. "common.ClientMenu": {
  15651. "type": "object",
  15652. "properties": {
  15653. "children": {
  15654. "description": "子菜单列表",
  15655. "type": "array",
  15656. "items": {
  15657. "$ref": "#/definitions/common.ClientMenu"
  15658. }
  15659. },
  15660. "code": {
  15661. "description": "ID",
  15662. "type": "string"
  15663. },
  15664. "isshow": {
  15665. "description": "是否显示",
  15666. "type": "boolean"
  15667. },
  15668. "remark": {
  15669. "description": "备注",
  15670. "type": "string"
  15671. },
  15672. "rulekey": {
  15673. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15674. "type": "string"
  15675. },
  15676. "sort": {
  15677. "description": "排序",
  15678. "type": "integer"
  15679. },
  15680. "title": {
  15681. "description": "标题",
  15682. "type": "string"
  15683. },
  15684. "type": {
  15685. "description": "类型,1:菜单 2:按钮",
  15686. "type": "integer"
  15687. },
  15688. "url": {
  15689. "description": "URL",
  15690. "type": "string"
  15691. }
  15692. }
  15693. },
  15694. "common.PCWebMenu": {
  15695. "type": "object",
  15696. "properties": {
  15697. "auth": {
  15698. "description": "页面权限列表",
  15699. "type": "array",
  15700. "items": {
  15701. "$ref": "#/definitions/common.PCWebMenuAuth"
  15702. }
  15703. },
  15704. "children": {
  15705. "description": "子菜单列表",
  15706. "type": "array",
  15707. "items": {
  15708. "$ref": "#/definitions/common.PCWebMenu"
  15709. }
  15710. },
  15711. "code": {
  15712. "description": "ID,新版本中权限KEY也是这个字段",
  15713. "type": "string"
  15714. },
  15715. "component": {
  15716. "description": "路由组件",
  15717. "type": "string"
  15718. },
  15719. "isshow": {
  15720. "description": "是否显示",
  15721. "type": "boolean"
  15722. },
  15723. "path": {
  15724. "description": "路由路径",
  15725. "type": "string"
  15726. },
  15727. "remark": {
  15728. "description": "备注",
  15729. "type": "string"
  15730. },
  15731. "rulekey": {
  15732. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15733. "type": "string"
  15734. },
  15735. "sort": {
  15736. "description": "排序",
  15737. "type": "integer"
  15738. },
  15739. "title": {
  15740. "description": "标题",
  15741. "type": "string"
  15742. },
  15743. "url": {
  15744. "description": "URL",
  15745. "type": "string"
  15746. }
  15747. }
  15748. },
  15749. "common.PCWebMenuAuth": {
  15750. "type": "object",
  15751. "properties": {
  15752. "code": {
  15753. "description": "ID,新版本中权限KEY也是这个字段",
  15754. "type": "string"
  15755. },
  15756. "isshow": {
  15757. "description": "是否显示",
  15758. "type": "boolean"
  15759. },
  15760. "label": {
  15761. "description": "标题",
  15762. "type": "string"
  15763. },
  15764. "remark": {
  15765. "description": "备注",
  15766. "type": "string"
  15767. },
  15768. "rulekey": {
  15769. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  15770. "type": "string"
  15771. }
  15772. }
  15773. },
  15774. "common.QueryImageConfigsRsp": {
  15775. "type": "object",
  15776. "required": [
  15777. "configid"
  15778. ],
  15779. "properties": {
  15780. "areauserid": {
  15781. "description": "所属机构ID",
  15782. "type": "integer"
  15783. },
  15784. "configid": {
  15785. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  15786. "type": "integer"
  15787. },
  15788. "createdate": {
  15789. "description": "创建时间",
  15790. "type": "string"
  15791. },
  15792. "creatorid": {
  15793. "description": "创建人",
  15794. "type": "integer"
  15795. },
  15796. "imagedetailpath": {
  15797. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  15798. "type": "string"
  15799. },
  15800. "imagepath": {
  15801. "description": "图片",
  15802. "type": "string"
  15803. },
  15804. "imagetype": {
  15805. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  15806. "type": "integer"
  15807. },
  15808. "isshow": {
  15809. "description": "是否展示 - 0:不展示 1:展示",
  15810. "type": "integer"
  15811. },
  15812. "marketid": {
  15813. "description": "市场ID",
  15814. "type": "integer"
  15815. },
  15816. "modifierid": {
  15817. "description": "操作人",
  15818. "type": "integer"
  15819. },
  15820. "sort": {
  15821. "description": "排序",
  15822. "type": "integer"
  15823. },
  15824. "title": {
  15825. "description": "标题",
  15826. "type": "string"
  15827. },
  15828. "trademode": {
  15829. "description": "交易模式",
  15830. "type": "integer"
  15831. },
  15832. "updatedate": {
  15833. "description": "修改时间",
  15834. "type": "string"
  15835. },
  15836. "url": {
  15837. "description": "链接(地址或商品ID)",
  15838. "type": "string"
  15839. },
  15840. "urltype": {
  15841. "description": "链接类型 - 1:直接地址 2:商品ID",
  15842. "type": "integer"
  15843. }
  15844. }
  15845. },
  15846. "common.QueryNoticeRsp": {
  15847. "type": "object",
  15848. "required": [
  15849. "autoid"
  15850. ],
  15851. "properties": {
  15852. "auditoruserid": {
  15853. "description": "审核人",
  15854. "type": "integer"
  15855. },
  15856. "auditremark": {
  15857. "description": "审核备注",
  15858. "type": "string"
  15859. },
  15860. "audittime": {
  15861. "description": "审核日期",
  15862. "type": "string"
  15863. },
  15864. "autoid": {
  15865. "description": "自增ID",
  15866. "type": "integer"
  15867. },
  15868. "content": {
  15869. "description": "内容",
  15870. "type": "string"
  15871. },
  15872. "createtime": {
  15873. "description": "创建时间",
  15874. "type": "string"
  15875. },
  15876. "creatorid": {
  15877. "description": "建仓人",
  15878. "type": "integer"
  15879. },
  15880. "endtime": {
  15881. "description": "结束时间",
  15882. "type": "string"
  15883. },
  15884. "istop": {
  15885. "description": "是否置顶 - 0:不置顶 1:置顶",
  15886. "type": "integer"
  15887. },
  15888. "msgiconurl": {
  15889. "description": "消息图标Url",
  15890. "type": "string"
  15891. },
  15892. "msgtype": {
  15893. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  15894. "type": "integer"
  15895. },
  15896. "publisher": {
  15897. "description": "消息发布者",
  15898. "type": "string"
  15899. },
  15900. "readed": {
  15901. "description": "是否已读",
  15902. "type": "boolean"
  15903. },
  15904. "scheduletime": {
  15905. "description": "计划发送时间",
  15906. "type": "string"
  15907. },
  15908. "sendtype": {
  15909. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  15910. "type": "integer"
  15911. },
  15912. "sentstatus": {
  15913. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  15914. "type": "integer"
  15915. },
  15916. "title": {
  15917. "description": "标题",
  15918. "type": "string"
  15919. },
  15920. "userid": {
  15921. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  15922. "type": "integer"
  15923. }
  15924. }
  15925. },
  15926. "common.QueryProvincesAndCitiesRsp": {
  15927. "type": "object",
  15928. "properties": {
  15929. "cities": {
  15930. "description": "市",
  15931. "type": "array",
  15932. "items": {
  15933. "$ref": "#/definitions/models.Division"
  15934. }
  15935. },
  15936. "province": {
  15937. "description": "省",
  15938. "$ref": "#/definitions/models.Division"
  15939. }
  15940. }
  15941. },
  15942. "common.QueryTableDefineRsp": {
  15943. "type": "object",
  15944. "required": [
  15945. "tablekey"
  15946. ],
  15947. "properties": {
  15948. "columns": {
  15949. "description": "列头信息数组",
  15950. "type": "array",
  15951. "items": {
  15952. "$ref": "#/definitions/models.Tablecolumnconfig"
  15953. }
  15954. },
  15955. "remark": {
  15956. "description": "Remark",
  15957. "type": "string"
  15958. },
  15959. "tabelmenu": {
  15960. "description": "列表菜单",
  15961. "type": "string"
  15962. },
  15963. "tablekey": {
  15964. "description": "列表Key",
  15965. "type": "string"
  15966. },
  15967. "tablename": {
  15968. "description": "列表名称",
  15969. "type": "string"
  15970. },
  15971. "tabletype": {
  15972. "description": "列表类型 - 1:管理端 2:终端",
  15973. "type": "integer"
  15974. }
  15975. }
  15976. },
  15977. "common.QueryTraderMenuRsp": {
  15978. "type": "object",
  15979. "properties": {
  15980. "OperationMenu": {
  15981. "description": "功能菜单",
  15982. "type": "array",
  15983. "items": {
  15984. "$ref": "#/definitions/models.OperationPrimaryMenu"
  15985. }
  15986. },
  15987. "QuoteMenu": {
  15988. "description": "报价牌分类菜单",
  15989. "type": "array",
  15990. "items": {
  15991. "$ref": "#/definitions/models.QuotePrimaryMenu"
  15992. }
  15993. }
  15994. }
  15995. },
  15996. "cptrade.Cptradepositioncancel": {
  15997. "type": "object",
  15998. "required": [
  15999. "cancelid"
  16000. ],
  16001. "properties": {
  16002. "accountid": {
  16003. "description": "申请人账户ID",
  16004. "type": "integer"
  16005. },
  16006. "applystatus": {
  16007. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16008. "type": "integer"
  16009. },
  16010. "applytime": {
  16011. "description": "申请时间",
  16012. "type": "string"
  16013. },
  16014. "cancelid": {
  16015. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16016. "type": "integer"
  16017. },
  16018. "cancelqty": {
  16019. "description": "注销数量",
  16020. "type": "integer"
  16021. },
  16022. "createtime": {
  16023. "description": "创建时间",
  16024. "type": "string"
  16025. },
  16026. "creatorid": {
  16027. "description": "创建人ID",
  16028. "type": "integer"
  16029. },
  16030. "creatorname": {
  16031. "description": "创建人",
  16032. "type": "string"
  16033. },
  16034. "goodscode": {
  16035. "description": "订单商品代码",
  16036. "type": "string"
  16037. },
  16038. "goodsid": {
  16039. "description": "商品ID",
  16040. "type": "integer"
  16041. },
  16042. "goodsname": {
  16043. "description": "订单商品名称",
  16044. "type": "string"
  16045. },
  16046. "goodunit": {
  16047. "description": "报价单位",
  16048. "type": "string"
  16049. },
  16050. "handlestatus": {
  16051. "description": "处理状态",
  16052. "type": "integer"
  16053. },
  16054. "marketid": {
  16055. "description": "市场ID",
  16056. "type": "integer"
  16057. },
  16058. "marketname": {
  16059. "description": "市场名称",
  16060. "type": "string"
  16061. },
  16062. "tradedate": {
  16063. "description": "交易日(yyyyMMdd)",
  16064. "type": "string"
  16065. },
  16066. "userid": {
  16067. "description": "申请人ID",
  16068. "type": "integer"
  16069. }
  16070. }
  16071. },
  16072. "cptrade.Cptradepresaleapply": {
  16073. "type": "object",
  16074. "required": [
  16075. "applyid"
  16076. ],
  16077. "properties": {
  16078. "accountid": {
  16079. "description": "申请人账户ID",
  16080. "type": "integer"
  16081. },
  16082. "applyid": {
  16083. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16084. "type": "integer"
  16085. },
  16086. "applyremark": {
  16087. "description": "申请备注",
  16088. "type": "string"
  16089. },
  16090. "applystatus": {
  16091. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16092. "type": "integer"
  16093. },
  16094. "applytime": {
  16095. "description": "申请时间",
  16096. "type": "string"
  16097. },
  16098. "attachmenturl": {
  16099. "description": "附件地址",
  16100. "type": "string"
  16101. },
  16102. "endtime": {
  16103. "description": "预售结束时间",
  16104. "type": "string"
  16105. },
  16106. "goodscode": {
  16107. "description": "商品代码",
  16108. "type": "string"
  16109. },
  16110. "goodsid": {
  16111. "description": "商品ID",
  16112. "type": "integer"
  16113. },
  16114. "goodsname": {
  16115. "description": "商品名称",
  16116. "type": "string"
  16117. },
  16118. "goodunit": {
  16119. "description": "报价单位",
  16120. "type": "string"
  16121. },
  16122. "handlestatus": {
  16123. "description": "处理状态",
  16124. "type": "integer"
  16125. },
  16126. "marketid": {
  16127. "description": "预售市场ID",
  16128. "type": "integer"
  16129. },
  16130. "marketname": {
  16131. "description": "预售市场名称",
  16132. "type": "string"
  16133. },
  16134. "presaleqty": {
  16135. "description": "预售数量",
  16136. "type": "integer"
  16137. },
  16138. "relatedgoodscode": {
  16139. "description": "关联交易合约代码",
  16140. "type": "string"
  16141. },
  16142. "relatedgoodsid": {
  16143. "description": "关联交易合约ID",
  16144. "type": "integer"
  16145. },
  16146. "relatedgoodsname": {
  16147. "description": "关联交易合约名称",
  16148. "type": "string"
  16149. },
  16150. "starttime": {
  16151. "description": "预售开始时间",
  16152. "type": "string"
  16153. },
  16154. "tradedate": {
  16155. "description": "交易日(yyyyMMdd)",
  16156. "type": "string"
  16157. },
  16158. "trademode": {
  16159. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16160. "type": "integer"
  16161. },
  16162. "userid": {
  16163. "description": "申请人ID",
  16164. "type": "integer"
  16165. }
  16166. }
  16167. },
  16168. "cptrade.Cptradeusergoodsdata": {
  16169. "type": "object",
  16170. "required": [
  16171. "accountid",
  16172. "goodsid"
  16173. ],
  16174. "properties": {
  16175. "EnabledQty": {
  16176. "description": "可用量",
  16177. "type": "integer"
  16178. },
  16179. "GoodsCode": {
  16180. "description": "订单商品代码",
  16181. "type": "string"
  16182. },
  16183. "GoodsName": {
  16184. "description": "订单商品名称",
  16185. "type": "string"
  16186. },
  16187. "WRStandardCode": {
  16188. "description": "仓单标准代码",
  16189. "type": "string"
  16190. },
  16191. "WRStandardName": {
  16192. "description": "仓单标准名称",
  16193. "type": "string"
  16194. },
  16195. "accountid": {
  16196. "description": "账户ID",
  16197. "type": "integer"
  16198. },
  16199. "cancelqty": {
  16200. "description": "注销量",
  16201. "type": "integer"
  16202. },
  16203. "curpresaleqty": {
  16204. "description": "当前预售量",
  16205. "type": "integer"
  16206. },
  16207. "deliveryqty": {
  16208. "description": "交割量",
  16209. "type": "integer"
  16210. },
  16211. "freezeamount": {
  16212. "description": "冻结金额",
  16213. "type": "number"
  16214. },
  16215. "goodsid": {
  16216. "description": "商品ID",
  16217. "type": "integer"
  16218. },
  16219. "goodunit": {
  16220. "description": "报价单位",
  16221. "type": "string"
  16222. },
  16223. "hasspotfreeze": {
  16224. "description": "是否有现货冻结 - 0:否 1:有",
  16225. "type": "integer"
  16226. },
  16227. "inqty": {
  16228. "description": "转入量(总数量)",
  16229. "type": "integer"
  16230. },
  16231. "marketid": {
  16232. "description": "市场ID",
  16233. "type": "integer"
  16234. },
  16235. "presaledamount": {
  16236. "description": "已预售总金额",
  16237. "type": "integer"
  16238. },
  16239. "presaledqty": {
  16240. "description": "已预售量",
  16241. "type": "integer"
  16242. },
  16243. "userid": {
  16244. "description": "用户ID",
  16245. "type": "integer"
  16246. },
  16247. "wrstandardid": {
  16248. "description": "仓单标准ID",
  16249. "type": "integer"
  16250. }
  16251. }
  16252. },
  16253. "cptrade.QueryCPTradeMyBidRsp": {
  16254. "type": "object",
  16255. "required": [
  16256. "accountid",
  16257. "goodsid",
  16258. "marketid",
  16259. "orderid",
  16260. "orderqty",
  16261. "ordertime",
  16262. "tradeprice",
  16263. "tradeqty"
  16264. ],
  16265. "properties": {
  16266. "accountid": {
  16267. "description": "账户ID[报价币种]",
  16268. "type": "integer"
  16269. },
  16270. "goodsid": {
  16271. "description": "商品ID",
  16272. "type": "integer"
  16273. },
  16274. "goodunit": {
  16275. "description": "报价单位",
  16276. "type": "string"
  16277. },
  16278. "marketid": {
  16279. "description": "市场ID",
  16280. "type": "integer"
  16281. },
  16282. "orderid": {
  16283. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16284. "type": "integer"
  16285. },
  16286. "orderprice": {
  16287. "description": "委托价格",
  16288. "type": "number"
  16289. },
  16290. "orderqty": {
  16291. "description": "委托数量",
  16292. "type": "integer"
  16293. },
  16294. "ordertime": {
  16295. "description": "委托时间",
  16296. "type": "string"
  16297. },
  16298. "ordertotalprice": {
  16299. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16300. "type": "number"
  16301. },
  16302. "ordertotalweight": {
  16303. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16304. "type": "integer"
  16305. },
  16306. "totaltotalprice": {
  16307. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16308. "type": "number"
  16309. },
  16310. "tradeprice": {
  16311. "description": "成交价格",
  16312. "type": "number"
  16313. },
  16314. "tradeqty": {
  16315. "description": "成交数量",
  16316. "type": "integer"
  16317. }
  16318. }
  16319. },
  16320. "cptrade.QueryCPTradeOrderDetailRsq": {
  16321. "type": "object",
  16322. "required": [
  16323. "accountid",
  16324. "buildtype",
  16325. "buyorsell",
  16326. "goodsid",
  16327. "marketid",
  16328. "memberuserid",
  16329. "operatetype",
  16330. "orderqty",
  16331. "ordertime",
  16332. "pricemode",
  16333. "strorderid",
  16334. "tradedate",
  16335. "validtype"
  16336. ],
  16337. "properties": {
  16338. "accountid": {
  16339. "description": "账户ID[报价币种]",
  16340. "type": "integer"
  16341. },
  16342. "buildtype": {
  16343. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16344. "type": "integer"
  16345. },
  16346. "buyorsell": {
  16347. "description": "买卖 - 0:买 1:卖",
  16348. "type": "integer"
  16349. },
  16350. "cancelorderid": {
  16351. "description": "撤单单号(撤单时填写)",
  16352. "type": "integer"
  16353. },
  16354. "cancelqty": {
  16355. "description": "撤单数量",
  16356. "type": "integer"
  16357. },
  16358. "clientordertime": {
  16359. "description": "客户端委托时间",
  16360. "type": "string"
  16361. },
  16362. "clientticket": {
  16363. "description": "客户端流水号",
  16364. "type": "string"
  16365. },
  16366. "clienttype": {
  16367. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16368. "type": "integer"
  16369. },
  16370. "closeexchagechargevalue": {
  16371. "description": "平仓交易所手续费设置值",
  16372. "type": "number"
  16373. },
  16374. "closefeealgorithm": {
  16375. "description": "平仓手续费收取方式 1:比率 2:固定",
  16376. "type": "integer"
  16377. },
  16378. "closefreezecharge": {
  16379. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16380. "type": "number"
  16381. },
  16382. "closememberchargevalue": {
  16383. "description": "平仓会员手续费设置值",
  16384. "type": "number"
  16385. },
  16386. "closeqty": {
  16387. "description": "平仓数量(先建后平操作 需要记录)",
  16388. "type": "integer"
  16389. },
  16390. "closetradeqty": {
  16391. "description": "平仓成交数量(先建后平操作,需要记录)",
  16392. "type": "integer"
  16393. },
  16394. "closeunfreezecharge": {
  16395. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16396. "type": "number"
  16397. },
  16398. "delistingtype": {
  16399. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16400. "type": "integer"
  16401. },
  16402. "freezecharge": {
  16403. "description": "冻结手续费",
  16404. "type": "number"
  16405. },
  16406. "freezemargin": {
  16407. "description": "冻结保证金(冻结交易金额)",
  16408. "type": "number"
  16409. },
  16410. "gcaccountid": {
  16411. "description": "账户ID[合约币种]",
  16412. "type": "integer"
  16413. },
  16414. "goodsid": {
  16415. "description": "商品ID",
  16416. "type": "integer"
  16417. },
  16418. "isconfirmexercise": {
  16419. "description": "是否确认行权- 0:否 1:是",
  16420. "type": "integer"
  16421. },
  16422. "ispreexercise": {
  16423. "description": "是否预申报- 0:否 1:是",
  16424. "type": "integer"
  16425. },
  16426. "listingselecttype": {
  16427. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16428. "type": "integer"
  16429. },
  16430. "marginalgorithm": {
  16431. "description": "保证金收取方式 1:比率 2:固定",
  16432. "type": "integer"
  16433. },
  16434. "marginvalue": {
  16435. "description": "即市保证金设置值",
  16436. "type": "number"
  16437. },
  16438. "marketid": {
  16439. "description": "市场ID",
  16440. "type": "integer"
  16441. },
  16442. "marketmaxsub": {
  16443. "description": "市价最大偏移范围",
  16444. "type": "number"
  16445. },
  16446. "memberuserid": {
  16447. "description": "所属会员UserID",
  16448. "type": "integer"
  16449. },
  16450. "openexchagechargevalue": {
  16451. "description": "建仓交易所手续费设置值",
  16452. "type": "number"
  16453. },
  16454. "openfeealgorithm": {
  16455. "description": "建仓手续费收取方式 1:比率 2:固定",
  16456. "type": "integer"
  16457. },
  16458. "openfreezecharge": {
  16459. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16460. "type": "number"
  16461. },
  16462. "openmemberchargevalue": {
  16463. "description": "建仓会员手续费设置值",
  16464. "type": "number"
  16465. },
  16466. "openqty": {
  16467. "description": "开仓数量(先建后平操作,需要记录)",
  16468. "type": "integer"
  16469. },
  16470. "opentradeqty": {
  16471. "description": "开仓成交数量(先建后平操作,需要记录)",
  16472. "type": "integer"
  16473. },
  16474. "openunfreezecharge": {
  16475. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16476. "type": "number"
  16477. },
  16478. "operatetype": {
  16479. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16480. "type": "integer"
  16481. },
  16482. "operatorid": {
  16483. "description": "登录账号(LoginID)",
  16484. "type": "integer"
  16485. },
  16486. "optiontype": {
  16487. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16488. "type": "integer"
  16489. },
  16490. "orderprice": {
  16491. "description": "委托价格",
  16492. "type": "number"
  16493. },
  16494. "orderqty": {
  16495. "description": "委托数量",
  16496. "type": "integer"
  16497. },
  16498. "ordersrc": {
  16499. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16500. "type": "integer"
  16501. },
  16502. "orderstatus": {
  16503. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16504. "type": "integer"
  16505. },
  16506. "ordertime": {
  16507. "description": "委托时间",
  16508. "type": "string"
  16509. },
  16510. "preexerciseprice": {
  16511. "description": "预申报价格",
  16512. "type": "number"
  16513. },
  16514. "premium": {
  16515. "description": "权利金",
  16516. "type": "number"
  16517. },
  16518. "preorderid": {
  16519. "description": "关联预埋单号(止盈止损单时填写)",
  16520. "type": "integer"
  16521. },
  16522. "pricemode": {
  16523. "description": "取价方式 - 1:市价 2: 限价",
  16524. "type": "integer"
  16525. },
  16526. "quoteid": {
  16527. "description": "报价单ID",
  16528. "type": "integer"
  16529. },
  16530. "relatedid": {
  16531. "description": "关联单号(交割单)",
  16532. "type": "integer"
  16533. },
  16534. "retcode": {
  16535. "description": "错误代码",
  16536. "type": "integer"
  16537. },
  16538. "sessionid": {
  16539. "description": "会话ID",
  16540. "type": "integer"
  16541. },
  16542. "strorderid": {
  16543. "description": "委托单号",
  16544. "type": "string"
  16545. },
  16546. "tradedate": {
  16547. "description": "交易日(yyyyMMdd)",
  16548. "type": "string"
  16549. },
  16550. "tradeproperty": {
  16551. "description": "交易属性",
  16552. "type": "integer"
  16553. },
  16554. "tradeqty": {
  16555. "description": "成交数量",
  16556. "type": "integer"
  16557. },
  16558. "unfreezecharge": {
  16559. "description": "解冻手续费",
  16560. "type": "number"
  16561. },
  16562. "unfreezemargin": {
  16563. "description": "解冻保证金",
  16564. "type": "number"
  16565. },
  16566. "updatetime": {
  16567. "description": "更新时间",
  16568. "type": "string"
  16569. },
  16570. "uuid": {
  16571. "description": "发起端唯一id",
  16572. "type": "string"
  16573. },
  16574. "validtime": {
  16575. "description": "有效期限",
  16576. "type": "string"
  16577. },
  16578. "validtype": {
  16579. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16580. "type": "integer"
  16581. },
  16582. "volumetype": {
  16583. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16584. "type": "integer"
  16585. }
  16586. }
  16587. },
  16588. "cptrade.QueryMyCPTradeGoodsRsp": {
  16589. "type": "object",
  16590. "required": [
  16591. "goodscode",
  16592. "goodsid",
  16593. "goodsname",
  16594. "marketid",
  16595. "relatedgoodscode",
  16596. "relatedgoodsname"
  16597. ],
  16598. "properties": {
  16599. "accountid": {
  16600. "description": "卖方账户ID",
  16601. "type": "integer"
  16602. },
  16603. "agreeunit": {
  16604. "description": "合约单位",
  16605. "type": "number"
  16606. },
  16607. "applyid": {
  16608. "description": "关联申请ID",
  16609. "type": "integer"
  16610. },
  16611. "attachmenturl": {
  16612. "description": "附件地址",
  16613. "type": "string"
  16614. },
  16615. "createtime": {
  16616. "description": "创建时间",
  16617. "type": "string"
  16618. },
  16619. "currencyid": {
  16620. "description": "报价货币ID",
  16621. "type": "integer"
  16622. },
  16623. "decimalplace": {
  16624. "description": "报价小数位",
  16625. "type": "integer"
  16626. },
  16627. "endtime": {
  16628. "description": "预售结束时间",
  16629. "type": "string"
  16630. },
  16631. "floorprice": {
  16632. "description": "底价[大宗式竞拍]",
  16633. "type": "number"
  16634. },
  16635. "goodscode": {
  16636. "description": "商品代码(预售)",
  16637. "type": "string"
  16638. },
  16639. "goodsdetail": {
  16640. "description": "详情[大宗]",
  16641. "type": "string"
  16642. },
  16643. "goodsid": {
  16644. "description": "商品ID(自增ID SEQ_GOODS)",
  16645. "type": "integer"
  16646. },
  16647. "goodsname": {
  16648. "description": "商品名称(预售)",
  16649. "type": "string"
  16650. },
  16651. "goodunit": {
  16652. "description": "报价单位",
  16653. "type": "string"
  16654. },
  16655. "goodunitid": {
  16656. "description": "报价单位ID",
  16657. "type": "integer"
  16658. },
  16659. "marketid": {
  16660. "description": "所属市场ID",
  16661. "type": "integer"
  16662. },
  16663. "marketname": {
  16664. "description": "预售市场名称",
  16665. "type": "string"
  16666. },
  16667. "presaledamount": {
  16668. "description": "已预售总金额(预售结束时更新)",
  16669. "type": "number"
  16670. },
  16671. "presaledqty": {
  16672. "description": "已预售量(预售结束时更新)",
  16673. "type": "integer"
  16674. },
  16675. "presalemode": {
  16676. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16677. "type": "integer"
  16678. },
  16679. "presaleqty": {
  16680. "description": "预售数量",
  16681. "type": "integer"
  16682. },
  16683. "refprice": {
  16684. "description": "参考价格[一口价]",
  16685. "type": "number"
  16686. },
  16687. "relatedgoodscode": {
  16688. "description": "商品代码(订单)",
  16689. "type": "string"
  16690. },
  16691. "relatedgoodsid": {
  16692. "description": "关联交易合约ID",
  16693. "type": "integer"
  16694. },
  16695. "relatedgoodsname": {
  16696. "description": "商品名称(订单)",
  16697. "type": "string"
  16698. },
  16699. "relatedmarketid": {
  16700. "description": "关联交易合约市场ID",
  16701. "type": "integer"
  16702. },
  16703. "sellstatus": {
  16704. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16705. "type": "integer"
  16706. },
  16707. "startprice": {
  16708. "description": "起拍价[大宗式竞拍]",
  16709. "type": "number"
  16710. },
  16711. "starttime": {
  16712. "description": "预售开始时间",
  16713. "type": "string"
  16714. },
  16715. "tradedate": {
  16716. "description": "交易日(yyyyMMdd)",
  16717. "type": "string"
  16718. },
  16719. "tradeprice": {
  16720. "description": "成交价[大宗]",
  16721. "type": "number"
  16722. },
  16723. "userid": {
  16724. "description": "卖方用户ID",
  16725. "type": "integer"
  16726. }
  16727. }
  16728. },
  16729. "cptrade.QueryPresaleGoodsExRsp": {
  16730. "type": "object",
  16731. "required": [
  16732. "goodsid"
  16733. ],
  16734. "properties": {
  16735. "attachmenturl": {
  16736. "description": "附件地址",
  16737. "type": "string"
  16738. },
  16739. "createtime": {
  16740. "description": "创建时间",
  16741. "type": "string"
  16742. },
  16743. "endtime": {
  16744. "description": "预售结束时间",
  16745. "type": "string"
  16746. },
  16747. "floorprice": {
  16748. "description": "底价[大宗式竞拍]",
  16749. "type": "number"
  16750. },
  16751. "goodsdetail": {
  16752. "description": "详情[大宗]",
  16753. "type": "string"
  16754. },
  16755. "goodsid": {
  16756. "description": "商品ID(预售)",
  16757. "type": "integer"
  16758. },
  16759. "goodunit": {
  16760. "description": "报价单位",
  16761. "type": "string"
  16762. },
  16763. "marketid": {
  16764. "description": "预售市场ID - 根据预售模式选择市场",
  16765. "type": "integer"
  16766. },
  16767. "presaledamount": {
  16768. "description": "已预售总金额(预售结束时更新)",
  16769. "type": "number"
  16770. },
  16771. "presaledqty": {
  16772. "description": "已预售量(预售结束时更新)",
  16773. "type": "integer"
  16774. },
  16775. "presalemode": {
  16776. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16777. "type": "integer"
  16778. },
  16779. "presaleqty": {
  16780. "description": "预售数量",
  16781. "type": "integer"
  16782. },
  16783. "refprice": {
  16784. "description": "参考价格[一口价]",
  16785. "type": "number"
  16786. },
  16787. "relatedgoodsid": {
  16788. "description": "关联交易合约ID",
  16789. "type": "integer"
  16790. },
  16791. "relatedmarketid": {
  16792. "description": "关联交易合约市场ID",
  16793. "type": "integer"
  16794. },
  16795. "sellstatus": {
  16796. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  16797. "type": "integer"
  16798. },
  16799. "startprice": {
  16800. "description": "起拍价[大宗式竞拍]",
  16801. "type": "number"
  16802. },
  16803. "starttime": {
  16804. "description": "预售开始时间",
  16805. "type": "string"
  16806. },
  16807. "tradedate": {
  16808. "description": "交易日(yyyyMMdd)",
  16809. "type": "string"
  16810. },
  16811. "tradeprice": {
  16812. "description": "成交价[大宗]",
  16813. "type": "number"
  16814. }
  16815. }
  16816. },
  16817. "delivery.QueryDeliveryRelationRsp": {
  16818. "type": "object",
  16819. "required": [
  16820. "begindate",
  16821. "enddate",
  16822. "goodsid",
  16823. "mindeliveryqty",
  16824. "xdeliveryratio"
  16825. ],
  16826. "properties": {
  16827. "begindate": {
  16828. "description": "起始日期(yyyyMMdd)",
  16829. "type": "string"
  16830. },
  16831. "buytemplateid": {
  16832. "description": "买履约计划模板ID",
  16833. "type": "integer"
  16834. },
  16835. "deliverygoodscode": {
  16836. "description": "品种代码",
  16837. "type": "string"
  16838. },
  16839. "deliverygoodsid": {
  16840. "description": "交割商品",
  16841. "type": "integer"
  16842. },
  16843. "deliverygoodsname": {
  16844. "description": "品种名称",
  16845. "type": "string"
  16846. },
  16847. "deliverymode": {
  16848. "description": "交割方式 - 1:点选式 2:申报式",
  16849. "type": "integer"
  16850. },
  16851. "deliverypricerule": {
  16852. "description": "交割价规则- 1:行情价 2:建仓价",
  16853. "type": "integer"
  16854. },
  16855. "deliverytype": {
  16856. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  16857. "type": "integer"
  16858. },
  16859. "enddate": {
  16860. "description": "结束日期(yyyyMMdd)",
  16861. "type": "string"
  16862. },
  16863. "enumdicname": {
  16864. "description": "品类单位名称",
  16865. "type": "string"
  16866. },
  16867. "goodscode": {
  16868. "description": "商品代码",
  16869. "type": "string"
  16870. },
  16871. "goodsid": {
  16872. "description": "交易合约ID",
  16873. "type": "integer"
  16874. },
  16875. "goodsname": {
  16876. "description": "商品名称",
  16877. "type": "string"
  16878. },
  16879. "marketid": {
  16880. "description": "市场ID",
  16881. "type": "integer"
  16882. },
  16883. "mindeliveryqty": {
  16884. "description": "最小交割系数(K)",
  16885. "type": "integer"
  16886. },
  16887. "p2deliveryprice": {
  16888. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  16889. "type": "number"
  16890. },
  16891. "p2deliveryratio": {
  16892. "description": "P2合约系数(p)",
  16893. "type": "integer"
  16894. },
  16895. "p2goodsid": {
  16896. "description": "P2合约ID",
  16897. "type": "integer"
  16898. },
  16899. "p2pricemode": {
  16900. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  16901. "type": "integer"
  16902. },
  16903. "pdeliveryprice": {
  16904. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  16905. "type": "number"
  16906. },
  16907. "pdeliveryratio": {
  16908. "description": "P合约系数(n)",
  16909. "type": "integer"
  16910. },
  16911. "pgoodscode": {
  16912. "description": "p合约代码",
  16913. "type": "string"
  16914. },
  16915. "pgoodsid": {
  16916. "description": "P合约ID",
  16917. "type": "integer"
  16918. },
  16919. "ppricemode": {
  16920. "description": "P合约价格方式 - 1:商品价 2:固定值",
  16921. "type": "integer"
  16922. },
  16923. "rratio": {
  16924. "description": "兑换系数(R)",
  16925. "type": "integer"
  16926. },
  16927. "rratio1": {
  16928. "description": "兑换系数(交易合约)(R1)",
  16929. "type": "integer"
  16930. },
  16931. "rratio2": {
  16932. "description": "兑换系数(仓单标准)(R2)",
  16933. "type": "integer"
  16934. },
  16935. "selltemplateid": {
  16936. "description": "卖履约计划模板ID",
  16937. "type": "integer"
  16938. },
  16939. "wrstandardid": {
  16940. "description": "仓单标准ID",
  16941. "type": "integer"
  16942. },
  16943. "xdeliveryratio": {
  16944. "description": "交易合约系数(m)",
  16945. "type": "integer"
  16946. }
  16947. }
  16948. },
  16949. "ermcp.ExposureDetailRsp": {
  16950. "type": "object",
  16951. "properties": {
  16952. "areauserid": {
  16953. "description": "机构ID",
  16954. "type": "integer"
  16955. },
  16956. "changeQty": {
  16957. "description": "套保变动量",
  16958. "type": "number"
  16959. },
  16960. "contracttype": {
  16961. "description": "现货合同类型 - 1:采购 -1:销售",
  16962. "type": "integer"
  16963. },
  16964. "convertfactor": {
  16965. "description": "标仓系数",
  16966. "type": "number"
  16967. },
  16968. "convertratio": {
  16969. "description": "套保系数",
  16970. "type": "number"
  16971. },
  16972. "createtime": {
  16973. "description": "时间",
  16974. "type": "string"
  16975. },
  16976. "enumdicname": {
  16977. "description": "现货商品单位名称",
  16978. "type": "string"
  16979. },
  16980. "logtype": {
  16981. "description": "类型 - 1:套保计划 2:现货合同",
  16982. "type": "integer"
  16983. },
  16984. "middlegoodsId": {
  16985. "description": "套保商品id",
  16986. "type": "integer"
  16987. },
  16988. "middlegoodscode": {
  16989. "description": "套保商品代码",
  16990. "type": "string"
  16991. },
  16992. "middlegoodsname": {
  16993. "description": "套保商品名称",
  16994. "type": "string"
  16995. },
  16996. "qty": {
  16997. "description": "数量",
  16998. "type": "number"
  16999. },
  17000. "relateNo": {
  17001. "description": "现货合同/套保计划编号",
  17002. "type": "string"
  17003. },
  17004. "wrstandardcode": {
  17005. "description": "现货商品代码",
  17006. "type": "string"
  17007. },
  17008. "wrstandardid": {
  17009. "description": "现货商品ID",
  17010. "type": "integer"
  17011. },
  17012. "wrstandardname": {
  17013. "description": "现货商品名称",
  17014. "type": "string"
  17015. }
  17016. }
  17017. },
  17018. "ermcp.ExposureHedgePosDetailRsp": {
  17019. "type": "object",
  17020. "properties": {
  17021. "buyorsell": {
  17022. "description": "买卖方向 0-买 1-卖",
  17023. "type": "integer"
  17024. },
  17025. "channelbuildtype": {
  17026. "description": "开平方向 1-建仓 2-平仓",
  17027. "type": "integer"
  17028. },
  17029. "goodscode": {
  17030. "description": "商品代码",
  17031. "type": "string"
  17032. },
  17033. "goodsname": {
  17034. "description": "商品名称",
  17035. "type": "string"
  17036. },
  17037. "hedgegoodsid": {
  17038. "description": "商品id",
  17039. "type": "integer"
  17040. },
  17041. "tradeqty": {
  17042. "description": "数量(成交数量)",
  17043. "type": "integer"
  17044. },
  17045. "tradetime": {
  17046. "description": "时间(成交时间)",
  17047. "type": "string"
  17048. }
  17049. }
  17050. },
  17051. "ermcp.ExposureHedgePositionRsp": {
  17052. "type": "object",
  17053. "properties": {
  17054. "accountid": {
  17055. "description": "资金账号[外部母账户]",
  17056. "type": "integer"
  17057. },
  17058. "curbuyposition": {
  17059. "description": "期末买头寸",
  17060. "type": "integer"
  17061. },
  17062. "cursellposition": {
  17063. "description": "期末卖头寸",
  17064. "type": "integer"
  17065. },
  17066. "curtdbuyposition": {
  17067. "description": "期末今日买头寸",
  17068. "type": "integer"
  17069. },
  17070. "curtdsellposition": {
  17071. "description": "期末今日卖头寸",
  17072. "type": "integer"
  17073. },
  17074. "curydbuyposition": {
  17075. "description": "期末上日买头寸",
  17076. "type": "integer"
  17077. },
  17078. "curydsellposition": {
  17079. "description": "期末上日卖头寸",
  17080. "type": "integer"
  17081. },
  17082. "decreaseqty": {
  17083. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17084. "type": "integer"
  17085. },
  17086. "fretdbuyposition": {
  17087. "description": "冻结今日买头寸",
  17088. "type": "integer"
  17089. },
  17090. "fretdsellposition": {
  17091. "description": "冻结今日卖头寸",
  17092. "type": "integer"
  17093. },
  17094. "freydbuyposition": {
  17095. "description": "冻结上日买头寸",
  17096. "type": "integer"
  17097. },
  17098. "freydsellposition": {
  17099. "description": "冻结上日卖头寸",
  17100. "type": "integer"
  17101. },
  17102. "goodscode": {
  17103. "description": "商品代码",
  17104. "type": "string"
  17105. },
  17106. "goodsid": {
  17107. "description": "商品id",
  17108. "type": "integer"
  17109. },
  17110. "goodsname": {
  17111. "description": "商品名称",
  17112. "type": "string"
  17113. },
  17114. "hedgeaccountcode": {
  17115. "description": "对冲账号",
  17116. "type": "string"
  17117. },
  17118. "hedgegoodsid": {
  17119. "description": "对冲合约ID",
  17120. "type": "integer"
  17121. },
  17122. "increaseqty": {
  17123. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17124. "type": "integer"
  17125. },
  17126. "marketid": {
  17127. "description": "市场ID",
  17128. "type": "integer"
  17129. },
  17130. "relateduserid": {
  17131. "description": "关联用户id",
  17132. "type": "integer"
  17133. },
  17134. "totalcurqty": {
  17135. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17136. "type": "integer"
  17137. },
  17138. "totalydqty": {
  17139. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17140. "type": "integer"
  17141. },
  17142. "tradedate": {
  17143. "description": "交易日(yyyyMMdd)",
  17144. "type": "string"
  17145. },
  17146. "ydbuyposition": {
  17147. "description": "期初买头寸",
  17148. "type": "integer"
  17149. },
  17150. "ydsellposition": {
  17151. "description": "期初卖头寸",
  17152. "type": "integer"
  17153. }
  17154. }
  17155. },
  17156. "ermcp.ExposureSpotDetailRsp": {
  17157. "type": "object",
  17158. "properties": {
  17159. "contracttype": {
  17160. "description": "合同类型 1-采购 -1-销售",
  17161. "type": "integer"
  17162. },
  17163. "createtime": {
  17164. "description": "创建时间",
  17165. "type": "string"
  17166. },
  17167. "enumdicname": {
  17168. "description": "现货商品单位名称",
  17169. "type": "string"
  17170. },
  17171. "logtype": {
  17172. "description": "记录类型 1-套保 2-现货合同",
  17173. "type": "integer"
  17174. },
  17175. "qty": {
  17176. "description": "数量",
  17177. "type": "number"
  17178. },
  17179. "recordname": {
  17180. "description": "类型名称",
  17181. "type": "string"
  17182. },
  17183. "relatedid": {
  17184. "description": "套保计划ID/现货合同ID",
  17185. "type": "string"
  17186. },
  17187. "relatedno": {
  17188. "description": "编号",
  17189. "type": "string"
  17190. },
  17191. "strtime": {
  17192. "description": "时间",
  17193. "type": "string"
  17194. },
  17195. "wrstandardcode": {
  17196. "description": "现货商品代码",
  17197. "type": "string"
  17198. },
  17199. "wrstandardname": {
  17200. "description": "现货商品名称",
  17201. "type": "string"
  17202. }
  17203. }
  17204. },
  17205. "ermcp.ExposureSpotRsp": {
  17206. "type": "object",
  17207. "properties": {
  17208. "areauserid": {
  17209. "description": "所属机构",
  17210. "type": "integer"
  17211. },
  17212. "decreaseqty": {
  17213. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17214. "type": "number"
  17215. },
  17216. "increaseqty": {
  17217. "description": "增加数量=销售计划数量+采购已定价数量",
  17218. "type": "number"
  17219. },
  17220. "oritoalspotqty": {
  17221. "description": "昨日数量",
  17222. "type": "number"
  17223. },
  17224. "totalspotqty": {
  17225. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17226. "type": "number"
  17227. },
  17228. "updatetime": {
  17229. "description": "更新时间",
  17230. "type": "string"
  17231. },
  17232. "wrstandardcode": {
  17233. "description": "现货品种代码",
  17234. "type": "string"
  17235. },
  17236. "wrstandardid": {
  17237. "description": "现货商品ID",
  17238. "type": "integer"
  17239. },
  17240. "wrstandardname": {
  17241. "description": "现货品种",
  17242. "type": "string"
  17243. }
  17244. }
  17245. },
  17246. "ermcp.HisExposureRsp": {
  17247. "type": "object",
  17248. "properties": {
  17249. "data": {
  17250. "description": "历史敞口",
  17251. "type": "array",
  17252. "items": {
  17253. "$ref": "#/definitions/models.ErmcpHisExposure"
  17254. }
  17255. },
  17256. "enumdicname": {
  17257. "description": "单位名称",
  17258. "type": "string"
  17259. },
  17260. "middlegoodscode": {
  17261. "description": "套保品种代码",
  17262. "type": "string"
  17263. },
  17264. "middlegoodsid": {
  17265. "description": "套保品种ID",
  17266. "type": "integer"
  17267. },
  17268. "middlegoodsname": {
  17269. "description": "套保品种名称",
  17270. "type": "string"
  17271. }
  17272. }
  17273. },
  17274. "ermcp.PendingAuditCntRsp": {
  17275. "type": "object",
  17276. "properties": {
  17277. "areastockqty": {
  17278. "description": "待审核数量: 库存申请",
  17279. "type": "integer"
  17280. },
  17281. "businessdjqty": {
  17282. "description": "待审核数量: 点价",
  17283. "type": "integer"
  17284. },
  17285. "businessfpqty": {
  17286. "description": "待审核数量: 发票",
  17287. "type": "integer"
  17288. },
  17289. "businessjsqty": {
  17290. "description": "待审核数量: 结算",
  17291. "type": "integer"
  17292. },
  17293. "businesskxqty": {
  17294. "description": "待审核数量: 款项",
  17295. "type": "integer"
  17296. },
  17297. "hedgeplanqty": {
  17298. "description": "待审核数量: 套保计划",
  17299. "type": "integer"
  17300. },
  17301. "spotcontractqty": {
  17302. "description": "待审核数量: 现货合同",
  17303. "type": "integer"
  17304. },
  17305. "userqty": {
  17306. "description": "待审核数量: 用户",
  17307. "type": "integer"
  17308. }
  17309. }
  17310. },
  17311. "ermcp.QryAvalidGPRsp": {
  17312. "type": "object",
  17313. "properties": {
  17314. "goodsgroupid": {
  17315. "description": "期货品种id",
  17316. "type": "integer"
  17317. },
  17318. "goodsgroupname": {
  17319. "description": "期货品种名称",
  17320. "type": "string"
  17321. },
  17322. "goodunitid": {
  17323. "description": "品种单位id",
  17324. "type": "integer"
  17325. },
  17326. "goodunitname": {
  17327. "description": "品种单位名称",
  17328. "type": "string"
  17329. },
  17330. "outergroupcode": {
  17331. "description": "期货品种代码",
  17332. "type": "string"
  17333. }
  17334. }
  17335. },
  17336. "ermcp.QryBusinessDjRsp": {
  17337. "type": "object",
  17338. "properties": {
  17339. "amount": {
  17340. "description": "点价金额=(点价价格+升贴水)*点价数量",
  17341. "type": "number"
  17342. },
  17343. "applyid": {
  17344. "description": "申请人",
  17345. "type": "string"
  17346. },
  17347. "applyname": {
  17348. "description": "申请人名称",
  17349. "type": "string"
  17350. },
  17351. "applystatus": {
  17352. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17353. "type": "integer"
  17354. },
  17355. "applytime": {
  17356. "description": "申请时间",
  17357. "type": "string"
  17358. },
  17359. "attachurl": {
  17360. "description": "附件",
  17361. "type": "string"
  17362. },
  17363. "auditid": {
  17364. "description": "审核人ID",
  17365. "type": "string"
  17366. },
  17367. "auditname": {
  17368. "description": "审核人名称",
  17369. "type": "string"
  17370. },
  17371. "auditremark": {
  17372. "description": "审核备注",
  17373. "type": "string"
  17374. },
  17375. "audittime": {
  17376. "description": "审核时间",
  17377. "type": "string"
  17378. },
  17379. "buyusername": {
  17380. "description": "采购方名称",
  17381. "type": "string"
  17382. },
  17383. "contractno": {
  17384. "description": "合同编号",
  17385. "type": "string"
  17386. },
  17387. "contractstatus": {
  17388. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17389. "type": "integer"
  17390. },
  17391. "contracttype": {
  17392. "description": "现货合同类型 - 1:采购 -1:销售",
  17393. "type": "integer"
  17394. },
  17395. "deliverygoodscode": {
  17396. "description": "现货品种代码",
  17397. "type": "string"
  17398. },
  17399. "deliverygoodsid": {
  17400. "description": "现货商品ID",
  17401. "type": "integer"
  17402. },
  17403. "deliverygoodsname": {
  17404. "description": "现货品种名称",
  17405. "type": "string"
  17406. },
  17407. "enumdicname": {
  17408. "description": "单位名称",
  17409. "type": "string"
  17410. },
  17411. "goodscode": {
  17412. "description": "点价合约",
  17413. "type": "string"
  17414. },
  17415. "goodsname": {
  17416. "description": "商品名称",
  17417. "type": "string"
  17418. },
  17419. "operateapplyid": {
  17420. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17421. "type": "string"
  17422. },
  17423. "operateapplytype": {
  17424. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17425. "type": "integer"
  17426. },
  17427. "pricedPrice": {
  17428. "description": "点价价格(非必填)",
  17429. "type": "number"
  17430. },
  17431. "pricedQty": {
  17432. "description": "点价数量(非必填)",
  17433. "type": "number"
  17434. },
  17435. "pricemove": {
  17436. "description": "升贴水",
  17437. "type": "number"
  17438. },
  17439. "pricetype": {
  17440. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17441. "type": "integer"
  17442. },
  17443. "relatedid": {
  17444. "description": "现货合同ID",
  17445. "type": "string"
  17446. },
  17447. "sellusername": {
  17448. "description": "销售方名字",
  17449. "type": "string"
  17450. },
  17451. "userid": {
  17452. "description": "用户ID",
  17453. "type": "integer"
  17454. },
  17455. "wrstandardcode": {
  17456. "description": "品类代码",
  17457. "type": "string"
  17458. },
  17459. "wrstandardid": {
  17460. "description": "品类id",
  17461. "type": "integer"
  17462. },
  17463. "wrstandardname": {
  17464. "description": "品类名称",
  17465. "type": "string"
  17466. }
  17467. }
  17468. },
  17469. "ermcp.QryBussinessFpRsp": {
  17470. "type": "object",
  17471. "properties": {
  17472. "applyid": {
  17473. "description": "申请人",
  17474. "type": "string"
  17475. },
  17476. "applyname": {
  17477. "description": "申请人名称",
  17478. "type": "string"
  17479. },
  17480. "applystatus": {
  17481. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17482. "type": "integer"
  17483. },
  17484. "applytime": {
  17485. "description": "申请时间",
  17486. "type": "string"
  17487. },
  17488. "attachurl": {
  17489. "description": "附件",
  17490. "type": "string"
  17491. },
  17492. "auditid": {
  17493. "description": "审核人ID",
  17494. "type": "string"
  17495. },
  17496. "auditname": {
  17497. "description": "审核人名称",
  17498. "type": "string"
  17499. },
  17500. "auditremark": {
  17501. "description": "审核备注",
  17502. "type": "string"
  17503. },
  17504. "audittime": {
  17505. "description": "审核时间",
  17506. "type": "string"
  17507. },
  17508. "buyusername": {
  17509. "description": "采购方名称",
  17510. "type": "string"
  17511. },
  17512. "contractno": {
  17513. "description": "合同编号",
  17514. "type": "string"
  17515. },
  17516. "contractstatus": {
  17517. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17518. "type": "integer"
  17519. },
  17520. "contracttype": {
  17521. "description": "现货合同类型 - 1:采购 -1:销售",
  17522. "type": "integer"
  17523. },
  17524. "deliverygoodscode": {
  17525. "description": "现货品种代码",
  17526. "type": "string"
  17527. },
  17528. "deliverygoodsid": {
  17529. "description": "现货商品ID",
  17530. "type": "integer"
  17531. },
  17532. "deliverygoodsname": {
  17533. "description": "现货品种名称",
  17534. "type": "string"
  17535. },
  17536. "enumdicname": {
  17537. "description": "单位名称",
  17538. "type": "string"
  17539. },
  17540. "goodscode": {
  17541. "description": "点价合约",
  17542. "type": "string"
  17543. },
  17544. "goodsname": {
  17545. "description": "商品名称",
  17546. "type": "string"
  17547. },
  17548. "invoiceamount": {
  17549. "description": "已开收票金额(销售为开票,采购为收票)",
  17550. "type": "number"
  17551. },
  17552. "operateapplyid": {
  17553. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17554. "type": "string"
  17555. },
  17556. "operateapplytype": {
  17557. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17558. "type": "integer"
  17559. },
  17560. "pricemove": {
  17561. "description": "升贴水",
  17562. "type": "number"
  17563. },
  17564. "pricetype": {
  17565. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17566. "type": "integer"
  17567. },
  17568. "relatedid": {
  17569. "description": "现货合同ID",
  17570. "type": "string"
  17571. },
  17572. "sellusername": {
  17573. "description": "销售方名字",
  17574. "type": "string"
  17575. },
  17576. "userid": {
  17577. "description": "用户ID",
  17578. "type": "integer"
  17579. },
  17580. "wrstandardcode": {
  17581. "description": "品类代码",
  17582. "type": "string"
  17583. },
  17584. "wrstandardid": {
  17585. "description": "品类id",
  17586. "type": "integer"
  17587. },
  17588. "wrstandardname": {
  17589. "description": "品类名称",
  17590. "type": "string"
  17591. }
  17592. }
  17593. },
  17594. "ermcp.QryBussinessJsExRsp": {
  17595. "type": "object",
  17596. "properties": {
  17597. "applyid": {
  17598. "description": "申请人",
  17599. "type": "string"
  17600. },
  17601. "applyname": {
  17602. "description": "申请人名称",
  17603. "type": "string"
  17604. },
  17605. "applystatus": {
  17606. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17607. "type": "integer"
  17608. },
  17609. "applytime": {
  17610. "description": "申请时间",
  17611. "type": "string"
  17612. },
  17613. "attachurl": {
  17614. "description": "附件",
  17615. "type": "string"
  17616. },
  17617. "auditid": {
  17618. "description": "审核人ID",
  17619. "type": "string"
  17620. },
  17621. "auditname": {
  17622. "description": "审核人名称",
  17623. "type": "string"
  17624. },
  17625. "auditremark": {
  17626. "description": "审核备注",
  17627. "type": "string"
  17628. },
  17629. "audittime": {
  17630. "description": "审核时间",
  17631. "type": "string"
  17632. },
  17633. "buyusername": {
  17634. "description": "采购方名称",
  17635. "type": "string"
  17636. },
  17637. "contractno": {
  17638. "description": "合同编号",
  17639. "type": "string"
  17640. },
  17641. "contractstatus": {
  17642. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17643. "type": "integer"
  17644. },
  17645. "contracttype": {
  17646. "description": "现货合同类型 - 1:采购 -1:销售",
  17647. "type": "integer"
  17648. },
  17649. "deliverygoodscode": {
  17650. "description": "现货品种代码",
  17651. "type": "string"
  17652. },
  17653. "deliverygoodsid": {
  17654. "description": "现货商品ID",
  17655. "type": "integer"
  17656. },
  17657. "deliverygoodsname": {
  17658. "description": "现货品种名称",
  17659. "type": "string"
  17660. },
  17661. "enumdicname": {
  17662. "description": "单位名称",
  17663. "type": "string"
  17664. },
  17665. "goodscode": {
  17666. "description": "点价合约",
  17667. "type": "string"
  17668. },
  17669. "goodsname": {
  17670. "description": "商品名称",
  17671. "type": "string"
  17672. },
  17673. "operateapplyid": {
  17674. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17675. "type": "string"
  17676. },
  17677. "operateapplytype": {
  17678. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17679. "type": "integer"
  17680. },
  17681. "pricemove": {
  17682. "description": "升贴水",
  17683. "type": "number"
  17684. },
  17685. "pricetype": {
  17686. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17687. "type": "integer"
  17688. },
  17689. "reckontype": {
  17690. "description": "结算类型",
  17691. "type": "string"
  17692. },
  17693. "reckonvalue": {
  17694. "description": "值",
  17695. "type": "number"
  17696. },
  17697. "relatedid": {
  17698. "description": "现货合同ID",
  17699. "type": "string"
  17700. },
  17701. "sellusername": {
  17702. "description": "销售方名字",
  17703. "type": "string"
  17704. },
  17705. "userid": {
  17706. "description": "用户ID",
  17707. "type": "integer"
  17708. },
  17709. "wrstandardcode": {
  17710. "description": "品类代码",
  17711. "type": "string"
  17712. },
  17713. "wrstandardid": {
  17714. "description": "品类id",
  17715. "type": "integer"
  17716. },
  17717. "wrstandardname": {
  17718. "description": "品类名称",
  17719. "type": "string"
  17720. }
  17721. }
  17722. },
  17723. "ermcp.QryBussinessJsRsp": {
  17724. "type": "object",
  17725. "properties": {
  17726. "addmargin": {
  17727. "description": "追加保证金(非必填)",
  17728. "type": "number"
  17729. },
  17730. "applyid": {
  17731. "description": "申请人",
  17732. "type": "string"
  17733. },
  17734. "applyname": {
  17735. "description": "申请人名称",
  17736. "type": "string"
  17737. },
  17738. "applystatus": {
  17739. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17740. "type": "integer"
  17741. },
  17742. "applytime": {
  17743. "description": "申请时间",
  17744. "type": "string"
  17745. },
  17746. "attachurl": {
  17747. "description": "附件",
  17748. "type": "string"
  17749. },
  17750. "auditid": {
  17751. "description": "审核人ID",
  17752. "type": "string"
  17753. },
  17754. "auditname": {
  17755. "description": "审核人名称",
  17756. "type": "string"
  17757. },
  17758. "auditremark": {
  17759. "description": "审核备注",
  17760. "type": "string"
  17761. },
  17762. "audittime": {
  17763. "description": "审核时间",
  17764. "type": "string"
  17765. },
  17766. "buyusername": {
  17767. "description": "采购方名称",
  17768. "type": "string"
  17769. },
  17770. "contractno": {
  17771. "description": "合同编号",
  17772. "type": "string"
  17773. },
  17774. "contractstatus": {
  17775. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17776. "type": "integer"
  17777. },
  17778. "contracttype": {
  17779. "description": "现货合同类型 - 1:采购 -1:销售",
  17780. "type": "integer"
  17781. },
  17782. "decmargin": {
  17783. "description": "减少保证金(非必填)",
  17784. "type": "number"
  17785. },
  17786. "deliverygoodscode": {
  17787. "description": "现货品种代码",
  17788. "type": "string"
  17789. },
  17790. "deliverygoodsid": {
  17791. "description": "现货商品ID",
  17792. "type": "integer"
  17793. },
  17794. "deliverygoodsname": {
  17795. "description": "现货品种名称",
  17796. "type": "string"
  17797. },
  17798. "enumdicname": {
  17799. "description": "单位名称",
  17800. "type": "string"
  17801. },
  17802. "goodscode": {
  17803. "description": "点价合约",
  17804. "type": "string"
  17805. },
  17806. "goodsname": {
  17807. "description": "商品名称",
  17808. "type": "string"
  17809. },
  17810. "operateapplyid": {
  17811. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17812. "type": "string"
  17813. },
  17814. "operateapplytype": {
  17815. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17816. "type": "integer"
  17817. },
  17818. "pricemove": {
  17819. "description": "升贴水",
  17820. "type": "number"
  17821. },
  17822. "pricetype": {
  17823. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17824. "type": "integer"
  17825. },
  17826. "reckonadjustamount": {
  17827. "description": "结算调整金额(非必填)",
  17828. "type": "number"
  17829. },
  17830. "reckonosamount": {
  17831. "description": "结算溢短金额(非必填)",
  17832. "type": "number"
  17833. },
  17834. "reckonotheramount": {
  17835. "description": "结算其他费用(非必填)",
  17836. "type": "number"
  17837. },
  17838. "reckonrealqty": {
  17839. "description": "结算实际数量(非必填)",
  17840. "type": "number"
  17841. },
  17842. "relatedid": {
  17843. "description": "现货合同ID",
  17844. "type": "string"
  17845. },
  17846. "sellusername": {
  17847. "description": "销售方名字",
  17848. "type": "string"
  17849. },
  17850. "userid": {
  17851. "description": "用户ID",
  17852. "type": "integer"
  17853. },
  17854. "wrstandardcode": {
  17855. "description": "品类代码",
  17856. "type": "string"
  17857. },
  17858. "wrstandardid": {
  17859. "description": "品类id",
  17860. "type": "integer"
  17861. },
  17862. "wrstandardname": {
  17863. "description": "品类名称",
  17864. "type": "string"
  17865. }
  17866. }
  17867. },
  17868. "ermcp.QryBussinessKxRsp": {
  17869. "type": "object",
  17870. "properties": {
  17871. "applyid": {
  17872. "description": "申请人",
  17873. "type": "string"
  17874. },
  17875. "applyname": {
  17876. "description": "申请人名称",
  17877. "type": "string"
  17878. },
  17879. "applystatus": {
  17880. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17881. "type": "integer"
  17882. },
  17883. "applytime": {
  17884. "description": "申请时间",
  17885. "type": "string"
  17886. },
  17887. "attachurl": {
  17888. "description": "附件",
  17889. "type": "string"
  17890. },
  17891. "auditid": {
  17892. "description": "审核人ID",
  17893. "type": "string"
  17894. },
  17895. "auditname": {
  17896. "description": "审核人名称",
  17897. "type": "string"
  17898. },
  17899. "auditremark": {
  17900. "description": "审核备注",
  17901. "type": "string"
  17902. },
  17903. "audittime": {
  17904. "description": "审核时间",
  17905. "type": "string"
  17906. },
  17907. "buyusername": {
  17908. "description": "采购方名称",
  17909. "type": "string"
  17910. },
  17911. "contractno": {
  17912. "description": "合同编号",
  17913. "type": "string"
  17914. },
  17915. "contractstatus": {
  17916. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17917. "type": "integer"
  17918. },
  17919. "contracttype": {
  17920. "description": "现货合同类型 - 1:采购 -1:销售",
  17921. "type": "integer"
  17922. },
  17923. "deductamount": {
  17924. "description": "退款(非必填)",
  17925. "type": "number"
  17926. },
  17927. "deliverygoodscode": {
  17928. "description": "现货品种代码",
  17929. "type": "string"
  17930. },
  17931. "deliverygoodsid": {
  17932. "description": "现货商品ID",
  17933. "type": "integer"
  17934. },
  17935. "deliverygoodsname": {
  17936. "description": "现货品种名称",
  17937. "type": "string"
  17938. },
  17939. "enumdicname": {
  17940. "description": "单位名称",
  17941. "type": "string"
  17942. },
  17943. "goodscode": {
  17944. "description": "点价合约",
  17945. "type": "string"
  17946. },
  17947. "goodsname": {
  17948. "description": "商品名称",
  17949. "type": "string"
  17950. },
  17951. "kxtype": {
  17952. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  17953. "type": "integer"
  17954. },
  17955. "operateapplyid": {
  17956. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17957. "type": "string"
  17958. },
  17959. "operateapplytype": {
  17960. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17961. "type": "integer"
  17962. },
  17963. "payamount": {
  17964. "description": "收付款(非必填)",
  17965. "type": "number"
  17966. },
  17967. "pricemove": {
  17968. "description": "升贴水",
  17969. "type": "number"
  17970. },
  17971. "pricetype": {
  17972. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17973. "type": "integer"
  17974. },
  17975. "relatedid": {
  17976. "description": "现货合同ID",
  17977. "type": "string"
  17978. },
  17979. "sellusername": {
  17980. "description": "销售方名字",
  17981. "type": "string"
  17982. },
  17983. "userid": {
  17984. "description": "用户ID",
  17985. "type": "integer"
  17986. },
  17987. "wrstandardcode": {
  17988. "description": "品类代码",
  17989. "type": "string"
  17990. },
  17991. "wrstandardid": {
  17992. "description": "品类id",
  17993. "type": "integer"
  17994. },
  17995. "wrstandardname": {
  17996. "description": "品类名称",
  17997. "type": "string"
  17998. }
  17999. }
  18000. },
  18001. "ermcp.QryGGCovertCfgRsp": {
  18002. "type": "object",
  18003. "properties": {
  18004. "convertratio": {
  18005. "description": "折算系数",
  18006. "type": "number"
  18007. },
  18008. "destgoodsgroupid": {
  18009. "description": "目标品种ID",
  18010. "type": "integer"
  18011. },
  18012. "dstcode": {
  18013. "description": "目录品种代码",
  18014. "type": "string"
  18015. },
  18016. "dstexchangecode": {
  18017. "description": "目标期货交易所",
  18018. "type": "string"
  18019. },
  18020. "dstname": {
  18021. "description": "目标品种名称",
  18022. "type": "string"
  18023. },
  18024. "dstunitid": {
  18025. "description": "目标品种单位ID",
  18026. "type": "integer"
  18027. },
  18028. "dstunitidname": {
  18029. "description": "目标品种单位名称",
  18030. "type": "string"
  18031. },
  18032. "modifytime": {
  18033. "description": "修改时间",
  18034. "type": "string"
  18035. },
  18036. "srccode": {
  18037. "description": "源品种代码",
  18038. "type": "string"
  18039. },
  18040. "srcexchangecode": {
  18041. "description": "源期货交易所",
  18042. "type": "string"
  18043. },
  18044. "srcgoodsgroupid": {
  18045. "description": "源品种ID",
  18046. "type": "integer"
  18047. },
  18048. "srcname": {
  18049. "description": "源品种名称",
  18050. "type": "string"
  18051. },
  18052. "srcunitid": {
  18053. "description": "源品种单位ID",
  18054. "type": "integer"
  18055. },
  18056. "srcunitidname": {
  18057. "description": "源品种单位名称",
  18058. "type": "string"
  18059. }
  18060. }
  18061. },
  18062. "ermcp.QryMGChangeLogRsp": {
  18063. "type": "object",
  18064. "properties": {
  18065. "aftervalue": {
  18066. "description": "变更后",
  18067. "type": "number"
  18068. },
  18069. "applyid": {
  18070. "description": "操作人",
  18071. "type": "integer"
  18072. },
  18073. "applyname": {
  18074. "description": "操作人名称",
  18075. "type": "string"
  18076. },
  18077. "applysrc": {
  18078. "description": "操作来源 - 1:管理端 2:终端",
  18079. "type": "integer"
  18080. },
  18081. "beforevalue": {
  18082. "description": "变更前",
  18083. "type": "number"
  18084. },
  18085. "changelogtype": {
  18086. "description": "变更流水类型 - 1:套保比率变更",
  18087. "type": "integer"
  18088. },
  18089. "handlestatus": {
  18090. "description": "处理状态",
  18091. "type": "integer"
  18092. },
  18093. "logdatetime": {
  18094. "description": "流水日期",
  18095. "type": "string"
  18096. },
  18097. "logid": {
  18098. "description": "流水ID",
  18099. "type": "integer"
  18100. },
  18101. "logremark": {
  18102. "description": "流水备注",
  18103. "type": "string"
  18104. },
  18105. "middlegoodsid": {
  18106. "description": "套保品种ID",
  18107. "type": "integer"
  18108. },
  18109. "tradedate": {
  18110. "description": "交易日(yyyyMMdd)",
  18111. "type": "string"
  18112. },
  18113. "updatetime": {
  18114. "description": "更新时间",
  18115. "type": "string"
  18116. }
  18117. }
  18118. },
  18119. "ermcp.QryMiddleGoodsDetailRsp": {
  18120. "type": "object",
  18121. "properties": {
  18122. "cvList": {
  18123. "description": "期货品种折算列表",
  18124. "type": "array",
  18125. "items": {
  18126. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18127. }
  18128. },
  18129. "mg": {
  18130. "description": "套保品种基本信息",
  18131. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18132. },
  18133. "wrcList": {
  18134. "description": "现货品种列表(现货商品折算配置)",
  18135. "type": "array",
  18136. "items": {
  18137. "$ref": "#/definitions/models.WRSConverTDetail"
  18138. }
  18139. }
  18140. }
  18141. },
  18142. "ermcp.QryMiddleGoodsRsp": {
  18143. "type": "object",
  18144. "properties": {
  18145. "areauserid": {
  18146. "description": "机构用户ID",
  18147. "type": "integer"
  18148. },
  18149. "createtime": {
  18150. "description": "修改时间",
  18151. "type": "string"
  18152. },
  18153. "enumdicname": {
  18154. "description": "单位名称",
  18155. "type": "string"
  18156. },
  18157. "evaluateratio": {
  18158. "description": "估价系数",
  18159. "type": "number"
  18160. },
  18161. "goodsgroupid": {
  18162. "description": "关联期货品种ID",
  18163. "type": "integer"
  18164. },
  18165. "goodsunitid": {
  18166. "description": "单位ID",
  18167. "type": "integer"
  18168. },
  18169. "isvalid": {
  18170. "description": "状态 0-无效(停用) 1-有效(正常)",
  18171. "type": "integer"
  18172. },
  18173. "middlegoodscode": {
  18174. "description": "套保品种代码",
  18175. "type": "string"
  18176. },
  18177. "middlegoodsid": {
  18178. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18179. "type": "integer"
  18180. },
  18181. "middlegoodsname": {
  18182. "description": "套保品种名称",
  18183. "type": "string"
  18184. },
  18185. "modifytime": {
  18186. "description": "修改时间",
  18187. "type": "string"
  18188. },
  18189. "needarbitrageratio": {
  18190. "description": "套利比例",
  18191. "type": "number"
  18192. },
  18193. "needhedgeratio": {
  18194. "description": "套保比率",
  18195. "type": "number"
  18196. },
  18197. "qtydecimalplace": {
  18198. "description": "数量小数位",
  18199. "type": "integer"
  18200. },
  18201. "relatedgoodsid": {
  18202. "description": "关联交易商品ID",
  18203. "type": "integer"
  18204. },
  18205. "relatedgoodstype": {
  18206. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18207. "type": "integer"
  18208. },
  18209. "remark": {
  18210. "description": "备注",
  18211. "type": "string"
  18212. }
  18213. }
  18214. },
  18215. "ermcp.QryOPLogRsp": {
  18216. "type": "object",
  18217. "properties": {
  18218. "aftervalue": {
  18219. "description": "变更后",
  18220. "type": "number"
  18221. },
  18222. "applyid": {
  18223. "description": "操作人ID",
  18224. "type": "string"
  18225. },
  18226. "applyname": {
  18227. "description": "操作人名称",
  18228. "type": "string"
  18229. },
  18230. "beforevalue": {
  18231. "description": "变更前",
  18232. "type": "number"
  18233. },
  18234. "biztype": {
  18235. "description": "业务类型 - 1:套保计划 2:现货合同",
  18236. "type": "integer"
  18237. },
  18238. "contracttype": {
  18239. "description": "现货合同类型 - 1:采购 -1:销售",
  18240. "type": "integer"
  18241. },
  18242. "logvalue": {
  18243. "description": "数值",
  18244. "type": "number"
  18245. },
  18246. "operatelogtype": {
  18247. "description": "操作流水类型",
  18248. "type": "integer"
  18249. },
  18250. "operatelogtypedesc": {
  18251. "description": "操作流水类型名称",
  18252. "type": "string"
  18253. },
  18254. "relatedid": {
  18255. "description": "现货合同ID\\套保计划",
  18256. "type": "string"
  18257. },
  18258. "updatetime": {
  18259. "description": "更新时间",
  18260. "type": "string"
  18261. }
  18262. }
  18263. },
  18264. "ermcp.QryUserInfoRsp": {
  18265. "type": "object",
  18266. "properties": {
  18267. "address": {
  18268. "description": "通讯地址",
  18269. "type": "string"
  18270. },
  18271. "attachment1": {
  18272. "description": "附件1",
  18273. "type": "string"
  18274. },
  18275. "audittime": {
  18276. "description": "审核时间",
  18277. "type": "string"
  18278. },
  18279. "cardbackphotourl": {
  18280. "description": "证件反面图片地址",
  18281. "type": "string"
  18282. },
  18283. "cardfrontphotourl": {
  18284. "description": "证件正面图片地址",
  18285. "type": "string"
  18286. },
  18287. "cardnum": {
  18288. "description": "证件号码",
  18289. "type": "string"
  18290. },
  18291. "cardtype": {
  18292. "description": "证件类型",
  18293. "type": "integer"
  18294. },
  18295. "cardtypename": {
  18296. "description": "证件类型名称",
  18297. "type": "string"
  18298. },
  18299. "cityid": {
  18300. "description": "市",
  18301. "type": "integer"
  18302. },
  18303. "contactname": {
  18304. "description": "联系人",
  18305. "type": "string"
  18306. },
  18307. "countryid": {
  18308. "description": "国家",
  18309. "type": "integer"
  18310. },
  18311. "createtime": {
  18312. "description": "创建时间",
  18313. "type": "string"
  18314. },
  18315. "customername": {
  18316. "description": "企业名称",
  18317. "type": "string"
  18318. },
  18319. "districtid": {
  18320. "description": "区域",
  18321. "type": "integer"
  18322. },
  18323. "email": {
  18324. "description": "邮件",
  18325. "type": "string"
  18326. },
  18327. "legalpersonname": {
  18328. "description": "法人姓名(企业)",
  18329. "type": "string"
  18330. },
  18331. "memberuserid": {
  18332. "description": "所属机构ID",
  18333. "type": "integer"
  18334. },
  18335. "mobile": {
  18336. "description": "手机号码",
  18337. "type": "string"
  18338. },
  18339. "modifytime": {
  18340. "description": "修改时间",
  18341. "type": "string"
  18342. },
  18343. "nickname": {
  18344. "description": "昵称",
  18345. "type": "string"
  18346. },
  18347. "provinceid": {
  18348. "description": "省",
  18349. "type": "integer"
  18350. },
  18351. "remark": {
  18352. "description": "备注",
  18353. "type": "string"
  18354. },
  18355. "status": {
  18356. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18357. "type": "integer"
  18358. },
  18359. "statusdesc": {
  18360. "description": "账户状态中文描述",
  18361. "type": "string"
  18362. },
  18363. "taxpayernum": {
  18364. "description": "纳税人识别号",
  18365. "type": "string"
  18366. },
  18367. "telphone": {
  18368. "description": "联系电话",
  18369. "type": "string"
  18370. },
  18371. "userid": {
  18372. "description": "用户ID",
  18373. "type": "integer"
  18374. },
  18375. "userinfotype": {
  18376. "description": "客户类型",
  18377. "type": "string"
  18378. }
  18379. }
  18380. },
  18381. "ermcp.QryWarehouseRsp": {
  18382. "type": "object",
  18383. "properties": {
  18384. "address": {
  18385. "description": "详细地址",
  18386. "type": "string"
  18387. },
  18388. "areauserid": {
  18389. "description": "所属机构",
  18390. "type": "integer"
  18391. },
  18392. "autoid": {
  18393. "description": "自增ID(仓库ID)",
  18394. "type": "integer"
  18395. },
  18396. "cityid": {
  18397. "description": "市",
  18398. "type": "integer"
  18399. },
  18400. "contactname": {
  18401. "description": "联系人",
  18402. "type": "string"
  18403. },
  18404. "contactnum": {
  18405. "description": "联系电话",
  18406. "type": "string"
  18407. },
  18408. "countryid": {
  18409. "description": "国家",
  18410. "type": "integer"
  18411. },
  18412. "createtime": {
  18413. "description": "创建时间",
  18414. "type": "string"
  18415. },
  18416. "districtid": {
  18417. "description": "区",
  18418. "type": "integer"
  18419. },
  18420. "hasvideo": {
  18421. "description": "是否有视频 - 0:无 1:有",
  18422. "type": "integer"
  18423. },
  18424. "provinceid": {
  18425. "description": "省",
  18426. "type": "integer"
  18427. },
  18428. "remark": {
  18429. "description": "审核备注",
  18430. "type": "string"
  18431. },
  18432. "videourl": {
  18433. "description": "视频地址",
  18434. "type": "string"
  18435. },
  18436. "warehousecode": {
  18437. "description": "仓库代码",
  18438. "type": "string"
  18439. },
  18440. "warehousename": {
  18441. "description": "仓库名称",
  18442. "type": "string"
  18443. },
  18444. "warehousestatus": {
  18445. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18446. "type": "integer"
  18447. },
  18448. "warehousetype": {
  18449. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18450. "type": "integer"
  18451. }
  18452. }
  18453. },
  18454. "ermcp.QueryErmcpTradePositionRsp": {
  18455. "type": "object",
  18456. "properties": {
  18457. "agreeunit": {
  18458. "description": "合约单位",
  18459. "type": "number"
  18460. },
  18461. "buyorsell": {
  18462. "description": "方向 - 0:买 1:卖",
  18463. "type": "integer"
  18464. },
  18465. "curpositionqty": {
  18466. "description": "持仓(总仓数量, 期末头寸)",
  18467. "type": "integer"
  18468. },
  18469. "curtdposition": {
  18470. "description": "今仓数量(期末今日头寸)",
  18471. "type": "integer"
  18472. },
  18473. "curtdpositionenabled": {
  18474. "description": "今仓可用",
  18475. "type": "integer"
  18476. },
  18477. "decimalplace": {
  18478. "description": "报价小数位",
  18479. "type": "integer"
  18480. },
  18481. "enableqty": {
  18482. "description": "可用(总仓可用)",
  18483. "type": "integer"
  18484. },
  18485. "exexchangename": {
  18486. "description": "外部交易所名称",
  18487. "type": "string"
  18488. },
  18489. "exexehangecode": {
  18490. "description": "外部交易所代码",
  18491. "type": "string"
  18492. },
  18493. "exexehangeid": {
  18494. "description": "外部交易所id",
  18495. "type": "integer"
  18496. },
  18497. "goodscode": {
  18498. "description": "商品代码(内部)",
  18499. "type": "string"
  18500. },
  18501. "goodsid": {
  18502. "description": "商品ID(自增ID SEQ_GOODS)",
  18503. "type": "integer"
  18504. },
  18505. "goodsname": {
  18506. "description": "商品名称",
  18507. "type": "string"
  18508. },
  18509. "last": {
  18510. "description": "现价",
  18511. "type": "number"
  18512. },
  18513. "marketid": {
  18514. "description": "所属市场ID",
  18515. "type": "integer"
  18516. },
  18517. "openaverageprice": {
  18518. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18519. "type": "number"
  18520. },
  18521. "opencost": {
  18522. "description": "开仓成本",
  18523. "type": "number"
  18524. },
  18525. "openpl": {
  18526. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18527. "type": "number"
  18528. },
  18529. "outgoodscode": {
  18530. "description": "商品代码(外部)",
  18531. "type": "string"
  18532. },
  18533. "positionaverageprice": {
  18534. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18535. "type": "number"
  18536. },
  18537. "positioncost": {
  18538. "description": "持仓成本",
  18539. "type": "number"
  18540. },
  18541. "positionpl": {
  18542. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18543. "type": "number"
  18544. },
  18545. "positionplrate": {
  18546. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18547. "type": "number"
  18548. },
  18549. "usedmargin": {
  18550. "description": "占用保证金",
  18551. "type": "number"
  18552. }
  18553. }
  18554. },
  18555. "ermcp.RealtimeExposurePositionRsp": {
  18556. "type": "object",
  18557. "properties": {
  18558. "accountid": {
  18559. "description": "资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)",
  18560. "type": "integer"
  18561. },
  18562. "agreeunit": {
  18563. "description": "合约单位",
  18564. "type": "string"
  18565. },
  18566. "areauserid": {
  18567. "description": "所属机构id",
  18568. "type": "integer"
  18569. },
  18570. "convertratio": {
  18571. "description": "期货品种系数(折算系数)",
  18572. "type": "number"
  18573. },
  18574. "curhedgeqty": {
  18575. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18576. "type": "number"
  18577. },
  18578. "curqty": {
  18579. "description": "当前持仓",
  18580. "type": "integer"
  18581. },
  18582. "diffhedgeqty": {
  18583. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18584. "type": "number"
  18585. },
  18586. "diffqty": {
  18587. "description": "持仓变动量=当前持仓-昨日持仓",
  18588. "type": "integer"
  18589. },
  18590. "goodscode": {
  18591. "description": "商品代码",
  18592. "type": "string"
  18593. },
  18594. "goodsid": {
  18595. "description": "商品id",
  18596. "type": "integer"
  18597. },
  18598. "goodsname": {
  18599. "description": "商品名称",
  18600. "type": "string"
  18601. },
  18602. "hedgeaccountcode": {
  18603. "description": "对冲账号(只有外部账号才有值)",
  18604. "type": "string"
  18605. },
  18606. "middlegoodscode": {
  18607. "description": "套保商品代码",
  18608. "type": "string"
  18609. },
  18610. "middlegoodsid": {
  18611. "description": "套保商品id",
  18612. "type": "integer"
  18613. },
  18614. "middlegoodsname": {
  18615. "description": "套保商品名称",
  18616. "type": "string"
  18617. },
  18618. "ydqty": {
  18619. "description": "昨日持仓",
  18620. "type": "integer"
  18621. }
  18622. }
  18623. },
  18624. "ermcp.RealtimeExposureRsp": {
  18625. "type": "object",
  18626. "properties": {
  18627. "AreaUserID": {
  18628. "description": "所属机构",
  18629. "type": "integer"
  18630. },
  18631. "BuyFutureQty": {
  18632. "description": "买入期货数量",
  18633. "type": "number"
  18634. },
  18635. "BuyPlanQty": {
  18636. "description": "采购计划数量",
  18637. "type": "number"
  18638. },
  18639. "BuyPricedQty": {
  18640. "description": "采购合同已定价数量",
  18641. "type": "number"
  18642. },
  18643. "MiddleGoodsCode": {
  18644. "description": "套保品种代码",
  18645. "type": "string"
  18646. },
  18647. "MiddleGoodsHedgeRatio": {
  18648. "description": "套保比例",
  18649. "type": "number"
  18650. },
  18651. "MiddleGoodsID": {
  18652. "description": "套保品种",
  18653. "type": "integer"
  18654. },
  18655. "MiddleGoodsName": {
  18656. "description": "套保品种名称",
  18657. "type": "string"
  18658. },
  18659. "NeedHedgeExposoure": {
  18660. "description": "应套保敞口(套保敞口)",
  18661. "type": "number"
  18662. },
  18663. "NeedHedgeRatio": {
  18664. "description": "应套保敞口比例",
  18665. "type": "number"
  18666. },
  18667. "OriBuyFutureQty": {
  18668. "description": "期初买入期货数量",
  18669. "type": "number"
  18670. },
  18671. "OriBuyPlanQty": {
  18672. "description": "期初采购计划数量",
  18673. "type": "number"
  18674. },
  18675. "OriBuyPricedQty": {
  18676. "description": "期初采购合同已定价数量",
  18677. "type": "number"
  18678. },
  18679. "OriSellFutureQty": {
  18680. "description": "期初卖出期货数量",
  18681. "type": "number"
  18682. },
  18683. "OriSellPlanQty": {
  18684. "description": "期初销售计划数量",
  18685. "type": "number"
  18686. },
  18687. "OriSellPricedQty": {
  18688. "description": "期初销售合同已定价数量",
  18689. "type": "number"
  18690. },
  18691. "OriTotalSpotQty": {
  18692. "description": "期初现货总量",
  18693. "type": "number"
  18694. },
  18695. "SellFutureQty": {
  18696. "description": "卖出期货数量",
  18697. "type": "number"
  18698. },
  18699. "SellPlanQty": {
  18700. "description": "销售计划数量",
  18701. "type": "number"
  18702. },
  18703. "SellPricedQty": {
  18704. "description": "销售合同已定价数量",
  18705. "type": "number"
  18706. },
  18707. "TotalExposure": {
  18708. "description": "总敞口 平安:净敞口",
  18709. "type": "number"
  18710. },
  18711. "TotalFutureQty": {
  18712. "description": "期货总量 平安:保值净持仓量",
  18713. "type": "number"
  18714. },
  18715. "TotalHedgeRatio": {
  18716. "description": "敞口比例",
  18717. "type": "number"
  18718. },
  18719. "TotalNeedHedgeQty": {
  18720. "description": "应套保总量(现货应套保总量)",
  18721. "type": "number"
  18722. },
  18723. "TotalSpotQty": {
  18724. "description": "现货总量 平安:采销定价净值",
  18725. "type": "number"
  18726. },
  18727. "arbitrageqty": {
  18728. "description": "套利量",
  18729. "type": "number"
  18730. },
  18731. "diffArbitrageQty": {
  18732. "description": "套利变动量",
  18733. "type": "number"
  18734. },
  18735. "diffExposoureQty": {
  18736. "description": "变动量(套保敞口)",
  18737. "type": "number"
  18738. },
  18739. "diffFutuQty": {
  18740. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  18741. "type": "number"
  18742. },
  18743. "diffHedgeQty": {
  18744. "description": "套保变动量",
  18745. "type": "number"
  18746. },
  18747. "diffQty": {
  18748. "description": "变动量(总敞口) 平安:净敞口今日变动",
  18749. "type": "number"
  18750. },
  18751. "diffSpotHedgeQty": {
  18752. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  18753. "type": "number"
  18754. },
  18755. "diffSpotQty": {
  18756. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  18757. "type": "number"
  18758. },
  18759. "enumdicname": {
  18760. "description": "单位名称",
  18761. "type": "string"
  18762. },
  18763. "hedgeqty": {
  18764. "description": "套保量",
  18765. "type": "number"
  18766. },
  18767. "needarbitrageqty": {
  18768. "description": "应套利量",
  18769. "type": "number"
  18770. },
  18771. "needarbitrageratio": {
  18772. "description": "套利比例",
  18773. "type": "number"
  18774. },
  18775. "needhedgeqty": {
  18776. "description": "应套保量",
  18777. "type": "number"
  18778. },
  18779. "oriarbitrageqty": {
  18780. "description": "期初套利量",
  18781. "type": "number"
  18782. },
  18783. "orihedgeqty": {
  18784. "description": "期初套保量",
  18785. "type": "number"
  18786. },
  18787. "orineedhedgeexposoure": {
  18788. "description": "期初套保敞口",
  18789. "type": "number"
  18790. },
  18791. "oritotalexposure": {
  18792. "description": "期初总敞口",
  18793. "type": "number"
  18794. },
  18795. "oritotalfutureqty": {
  18796. "description": "期初期货总量",
  18797. "type": "number"
  18798. },
  18799. "oritotalneedhedgeqty": {
  18800. "description": "期初现货应套保量",
  18801. "type": "number"
  18802. }
  18803. }
  18804. },
  18805. "erms2.QueryArbitrageStrategyRsp": {
  18806. "type": "object",
  18807. "required": [
  18808. "asapplyid"
  18809. ],
  18810. "properties": {
  18811. "applybasis": {
  18812. "description": "申请基差",
  18813. "type": "number"
  18814. },
  18815. "asapplyid": {
  18816. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  18817. "type": "string"
  18818. },
  18819. "asname": {
  18820. "description": "策略名称",
  18821. "type": "string"
  18822. },
  18823. "asno": {
  18824. "description": "策略编号",
  18825. "type": "string"
  18826. },
  18827. "basischangepl": {
  18828. "description": "基差变动损益[结算更新]",
  18829. "type": "number"
  18830. },
  18831. "biztype": {
  18832. "description": "业务类型 - 1:正向套利 -1:反向套利",
  18833. "type": "integer"
  18834. },
  18835. "closetradedate": {
  18836. "description": "完结交易日(yyyyMMdd)",
  18837. "type": "string"
  18838. },
  18839. "curbasis": {
  18840. "description": "当前基差[结算更新]",
  18841. "type": "number"
  18842. },
  18843. "deliverygoodsid": {
  18844. "description": "现货品种ID",
  18845. "type": "integer"
  18846. },
  18847. "futureavgprice": {
  18848. "description": "期货建仓均价",
  18849. "type": "number"
  18850. },
  18851. "futurecloseamount": {
  18852. "description": "期货平仓金额",
  18853. "type": "number"
  18854. },
  18855. "futurecloseqty": {
  18856. "description": "期货平仓数量",
  18857. "type": "number"
  18858. },
  18859. "futureopenamount": {
  18860. "description": "期货开仓金额",
  18861. "type": "number"
  18862. },
  18863. "futureopenqty": {
  18864. "description": "期货开仓数量",
  18865. "type": "number"
  18866. },
  18867. "futurepl": {
  18868. "description": "期货总盈亏[结算更新]",
  18869. "type": "number"
  18870. },
  18871. "futureqty": {
  18872. "description": "期货持仓数量",
  18873. "type": "number"
  18874. },
  18875. "futurequote": {
  18876. "description": "期货额度",
  18877. "type": "number"
  18878. },
  18879. "goodsgroupid": {
  18880. "description": "期货品种ID",
  18881. "type": "integer"
  18882. },
  18883. "marketid": {
  18884. "description": "市场ID",
  18885. "type": "integer"
  18886. },
  18887. "netexposure": {
  18888. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  18889. "type": "number"
  18890. },
  18891. "netexposurepl": {
  18892. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  18893. "type": "number"
  18894. },
  18895. "netexposurerate": {
  18896. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  18897. "type": "number"
  18898. },
  18899. "openbasis": {
  18900. "description": "建仓基差",
  18901. "type": "number"
  18902. },
  18903. "pricedspotqty": {
  18904. "description": "已定价现货数量",
  18905. "type": "number"
  18906. },
  18907. "pricedspotqtynotax": {
  18908. "description": "已定价现货不含税数量",
  18909. "type": "number"
  18910. },
  18911. "remark": {
  18912. "description": "备注",
  18913. "type": "string"
  18914. },
  18915. "spotavgprice": {
  18916. "description": "现货均价",
  18917. "type": "number"
  18918. },
  18919. "spotbuyamount": {
  18920. "description": "现货采购金额",
  18921. "type": "number"
  18922. },
  18923. "spotbuyqty": {
  18924. "description": "现货采购数量",
  18925. "type": "number"
  18926. },
  18927. "spotpl": {
  18928. "description": "现货总盈亏[结算更新]",
  18929. "type": "number"
  18930. },
  18931. "spotquota": {
  18932. "description": "现货额度",
  18933. "type": "number"
  18934. },
  18935. "spotsellamount": {
  18936. "description": "现货销售金额",
  18937. "type": "number"
  18938. },
  18939. "spotsellqty": {
  18940. "description": "现货销售数量",
  18941. "type": "number"
  18942. },
  18943. "spotusedquota": {
  18944. "description": "现货占用资金",
  18945. "type": "number"
  18946. },
  18947. "strategystatus": {
  18948. "description": "策略状态 - 0:未结束 1:已结束",
  18949. "type": "integer"
  18950. },
  18951. "totalpl": {
  18952. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  18953. "type": "number"
  18954. },
  18955. "tradedate": {
  18956. "description": "交易日(yyyyMMdd)",
  18957. "type": "string"
  18958. },
  18959. "updatetime": {
  18960. "description": "更新时间",
  18961. "type": "string"
  18962. },
  18963. "usedquota": {
  18964. "description": "已占用资金",
  18965. "type": "number"
  18966. },
  18967. "userid": {
  18968. "description": "所属机构",
  18969. "type": "integer"
  18970. }
  18971. }
  18972. },
  18973. "erms2.QueryInnerTradeDetailRsp": {
  18974. "type": "object",
  18975. "required": [
  18976. "asapplyid",
  18977. "buyorsell",
  18978. "goodscode",
  18979. "goodsgroupid",
  18980. "goodsgroupname",
  18981. "goodsname",
  18982. "tradeid"
  18983. ],
  18984. "properties": {
  18985. "accountid": {
  18986. "description": "账号ID",
  18987. "type": "integer"
  18988. },
  18989. "agreeunit": {
  18990. "description": "合约单位",
  18991. "type": "number"
  18992. },
  18993. "asapplyid": {
  18994. "description": "策略申请ID",
  18995. "type": "integer"
  18996. },
  18997. "asname": {
  18998. "description": "策略名称",
  18999. "type": "string"
  19000. },
  19001. "asno": {
  19002. "description": "策略编号",
  19003. "type": "string"
  19004. },
  19005. "buyorsell": {
  19006. "description": "方向 - 0:买 1:卖",
  19007. "type": "integer"
  19008. },
  19009. "channelbuildtype": {
  19010. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19011. "type": "integer"
  19012. },
  19013. "closetype": {
  19014. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19015. "type": "integer"
  19016. },
  19017. "decimalplace": {
  19018. "description": "报价小数位",
  19019. "type": "integer"
  19020. },
  19021. "detailtype": {
  19022. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19023. "type": "integer"
  19024. },
  19025. "exexchangecode": {
  19026. "description": "外部交易所代码",
  19027. "type": "string"
  19028. },
  19029. "exexchangename": {
  19030. "description": "外部交易所名称",
  19031. "type": "string"
  19032. },
  19033. "goodscode": {
  19034. "description": "商品代码(合约)",
  19035. "type": "string"
  19036. },
  19037. "goodsgroupid": {
  19038. "description": "商品组ID(品种ID)",
  19039. "type": "integer"
  19040. },
  19041. "goodsgroupname": {
  19042. "description": "商品组名称(品种)",
  19043. "type": "string"
  19044. },
  19045. "goodsid": {
  19046. "description": "商品ID",
  19047. "type": "integer"
  19048. },
  19049. "goodsname": {
  19050. "description": "商品名称(合约)",
  19051. "type": "string"
  19052. },
  19053. "goodunit": {
  19054. "description": "报价单位",
  19055. "type": "string"
  19056. },
  19057. "marketid": {
  19058. "description": "市场ID",
  19059. "type": "integer"
  19060. },
  19061. "orderid": {
  19062. "description": "委托单号",
  19063. "type": "string"
  19064. },
  19065. "outgoodscode": {
  19066. "description": "商品代码(外部)",
  19067. "type": "string"
  19068. },
  19069. "relatedouttradeid": {
  19070. "description": "关联外部成交单ID",
  19071. "type": "string"
  19072. },
  19073. "remark": {
  19074. "description": "备注",
  19075. "type": "string"
  19076. },
  19077. "spotcontractid": {
  19078. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19079. "type": "integer"
  19080. },
  19081. "spotcontractno": {
  19082. "description": "现货合同编号",
  19083. "type": "string"
  19084. },
  19085. "tradeid": {
  19086. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19087. "type": "string"
  19088. },
  19089. "tradeprice": {
  19090. "description": "成交价格",
  19091. "type": "number"
  19092. },
  19093. "tradeqty": {
  19094. "description": "成交数量",
  19095. "type": "integer"
  19096. },
  19097. "tradetime": {
  19098. "description": "成交时间",
  19099. "type": "string"
  19100. },
  19101. "updatetime": {
  19102. "description": "更新时间",
  19103. "type": "string"
  19104. }
  19105. }
  19106. },
  19107. "erms2.QuerySpotContractRsp": {
  19108. "type": "object",
  19109. "required": [
  19110. "spotcontractid"
  19111. ],
  19112. "properties": {
  19113. "accountid": {
  19114. "description": "资金账户ID",
  19115. "type": "integer"
  19116. },
  19117. "areauserid": {
  19118. "description": "所属机构",
  19119. "type": "integer"
  19120. },
  19121. "closedate": {
  19122. "description": "终止日期",
  19123. "type": "string"
  19124. },
  19125. "closeremark": {
  19126. "description": "结束备注",
  19127. "type": "string"
  19128. },
  19129. "closetradedate": {
  19130. "description": "完结交易日(yyyyMMdd)",
  19131. "type": "string"
  19132. },
  19133. "closetype": {
  19134. "description": "终止类型 - 1:违约 2:提前终止",
  19135. "type": "integer"
  19136. },
  19137. "contractamount": {
  19138. "description": "合同金额",
  19139. "type": "number"
  19140. },
  19141. "contractattachment": {
  19142. "description": "合同附件",
  19143. "type": "string"
  19144. },
  19145. "contractno": {
  19146. "description": "现货合同编号",
  19147. "type": "string"
  19148. },
  19149. "contractqty": {
  19150. "description": "合同数量(数值) (用于计算)",
  19151. "type": "number"
  19152. },
  19153. "contractqtychar": {
  19154. "description": "合同数量\\已订价数量 (用于显示)",
  19155. "type": "string"
  19156. },
  19157. "contractstatus": {
  19158. "description": "合同状态 - 0:未结束 1:已结束",
  19159. "type": "integer"
  19160. },
  19161. "contracttype": {
  19162. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19163. "type": "integer"
  19164. },
  19165. "customeraccountid": {
  19166. "description": "客户资金账户ID",
  19167. "type": "integer"
  19168. },
  19169. "customeruserid": {
  19170. "description": "客户ID",
  19171. "type": "integer"
  19172. },
  19173. "deliverygoodsdesc": {
  19174. "description": "品种说明",
  19175. "type": "string"
  19176. },
  19177. "deliverygoodsid": {
  19178. "description": "现货品种ID",
  19179. "type": "integer"
  19180. },
  19181. "handlestatus": {
  19182. "description": "处理状态",
  19183. "type": "integer"
  19184. },
  19185. "invoiceatt": {
  19186. "description": "发票附件",
  19187. "type": "string"
  19188. },
  19189. "invoicedatetime": {
  19190. "description": "开收票更新时间",
  19191. "type": "string"
  19192. },
  19193. "invoiceopentime": {
  19194. "description": "开票时间",
  19195. "type": "string"
  19196. },
  19197. "invoiceremark": {
  19198. "description": "发票备注",
  19199. "type": "string"
  19200. },
  19201. "invoicestatus": {
  19202. "description": "开收票状态 - 0:未开票 1:已开票",
  19203. "type": "integer"
  19204. },
  19205. "lastdate": {
  19206. "description": "交货时间",
  19207. "type": "string"
  19208. },
  19209. "marketid": {
  19210. "description": "市场ID",
  19211. "type": "integer"
  19212. },
  19213. "paydatetime": {
  19214. "description": "收付款更新时间",
  19215. "type": "string"
  19216. },
  19217. "payremark": {
  19218. "description": "收付款备注",
  19219. "type": "string"
  19220. },
  19221. "paystatus": {
  19222. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19223. "type": "integer"
  19224. },
  19225. "positionqty": {
  19226. "description": "头寸数量 - 合同数量去小数部分",
  19227. "type": "integer"
  19228. },
  19229. "producttype": {
  19230. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19231. "type": "integer"
  19232. },
  19233. "relatedqty": {
  19234. "description": "已关联数量",
  19235. "type": "number"
  19236. },
  19237. "relatedstatus": {
  19238. "description": "关联完结状态 - 0:未结束 1:已结束",
  19239. "type": "integer"
  19240. },
  19241. "remark": {
  19242. "description": "备注",
  19243. "type": "string"
  19244. },
  19245. "signdate": {
  19246. "description": "签订日期",
  19247. "type": "string"
  19248. },
  19249. "spotcontractid": {
  19250. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19251. "type": "string"
  19252. },
  19253. "spotdatetime": {
  19254. "description": "收发货更新时间",
  19255. "type": "string"
  19256. },
  19257. "spotprice": {
  19258. "description": "价格",
  19259. "type": "number"
  19260. },
  19261. "spotremark": {
  19262. "description": "收发货备注",
  19263. "type": "string"
  19264. },
  19265. "spotstatus": {
  19266. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19267. "type": "integer"
  19268. },
  19269. "tradedate": {
  19270. "description": "交易日(yyyyMMdd)",
  19271. "type": "string"
  19272. },
  19273. "userid": {
  19274. "description": "业务员用户ID",
  19275. "type": "integer"
  19276. },
  19277. "warehouseid": {
  19278. "description": "仓库ID",
  19279. "type": "integer"
  19280. },
  19281. "wrfactortypeid": {
  19282. "description": "仓单要素类型ID",
  19283. "type": "integer"
  19284. },
  19285. "wrstandardid": {
  19286. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19287. "type": "integer"
  19288. }
  19289. }
  19290. },
  19291. "erms3.AddErms2ASApplyReq": {
  19292. "type": "object",
  19293. "required": [
  19294. "asapplyid"
  19295. ],
  19296. "properties": {
  19297. "applybasis": {
  19298. "description": "申请基差",
  19299. "type": "number"
  19300. },
  19301. "applystatus": {
  19302. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19303. "type": "integer"
  19304. },
  19305. "asapplyid": {
  19306. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19307. "type": "integer"
  19308. },
  19309. "asname": {
  19310. "description": "策略名称",
  19311. "type": "string"
  19312. },
  19313. "asno": {
  19314. "description": "策略编号",
  19315. "type": "string"
  19316. },
  19317. "auditid": {
  19318. "description": "审核人",
  19319. "type": "integer"
  19320. },
  19321. "auditremark": {
  19322. "description": "审核备注",
  19323. "type": "string"
  19324. },
  19325. "audittime": {
  19326. "description": "审核时间",
  19327. "type": "string"
  19328. },
  19329. "biztype": {
  19330. "description": "业务类型 - 1:正向套利 2:反向套利",
  19331. "type": "integer"
  19332. },
  19333. "createtime": {
  19334. "description": "创建时间",
  19335. "type": "string"
  19336. },
  19337. "creatorid": {
  19338. "description": "创建人",
  19339. "type": "integer"
  19340. },
  19341. "deliverygoodsid": {
  19342. "description": "现货品种ID",
  19343. "type": "integer"
  19344. },
  19345. "futurequote": {
  19346. "description": "期货额度",
  19347. "type": "number"
  19348. },
  19349. "goodsgroupid": {
  19350. "description": "期货品种ID",
  19351. "type": "integer"
  19352. },
  19353. "marketid": {
  19354. "description": "市场ID",
  19355. "type": "integer"
  19356. },
  19357. "remark": {
  19358. "description": "备注",
  19359. "type": "string"
  19360. },
  19361. "spotquota": {
  19362. "description": "现货额度",
  19363. "type": "number"
  19364. },
  19365. "tradedate": {
  19366. "description": "交易日(yyyyMMdd)",
  19367. "type": "string"
  19368. },
  19369. "userid": {
  19370. "description": "所属机构",
  19371. "type": "integer"
  19372. }
  19373. }
  19374. },
  19375. "erms3.AddErms2SpotTradeApplyReq": {
  19376. "type": "object",
  19377. "required": [
  19378. "spottradeid"
  19379. ],
  19380. "properties": {
  19381. "applyjsondetail": {
  19382. "description": "申请明细(JSON)",
  19383. "type": "string"
  19384. },
  19385. "applystatus": {
  19386. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19387. "type": "integer"
  19388. },
  19389. "areauserid": {
  19390. "description": "所属机构",
  19391. "type": "integer"
  19392. },
  19393. "auditid": {
  19394. "description": "审核人",
  19395. "type": "integer"
  19396. },
  19397. "auditremark": {
  19398. "description": "审核备注",
  19399. "type": "string"
  19400. },
  19401. "audittime": {
  19402. "description": "审核时间",
  19403. "type": "string"
  19404. },
  19405. "createtime": {
  19406. "description": "创建时间",
  19407. "type": "string"
  19408. },
  19409. "creatorid": {
  19410. "description": "创建人",
  19411. "type": "integer"
  19412. },
  19413. "deliverygoodsid": {
  19414. "description": "现货品种ID",
  19415. "type": "integer"
  19416. },
  19417. "futureaccountid": {
  19418. "description": "期货资金账户",
  19419. "type": "integer"
  19420. },
  19421. "goodsgroupid": {
  19422. "description": "期货品种",
  19423. "type": "integer"
  19424. },
  19425. "marketid": {
  19426. "description": "市场ID",
  19427. "type": "integer"
  19428. },
  19429. "remark": {
  19430. "description": "备注",
  19431. "type": "string"
  19432. },
  19433. "spotaccountid": {
  19434. "description": "现货资金账户",
  19435. "type": "integer"
  19436. },
  19437. "spottradeid": {
  19438. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19439. "type": "integer"
  19440. },
  19441. "spottradename": {
  19442. "description": "业务名称",
  19443. "type": "string"
  19444. },
  19445. "spottradeno": {
  19446. "description": "业务编号",
  19447. "type": "string"
  19448. },
  19449. "tradedate": {
  19450. "description": "交易日(yyyyMMdd)",
  19451. "type": "string"
  19452. },
  19453. "wrstandardid": {
  19454. "description": "仓单标准ID",
  19455. "type": "integer"
  19456. }
  19457. }
  19458. },
  19459. "erms3.AddSpotContractApplyReq": {
  19460. "type": "object",
  19461. "required": [
  19462. "accountid",
  19463. "areauserid",
  19464. "contractno",
  19465. "contracttype",
  19466. "customeraccountid",
  19467. "customeruserid",
  19468. "details",
  19469. "orimargin",
  19470. "signdate"
  19471. ],
  19472. "properties": {
  19473. "accountid": {
  19474. "description": "资金账户ID",
  19475. "type": "integer"
  19476. },
  19477. "areauserid": {
  19478. "description": "所属机构",
  19479. "type": "integer"
  19480. },
  19481. "contractattachment": {
  19482. "description": "合同附件",
  19483. "type": "string"
  19484. },
  19485. "contractno": {
  19486. "description": "现货合同编号",
  19487. "type": "string"
  19488. },
  19489. "contracttype": {
  19490. "description": "现货合同类型 - 1:采购 -1:销售",
  19491. "type": "integer"
  19492. },
  19493. "creatorid": {
  19494. "description": "申请人",
  19495. "type": "integer"
  19496. },
  19497. "customeraccountid": {
  19498. "description": "客户资金账户ID",
  19499. "type": "integer"
  19500. },
  19501. "customeruserid": {
  19502. "description": "客户ID",
  19503. "type": "integer"
  19504. },
  19505. "details": {
  19506. "description": "明细",
  19507. "type": "array",
  19508. "items": {
  19509. "$ref": "#/definitions/erms3.SoptContractDetail"
  19510. }
  19511. },
  19512. "orimargin": {
  19513. "description": "初始保证金",
  19514. "type": "number"
  19515. },
  19516. "remark": {
  19517. "description": "备注",
  19518. "type": "string"
  19519. },
  19520. "signdate": {
  19521. "description": "签订日期",
  19522. "type": "string"
  19523. }
  19524. }
  19525. },
  19526. "erms3.AddSpotContractApplyRsp": {
  19527. "type": "object",
  19528. "required": [
  19529. "contractno"
  19530. ],
  19531. "properties": {
  19532. "contractno": {
  19533. "description": "现货合同编号",
  19534. "type": "string"
  19535. },
  19536. "spotcontractid": {
  19537. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19538. "type": "integer"
  19539. }
  19540. }
  19541. },
  19542. "erms3.AddUserInfoApplyReq": {
  19543. "type": "object",
  19544. "required": [
  19545. "userid"
  19546. ],
  19547. "properties": {
  19548. "accountid": {
  19549. "description": "交易系统帐号Id (加密存储)",
  19550. "type": "integer"
  19551. },
  19552. "areacode": {
  19553. "description": "机构代码",
  19554. "type": "string"
  19555. },
  19556. "areaid": {
  19557. "description": "机构Id",
  19558. "type": "integer"
  19559. },
  19560. "attachment1": {
  19561. "description": "附件1",
  19562. "type": "string"
  19563. },
  19564. "attachment2": {
  19565. "description": "附件2",
  19566. "type": "string"
  19567. },
  19568. "attachment3": {
  19569. "description": "附件3",
  19570. "type": "string"
  19571. },
  19572. "attachment4": {
  19573. "description": "附件4",
  19574. "type": "string"
  19575. },
  19576. "attachment5": {
  19577. "description": "附件5",
  19578. "type": "string"
  19579. },
  19580. "auditedby": {
  19581. "description": "审核人",
  19582. "type": "string"
  19583. },
  19584. "auditime": {
  19585. "description": "审核时间",
  19586. "type": "string"
  19587. },
  19588. "auditsrc": {
  19589. "description": "审核来源 - 1:管理端 2:终端",
  19590. "type": "integer"
  19591. },
  19592. "bankaccount": {
  19593. "description": "银行帐号 (加密存储)",
  19594. "type": "string"
  19595. },
  19596. "bankaccountname": {
  19597. "description": "收款人名称",
  19598. "type": "string"
  19599. },
  19600. "bankcardbackphotourl": {
  19601. "description": "银行卡背面照地址",
  19602. "type": "string"
  19603. },
  19604. "bankcardfrontphotourl": {
  19605. "description": "银行卡正面照地址",
  19606. "type": "string"
  19607. },
  19608. "bankid": {
  19609. "description": "银行编码",
  19610. "type": "string"
  19611. },
  19612. "bankname": {
  19613. "description": "银行名称",
  19614. "type": "string"
  19615. },
  19616. "bankpictureurl": {
  19617. "description": "银行卡正面地址",
  19618. "type": "string"
  19619. },
  19620. "biznature": {
  19621. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19622. "type": "integer"
  19623. },
  19624. "bizscope": {
  19625. "description": "企业经营范围(企业)",
  19626. "type": "string"
  19627. },
  19628. "biztype": {
  19629. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19630. "type": "integer"
  19631. },
  19632. "brokerid": {
  19633. "description": "经纪人ID(加密存储)",
  19634. "type": "string"
  19635. },
  19636. "cardaddress": {
  19637. "description": "证件地址 (加密存储)",
  19638. "type": "string"
  19639. },
  19640. "cardbackphotourl": {
  19641. "description": "背面证件照地址",
  19642. "type": "string"
  19643. },
  19644. "cardfrontphotourl": {
  19645. "description": "正面证件照地址",
  19646. "type": "string"
  19647. },
  19648. "cardnum": {
  19649. "description": "证件号码 (加密存储)",
  19650. "type": "string"
  19651. },
  19652. "cardtype": {
  19653. "description": "证件类型",
  19654. "type": "integer"
  19655. },
  19656. "cityid": {
  19657. "description": "市",
  19658. "type": "integer"
  19659. },
  19660. "company": {
  19661. "description": "公司(个人)",
  19662. "type": "string"
  19663. },
  19664. "contactcardbackphotourl": {
  19665. "description": "联系人证件背面图片地址",
  19666. "type": "string"
  19667. },
  19668. "contactcardfrontphotourl": {
  19669. "description": "联系人证件正面图片地址",
  19670. "type": "string"
  19671. },
  19672. "contactname": {
  19673. "description": "联系人",
  19674. "type": "string"
  19675. },
  19676. "countryid": {
  19677. "description": "国家",
  19678. "type": "integer"
  19679. },
  19680. "createtime": {
  19681. "description": "开户申请时间",
  19682. "type": "string"
  19683. },
  19684. "cusbankid": {
  19685. "description": "签约类型",
  19686. "type": "string"
  19687. },
  19688. "cusbankname": {
  19689. "description": "签约类型名称",
  19690. "type": "string"
  19691. },
  19692. "customername": {
  19693. "description": "客户名称(企业名称)",
  19694. "type": "string"
  19695. },
  19696. "districtid": {
  19697. "description": "地区",
  19698. "type": "integer"
  19699. },
  19700. "email": {
  19701. "description": "Email地址(加密存储)",
  19702. "type": "string"
  19703. },
  19704. "halfbodyphotourl": {
  19705. "description": "半身照地址",
  19706. "type": "string"
  19707. },
  19708. "headurl": {
  19709. "description": "头像地址",
  19710. "type": "string"
  19711. },
  19712. "ipaddress": {
  19713. "description": "IP地址",
  19714. "type": "string"
  19715. },
  19716. "isvalidate": {
  19717. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19718. "type": "string"
  19719. },
  19720. "legalcardbackphotourl": {
  19721. "description": "法人身份证背面照地址",
  19722. "type": "string"
  19723. },
  19724. "legalcardfrontphotourl": {
  19725. "description": "法人身份证正面照地址",
  19726. "type": "string"
  19727. },
  19728. "legalpersonname": {
  19729. "description": "法人姓名(企业)",
  19730. "type": "string"
  19731. },
  19732. "logincode": {
  19733. "description": "登录帐号 (加密存储)",
  19734. "type": "string"
  19735. },
  19736. "memberareaid": {
  19737. "description": "所属会员ID",
  19738. "type": "integer"
  19739. },
  19740. "mobile2": {
  19741. "description": "手机号码[明文-尚志]",
  19742. "type": "string"
  19743. },
  19744. "mobilephone": {
  19745. "description": "手机号码 (加密存储)",
  19746. "type": "string"
  19747. },
  19748. "modifiedby": {
  19749. "description": "修改人帐号",
  19750. "type": "integer"
  19751. },
  19752. "modifiedtime": {
  19753. "description": "修改时间",
  19754. "type": "string"
  19755. },
  19756. "nickname": {
  19757. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19758. "type": "string"
  19759. },
  19760. "openmode": {
  19761. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19762. "type": "integer"
  19763. },
  19764. "otherurl": {
  19765. "description": "其它图片地址[使用分号分隔]",
  19766. "type": "string"
  19767. },
  19768. "postalcode": {
  19769. "description": "邮政编码",
  19770. "type": "string"
  19771. },
  19772. "provinceid": {
  19773. "description": "省",
  19774. "type": "integer"
  19775. },
  19776. "proxystatementurl": {
  19777. "description": "授权委托书",
  19778. "type": "string"
  19779. },
  19780. "qq": {
  19781. "description": "QQ(加密存储",
  19782. "type": "string"
  19783. },
  19784. "referral": {
  19785. "description": "推荐人编码",
  19786. "type": "string"
  19787. },
  19788. "remark": {
  19789. "description": "备注",
  19790. "type": "string"
  19791. },
  19792. "removebeforestatus": {
  19793. "description": "REMOVEBEFORESTATUS",
  19794. "type": "integer"
  19795. },
  19796. "sex": {
  19797. "description": "性别 - 0:女 1:男",
  19798. "type": "integer"
  19799. },
  19800. "signedstatus": {
  19801. "description": "账户一号签签约状态",
  19802. "type": "integer"
  19803. },
  19804. "signpdfurl": {
  19805. "description": "签约pdf文件",
  19806. "type": "string"
  19807. },
  19808. "subbranch": {
  19809. "description": "开户支行",
  19810. "type": "string"
  19811. },
  19812. "taxpayernum": {
  19813. "description": "纳税人识别号",
  19814. "type": "string"
  19815. },
  19816. "telphone": {
  19817. "description": "联系电话(加密存储)",
  19818. "type": "string"
  19819. },
  19820. "userid": {
  19821. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19822. "type": "integer"
  19823. },
  19824. "userinfotype": {
  19825. "description": "用户信息类型 - 1:个人 2:企业",
  19826. "type": "integer"
  19827. },
  19828. "username": {
  19829. "description": "用户姓名",
  19830. "type": "string"
  19831. },
  19832. "userstate": {
  19833. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19834. "type": "integer"
  19835. },
  19836. "usertype": {
  19837. "description": "用户类型 - 1:投资者 2:机构",
  19838. "type": "integer"
  19839. },
  19840. "videourl": {
  19841. "description": "视频地址",
  19842. "type": "string"
  19843. },
  19844. "wechat": {
  19845. "description": "微信号 (加密存储)",
  19846. "type": "string"
  19847. }
  19848. }
  19849. },
  19850. "erms3.CustomerInfo": {
  19851. "type": "object",
  19852. "required": [
  19853. "userid"
  19854. ],
  19855. "properties": {
  19856. "accountids": {
  19857. "description": "资金账户ID列表",
  19858. "type": "array",
  19859. "items": {
  19860. "type": "integer"
  19861. }
  19862. },
  19863. "customername": {
  19864. "description": "名称(企业名称)",
  19865. "type": "string"
  19866. },
  19867. "mobile": {
  19868. "description": "手机号码",
  19869. "type": "string"
  19870. },
  19871. "userid": {
  19872. "description": "用户ID",
  19873. "type": "integer"
  19874. }
  19875. }
  19876. },
  19877. "erms3.ModifyUserInfoApplyReq": {
  19878. "type": "object",
  19879. "required": [
  19880. "userid"
  19881. ],
  19882. "properties": {
  19883. "accountid": {
  19884. "description": "交易系统帐号Id (加密存储)",
  19885. "type": "integer"
  19886. },
  19887. "areacode": {
  19888. "description": "机构代码",
  19889. "type": "string"
  19890. },
  19891. "areaid": {
  19892. "description": "机构Id",
  19893. "type": "integer"
  19894. },
  19895. "attachment1": {
  19896. "description": "附件1",
  19897. "type": "string"
  19898. },
  19899. "attachment2": {
  19900. "description": "附件2",
  19901. "type": "string"
  19902. },
  19903. "attachment3": {
  19904. "description": "附件3",
  19905. "type": "string"
  19906. },
  19907. "attachment4": {
  19908. "description": "附件4",
  19909. "type": "string"
  19910. },
  19911. "attachment5": {
  19912. "description": "附件5",
  19913. "type": "string"
  19914. },
  19915. "auditedby": {
  19916. "description": "审核人",
  19917. "type": "string"
  19918. },
  19919. "auditime": {
  19920. "description": "审核时间",
  19921. "type": "string"
  19922. },
  19923. "auditsrc": {
  19924. "description": "审核来源 - 1:管理端 2:终端",
  19925. "type": "integer"
  19926. },
  19927. "bankaccount": {
  19928. "description": "银行帐号 (加密存储)",
  19929. "type": "string"
  19930. },
  19931. "bankaccountname": {
  19932. "description": "收款人名称",
  19933. "type": "string"
  19934. },
  19935. "bankcardbackphotourl": {
  19936. "description": "银行卡背面照地址",
  19937. "type": "string"
  19938. },
  19939. "bankcardfrontphotourl": {
  19940. "description": "银行卡正面照地址",
  19941. "type": "string"
  19942. },
  19943. "bankid": {
  19944. "description": "银行编码",
  19945. "type": "string"
  19946. },
  19947. "bankname": {
  19948. "description": "银行名称",
  19949. "type": "string"
  19950. },
  19951. "bankpictureurl": {
  19952. "description": "银行卡正面地址",
  19953. "type": "string"
  19954. },
  19955. "biznature": {
  19956. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19957. "type": "integer"
  19958. },
  19959. "bizscope": {
  19960. "description": "企业经营范围(企业)",
  19961. "type": "string"
  19962. },
  19963. "biztype": {
  19964. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19965. "type": "integer"
  19966. },
  19967. "brokerid": {
  19968. "description": "经纪人ID(加密存储)",
  19969. "type": "string"
  19970. },
  19971. "cardaddress": {
  19972. "description": "证件地址 (加密存储)",
  19973. "type": "string"
  19974. },
  19975. "cardbackphotourl": {
  19976. "description": "背面证件照地址",
  19977. "type": "string"
  19978. },
  19979. "cardfrontphotourl": {
  19980. "description": "正面证件照地址",
  19981. "type": "string"
  19982. },
  19983. "cardnum": {
  19984. "description": "证件号码 (加密存储)",
  19985. "type": "string"
  19986. },
  19987. "cardtype": {
  19988. "description": "证件类型",
  19989. "type": "integer"
  19990. },
  19991. "cityid": {
  19992. "description": "市",
  19993. "type": "integer"
  19994. },
  19995. "company": {
  19996. "description": "公司(个人)",
  19997. "type": "string"
  19998. },
  19999. "contactcardbackphotourl": {
  20000. "description": "联系人证件背面图片地址",
  20001. "type": "string"
  20002. },
  20003. "contactcardfrontphotourl": {
  20004. "description": "联系人证件正面图片地址",
  20005. "type": "string"
  20006. },
  20007. "contactname": {
  20008. "description": "联系人",
  20009. "type": "string"
  20010. },
  20011. "countryid": {
  20012. "description": "国家",
  20013. "type": "integer"
  20014. },
  20015. "createtime": {
  20016. "description": "开户申请时间",
  20017. "type": "string"
  20018. },
  20019. "cusbankid": {
  20020. "description": "签约类型",
  20021. "type": "string"
  20022. },
  20023. "cusbankname": {
  20024. "description": "签约类型名称",
  20025. "type": "string"
  20026. },
  20027. "customername": {
  20028. "description": "客户名称(企业名称)",
  20029. "type": "string"
  20030. },
  20031. "districtid": {
  20032. "description": "地区",
  20033. "type": "integer"
  20034. },
  20035. "email": {
  20036. "description": "Email地址(加密存储)",
  20037. "type": "string"
  20038. },
  20039. "halfbodyphotourl": {
  20040. "description": "半身照地址",
  20041. "type": "string"
  20042. },
  20043. "headurl": {
  20044. "description": "头像地址",
  20045. "type": "string"
  20046. },
  20047. "ipaddress": {
  20048. "description": "IP地址",
  20049. "type": "string"
  20050. },
  20051. "isvalidate": {
  20052. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20053. "type": "string"
  20054. },
  20055. "legalcardbackphotourl": {
  20056. "description": "法人身份证背面照地址",
  20057. "type": "string"
  20058. },
  20059. "legalcardfrontphotourl": {
  20060. "description": "法人身份证正面照地址",
  20061. "type": "string"
  20062. },
  20063. "legalpersonname": {
  20064. "description": "法人姓名(企业)",
  20065. "type": "string"
  20066. },
  20067. "logincode": {
  20068. "description": "登录帐号 (加密存储)",
  20069. "type": "string"
  20070. },
  20071. "memberareaid": {
  20072. "description": "所属会员ID",
  20073. "type": "integer"
  20074. },
  20075. "mobile2": {
  20076. "description": "手机号码[明文-尚志]",
  20077. "type": "string"
  20078. },
  20079. "mobilephone": {
  20080. "description": "手机号码 (加密存储)",
  20081. "type": "string"
  20082. },
  20083. "modifiedby": {
  20084. "description": "修改人帐号",
  20085. "type": "integer"
  20086. },
  20087. "modifiedtime": {
  20088. "description": "修改时间",
  20089. "type": "string"
  20090. },
  20091. "nickname": {
  20092. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20093. "type": "string"
  20094. },
  20095. "openmode": {
  20096. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20097. "type": "integer"
  20098. },
  20099. "otherurl": {
  20100. "description": "其它图片地址[使用分号分隔]",
  20101. "type": "string"
  20102. },
  20103. "postalcode": {
  20104. "description": "邮政编码",
  20105. "type": "string"
  20106. },
  20107. "provinceid": {
  20108. "description": "省",
  20109. "type": "integer"
  20110. },
  20111. "proxystatementurl": {
  20112. "description": "授权委托书",
  20113. "type": "string"
  20114. },
  20115. "qq": {
  20116. "description": "QQ(加密存储",
  20117. "type": "string"
  20118. },
  20119. "referral": {
  20120. "description": "推荐人编码",
  20121. "type": "string"
  20122. },
  20123. "remark": {
  20124. "description": "备注",
  20125. "type": "string"
  20126. },
  20127. "removebeforestatus": {
  20128. "description": "REMOVEBEFORESTATUS",
  20129. "type": "integer"
  20130. },
  20131. "sex": {
  20132. "description": "性别 - 0:女 1:男",
  20133. "type": "integer"
  20134. },
  20135. "signedstatus": {
  20136. "description": "账户一号签签约状态",
  20137. "type": "integer"
  20138. },
  20139. "signpdfurl": {
  20140. "description": "签约pdf文件",
  20141. "type": "string"
  20142. },
  20143. "subbranch": {
  20144. "description": "开户支行",
  20145. "type": "string"
  20146. },
  20147. "taxpayernum": {
  20148. "description": "纳税人识别号",
  20149. "type": "string"
  20150. },
  20151. "telphone": {
  20152. "description": "联系电话(加密存储)",
  20153. "type": "string"
  20154. },
  20155. "userid": {
  20156. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20157. "type": "integer"
  20158. },
  20159. "userinfotype": {
  20160. "description": "用户信息类型 - 1:个人 2:企业",
  20161. "type": "integer"
  20162. },
  20163. "username": {
  20164. "description": "用户姓名",
  20165. "type": "string"
  20166. },
  20167. "userstate": {
  20168. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20169. "type": "integer"
  20170. },
  20171. "usertype": {
  20172. "description": "用户类型 - 1:投资者 2:机构",
  20173. "type": "integer"
  20174. },
  20175. "videourl": {
  20176. "description": "视频地址",
  20177. "type": "string"
  20178. },
  20179. "wechat": {
  20180. "description": "微信号 (加密存储)",
  20181. "type": "string"
  20182. }
  20183. }
  20184. },
  20185. "erms3.QryAuditContractRsp": {
  20186. "type": "object",
  20187. "required": [
  20188. "matchcustomername",
  20189. "spotcontractid"
  20190. ],
  20191. "properties": {
  20192. "accountid": {
  20193. "description": "交易员ID",
  20194. "type": "string"
  20195. },
  20196. "applystatus": {
  20197. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20198. "type": "integer"
  20199. },
  20200. "curdeliveryqty": {
  20201. "description": "未交收量",
  20202. "type": "integer"
  20203. },
  20204. "customername": {
  20205. "description": "采购方ID",
  20206. "type": "string"
  20207. },
  20208. "deliverygoodsid": {
  20209. "description": "品种ID",
  20210. "type": "string"
  20211. },
  20212. "deliveryqty": {
  20213. "description": "交收量",
  20214. "type": "integer"
  20215. },
  20216. "enumdicname": {
  20217. "description": "单位名称",
  20218. "type": "string"
  20219. },
  20220. "matchaccountid": {
  20221. "description": "业务员ID",
  20222. "type": "string"
  20223. },
  20224. "matchcustomername": {
  20225. "description": "销售方ID",
  20226. "type": "string"
  20227. },
  20228. "pricedqty": {
  20229. "description": "定价量",
  20230. "type": "number"
  20231. },
  20232. "signdate": {
  20233. "description": "签订日期",
  20234. "type": "string"
  20235. },
  20236. "spotcontractid": {
  20237. "description": "合同ID",
  20238. "type": "string"
  20239. },
  20240. "totaldqty": {
  20241. "description": "合同量",
  20242. "type": "number"
  20243. },
  20244. "unpricedqty": {
  20245. "description": "未定价量",
  20246. "type": "number"
  20247. },
  20248. "wrstandardname": {
  20249. "description": "商品名称",
  20250. "type": "string"
  20251. }
  20252. }
  20253. },
  20254. "erms3.QryPendingBizRsp": {
  20255. "type": "object",
  20256. "properties": {
  20257. "accountid": {
  20258. "description": "现货账户",
  20259. "type": "string"
  20260. },
  20261. "areaname": {
  20262. "description": "所属部门",
  20263. "type": "string"
  20264. },
  20265. "bizid": {
  20266. "description": "业务ID",
  20267. "type": "string"
  20268. },
  20269. "bizname": {
  20270. "description": "业务名称",
  20271. "type": "string"
  20272. },
  20273. "status": {
  20274. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20275. "type": "integer"
  20276. },
  20277. "type": {
  20278. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20279. "type": "integer"
  20280. }
  20281. }
  20282. },
  20283. "erms3.QueryBusinessInfoRsp": {
  20284. "type": "object",
  20285. "properties": {
  20286. "businessid": {
  20287. "description": "业务ID.",
  20288. "type": "integer"
  20289. },
  20290. "buyamount": {
  20291. "description": "采购额.",
  20292. "type": "number"
  20293. },
  20294. "buyqty": {
  20295. "description": "采购量.",
  20296. "type": "string"
  20297. },
  20298. "futurepl": {
  20299. "description": "期货盈亏.",
  20300. "type": "number"
  20301. },
  20302. "futureqty": {
  20303. "description": "期货敞口.",
  20304. "type": "string"
  20305. },
  20306. "goodsid": {
  20307. "description": "商品名称/商品代码.",
  20308. "type": "string"
  20309. },
  20310. "hedgingqty": {
  20311. "description": "套保量.",
  20312. "type": "string"
  20313. },
  20314. "sellamount": {
  20315. "description": "销售额.",
  20316. "type": "number"
  20317. },
  20318. "sellqty": {
  20319. "description": "销售量.",
  20320. "type": "string"
  20321. },
  20322. "spotmarketvalue": {
  20323. "description": "现货市值.",
  20324. "type": "number"
  20325. },
  20326. "spotpl": {
  20327. "description": "浮动权益.",
  20328. "type": "number"
  20329. },
  20330. "spotqty": {
  20331. "description": "现货量.",
  20332. "type": "string"
  20333. },
  20334. "statu": {
  20335. "description": "状态,0-未结束 1-已结束.",
  20336. "type": "integer"
  20337. },
  20338. "totalpl": {
  20339. "description": "总盈亏.",
  20340. "type": "number"
  20341. },
  20342. "totalqty": {
  20343. "description": "总敞口.",
  20344. "type": "string"
  20345. },
  20346. "type": {
  20347. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20348. "type": "integer"
  20349. }
  20350. }
  20351. },
  20352. "erms3.QuerySpotContractAppleFormRsp": {
  20353. "type": "object",
  20354. "properties": {
  20355. "goodses": {
  20356. "description": "合约列表",
  20357. "type": "array",
  20358. "items": {
  20359. "$ref": "#/definitions/models.GoodsIDAndName"
  20360. }
  20361. },
  20362. "oppositeusers": {
  20363. "description": "对方账号列表",
  20364. "type": "array",
  20365. "items": {
  20366. "$ref": "#/definitions/erms3.CustomerInfo"
  20367. }
  20368. },
  20369. "ouruser": {
  20370. "description": "我方账号",
  20371. "$ref": "#/definitions/erms3.CustomerInfo"
  20372. },
  20373. "warehouseinfos": {
  20374. "description": "仓库信息列表",
  20375. "type": "array",
  20376. "items": {
  20377. "$ref": "#/definitions/models.Warehouseinfo"
  20378. }
  20379. },
  20380. "wrstandards": {
  20381. "description": "仓单标准列表",
  20382. "type": "array",
  20383. "items": {
  20384. "$ref": "#/definitions/models.WRStandardInfo"
  20385. }
  20386. }
  20387. }
  20388. },
  20389. "erms3.QuerySpotContractInfoRsp": {
  20390. "type": "object",
  20391. "properties": {
  20392. "accountid": {
  20393. "description": "表示交易员ID.",
  20394. "type": "integer"
  20395. },
  20396. "curdeliveryqty": {
  20397. "description": "表示未交收量.",
  20398. "type": "number"
  20399. },
  20400. "customername": {
  20401. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20402. "type": "string"
  20403. },
  20404. "deliverygoodsid": {
  20405. "description": "表示品种ID.",
  20406. "type": "string"
  20407. },
  20408. "deliveryqty": {
  20409. "description": "表示交收量.",
  20410. "type": "number"
  20411. },
  20412. "matchaccountid": {
  20413. "description": "表示业务员ID.",
  20414. "type": "integer"
  20415. },
  20416. "matchcustomername": {
  20417. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20418. "type": "string"
  20419. },
  20420. "priceqty": {
  20421. "description": "表示定价量.",
  20422. "type": "number"
  20423. },
  20424. "relatedbizid": {
  20425. "description": "表示业务ID.",
  20426. "type": "string"
  20427. },
  20428. "signdate": {
  20429. "description": "表示签订日期.",
  20430. "type": "string"
  20431. },
  20432. "spotcontractid": {
  20433. "description": "合同ID",
  20434. "type": "string"
  20435. },
  20436. "status": {
  20437. "description": "表示状态,0-履约中 1-已完成.",
  20438. "type": "integer"
  20439. },
  20440. "totalqty": {
  20441. "description": "表示合同量.",
  20442. "type": "number"
  20443. },
  20444. "unpricedqty": {
  20445. "description": "表示未定价量.",
  20446. "type": "number"
  20447. },
  20448. "wrstandardname": {
  20449. "description": "表示商品ID.",
  20450. "type": "string"
  20451. }
  20452. }
  20453. },
  20454. "erms3.QueryUserInfoAppliesRsp": {
  20455. "type": "object",
  20456. "required": [
  20457. "userid"
  20458. ],
  20459. "properties": {
  20460. "biznature": {
  20461. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20462. "type": "integer"
  20463. },
  20464. "contactname": {
  20465. "description": "联系人",
  20466. "type": "string"
  20467. },
  20468. "createtime": {
  20469. "description": "开户申请时间",
  20470. "type": "string"
  20471. },
  20472. "userid": {
  20473. "description": "用户ID(自增ID)",
  20474. "type": "integer"
  20475. },
  20476. "userinfotype": {
  20477. "description": "用户信息类型 - 1:个人 2:企业",
  20478. "type": "integer"
  20479. },
  20480. "username": {
  20481. "description": "用户姓名",
  20482. "type": "string"
  20483. },
  20484. "userstate": {
  20485. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20486. "type": "integer"
  20487. }
  20488. }
  20489. },
  20490. "erms3.QueryUserInfosRsp": {
  20491. "type": "object",
  20492. "required": [
  20493. "userid"
  20494. ],
  20495. "properties": {
  20496. "biznature": {
  20497. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20498. "type": "integer"
  20499. },
  20500. "contactname": {
  20501. "description": "联系人",
  20502. "type": "string"
  20503. },
  20504. "customername": {
  20505. "description": "客户名称(企业名称)",
  20506. "type": "string"
  20507. },
  20508. "userid": {
  20509. "description": "用户ID",
  20510. "type": "integer"
  20511. },
  20512. "userinfotype": {
  20513. "description": "用户信息类型 - 1:个人 2:企业",
  20514. "type": "integer"
  20515. },
  20516. "userstatus": {
  20517. "description": "用户状态 - 1:正常 2:注销",
  20518. "type": "integer"
  20519. }
  20520. }
  20521. },
  20522. "erms3.SoptContractDetail": {
  20523. "type": "object",
  20524. "required": [
  20525. "deliverygoodsid",
  20526. "producttype",
  20527. "unitname",
  20528. "warehouseid",
  20529. "wrstandardid",
  20530. "wrstandardname"
  20531. ],
  20532. "properties": {
  20533. "deliverygoodsdesc": {
  20534. "description": "现货品种说明",
  20535. "type": "string"
  20536. },
  20537. "deliverygoodsid": {
  20538. "description": "现货品种ID",
  20539. "type": "integer"
  20540. },
  20541. "deliverygoodsname": {
  20542. "description": "现货品种名称",
  20543. "type": "string"
  20544. },
  20545. "pointdesc": {
  20546. "description": "点价描述",
  20547. "type": "string"
  20548. },
  20549. "producttype": {
  20550. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20551. "type": "integer"
  20552. },
  20553. "producttypename": {
  20554. "description": "产品类型名称",
  20555. "type": "string"
  20556. },
  20557. "spotPointOrderVoList": {
  20558. "description": "点价列表",
  20559. "type": "array",
  20560. "items": {
  20561. "$ref": "#/definitions/erms3.SpotPointOrder"
  20562. }
  20563. },
  20564. "spotPriceOrderList": {
  20565. "description": "定价列表",
  20566. "type": "array",
  20567. "items": {
  20568. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20569. }
  20570. },
  20571. "unitname": {
  20572. "description": "单位名称",
  20573. "type": "string"
  20574. },
  20575. "warehouseid": {
  20576. "description": "仓库ID",
  20577. "type": "integer"
  20578. },
  20579. "warehousename": {
  20580. "description": "仓库名称",
  20581. "type": "string"
  20582. },
  20583. "wrstandardid": {
  20584. "description": "交易标的ID",
  20585. "type": "integer"
  20586. },
  20587. "wrstandardname": {
  20588. "description": "交易标的名称",
  20589. "type": "string"
  20590. }
  20591. }
  20592. },
  20593. "erms3.SpotPointOrder": {
  20594. "type": "object",
  20595. "required": [
  20596. "basic",
  20597. "goodsid",
  20598. "qty"
  20599. ],
  20600. "properties": {
  20601. "basic": {
  20602. "description": "基差",
  20603. "type": "number"
  20604. },
  20605. "deliveryenddate": {
  20606. "description": "交收结束日期",
  20607. "type": "string"
  20608. },
  20609. "deliverystartdate": {
  20610. "description": "交收开始日期",
  20611. "type": "string"
  20612. },
  20613. "enddate": {
  20614. "description": "点价结束日期",
  20615. "type": "string"
  20616. },
  20617. "goodsid": {
  20618. "description": "商品ID",
  20619. "type": "integer"
  20620. },
  20621. "goodsname": {
  20622. "description": "商品名称",
  20623. "type": "string"
  20624. },
  20625. "qty": {
  20626. "description": "数量",
  20627. "type": "number"
  20628. },
  20629. "startdate": {
  20630. "description": "点价开始日期",
  20631. "type": "string"
  20632. }
  20633. }
  20634. },
  20635. "erms3.SpotPriceOrder": {
  20636. "type": "object",
  20637. "required": [
  20638. "amount",
  20639. "price",
  20640. "qty"
  20641. ],
  20642. "properties": {
  20643. "amount": {
  20644. "description": "金额",
  20645. "type": "number"
  20646. },
  20647. "deliveryenddate": {
  20648. "description": "交收结束日期",
  20649. "type": "string"
  20650. },
  20651. "deliverystartdate": {
  20652. "description": "交收开始日期",
  20653. "type": "string"
  20654. },
  20655. "price": {
  20656. "description": "价格",
  20657. "type": "number"
  20658. },
  20659. "qty": {
  20660. "description": "数量",
  20661. "type": "number"
  20662. }
  20663. }
  20664. },
  20665. "hsby.GetHsbyMyCountRsp": {
  20666. "type": "object",
  20667. "properties": {
  20668. "myCouponCount": {
  20669. "description": "我的优惠卷数量",
  20670. "type": "integer"
  20671. },
  20672. "myOrderDetailListingCount": {
  20673. "description": "我的订单求购中数量",
  20674. "type": "integer"
  20675. },
  20676. "myOrderDetailPreCount": {
  20677. "description": "我的订单抢购中数量",
  20678. "type": "integer"
  20679. },
  20680. "myPackageUnReceiveCount": {
  20681. "description": "我的包裹待收货数量",
  20682. "type": "integer"
  20683. },
  20684. "myPackageUnSendCount": {
  20685. "description": "我的包裹待发货数量",
  20686. "type": "integer"
  20687. },
  20688. "myPayOrderCount": {
  20689. "description": "我的订单待付款数量",
  20690. "type": "integer"
  20691. }
  20692. }
  20693. },
  20694. "hsby.QueryProvincesAndCitiesRsp": {
  20695. "type": "object",
  20696. "properties": {
  20697. "cities": {
  20698. "description": "市",
  20699. "type": "array",
  20700. "items": {
  20701. "$ref": "#/definitions/models.Division"
  20702. }
  20703. },
  20704. "province": {
  20705. "description": "省",
  20706. "$ref": "#/definitions/models.Division"
  20707. }
  20708. }
  20709. },
  20710. "models.Arearole": {
  20711. "type": "object",
  20712. "required": [
  20713. "roletype",
  20714. "userid"
  20715. ],
  20716. "properties": {
  20717. "createtime": {
  20718. "description": "创建时间",
  20719. "type": "string"
  20720. },
  20721. "creatorid": {
  20722. "description": "创建人ID",
  20723. "type": "integer"
  20724. },
  20725. "fromuserid": {
  20726. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20727. "type": "integer"
  20728. },
  20729. "isreturnscore": {
  20730. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20731. "type": "integer"
  20732. },
  20733. "modifierid": {
  20734. "description": "修改人ID",
  20735. "type": "integer"
  20736. },
  20737. "modifytime": {
  20738. "description": "修改时间",
  20739. "type": "string"
  20740. },
  20741. "orgtype": {
  20742. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  20743. "type": "integer"
  20744. },
  20745. "outuserid": {
  20746. "description": "外部账户[场外期权做市商]",
  20747. "type": "string"
  20748. },
  20749. "parentuserid": {
  20750. "description": "上级组织机构(组织机构)",
  20751. "type": "integer"
  20752. },
  20753. "roletype": {
  20754. "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:门店",
  20755. "type": "integer"
  20756. },
  20757. "rootuserid": {
  20758. "description": "顶级组织机构用户ID(组织机构)",
  20759. "type": "integer"
  20760. },
  20761. "shoppassword": {
  20762. "description": "商城店铺登陆密码(商城店铺角色使用)",
  20763. "type": "string"
  20764. },
  20765. "sublevelpath": {
  20766. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  20767. "type": "string"
  20768. },
  20769. "suborgtype": {
  20770. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20771. "type": "integer"
  20772. },
  20773. "tradeaccountid": {
  20774. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  20775. "type": "integer"
  20776. },
  20777. "transurl": {
  20778. "description": "物流地址(物流机构)",
  20779. "type": "string"
  20780. },
  20781. "userid": {
  20782. "description": "机构用户ID其他做市关系,都设置为 1",
  20783. "type": "integer"
  20784. }
  20785. }
  20786. },
  20787. "models.Clientfixedadconfig": {
  20788. "type": "object",
  20789. "required": [
  20790. "adsort",
  20791. "adtype"
  20792. ],
  20793. "properties": {
  20794. "adsort": {
  20795. "description": "排序",
  20796. "type": "integer"
  20797. },
  20798. "adtype": {
  20799. "description": "广告位类型 - 1:新品抢购(HSBY)",
  20800. "type": "integer"
  20801. },
  20802. "areauserid": {
  20803. "description": "所属机构ID",
  20804. "type": "integer"
  20805. },
  20806. "createdate": {
  20807. "description": "创建时间",
  20808. "type": "string"
  20809. },
  20810. "creatorid": {
  20811. "description": "创建人",
  20812. "type": "integer"
  20813. },
  20814. "imagepath": {
  20815. "description": "图片",
  20816. "type": "string"
  20817. },
  20818. "isshow": {
  20819. "description": "是否展示 - 0:不展示 1:展示",
  20820. "type": "integer"
  20821. },
  20822. "modifierid": {
  20823. "description": "操作人",
  20824. "type": "integer"
  20825. },
  20826. "recsize": {
  20827. "description": "推荐尺寸",
  20828. "type": "string"
  20829. },
  20830. "title": {
  20831. "description": "标题",
  20832. "type": "string"
  20833. },
  20834. "updatedate": {
  20835. "description": "更新时间",
  20836. "type": "string"
  20837. },
  20838. "urlcontent": {
  20839. "description": "链接(地址或商品ID)",
  20840. "type": "string"
  20841. },
  20842. "urltype": {
  20843. "description": "链接类型 - 1:直接地址 2:商品ID",
  20844. "type": "integer"
  20845. }
  20846. }
  20847. },
  20848. "models.DgFactoryItem": {
  20849. "type": "object",
  20850. "properties": {
  20851. "dgfactoryitemid": {
  20852. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20853. "type": "integer"
  20854. },
  20855. "dgfactoryitemtypeid": {
  20856. "description": "要素项类型",
  20857. "type": "integer"
  20858. },
  20859. "dgfactoryitemvalue": {
  20860. "description": "要素项值(类型为仓库时填写仓库名称)",
  20861. "type": "string"
  20862. },
  20863. "orderindex": {
  20864. "description": "顺序",
  20865. "type": "integer"
  20866. }
  20867. }
  20868. },
  20869. "models.Division": {
  20870. "type": "object",
  20871. "required": [
  20872. "autoid",
  20873. "divisioncode"
  20874. ],
  20875. "properties": {
  20876. "autoid": {
  20877. "description": "自增ID",
  20878. "type": "integer"
  20879. },
  20880. "divisioncode": {
  20881. "description": "行政代码",
  20882. "type": "string"
  20883. },
  20884. "divisionlevel": {
  20885. "description": "行政级别",
  20886. "type": "string"
  20887. },
  20888. "divisionname": {
  20889. "description": "行政名称",
  20890. "type": "string"
  20891. },
  20892. "modifierid": {
  20893. "description": "修改人",
  20894. "type": "integer"
  20895. },
  20896. "modifytime": {
  20897. "description": "修改时间",
  20898. "type": "string"
  20899. },
  20900. "parentcode": {
  20901. "description": "上级行政代码",
  20902. "type": "string"
  20903. },
  20904. "pathname": {
  20905. "description": "路径名称",
  20906. "type": "string"
  20907. },
  20908. "postcode": {
  20909. "description": "邮政编码",
  20910. "type": "string"
  20911. },
  20912. "separablename": {
  20913. "description": "可拆分的全称",
  20914. "type": "string"
  20915. },
  20916. "shortcode": {
  20917. "description": "地区简码",
  20918. "type": "string"
  20919. }
  20920. }
  20921. },
  20922. "models.Enumdicitem": {
  20923. "type": "object",
  20924. "required": [
  20925. "autoid",
  20926. "enumdiccode",
  20927. "enumdicid",
  20928. "enumitemname"
  20929. ],
  20930. "properties": {
  20931. "autoid": {
  20932. "description": "自增ID",
  20933. "type": "integer"
  20934. },
  20935. "bankmappedvalue": {
  20936. "description": "银行服务对应值",
  20937. "type": "string"
  20938. },
  20939. "enumdiccode": {
  20940. "description": "所属枚举代码",
  20941. "type": "string"
  20942. },
  20943. "enumdicid": {
  20944. "description": "所属枚举ID",
  20945. "type": "integer"
  20946. },
  20947. "enumdicname": {
  20948. "description": "枚举项名称",
  20949. "type": "string"
  20950. },
  20951. "enumitemname": {
  20952. "description": "枚举项值",
  20953. "type": "integer"
  20954. },
  20955. "enumitemstatus": {
  20956. "description": "枚举项状态 - 1.启用 2.不启用",
  20957. "type": "integer"
  20958. },
  20959. "enumitemvalue": {
  20960. "description": "通用值 - [币种通用简写]",
  20961. "type": "string"
  20962. },
  20963. "param1": {
  20964. "description": "参数1[币种:币种小数位]",
  20965. "type": "string"
  20966. },
  20967. "param2": {
  20968. "description": "参数1[币种:币种显示单位]",
  20969. "type": "string"
  20970. },
  20971. "remark": {
  20972. "description": "备注",
  20973. "type": "string"
  20974. }
  20975. }
  20976. },
  20977. "models.Ermcp2AreaExposure": {
  20978. "type": "object",
  20979. "properties": {
  20980. "areauserid": {
  20981. "description": "所属机构",
  20982. "type": "integer"
  20983. },
  20984. "enumdicname": {
  20985. "description": "单位",
  20986. "type": "string"
  20987. },
  20988. "futureqty": {
  20989. "description": "期货套期量",
  20990. "type": "number"
  20991. },
  20992. "futureqtychange": {
  20993. "description": "期货变动量 = FutureQty - OriFutureQty",
  20994. "type": "number"
  20995. },
  20996. "goodsunitid": {
  20997. "description": "单位ID",
  20998. "type": "integer"
  20999. },
  21000. "hedgedspotexposure": {
  21001. "description": "被套期现货敞口量",
  21002. "type": "number"
  21003. },
  21004. "hedgedspratio": {
  21005. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21006. "type": "number"
  21007. },
  21008. "hedgedtotalexposourechange": {
  21009. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21010. "type": "number"
  21011. },
  21012. "hedgedtotalexposure": {
  21013. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21014. "type": "number"
  21015. },
  21016. "hedgeplanqty": {
  21017. "description": "套期计划量",
  21018. "type": "number"
  21019. },
  21020. "hedgeplanqtychange": {
  21021. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21022. "type": "number"
  21023. },
  21024. "hedgespotqty": {
  21025. "description": "被套期现货量",
  21026. "type": "number"
  21027. },
  21028. "middlegoodsid": {
  21029. "description": "套保品种",
  21030. "type": "integer"
  21031. },
  21032. "middlegoodsname": {
  21033. "description": "套保品种名称",
  21034. "type": "string"
  21035. },
  21036. "orifutureqty": {
  21037. "description": "期初期货套期量",
  21038. "type": "number"
  21039. },
  21040. "orihedgedspotexposure": {
  21041. "description": "期初被套期现货敞口量",
  21042. "type": "number"
  21043. },
  21044. "orihedgedtotalexposure": {
  21045. "description": "期初套期敞口量",
  21046. "type": "number"
  21047. },
  21048. "orihedgeplanqty": {
  21049. "description": "期初套期计划量",
  21050. "type": "number"
  21051. },
  21052. "orihedgespotqty": {
  21053. "description": "期初被套期现货量",
  21054. "type": "number"
  21055. },
  21056. "orispotexposure": {
  21057. "description": "期初现货敞口量",
  21058. "type": "number"
  21059. },
  21060. "orispotqty": {
  21061. "description": "期初现货总量",
  21062. "type": "number"
  21063. },
  21064. "oritotalexposure": {
  21065. "description": "期初总敞口量",
  21066. "type": "number"
  21067. },
  21068. "spotexposure": {
  21069. "description": "现货敞口量",
  21070. "type": "number"
  21071. },
  21072. "spotqty": {
  21073. "description": "现货总量",
  21074. "type": "number"
  21075. },
  21076. "spotqtychange": {
  21077. "description": "现货变动量 = SpotQty - OriSpotQty",
  21078. "type": "number"
  21079. },
  21080. "spratio": {
  21081. "description": "总期现比例 = 期货套期量/现货敞口量",
  21082. "type": "number"
  21083. },
  21084. "totalexposure": {
  21085. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21086. "type": "number"
  21087. },
  21088. "totalexposurechange": {
  21089. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21090. "type": "number"
  21091. },
  21092. "updatetime": {
  21093. "description": "更新时间 --DATE",
  21094. "type": "string"
  21095. }
  21096. }
  21097. },
  21098. "models.Ermcp2hedgeditem": {
  21099. "type": "object",
  21100. "properties": {
  21101. "accountname": {
  21102. "description": "套期主体",
  21103. "type": "string"
  21104. },
  21105. "applyid": {
  21106. "description": "申请人",
  21107. "type": "integer"
  21108. },
  21109. "applysrc": {
  21110. "description": "申请来源 - 1:管理端 2:终端",
  21111. "type": "integer"
  21112. },
  21113. "areauserid": {
  21114. "description": "企业ID",
  21115. "type": "integer"
  21116. },
  21117. "auditid": {
  21118. "description": "审核人",
  21119. "type": "integer"
  21120. },
  21121. "auditremark": {
  21122. "description": "审核备注",
  21123. "type": "string"
  21124. },
  21125. "auditsrc": {
  21126. "description": "审核来源 - 1:管理端 2:终端",
  21127. "type": "integer"
  21128. },
  21129. "audittime": {
  21130. "description": "审核时间",
  21131. "type": "string"
  21132. },
  21133. "audittradedate": {
  21134. "description": "审核交易日(yyyyMMdd)",
  21135. "type": "string"
  21136. },
  21137. "createtime": {
  21138. "description": "申请时间",
  21139. "type": "string"
  21140. },
  21141. "curprice": {
  21142. "description": "当前市场价",
  21143. "type": "number"
  21144. },
  21145. "curstock": {
  21146. "description": "期末库存量 = 采购总量 - 销售总量",
  21147. "type": "number"
  21148. },
  21149. "deliverygoodsid": {
  21150. "description": "现货品种ID",
  21151. "type": "integer"
  21152. },
  21153. "enddate": {
  21154. "description": "完成日期",
  21155. "type": "string"
  21156. },
  21157. "endtradedate": {
  21158. "description": "完成交易日",
  21159. "type": "string"
  21160. },
  21161. "enumdicname": {
  21162. "description": "单位",
  21163. "type": "string"
  21164. },
  21165. "exeamount": {
  21166. "description": "执行市价总额",
  21167. "type": "number"
  21168. },
  21169. "exeavgprice": {
  21170. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21171. "type": "number"
  21172. },
  21173. "execontractamount": {
  21174. "description": "执行定价总额",
  21175. "type": "number"
  21176. },
  21177. "exeqty": {
  21178. "description": "执行现货量",
  21179. "type": "number"
  21180. },
  21181. "exerestamount": {
  21182. "description": "执行剩余市价总额【现货贸易】",
  21183. "type": "number"
  21184. },
  21185. "futurefloatpl": {
  21186. "description": "期货浮动损益",
  21187. "type": "number"
  21188. },
  21189. "futurehedgepl": {
  21190. "description": "期货实际损益",
  21191. "type": "number"
  21192. },
  21193. "futurehedgeplchange": {
  21194. "description": "期货实际损益变动",
  21195. "type": "number"
  21196. },
  21197. "futurepl": {
  21198. "description": "期货套期损益",
  21199. "type": "number"
  21200. },
  21201. "futureplchange": {
  21202. "description": "期货套期损益变动",
  21203. "type": "number"
  21204. },
  21205. "hedgeamount": {
  21206. "description": "套期市价总额",
  21207. "type": "number"
  21208. },
  21209. "hedgecontractamount": {
  21210. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21211. "type": "number"
  21212. },
  21213. "hedgeditemid": {
  21214. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21215. "type": "string"
  21216. },
  21217. "hedgeditemname": {
  21218. "description": "项目名称",
  21219. "type": "string"
  21220. },
  21221. "hedgeditemnum": {
  21222. "description": "项目编号",
  21223. "type": "string"
  21224. },
  21225. "hedgeditemstatus": {
  21226. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21227. "type": "integer"
  21228. },
  21229. "hedgedtype": {
  21230. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21231. "type": "integer"
  21232. },
  21233. "hedgeqty": {
  21234. "description": "套期现货量",
  21235. "type": "number"
  21236. },
  21237. "hedgerate": {
  21238. "description": "套保比率",
  21239. "type": "number"
  21240. },
  21241. "hedgerestamount": {
  21242. "description": "套期剩余市价总额【现货贸易】",
  21243. "type": "number"
  21244. },
  21245. "hedgesumpl": {
  21246. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21247. "type": "number"
  21248. },
  21249. "middlegoodslist": {
  21250. "description": "套期商品列表",
  21251. "type": "array",
  21252. "items": {
  21253. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21254. }
  21255. },
  21256. "oriavgprice": {
  21257. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21258. "type": "number"
  21259. },
  21260. "orifuturehedgepl": {
  21261. "description": "期初期货实际损益",
  21262. "type": "number"
  21263. },
  21264. "orifuturepl": {
  21265. "description": "期初期货套期损益",
  21266. "type": "number"
  21267. },
  21268. "orispothedgepl": {
  21269. "description": "期初现货实际损益",
  21270. "type": "number"
  21271. },
  21272. "orispotpl": {
  21273. "description": "期初现货套期损益",
  21274. "type": "number"
  21275. },
  21276. "planenddate": {
  21277. "description": "计划结束日期",
  21278. "type": "string"
  21279. },
  21280. "planstartdate": {
  21281. "description": "计划开始日期",
  21282. "type": "string"
  21283. },
  21284. "remark": {
  21285. "description": "备注",
  21286. "type": "string"
  21287. },
  21288. "spotbookamount": {
  21289. "description": "现货账面总额",
  21290. "type": "number"
  21291. },
  21292. "spotfloatpl": {
  21293. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21294. "type": "number"
  21295. },
  21296. "spothedgepl": {
  21297. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21298. "type": "number"
  21299. },
  21300. "spothedgeplchange": {
  21301. "description": "现货实际损益变动",
  21302. "type": "number"
  21303. },
  21304. "spotpl": {
  21305. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21306. "type": "number"
  21307. },
  21308. "spotplchange": {
  21309. "description": "现货套期损益变动",
  21310. "type": "number"
  21311. },
  21312. "spottradepl": {
  21313. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21314. "type": "number"
  21315. },
  21316. "sumobspl": {
  21317. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21318. "type": "number"
  21319. },
  21320. "tradeuserid": {
  21321. "description": "交易用户ID",
  21322. "type": "integer"
  21323. },
  21324. "unexeqty": {
  21325. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21326. "type": "number"
  21327. },
  21328. "updatetime": {
  21329. "description": "更新时间",
  21330. "type": "string"
  21331. },
  21332. "vatpl": {
  21333. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21334. "type": "number"
  21335. },
  21336. "vatrate": {
  21337. "description": "增值税",
  21338. "type": "number"
  21339. },
  21340. "wrstandardid": {
  21341. "description": "现货商品ID",
  21342. "type": "integer"
  21343. },
  21344. "wrstandardname": {
  21345. "description": "商品名称",
  21346. "type": "string"
  21347. }
  21348. }
  21349. },
  21350. "models.Ermcp2hedgeditemsDetail": {
  21351. "type": "object",
  21352. "properties": {
  21353. "accountname": {
  21354. "description": "套期主体",
  21355. "type": "string"
  21356. },
  21357. "areauserid": {
  21358. "description": "企业ID",
  21359. "type": "integer"
  21360. },
  21361. "createtime": {
  21362. "description": "创建时间",
  21363. "type": "string"
  21364. },
  21365. "customeruserid": {
  21366. "description": "对手方 【3:采购合同 4:销售合同】",
  21367. "type": "integer"
  21368. },
  21369. "deliverygoodsid": {
  21370. "description": "现货品种ID",
  21371. "type": "integer"
  21372. },
  21373. "enumdicname": {
  21374. "description": "单位",
  21375. "type": "string"
  21376. },
  21377. "hedgeditemid": {
  21378. "description": "被套期项目ID",
  21379. "type": "string"
  21380. },
  21381. "hedgeditemspotid": {
  21382. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21383. "type": "string"
  21384. },
  21385. "hedgedtype": {
  21386. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21387. "type": "integer"
  21388. },
  21389. "hedgeplanno": {
  21390. "description": "计划编号",
  21391. "type": "string"
  21392. },
  21393. "oriavgprice": {
  21394. "description": "期初市场价[当初市场价]",
  21395. "type": "number"
  21396. },
  21397. "relatedamount": {
  21398. "description": "市价总额 = 关联数量 * 期初市场价",
  21399. "type": "number"
  21400. },
  21401. "relatedhedgeplanid": {
  21402. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21403. "type": "integer"
  21404. },
  21405. "relatedqty": {
  21406. "description": "[期间变化量]关联数量",
  21407. "type": "number"
  21408. },
  21409. "relatedspotcontractid": {
  21410. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21411. "type": "integer"
  21412. },
  21413. "relatedtype": {
  21414. "description": "关联类型 - 1:套期关联 2:执行关联",
  21415. "type": "integer"
  21416. },
  21417. "spotgoodsbrandid": {
  21418. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21419. "type": "integer"
  21420. },
  21421. "spotpricedamount": {
  21422. "description": "定价总额",
  21423. "type": "number"
  21424. },
  21425. "spotpricedavgprice": {
  21426. "description": "现货均价 = 定价总额 / 关联数量",
  21427. "type": "number"
  21428. },
  21429. "spottype": {
  21430. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21431. "type": "integer"
  21432. },
  21433. "tradeuserid": {
  21434. "description": "交易用户ID",
  21435. "type": "integer"
  21436. },
  21437. "unexeqty": {
  21438. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21439. "type": "number"
  21440. },
  21441. "wrstandardid": {
  21442. "description": "现货商品ID",
  21443. "type": "integer"
  21444. },
  21445. "wrstandardname": {
  21446. "description": "现货商品",
  21447. "type": "string"
  21448. }
  21449. }
  21450. },
  21451. "models.Ermcp2hedgeditemspot": {
  21452. "type": "object",
  21453. "required": [
  21454. "hedgeditemid"
  21455. ],
  21456. "properties": {
  21457. "areauserid": {
  21458. "description": "企业ID",
  21459. "type": "integer"
  21460. },
  21461. "createtime": {
  21462. "description": "创建时间",
  21463. "type": "string"
  21464. },
  21465. "customeruserid": {
  21466. "description": "对手方 【3:采购合同 4:销售合同】",
  21467. "type": "integer"
  21468. },
  21469. "deliverygoodsid": {
  21470. "description": "现货品种ID",
  21471. "type": "integer"
  21472. },
  21473. "enumdicname": {
  21474. "description": "单位",
  21475. "type": "string"
  21476. },
  21477. "hedgeditemid": {
  21478. "description": "被套期项目ID",
  21479. "type": "string"
  21480. },
  21481. "hedgeditemspotid": {
  21482. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21483. "type": "string"
  21484. },
  21485. "hedgedtype": {
  21486. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21487. "type": "integer"
  21488. },
  21489. "hedgeplanno": {
  21490. "description": "计划编号",
  21491. "type": "string"
  21492. },
  21493. "oriavgprice": {
  21494. "description": "期初市场价[当初市场价]",
  21495. "type": "number"
  21496. },
  21497. "relatedamount": {
  21498. "description": "市价总额 = 关联数量 * 期初市场价",
  21499. "type": "number"
  21500. },
  21501. "relatedhedgeplanid": {
  21502. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21503. "type": "integer"
  21504. },
  21505. "relatedqty": {
  21506. "description": "关联数量[数量]",
  21507. "type": "number"
  21508. },
  21509. "relatedspotcontractid": {
  21510. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21511. "type": "integer"
  21512. },
  21513. "relatedtype": {
  21514. "description": "关联类型 - 1:套期关联 2:执行关联",
  21515. "type": "integer"
  21516. },
  21517. "spotgoodsbrandid": {
  21518. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21519. "type": "integer"
  21520. },
  21521. "spotpricedamount": {
  21522. "description": "定价总额",
  21523. "type": "number"
  21524. },
  21525. "spotpricedavgprice": {
  21526. "description": "现货均价 = 定价总额 / 关联数量",
  21527. "type": "number"
  21528. },
  21529. "spottype": {
  21530. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21531. "type": "integer"
  21532. },
  21533. "tradeuserid": {
  21534. "description": "交易用户ID",
  21535. "type": "integer"
  21536. },
  21537. "wrstandardid": {
  21538. "description": "现货商品ID",
  21539. "type": "integer"
  21540. },
  21541. "wrstandardname": {
  21542. "description": "现货商品",
  21543. "type": "string"
  21544. }
  21545. }
  21546. },
  21547. "models.Ermcp2hedgeditemspotDetail": {
  21548. "type": "object",
  21549. "required": [
  21550. "hedgeditemid"
  21551. ],
  21552. "properties": {
  21553. "accountname": {
  21554. "description": "对手方",
  21555. "type": "string"
  21556. },
  21557. "areauserid": {
  21558. "description": "企业ID",
  21559. "type": "integer"
  21560. },
  21561. "brandname": {
  21562. "description": "品牌",
  21563. "type": "string"
  21564. },
  21565. "contractno": {
  21566. "description": "合同编号",
  21567. "type": "string"
  21568. },
  21569. "createtime": {
  21570. "description": "创建时间",
  21571. "type": "string"
  21572. },
  21573. "customeruserid": {
  21574. "description": "对手方 【3:采购合同 4:销售合同】",
  21575. "type": "integer"
  21576. },
  21577. "deliverygoodsid": {
  21578. "description": "现货品种ID",
  21579. "type": "integer"
  21580. },
  21581. "enumdicname": {
  21582. "description": "单位",
  21583. "type": "string"
  21584. },
  21585. "hedgeditemid": {
  21586. "description": "被套期项目ID",
  21587. "type": "string"
  21588. },
  21589. "hedgeditemspotid": {
  21590. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21591. "type": "string"
  21592. },
  21593. "hedgedtype": {
  21594. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21595. "type": "integer"
  21596. },
  21597. "oriavgprice": {
  21598. "description": "期初市场价[当初市场价]",
  21599. "type": "number"
  21600. },
  21601. "relatedamount": {
  21602. "description": "市价总额 = 关联数量 * 期初市场价",
  21603. "type": "number"
  21604. },
  21605. "relatedhedgeplanid": {
  21606. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21607. "type": "integer"
  21608. },
  21609. "relatedqty": {
  21610. "description": "关联数量[数量]",
  21611. "type": "number"
  21612. },
  21613. "relatedspotcontractid": {
  21614. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21615. "type": "integer"
  21616. },
  21617. "relatedtype": {
  21618. "description": "关联类型 - 1:套期关联 2:执行关联",
  21619. "type": "integer"
  21620. },
  21621. "spotgoodsbrandid": {
  21622. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21623. "type": "integer"
  21624. },
  21625. "spotpricedamount": {
  21626. "description": "定价总额[金额]",
  21627. "type": "number"
  21628. },
  21629. "spotpricedavgprice": {
  21630. "description": "现货均价 = 定价总额 / 关联数量",
  21631. "type": "number"
  21632. },
  21633. "spottype": {
  21634. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21635. "type": "integer"
  21636. },
  21637. "tradeuserid": {
  21638. "description": "交易用户ID",
  21639. "type": "integer"
  21640. },
  21641. "wrstandardid": {
  21642. "description": "现货商品ID",
  21643. "type": "integer"
  21644. },
  21645. "wrstandardname": {
  21646. "description": "现货商品",
  21647. "type": "string"
  21648. }
  21649. }
  21650. },
  21651. "models.Ermcp2himiddlegoods": {
  21652. "type": "object",
  21653. "required": [
  21654. "hedgeditemid",
  21655. "middlegoodsid"
  21656. ],
  21657. "properties": {
  21658. "futurehedgeqty": {
  21659. "description": "期货持仓套期量",
  21660. "type": "number"
  21661. },
  21662. "hedgeditemid": {
  21663. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21664. "type": "integer"
  21665. },
  21666. "hiexpsoure": {
  21667. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  21668. "type": "number"
  21669. },
  21670. "middlegoodscode": {
  21671. "description": "套保商品代码",
  21672. "type": "string"
  21673. },
  21674. "middlegoodsid": {
  21675. "description": "套保品种ID",
  21676. "type": "integer"
  21677. },
  21678. "middlegoodsname": {
  21679. "description": "套保商品名称",
  21680. "type": "string"
  21681. },
  21682. "unexehedgeqty": {
  21683. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  21684. "type": "number"
  21685. }
  21686. }
  21687. },
  21688. "models.Ermcp2stockspotchangelog": {
  21689. "type": "object",
  21690. "properties": {
  21691. "accountname": {
  21692. "description": "套期主体",
  21693. "type": "string"
  21694. },
  21695. "aftervalue": {
  21696. "description": "现货量",
  21697. "type": "number"
  21698. },
  21699. "beforevalue": {
  21700. "description": "变更前现货量",
  21701. "type": "number"
  21702. },
  21703. "contractno": {
  21704. "description": "[编号]现货合同编号",
  21705. "type": "string"
  21706. },
  21707. "contracttype": {
  21708. "description": "现货合同类型 - 1:采购 -1:销售",
  21709. "type": "integer"
  21710. },
  21711. "createtime": {
  21712. "description": "创建时间",
  21713. "type": "string"
  21714. },
  21715. "customerusername": {
  21716. "description": "对手方",
  21717. "type": "string"
  21718. },
  21719. "deliverygoodsid": {
  21720. "description": "现货品种ID",
  21721. "type": "integer"
  21722. },
  21723. "exetype": {
  21724. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  21725. "type": "integer"
  21726. },
  21727. "logid": {
  21728. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  21729. "type": "integer"
  21730. },
  21731. "logvalue": {
  21732. "description": "[期间变化量]现货量变更值",
  21733. "type": "number"
  21734. },
  21735. "middlegoodschange": {
  21736. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  21737. "type": "number"
  21738. },
  21739. "operatelogtype": {
  21740. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  21741. "type": "integer"
  21742. },
  21743. "relatedid": {
  21744. "description": "现货合同ID",
  21745. "type": "integer"
  21746. },
  21747. "spotgoodsbrandid": {
  21748. "description": "现货品牌ID",
  21749. "type": "integer"
  21750. },
  21751. "tradedate": {
  21752. "description": "交易日(yyyyMMdd)",
  21753. "type": "string"
  21754. },
  21755. "userid": {
  21756. "description": "机构ID",
  21757. "type": "integer"
  21758. },
  21759. "warehouseinfoid": {
  21760. "description": "仓库ID",
  21761. "type": "integer"
  21762. },
  21763. "wrfactortypeid": {
  21764. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21765. "type": "integer"
  21766. },
  21767. "wrstandardid": {
  21768. "description": "现货商品ID",
  21769. "type": "integer"
  21770. },
  21771. "wrstandardname": {
  21772. "description": "商品名称",
  21773. "type": "string"
  21774. }
  21775. }
  21776. },
  21777. "models.Ermcp3AreaSpot": {
  21778. "type": "object",
  21779. "properties": {
  21780. "areauserid": {
  21781. "description": "所属机构",
  21782. "type": "integer"
  21783. },
  21784. "convertratio": {
  21785. "description": "套保系数",
  21786. "type": "number"
  21787. },
  21788. "decreaseqty": {
  21789. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  21790. "type": "number"
  21791. },
  21792. "enumdicname": {
  21793. "description": "单位名称",
  21794. "type": "string"
  21795. },
  21796. "increaseqty": {
  21797. "description": "增加数量=销售计划数量+采购已定价数量",
  21798. "type": "number"
  21799. },
  21800. "oritoalspotqty": {
  21801. "description": "昨日数量",
  21802. "type": "number"
  21803. },
  21804. "totalspotqty": {
  21805. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  21806. "type": "number"
  21807. },
  21808. "unitid": {
  21809. "description": "现货商品单位id",
  21810. "type": "integer"
  21811. },
  21812. "updatetime": {
  21813. "description": "更新时间",
  21814. "type": "string"
  21815. },
  21816. "wrstandardcode": {
  21817. "description": "现货商品代码",
  21818. "type": "string"
  21819. },
  21820. "wrstandardid": {
  21821. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21822. "type": "integer"
  21823. },
  21824. "wrstandardname": {
  21825. "description": "现货商品名称",
  21826. "type": "string"
  21827. }
  21828. }
  21829. },
  21830. "models.Ermcp3AreaSpotDetail": {
  21831. "type": "object",
  21832. "properties": {
  21833. "contracttype": {
  21834. "description": "合同类型 1-采购 -1-销售",
  21835. "type": "integer"
  21836. },
  21837. "createtime": {
  21838. "description": "创建时间",
  21839. "type": "string"
  21840. },
  21841. "enumdicname": {
  21842. "description": "现货商品单位名称",
  21843. "type": "string"
  21844. },
  21845. "logtype": {
  21846. "description": "记录类型 1-套保 2-现货合同",
  21847. "type": "integer"
  21848. },
  21849. "qty": {
  21850. "description": "数量",
  21851. "type": "number"
  21852. },
  21853. "recordname": {
  21854. "description": "类型名称",
  21855. "type": "string"
  21856. },
  21857. "relatedid": {
  21858. "description": "套保计划ID/现货合同ID",
  21859. "type": "string"
  21860. },
  21861. "relatedno": {
  21862. "description": "编号",
  21863. "type": "string"
  21864. },
  21865. "strtime": {
  21866. "description": "时间",
  21867. "type": "string"
  21868. },
  21869. "wrstandardcode": {
  21870. "description": "现货商品代码",
  21871. "type": "string"
  21872. },
  21873. "wrstandardid": {
  21874. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21875. "type": "integer"
  21876. },
  21877. "wrstandardname": {
  21878. "description": "现货商品名称",
  21879. "type": "string"
  21880. }
  21881. }
  21882. },
  21883. "models.Ermcp3AreaSpotPLReport": {
  21884. "type": "object",
  21885. "properties": {
  21886. "accountid": {
  21887. "description": "期货账户ID (作废, 默认为0)",
  21888. "type": "integer"
  21889. },
  21890. "accountname": {
  21891. "description": "机构名称",
  21892. "type": "string"
  21893. },
  21894. "actualpl": {
  21895. "description": "现货损益",
  21896. "type": "number"
  21897. },
  21898. "areauserid": {
  21899. "description": "所属机构\\交易用户ID",
  21900. "type": "integer"
  21901. },
  21902. "begindate": {
  21903. "description": "开始交易日",
  21904. "type": "string"
  21905. },
  21906. "biztype": {
  21907. "description": "业务类型 - 1:套保 2:套利",
  21908. "type": "integer"
  21909. },
  21910. "brandname": {
  21911. "description": "品牌名称",
  21912. "type": "string"
  21913. },
  21914. "curamount": {
  21915. "description": "期末额",
  21916. "type": "number"
  21917. },
  21918. "curaverageprice": {
  21919. "description": "期末均价",
  21920. "type": "number"
  21921. },
  21922. "curbuyamount": {
  21923. "description": "期末采购总额",
  21924. "type": "number"
  21925. },
  21926. "curbuyqty": {
  21927. "description": "期末采购总量",
  21928. "type": "number"
  21929. },
  21930. "curmarketvalue": {
  21931. "description": "参考市值(期末市值)",
  21932. "type": "number"
  21933. },
  21934. "curqty": {
  21935. "description": "期末量",
  21936. "type": "number"
  21937. },
  21938. "currencyid": {
  21939. "description": "结算币种ID【原值】",
  21940. "type": "integer"
  21941. },
  21942. "currencyname": {
  21943. "description": "币种名称",
  21944. "type": "string"
  21945. },
  21946. "cursellamount": {
  21947. "description": "期末销售总额",
  21948. "type": "number"
  21949. },
  21950. "cursellqty": {
  21951. "description": "期末销售总量",
  21952. "type": "number"
  21953. },
  21954. "curspotprice": {
  21955. "description": "参考市价(最新价)",
  21956. "type": "number"
  21957. },
  21958. "cycletime": {
  21959. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21960. "type": "string"
  21961. },
  21962. "cycletype": {
  21963. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21964. "type": "integer"
  21965. },
  21966. "deliverygoodscode": {
  21967. "description": "现货品种代码",
  21968. "type": "string"
  21969. },
  21970. "deliverygoodsid": {
  21971. "description": "现货品种ID",
  21972. "type": "integer"
  21973. },
  21974. "deliverygoodsname": {
  21975. "description": "现货品种名称",
  21976. "type": "string"
  21977. },
  21978. "enddate": {
  21979. "description": "结束交易日",
  21980. "type": "string"
  21981. },
  21982. "enumdicname": {
  21983. "description": "现货品种单位名称(作废)",
  21984. "type": "string"
  21985. },
  21986. "floatpl": {
  21987. "description": "浮动损益",
  21988. "type": "number"
  21989. },
  21990. "goodsunitid": {
  21991. "description": "现货品种单位id(作废)",
  21992. "type": "integer"
  21993. },
  21994. "oriamount": {
  21995. "description": "期初额",
  21996. "type": "number"
  21997. },
  21998. "oriaverageprice": {
  21999. "description": "期初均价",
  22000. "type": "number"
  22001. },
  22002. "oribuyamount": {
  22003. "description": "期初采购总额",
  22004. "type": "number"
  22005. },
  22006. "oribuyqty": {
  22007. "description": "期初采购总量",
  22008. "type": "number"
  22009. },
  22010. "oriqty": {
  22011. "description": "期初量",
  22012. "type": "number"
  22013. },
  22014. "orisellamount": {
  22015. "description": "期初销售总额",
  22016. "type": "number"
  22017. },
  22018. "orisellqty": {
  22019. "description": "期初销售总量",
  22020. "type": "number"
  22021. },
  22022. "reckondate": {
  22023. "description": "日照时期(yyyyMMdd)",
  22024. "type": "string"
  22025. },
  22026. "spotgoodsbrandid": {
  22027. "description": "现货品牌ID",
  22028. "type": "integer"
  22029. },
  22030. "todaybuyamount": {
  22031. "description": "今日采购额(今采购额)",
  22032. "type": "number"
  22033. },
  22034. "todaybuyaverageprice": {
  22035. "description": "今日采购均价",
  22036. "type": "number"
  22037. },
  22038. "todaybuyqty": {
  22039. "description": "今日采购量(今采购量)",
  22040. "type": "number"
  22041. },
  22042. "todayinqty": {
  22043. "description": "今日入库量(今入库量)",
  22044. "type": "number"
  22045. },
  22046. "todayoutqty": {
  22047. "description": "今日出库量(今出库量)",
  22048. "type": "number"
  22049. },
  22050. "todaysellamount": {
  22051. "description": "今日销售额(今销售额)",
  22052. "type": "number"
  22053. },
  22054. "todaysellaverageprice": {
  22055. "description": "今日销售均价",
  22056. "type": "number"
  22057. },
  22058. "todaysellqty": {
  22059. "description": "今日销售量(今销售量)",
  22060. "type": "number"
  22061. },
  22062. "unitid": {
  22063. "description": "品类单位id",
  22064. "type": "integer"
  22065. },
  22066. "unitidname": {
  22067. "description": "品类单位名称",
  22068. "type": "string"
  22069. },
  22070. "updatetime": {
  22071. "description": "更新时间",
  22072. "type": "string"
  22073. },
  22074. "wrfactortypeid": {
  22075. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22076. "type": "integer"
  22077. },
  22078. "wrstandardcode": {
  22079. "description": "现货商品(品类)代码",
  22080. "type": "string"
  22081. },
  22082. "wrstandardid": {
  22083. "description": "现货品类ID",
  22084. "type": "integer"
  22085. },
  22086. "wrstandardname": {
  22087. "description": "现货商品(品类)名称",
  22088. "type": "string"
  22089. }
  22090. }
  22091. },
  22092. "models.Ermcp3AreaStock": {
  22093. "type": "object",
  22094. "required": [
  22095. "userid"
  22096. ],
  22097. "properties": {
  22098. "brandname": {
  22099. "description": "品牌名称",
  22100. "type": "string"
  22101. },
  22102. "curstock": {
  22103. "description": "期末库存量(今日量)",
  22104. "type": "number"
  22105. },
  22106. "deliverygoodscode": {
  22107. "description": "现货品种代码",
  22108. "type": "string"
  22109. },
  22110. "deliverygoodsid": {
  22111. "description": "现货品种id",
  22112. "type": "integer"
  22113. },
  22114. "deliverygoodsname": {
  22115. "description": "现货品种名称",
  22116. "type": "string"
  22117. },
  22118. "enumdicname": {
  22119. "description": "单位名称",
  22120. "type": "string"
  22121. },
  22122. "goodsunitid": {
  22123. "description": "现货商品单位id",
  22124. "type": "integer"
  22125. },
  22126. "oristock": {
  22127. "description": "期初库存量(昨日量)",
  22128. "type": "number"
  22129. },
  22130. "spotgoodsbrandid": {
  22131. "description": "现货品牌ID",
  22132. "type": "integer"
  22133. },
  22134. "todaybuyinqty": {
  22135. "description": "今日采购入库量",
  22136. "type": "number"
  22137. },
  22138. "todayproduceinqty": {
  22139. "description": "今日生产入库量",
  22140. "type": "number"
  22141. },
  22142. "todayproduceoutqty": {
  22143. "description": "今日生产出库量",
  22144. "type": "number"
  22145. },
  22146. "todayselloutqty": {
  22147. "description": "今日销售出库量",
  22148. "type": "number"
  22149. },
  22150. "unitid": {
  22151. "description": "单位id",
  22152. "type": "integer"
  22153. },
  22154. "updatetime": {
  22155. "description": "更新时间",
  22156. "type": "string"
  22157. },
  22158. "userid": {
  22159. "description": "机构ID",
  22160. "type": "integer"
  22161. },
  22162. "username": {
  22163. "description": "机构名称",
  22164. "type": "string"
  22165. },
  22166. "warehousecode": {
  22167. "description": "仓库代码",
  22168. "type": "string"
  22169. },
  22170. "warehouseinfoid": {
  22171. "description": "仓库ID",
  22172. "type": "string"
  22173. },
  22174. "warehousename": {
  22175. "description": "仓库名称",
  22176. "type": "string"
  22177. },
  22178. "warehousetype": {
  22179. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22180. "type": "integer"
  22181. },
  22182. "wrstandardcode": {
  22183. "description": "品类代码",
  22184. "type": "string"
  22185. },
  22186. "wrstandardid": {
  22187. "description": "品类ID",
  22188. "type": "string"
  22189. },
  22190. "wrstandardname": {
  22191. "description": "品类名称",
  22192. "type": "string"
  22193. }
  22194. }
  22195. },
  22196. "models.Ermcp3AreaStockApply": {
  22197. "type": "object",
  22198. "properties": {
  22199. "applyid": {
  22200. "description": "申请人",
  22201. "type": "integer"
  22202. },
  22203. "applyname": {
  22204. "description": "申请人名称",
  22205. "type": "string"
  22206. },
  22207. "applyremark": {
  22208. "description": "申请备注",
  22209. "type": "string"
  22210. },
  22211. "applysrc": {
  22212. "description": "申请来源 - 1:管理端 2:终端",
  22213. "type": "integer"
  22214. },
  22215. "applystatus": {
  22216. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22217. "type": "integer"
  22218. },
  22219. "applytime": {
  22220. "description": "申请时间",
  22221. "type": "string"
  22222. },
  22223. "auditid": {
  22224. "description": "审核人",
  22225. "type": "integer"
  22226. },
  22227. "auditname": {
  22228. "description": "审核人名称",
  22229. "type": "string"
  22230. },
  22231. "auditremark": {
  22232. "description": "审核备注",
  22233. "type": "string"
  22234. },
  22235. "auditsrc": {
  22236. "description": "审核来源 - 1:管理端 2:终端",
  22237. "type": "integer"
  22238. },
  22239. "audittime": {
  22240. "description": "审核时间",
  22241. "type": "string"
  22242. },
  22243. "audittradedate": {
  22244. "description": "审核交易日(yyyyMMdd)",
  22245. "type": "string"
  22246. },
  22247. "brandname": {
  22248. "description": "品牌名称",
  22249. "type": "string"
  22250. },
  22251. "buynickname": {
  22252. "description": "采购方昵称",
  22253. "type": "string"
  22254. },
  22255. "buyuserid": {
  22256. "description": "采购方userid",
  22257. "type": "integer"
  22258. },
  22259. "buyusername": {
  22260. "description": "采购方名称",
  22261. "type": "string"
  22262. },
  22263. "contractno": {
  22264. "description": "合同编号",
  22265. "type": "string"
  22266. },
  22267. "contractqty": {
  22268. "description": "合同量",
  22269. "type": "number"
  22270. },
  22271. "contracttype": {
  22272. "description": "现货合同类型 - 1:采购 -1:销售",
  22273. "type": "integer"
  22274. },
  22275. "deliverygoodscode": {
  22276. "description": "现货品种代码",
  22277. "type": "string"
  22278. },
  22279. "deliverygoodsid": {
  22280. "description": "现货品种id",
  22281. "type": "integer"
  22282. },
  22283. "deliverygoodsname": {
  22284. "description": "现货品种名称",
  22285. "type": "string"
  22286. },
  22287. "detailjson": {
  22288. "description": "明细数据",
  22289. "type": "string"
  22290. },
  22291. "enumdicname": {
  22292. "description": "现货商品单位名称",
  22293. "type": "string"
  22294. },
  22295. "inoutapplyid": {
  22296. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22297. "type": "string"
  22298. },
  22299. "inouttype": {
  22300. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22301. "type": "integer"
  22302. },
  22303. "pricetype": {
  22304. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22305. "type": "integer"
  22306. },
  22307. "qty": {
  22308. "description": "数量",
  22309. "type": "number"
  22310. },
  22311. "sellnickname": {
  22312. "description": "销售方昵称",
  22313. "type": "string"
  22314. },
  22315. "selluserid": {
  22316. "description": "销售方userid",
  22317. "type": "integer"
  22318. },
  22319. "sellusername": {
  22320. "description": "销售方名称",
  22321. "type": "string"
  22322. },
  22323. "spotcontractid": {
  22324. "description": "关联现货合同ID",
  22325. "type": "string"
  22326. },
  22327. "spotgoodsbrandid": {
  22328. "description": "现货品牌ID",
  22329. "type": "integer"
  22330. },
  22331. "unitid": {
  22332. "description": "单位id",
  22333. "type": "integer"
  22334. },
  22335. "userid": {
  22336. "description": "机构ID",
  22337. "type": "integer"
  22338. },
  22339. "warehousecode": {
  22340. "description": "仓库代码",
  22341. "type": "string"
  22342. },
  22343. "warehouseinfoid": {
  22344. "description": "现货仓库ID",
  22345. "type": "string"
  22346. },
  22347. "warehousename": {
  22348. "description": "仓库名称",
  22349. "type": "string"
  22350. },
  22351. "warehousetype": {
  22352. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22353. "type": "integer"
  22354. },
  22355. "wrstandardcode": {
  22356. "description": "品类代码",
  22357. "type": "string"
  22358. },
  22359. "wrstandardid": {
  22360. "description": "品类ID",
  22361. "type": "integer"
  22362. },
  22363. "wrstandardname": {
  22364. "description": "品类名称",
  22365. "type": "string"
  22366. }
  22367. }
  22368. },
  22369. "models.Ermcp3AreaStockApplySum": {
  22370. "type": "object",
  22371. "properties": {
  22372. "brandname": {
  22373. "description": "品牌名称",
  22374. "type": "string"
  22375. },
  22376. "inouttype": {
  22377. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22378. "type": "integer"
  22379. },
  22380. "spotcontractid": {
  22381. "description": "关联现货合同ID",
  22382. "type": "string"
  22383. },
  22384. "spotgoodsbrandid": {
  22385. "description": "品牌id",
  22386. "type": "integer"
  22387. },
  22388. "totalqty": {
  22389. "description": "总数量",
  22390. "type": "number"
  22391. },
  22392. "wrstandardid": {
  22393. "description": "品类id",
  22394. "type": "integer"
  22395. },
  22396. "wrstandardname": {
  22397. "description": "品类名称",
  22398. "type": "string"
  22399. }
  22400. }
  22401. },
  22402. "models.Ermcp3AreaStockReportEx": {
  22403. "type": "object",
  22404. "properties": {
  22405. "begindate": {
  22406. "description": "开始交易日",
  22407. "type": "string"
  22408. },
  22409. "brandname": {
  22410. "description": "品牌名称",
  22411. "type": "string"
  22412. },
  22413. "curstock": {
  22414. "description": "期末库存量",
  22415. "type": "number"
  22416. },
  22417. "cycletime": {
  22418. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22419. "type": "string"
  22420. },
  22421. "cycletype": {
  22422. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22423. "type": "integer"
  22424. },
  22425. "deliverygoodscode": {
  22426. "description": "现货品种代码",
  22427. "type": "string"
  22428. },
  22429. "deliverygoodsid": {
  22430. "description": "现货品种id",
  22431. "type": "integer"
  22432. },
  22433. "deliverygoodsname": {
  22434. "description": "现货品种名称",
  22435. "type": "string"
  22436. },
  22437. "diffqty": {
  22438. "description": "库存变化量 = 期末 - 期初",
  22439. "type": "number"
  22440. },
  22441. "enddate": {
  22442. "description": "结束交易日",
  22443. "type": "string"
  22444. },
  22445. "enumdicname": {
  22446. "description": "单位名称",
  22447. "type": "string"
  22448. },
  22449. "goodsunitid": {
  22450. "description": "现货单位id",
  22451. "type": "integer"
  22452. },
  22453. "oristock": {
  22454. "description": "期初库存量",
  22455. "type": "number"
  22456. },
  22457. "reckondate": {
  22458. "description": "日照时期(yyyyMMdd)",
  22459. "type": "string"
  22460. },
  22461. "spotgoodsbrandid": {
  22462. "description": "现货品牌ID",
  22463. "type": "integer"
  22464. },
  22465. "todaybuyinqty": {
  22466. "description": "今采购入库量",
  22467. "type": "number"
  22468. },
  22469. "todayproduceinqty": {
  22470. "description": "今内部入库量",
  22471. "type": "number"
  22472. },
  22473. "todayproduceoutqty": {
  22474. "description": "今内部出库量",
  22475. "type": "number"
  22476. },
  22477. "todayselloutqty": {
  22478. "description": "今销售出库量",
  22479. "type": "number"
  22480. },
  22481. "unbuyinqty": {
  22482. "description": "采购未入库量(数据库未找到相关字段?)",
  22483. "type": "number"
  22484. },
  22485. "unitid": {
  22486. "description": "品类单位id",
  22487. "type": "integer"
  22488. },
  22489. "unselloutqty": {
  22490. "description": "销售未出库量(数据库未找到相关字段?)",
  22491. "type": "number"
  22492. },
  22493. "updatetime": {
  22494. "description": "更新时间",
  22495. "type": "string"
  22496. },
  22497. "userid": {
  22498. "description": "机构ID",
  22499. "type": "integer"
  22500. },
  22501. "username": {
  22502. "description": "机构名称",
  22503. "type": "string"
  22504. },
  22505. "warehousecode": {
  22506. "description": "仓库代码",
  22507. "type": "string"
  22508. },
  22509. "warehouseinfoid": {
  22510. "description": "仓库ID",
  22511. "type": "string"
  22512. },
  22513. "warehousename": {
  22514. "description": "仓库名称",
  22515. "type": "string"
  22516. },
  22517. "warehousetype": {
  22518. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22519. "type": "integer"
  22520. },
  22521. "wrstandardcode": {
  22522. "description": "品类代码",
  22523. "type": "string"
  22524. },
  22525. "wrstandardid": {
  22526. "description": "品类ID",
  22527. "type": "integer"
  22528. },
  22529. "wrstandardname": {
  22530. "description": "品类名称",
  22531. "type": "string"
  22532. }
  22533. }
  22534. },
  22535. "models.Ermcp3ArealSumPL": {
  22536. "type": "object",
  22537. "properties": {
  22538. "accountname": {
  22539. "description": "机构名称",
  22540. "type": "string"
  22541. },
  22542. "areauserid": {
  22543. "description": "所属机构\\交易用户ID",
  22544. "type": "integer"
  22545. },
  22546. "begindate": {
  22547. "description": "开始交易日",
  22548. "type": "string"
  22549. },
  22550. "currencyid": {
  22551. "description": "结算币种ID",
  22552. "type": "integer"
  22553. },
  22554. "currencyname": {
  22555. "description": "币种名称",
  22556. "type": "string"
  22557. },
  22558. "cycletime": {
  22559. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22560. "type": "string"
  22561. },
  22562. "cycletype": {
  22563. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22564. "type": "integer"
  22565. },
  22566. "enddate": {
  22567. "description": "结束交易日",
  22568. "type": "string"
  22569. },
  22570. "enumdicname": {
  22571. "description": "单位名称(套保品种)",
  22572. "type": "string"
  22573. },
  22574. "futureactualpl": {
  22575. "description": "期货损益",
  22576. "type": "number"
  22577. },
  22578. "futurefloatpl": {
  22579. "description": "期货浮动损益",
  22580. "type": "number"
  22581. },
  22582. "futurespotratio": {
  22583. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  22584. "type": "number"
  22585. },
  22586. "goodsunitid": {
  22587. "description": "套保品种单位id",
  22588. "type": "integer"
  22589. },
  22590. "hedgeexposurepl": {
  22591. "description": "套保敞口损益",
  22592. "type": "number"
  22593. },
  22594. "middlegoodscode": {
  22595. "description": "套保品种代码",
  22596. "type": "string"
  22597. },
  22598. "middlegoodsid": {
  22599. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22600. "type": "integer"
  22601. },
  22602. "middlegoodsname": {
  22603. "description": "套保品种名称",
  22604. "type": "string"
  22605. },
  22606. "reckondate": {
  22607. "description": "日照时期(yyyyMMdd)",
  22608. "type": "string"
  22609. },
  22610. "spotactualpl": {
  22611. "description": "现货损益",
  22612. "type": "number"
  22613. },
  22614. "spotfloatpl": {
  22615. "description": "现货浮动损益",
  22616. "type": "number"
  22617. },
  22618. "sumactualpl": {
  22619. "description": "实际损益 = (ActualPL + FutureActualPL)",
  22620. "type": "number"
  22621. },
  22622. "sumpl": {
  22623. "description": "总敞口损益 | 汇总损益",
  22624. "type": "number"
  22625. },
  22626. "totalfutureqty": {
  22627. "description": "期货头寸总量",
  22628. "type": "number"
  22629. },
  22630. "totalneedhedgeqty": {
  22631. "description": "应套保总量",
  22632. "type": "number"
  22633. },
  22634. "totalspotqty": {
  22635. "description": "现货头寸总量",
  22636. "type": "number"
  22637. },
  22638. "updatetime": {
  22639. "description": "更新时间",
  22640. "type": "string"
  22641. }
  22642. }
  22643. },
  22644. "models.Ermcp3Brand": {
  22645. "type": "object",
  22646. "properties": {
  22647. "areauserid": {
  22648. "description": "用户id",
  22649. "type": "integer"
  22650. },
  22651. "brandid": {
  22652. "description": "品牌id",
  22653. "type": "integer"
  22654. },
  22655. "brandname": {
  22656. "description": "品牌名称",
  22657. "type": "string"
  22658. },
  22659. "deliverygoodsid": {
  22660. "description": "品种ID",
  22661. "type": "integer"
  22662. },
  22663. "isvalid": {
  22664. "description": "是否有效",
  22665. "type": "integer"
  22666. }
  22667. }
  22668. },
  22669. "models.Ermcp3Contract": {
  22670. "type": "object",
  22671. "properties": {
  22672. "accountid": {
  22673. "description": "期货账户id",
  22674. "type": "string"
  22675. },
  22676. "amount": {
  22677. "description": "金额 [1:一口价、3:暂定价]",
  22678. "type": "number"
  22679. },
  22680. "attachment": {
  22681. "description": "附件",
  22682. "type": "string"
  22683. },
  22684. "auditremark": {
  22685. "description": "审核意见",
  22686. "type": "string"
  22687. },
  22688. "audittime": {
  22689. "description": "审核时间",
  22690. "type": "string"
  22691. },
  22692. "biztype": {
  22693. "description": "业务类型 1-套保 2-套利",
  22694. "type": "integer"
  22695. },
  22696. "brandname": {
  22697. "description": "品牌名称",
  22698. "type": "string"
  22699. },
  22700. "buynickname": {
  22701. "description": "销售方昵称",
  22702. "type": "string"
  22703. },
  22704. "buyuserid": {
  22705. "description": "采购方ID",
  22706. "type": "integer"
  22707. },
  22708. "buyusername": {
  22709. "description": "采购方名称",
  22710. "type": "string"
  22711. },
  22712. "contracctstatus": {
  22713. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22714. "type": "integer"
  22715. },
  22716. "contractmargin": {
  22717. "description": "合同保证金",
  22718. "type": "number"
  22719. },
  22720. "contractno": {
  22721. "description": "现货合同编号",
  22722. "type": "string"
  22723. },
  22724. "contracttype": {
  22725. "description": "现货合同类型 - 1:采购 -1:销售",
  22726. "type": "integer"
  22727. },
  22728. "convertfactor": {
  22729. "description": "标仓系数(品类)",
  22730. "type": "number"
  22731. },
  22732. "createtime": {
  22733. "description": "创建时间",
  22734. "type": "string"
  22735. },
  22736. "currencyid": {
  22737. "description": "币种id",
  22738. "type": "integer"
  22739. },
  22740. "currencyname": {
  22741. "description": "币种名称",
  22742. "type": "string"
  22743. },
  22744. "deliveryenddate": {
  22745. "description": "交收期(结束)",
  22746. "type": "string"
  22747. },
  22748. "deliverygoodscode": {
  22749. "description": "现货品种代码",
  22750. "type": "string"
  22751. },
  22752. "deliverygoodsid": {
  22753. "description": "现货品种ID",
  22754. "type": "integer"
  22755. },
  22756. "deliverygoodsname": {
  22757. "description": "现货品种名称",
  22758. "type": "string"
  22759. },
  22760. "deliverystartdate": {
  22761. "description": "交收期(开始)",
  22762. "type": "string"
  22763. },
  22764. "enddate": {
  22765. "description": "点价结束日期 [2:点价 3:暂定价]",
  22766. "type": "string"
  22767. },
  22768. "enumdicname": {
  22769. "description": "单位名称",
  22770. "type": "string"
  22771. },
  22772. "goodscode": {
  22773. "description": "点价合约代码",
  22774. "type": "string"
  22775. },
  22776. "goodsid": {
  22777. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  22778. "type": "integer"
  22779. },
  22780. "goodsname": {
  22781. "description": "点价商品名称",
  22782. "type": "string"
  22783. },
  22784. "margin": {
  22785. "description": "当前保证金",
  22786. "type": "number"
  22787. },
  22788. "meruserid": {
  22789. "description": "跟单员id",
  22790. "type": "integer"
  22791. },
  22792. "meruserlogincode": {
  22793. "description": "跟单员登录代码",
  22794. "type": "string"
  22795. },
  22796. "merusername": {
  22797. "description": "跟单员名称",
  22798. "type": "string"
  22799. },
  22800. "pointdesc": {
  22801. "description": "点价备注",
  22802. "type": "string"
  22803. },
  22804. "price": {
  22805. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  22806. "type": "number"
  22807. },
  22808. "pricemove": {
  22809. "description": "升贴水 [2:点价 3:暂定价]",
  22810. "type": "number"
  22811. },
  22812. "pricetype": {
  22813. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22814. "type": "integer"
  22815. },
  22816. "producttype": {
  22817. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22818. "type": "integer"
  22819. },
  22820. "qty": {
  22821. "description": "数量",
  22822. "type": "number"
  22823. },
  22824. "remark": {
  22825. "description": "备注",
  22826. "type": "string"
  22827. },
  22828. "saleuserid": {
  22829. "description": "业务员id",
  22830. "type": "integer"
  22831. },
  22832. "saleuserlogincode": {
  22833. "description": "业务员登录代码",
  22834. "type": "string"
  22835. },
  22836. "saleusername": {
  22837. "description": "业务员名称",
  22838. "type": "string"
  22839. },
  22840. "sellnickname": {
  22841. "description": "采购方昵称",
  22842. "type": "string"
  22843. },
  22844. "selluserid": {
  22845. "description": "销售方ID",
  22846. "type": "integer"
  22847. },
  22848. "sellusername": {
  22849. "description": "销售方名称",
  22850. "type": "string"
  22851. },
  22852. "spotcontractid": {
  22853. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22854. "type": "string"
  22855. },
  22856. "spotgoodsbrandid": {
  22857. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22858. "type": "integer"
  22859. },
  22860. "spotgoodsdesc": {
  22861. "description": "商品型号",
  22862. "type": "string"
  22863. },
  22864. "startdate": {
  22865. "description": "点价开始日期 [2:点价 3:暂定价]",
  22866. "type": "string"
  22867. },
  22868. "subjectid": {
  22869. "description": "交易主体ID",
  22870. "type": "integer"
  22871. },
  22872. "subjectname": {
  22873. "description": "交易主体名称",
  22874. "type": "string"
  22875. },
  22876. "tradeuserid": {
  22877. "description": "交易员id",
  22878. "type": "integer"
  22879. },
  22880. "tradeuserlogincode": {
  22881. "description": "交易员登录代码",
  22882. "type": "string"
  22883. },
  22884. "tradeusername": {
  22885. "description": "交易员名称",
  22886. "type": "string"
  22887. },
  22888. "unitid": {
  22889. "description": "单位id(取品类上的单位id)",
  22890. "type": "integer"
  22891. },
  22892. "updatetime": {
  22893. "description": "更新时间",
  22894. "type": "string"
  22895. },
  22896. "userid": {
  22897. "description": "所属机构ID",
  22898. "type": "integer"
  22899. },
  22900. "vatrate": {
  22901. "description": "增值税率",
  22902. "type": "number"
  22903. },
  22904. "wrstandardcode": {
  22905. "description": "品类代码",
  22906. "type": "string"
  22907. },
  22908. "wrstandardid": {
  22909. "description": "品类ID",
  22910. "type": "integer"
  22911. },
  22912. "wrstandardname": {
  22913. "description": "品类名称",
  22914. "type": "string"
  22915. }
  22916. }
  22917. },
  22918. "models.Ermcp3ContractMiddleGoodsCfg": {
  22919. "type": "object",
  22920. "properties": {
  22921. "agreeunit": {
  22922. "description": "合约乘数",
  22923. "type": "number"
  22924. },
  22925. "convertratio": {
  22926. "description": "期货品种系数",
  22927. "type": "number"
  22928. },
  22929. "covertqty": {
  22930. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  22931. "type": "integer"
  22932. },
  22933. "middlegoodsid": {
  22934. "description": "套保品种ID",
  22935. "type": "integer"
  22936. },
  22937. "middlegoodspricedqty3": {
  22938. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22939. "type": "string",
  22940. "example": "0"
  22941. },
  22942. "pendingpricedqty": {
  22943. "description": "待点价量",
  22944. "type": "string",
  22945. "example": "0"
  22946. },
  22947. "relatedmiddlegoodsqty": {
  22948. "description": "已关联量(套保品种-期货)",
  22949. "type": "string",
  22950. "example": "0"
  22951. },
  22952. "spotcontractid": {
  22953. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22954. "type": "string"
  22955. }
  22956. }
  22957. },
  22958. "models.Ermcp3ExposureContractDetail": {
  22959. "type": "object",
  22960. "properties": {
  22961. "biztype": {
  22962. "description": "业务类型 1-套保 2-套利",
  22963. "type": "integer"
  22964. },
  22965. "brandname": {
  22966. "description": "品牌名称",
  22967. "type": "string"
  22968. },
  22969. "buyuserid": {
  22970. "description": "采购方id",
  22971. "type": "integer"
  22972. },
  22973. "buyusername": {
  22974. "description": "采购方名称",
  22975. "type": "string"
  22976. },
  22977. "contractno": {
  22978. "description": "合同编号",
  22979. "type": "string"
  22980. },
  22981. "contracttype": {
  22982. "description": "现货合同类型 - 1:采购 -1:销售",
  22983. "type": "integer"
  22984. },
  22985. "convertfactor": {
  22986. "description": "标仓系数",
  22987. "type": "number"
  22988. },
  22989. "convertratio": {
  22990. "description": "折算系数(套保品种)",
  22991. "type": "number"
  22992. },
  22993. "curqty": {
  22994. "description": "今定价量",
  22995. "type": "number"
  22996. },
  22997. "deliverygoodscode": {
  22998. "description": "现货品种代码",
  22999. "type": "string"
  23000. },
  23001. "deliverygoodsid": {
  23002. "description": "现货品种id",
  23003. "type": "integer"
  23004. },
  23005. "deliverygoodsname": {
  23006. "description": "现货品种名称",
  23007. "type": "string"
  23008. },
  23009. "diffhedgeqty": {
  23010. "description": "套保变动量",
  23011. "type": "number"
  23012. },
  23013. "diffneedhedgeqty": {
  23014. "description": "应套保变动量",
  23015. "type": "number"
  23016. },
  23017. "diffqty": {
  23018. "description": "套保品种今变动量",
  23019. "type": "number"
  23020. },
  23021. "enumdicname": {
  23022. "description": "单位名称",
  23023. "type": "string"
  23024. },
  23025. "mgunitname": {
  23026. "description": "套保品种单位名称",
  23027. "type": "string"
  23028. },
  23029. "middlegoodscode": {
  23030. "description": "套保品种代码",
  23031. "type": "string"
  23032. },
  23033. "middlegoodsid": {
  23034. "description": "套保品种id",
  23035. "type": "integer"
  23036. },
  23037. "middlegoodsname": {
  23038. "description": "套保品种名称",
  23039. "type": "string"
  23040. },
  23041. "needarbitrageratio": {
  23042. "description": "应套利比例",
  23043. "type": "number"
  23044. },
  23045. "needhedgeratio": {
  23046. "description": "应套保比例",
  23047. "type": "number"
  23048. },
  23049. "pricedqty": {
  23050. "description": "已定价量",
  23051. "type": "number"
  23052. },
  23053. "qty": {
  23054. "description": "合同量",
  23055. "type": "number"
  23056. },
  23057. "reckondate": {
  23058. "description": "交易日(reckondate)",
  23059. "type": "string"
  23060. },
  23061. "selluserid": {
  23062. "description": "销售方id",
  23063. "type": "integer"
  23064. },
  23065. "sellusername": {
  23066. "description": "销售方名称",
  23067. "type": "string"
  23068. },
  23069. "spotcontractid": {
  23070. "description": "合同id",
  23071. "type": "string"
  23072. },
  23073. "todaypricedqty": {
  23074. "description": "今定价量",
  23075. "type": "number"
  23076. },
  23077. "tradedate": {
  23078. "description": "交易日",
  23079. "type": "string"
  23080. },
  23081. "unitid": {
  23082. "description": "品类单位id",
  23083. "type": "integer"
  23084. },
  23085. "userid": {
  23086. "description": "机构id",
  23087. "type": "integer"
  23088. },
  23089. "username": {
  23090. "description": "交易用户",
  23091. "type": "string"
  23092. },
  23093. "wrstandardcode": {
  23094. "description": "现货商品代码",
  23095. "type": "string"
  23096. },
  23097. "wrstandardid": {
  23098. "description": "现货商品id",
  23099. "type": "integer"
  23100. },
  23101. "wrstandardname": {
  23102. "description": "现货商品名称",
  23103. "type": "string"
  23104. }
  23105. }
  23106. },
  23107. "models.Ermcp3ExposureDetail": {
  23108. "type": "object",
  23109. "properties": {
  23110. "areauserid": {
  23111. "description": "机构ID",
  23112. "type": "integer"
  23113. },
  23114. "changeQty": {
  23115. "description": "套保变动量",
  23116. "type": "number"
  23117. },
  23118. "contracttype": {
  23119. "description": "现货合同类型 - 1:采购 -1:销售",
  23120. "type": "integer"
  23121. },
  23122. "convertfactor": {
  23123. "description": "标仓系数",
  23124. "type": "number"
  23125. },
  23126. "convertratio": {
  23127. "description": "折算系数",
  23128. "type": "number"
  23129. },
  23130. "createtime": {
  23131. "description": "时间",
  23132. "type": "string"
  23133. },
  23134. "enumdicname": {
  23135. "description": "现货商品单位名称",
  23136. "type": "string"
  23137. },
  23138. "logtype": {
  23139. "description": "类型 - 1:套保计划 2:现货合同",
  23140. "type": "integer"
  23141. },
  23142. "mgunitid": {
  23143. "description": "套保品种单位id",
  23144. "type": "integer"
  23145. },
  23146. "mgunitidname": {
  23147. "description": "套保品种单位名称",
  23148. "type": "string"
  23149. },
  23150. "middlegoodsId": {
  23151. "description": "套保商品id",
  23152. "type": "integer"
  23153. },
  23154. "middlegoodscode": {
  23155. "description": "套保商品代码",
  23156. "type": "string"
  23157. },
  23158. "middlegoodsname": {
  23159. "description": "套保商品名称",
  23160. "type": "string"
  23161. },
  23162. "qty": {
  23163. "description": "数量",
  23164. "type": "number"
  23165. },
  23166. "relateNo": {
  23167. "description": "现货合同/套保计划编号",
  23168. "type": "string"
  23169. },
  23170. "unitid": {
  23171. "description": "现货商品单位id",
  23172. "type": "integer"
  23173. },
  23174. "wrstandardcode": {
  23175. "description": "现货商品代码",
  23176. "type": "string"
  23177. },
  23178. "wrstandardid": {
  23179. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23180. "type": "integer"
  23181. },
  23182. "wrstandardname": {
  23183. "description": "现货商品名称",
  23184. "type": "string"
  23185. }
  23186. }
  23187. },
  23188. "models.Ermcp3ExposureFutuDetail": {
  23189. "type": "object",
  23190. "properties": {
  23191. "accountid": {
  23192. "description": "交易账户id",
  23193. "type": "integer"
  23194. },
  23195. "accountname": {
  23196. "description": "交易账户",
  23197. "type": "string"
  23198. },
  23199. "begindate": {
  23200. "description": "开始交易日",
  23201. "type": "string"
  23202. },
  23203. "buyorsell": {
  23204. "description": "方向 0-买 1-卖",
  23205. "type": "integer"
  23206. },
  23207. "diffmgqty": {
  23208. "description": "套保品种今变化量",
  23209. "type": "number"
  23210. },
  23211. "diffneedqty": {
  23212. "description": "应套保总量变化量",
  23213. "type": "number"
  23214. },
  23215. "difftradeqty": {
  23216. "description": "交易品种今变化量",
  23217. "type": "number"
  23218. },
  23219. "enddate": {
  23220. "description": "结束交易日",
  23221. "type": "string"
  23222. },
  23223. "enumdicname": {
  23224. "description": "单位名称",
  23225. "type": "string"
  23226. },
  23227. "goodscode": {
  23228. "description": "商品代码",
  23229. "type": "string"
  23230. },
  23231. "goodsid": {
  23232. "description": "商品id",
  23233. "type": "integer"
  23234. },
  23235. "goodsname": {
  23236. "description": "商品名称",
  23237. "type": "string"
  23238. },
  23239. "holdqty": {
  23240. "description": "期末持仓量",
  23241. "type": "number"
  23242. },
  23243. "middlegoodscode": {
  23244. "description": "套保商品代码",
  23245. "type": "string"
  23246. },
  23247. "middlegoodsid": {
  23248. "description": "套保商品id",
  23249. "type": "integer"
  23250. },
  23251. "middlegoodsname": {
  23252. "description": "套保商品名称",
  23253. "type": "string"
  23254. },
  23255. "oriholdqty": {
  23256. "description": "期初持仓量",
  23257. "type": "number"
  23258. },
  23259. "reckondate": {
  23260. "description": "交易日(RECKONDATE)",
  23261. "type": "string"
  23262. },
  23263. "todaycloseqty": {
  23264. "description": "今平仓量",
  23265. "type": "number"
  23266. },
  23267. "todayopenqty": {
  23268. "description": "今开仓量",
  23269. "type": "number"
  23270. },
  23271. "tradedate": {
  23272. "description": "交易日(RECKONDATE)",
  23273. "type": "string"
  23274. },
  23275. "username": {
  23276. "description": "用户名称(交易用户)",
  23277. "type": "string"
  23278. }
  23279. }
  23280. },
  23281. "models.Ermcp3ExposureHedgeplanDetail": {
  23282. "type": "object",
  23283. "properties": {
  23284. "biztype": {
  23285. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23286. "type": "integer"
  23287. },
  23288. "changqty": {
  23289. "description": "应套保总量变化量",
  23290. "type": "number"
  23291. },
  23292. "contracttype": {
  23293. "description": "计划类型 - 1:采购 -1:销售",
  23294. "type": "integer"
  23295. },
  23296. "convertratio": {
  23297. "description": "折算系数(套保品种)",
  23298. "type": "number"
  23299. },
  23300. "deliverygoodscode": {
  23301. "description": "现货商品代码",
  23302. "type": "string"
  23303. },
  23304. "deliverygoodsid": {
  23305. "description": "现货商品id",
  23306. "type": "integer"
  23307. },
  23308. "deliverygoodsname": {
  23309. "description": "现货商吕名称",
  23310. "type": "string"
  23311. },
  23312. "dgunitid": {
  23313. "description": "现货商品单位id",
  23314. "type": "integer"
  23315. },
  23316. "dgunitidname": {
  23317. "description": "单位名称(现货商品)",
  23318. "type": "string"
  23319. },
  23320. "diffqty": {
  23321. "description": "套保品种今变动量",
  23322. "type": "number"
  23323. },
  23324. "enumdicname": {
  23325. "description": "单位名称(品类)",
  23326. "type": "string"
  23327. },
  23328. "hedgeplanid": {
  23329. "description": "套保计划id",
  23330. "type": "string"
  23331. },
  23332. "hedgeplanno": {
  23333. "description": "套保计划名称",
  23334. "type": "string"
  23335. },
  23336. "hedgeplanstatus": {
  23337. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23338. "type": "integer"
  23339. },
  23340. "mgunitidname": {
  23341. "description": "单位名称(套保商品)",
  23342. "type": "string"
  23343. },
  23344. "middlegoodscode": {
  23345. "description": "套保品种代码",
  23346. "type": "string"
  23347. },
  23348. "middlegoodsid": {
  23349. "description": "套保品种id",
  23350. "type": "integer"
  23351. },
  23352. "middlegoodsname": {
  23353. "description": "套保品种名称",
  23354. "type": "string"
  23355. },
  23356. "needarbitrageratio": {
  23357. "description": "应套利比例",
  23358. "type": "number"
  23359. },
  23360. "needhedgeratio": {
  23361. "description": "应套保比例",
  23362. "type": "number"
  23363. },
  23364. "pricedqty": {
  23365. "description": "已定价量",
  23366. "type": "number"
  23367. },
  23368. "qty": {
  23369. "description": "合同量",
  23370. "type": "number"
  23371. },
  23372. "reckondate": {
  23373. "description": "交易日(reckondate)",
  23374. "type": "string"
  23375. },
  23376. "tradedate": {
  23377. "description": "交易日(登记日)",
  23378. "type": "string"
  23379. },
  23380. "unitid": {
  23381. "description": "品类单位id",
  23382. "type": "integer"
  23383. },
  23384. "userid": {
  23385. "description": "机构id",
  23386. "type": "integer"
  23387. },
  23388. "wrstandardcode": {
  23389. "description": "品类代码",
  23390. "type": "string"
  23391. },
  23392. "wrstandardid": {
  23393. "description": "品类id",
  23394. "type": "integer"
  23395. },
  23396. "wrstandardname": {
  23397. "description": "品类名称",
  23398. "type": "string"
  23399. }
  23400. }
  23401. },
  23402. "models.Ermcp3ExposureParamChLog": {
  23403. "type": "object",
  23404. "properties": {
  23405. "accountid": {
  23406. "description": "期货账户ID (作废, 默认为0)",
  23407. "type": "integer"
  23408. },
  23409. "aftervalue": {
  23410. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23411. "type": "number"
  23412. },
  23413. "areauserid": {
  23414. "description": "所属机构\\交易用户ID",
  23415. "type": "integer"
  23416. },
  23417. "beforevalue": {
  23418. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23419. "type": "number"
  23420. },
  23421. "begindate": {
  23422. "description": "开始交易日",
  23423. "type": "string"
  23424. },
  23425. "changelogtype": {
  23426. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23427. "type": "integer"
  23428. },
  23429. "curvalue": {
  23430. "description": "当前套保\\套利量(套保总量|套利总量)",
  23431. "type": "number"
  23432. },
  23433. "diffvalue": {
  23434. "description": "应套保总量变化量",
  23435. "type": "number"
  23436. },
  23437. "enddate": {
  23438. "description": "结束交易日",
  23439. "type": "string"
  23440. },
  23441. "logdatetime": {
  23442. "description": "流水日期",
  23443. "type": "string"
  23444. },
  23445. "logid": {
  23446. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23447. "type": "string"
  23448. },
  23449. "middlegoodscode": {
  23450. "description": "套保品种代码",
  23451. "type": "string"
  23452. },
  23453. "middlegoodsid": {
  23454. "description": "套保品种",
  23455. "type": "integer"
  23456. },
  23457. "middlegoodsname": {
  23458. "description": "套保品种名称",
  23459. "type": "string"
  23460. },
  23461. "paramaftervalue": {
  23462. "description": "参数变更后(调整后参数值)",
  23463. "type": "number"
  23464. },
  23465. "parambeforevalue": {
  23466. "description": "参数变更前(调整前参数值)",
  23467. "type": "number"
  23468. },
  23469. "reckondate": {
  23470. "description": "交易日(reckondate)",
  23471. "type": "string"
  23472. },
  23473. "tradedate": {
  23474. "description": "交易日(yyyyMMdd)",
  23475. "type": "string"
  23476. }
  23477. }
  23478. },
  23479. "models.Ermcp3ExpourseReport": {
  23480. "type": "object",
  23481. "properties": {
  23482. "accountid": {
  23483. "description": "期货账户ID (作废, 默认为0)",
  23484. "type": "integer"
  23485. },
  23486. "accountname": {
  23487. "description": "机构名称",
  23488. "type": "string"
  23489. },
  23490. "arbitrageqty": {
  23491. "description": "套利量",
  23492. "type": "number"
  23493. },
  23494. "areauserid": {
  23495. "description": "所属机构\\交易用户ID",
  23496. "type": "integer"
  23497. },
  23498. "begindate": {
  23499. "description": "开始交易日",
  23500. "type": "string"
  23501. },
  23502. "buyfutureqty": {
  23503. "description": "买入期货数量",
  23504. "type": "number"
  23505. },
  23506. "buyplanqty": {
  23507. "description": "采购计划数量",
  23508. "type": "number"
  23509. },
  23510. "buypricedqty": {
  23511. "description": "采购合同已定价数量",
  23512. "type": "number"
  23513. },
  23514. "cycletime": {
  23515. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23516. "type": "string"
  23517. },
  23518. "cycletype": {
  23519. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23520. "type": "integer"
  23521. },
  23522. "diffexposure": {
  23523. "description": "变动量(套保敞口)",
  23524. "type": "number"
  23525. },
  23526. "difffutuqty": {
  23527. "description": "变动量(期货)",
  23528. "type": "number"
  23529. },
  23530. "diffhedgeqty": {
  23531. "description": "变动量(现货应套保总量)",
  23532. "type": "number"
  23533. },
  23534. "diffmgqtya": {
  23535. "description": "套保变动量",
  23536. "type": "number"
  23537. },
  23538. "diffmgqtyb": {
  23539. "description": "套利变动量",
  23540. "type": "number"
  23541. },
  23542. "diffneedqty": {
  23543. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23544. "type": "number"
  23545. },
  23546. "diffqty": {
  23547. "description": "变动量(总敞口)",
  23548. "type": "number"
  23549. },
  23550. "diffspotqty": {
  23551. "description": "变动量(现货) | 除税变动量",
  23552. "type": "number"
  23553. },
  23554. "enddate": {
  23555. "description": "结束交易日",
  23556. "type": "string"
  23557. },
  23558. "enumdicname": {
  23559. "description": "单位名称",
  23560. "type": "string"
  23561. },
  23562. "hedgeqty": {
  23563. "description": "套保量",
  23564. "type": "number"
  23565. },
  23566. "mgneedhedgeratio": {
  23567. "description": "套保比例(套保品的)",
  23568. "type": "number"
  23569. },
  23570. "middlegoodsid": {
  23571. "description": "套保品种ID",
  23572. "type": "integer"
  23573. },
  23574. "middlegoodsname": {
  23575. "description": "套保商品名称",
  23576. "type": "string"
  23577. },
  23578. "middlgoodscode": {
  23579. "description": "套保商品代码",
  23580. "type": "string"
  23581. },
  23582. "needarbitrageqty": {
  23583. "description": "应套利量",
  23584. "type": "number"
  23585. },
  23586. "needarbitrageratio": {
  23587. "description": "套利比例(套保品的)",
  23588. "type": "number"
  23589. },
  23590. "needhedgeexposoure": {
  23591. "description": "应套保敞口(套保敞口)",
  23592. "type": "number"
  23593. },
  23594. "needhedgeqty": {
  23595. "description": "应套保量",
  23596. "type": "number"
  23597. },
  23598. "needhedgeratio": {
  23599. "description": "应套保敞口比例",
  23600. "type": "number"
  23601. },
  23602. "needqty": {
  23603. "description": "应套总量 = 应套保量 + 应套利量",
  23604. "type": "number"
  23605. },
  23606. "oriarbitrageqty": {
  23607. "description": "期初套利量",
  23608. "type": "number"
  23609. },
  23610. "oribuyfutureqty": {
  23611. "description": "期初买入期货数量",
  23612. "type": "number"
  23613. },
  23614. "oribuyplanqty": {
  23615. "description": "期初采购计划数量",
  23616. "type": "number"
  23617. },
  23618. "oribuypricedqty": {
  23619. "description": "期初采购合同已定价数量",
  23620. "type": "number"
  23621. },
  23622. "orihedgeqty": {
  23623. "description": "期初套保量",
  23624. "type": "number"
  23625. },
  23626. "orineedarbitrageqty": {
  23627. "description": "期初应套利量",
  23628. "type": "number"
  23629. },
  23630. "orineedhedgeexposoure": {
  23631. "description": "期初应套保敞口",
  23632. "type": "number"
  23633. },
  23634. "orineedhedgeqty": {
  23635. "description": "期初应套保量",
  23636. "type": "number"
  23637. },
  23638. "orisellfutureqty": {
  23639. "description": "期初卖出期货数量",
  23640. "type": "number"
  23641. },
  23642. "orisellplanqty": {
  23643. "description": "期初销售计划数量",
  23644. "type": "number"
  23645. },
  23646. "orisellpricedqty": {
  23647. "description": "期初销售合同已定价数量",
  23648. "type": "number"
  23649. },
  23650. "oritotalexposure": {
  23651. "description": "期初实时总敞口",
  23652. "type": "number"
  23653. },
  23654. "oritotalfutureqty": {
  23655. "description": "期初期货头寸总量",
  23656. "type": "number"
  23657. },
  23658. "oritotalneedhedgeqty": {
  23659. "description": "期初应套保总量",
  23660. "type": "number"
  23661. },
  23662. "oritotalspotqty": {
  23663. "description": "期初现货头寸总量",
  23664. "type": "number"
  23665. },
  23666. "reckondate": {
  23667. "description": "日照时期(yyyyMMdd)",
  23668. "type": "string"
  23669. },
  23670. "sellfutureqty": {
  23671. "description": "卖出期货数量",
  23672. "type": "number"
  23673. },
  23674. "sellplanqty": {
  23675. "description": "销售计划数量",
  23676. "type": "number"
  23677. },
  23678. "sellpricedqty": {
  23679. "description": "销售合同已定价数量",
  23680. "type": "number"
  23681. },
  23682. "totalexposure": {
  23683. "description": "实时总敞口(总敞口)",
  23684. "type": "number"
  23685. },
  23686. "totalfutureqty": {
  23687. "description": "期货头寸总量(期货总量)",
  23688. "type": "number"
  23689. },
  23690. "totalhedgeratio": {
  23691. "description": "敞口比例",
  23692. "type": "number"
  23693. },
  23694. "totalneedhedgeqty": {
  23695. "description": "应套保总量(现货应套保总量)",
  23696. "type": "number"
  23697. },
  23698. "totalspotqty": {
  23699. "description": "现货头寸总量 | 除税总量",
  23700. "type": "number"
  23701. },
  23702. "unitid": {
  23703. "description": "单位id",
  23704. "type": "integer"
  23705. },
  23706. "updatetime": {
  23707. "description": "更新时间",
  23708. "type": "string"
  23709. }
  23710. }
  23711. },
  23712. "models.Ermcp3FinanceReport": {
  23713. "type": "object",
  23714. "properties": {
  23715. "accountname": {
  23716. "description": "机构名称",
  23717. "type": "string"
  23718. },
  23719. "areauserid": {
  23720. "description": "所属机构\\交易用户ID",
  23721. "type": "integer"
  23722. },
  23723. "begindate": {
  23724. "description": "开始交易日",
  23725. "type": "string"
  23726. },
  23727. "biztype": {
  23728. "description": "业务类型 - 1:套保 2:套利",
  23729. "type": "integer"
  23730. },
  23731. "brandname": {
  23732. "description": "品牌名称",
  23733. "type": "string"
  23734. },
  23735. "buypreinvoicedamount": {
  23736. "description": "采购预收票额(预收票额)",
  23737. "type": "number"
  23738. },
  23739. "buyprepaidamount": {
  23740. "description": "采购预付款额(预付货款额)",
  23741. "type": "number"
  23742. },
  23743. "buytodayinvoiceamount": {
  23744. "description": "采购今收票额(今收票额)",
  23745. "type": "number"
  23746. },
  23747. "buytodayrefundamount": {
  23748. "description": "采购今收退款额(今收退款额)",
  23749. "type": "number"
  23750. },
  23751. "buytodaysettleamount": {
  23752. "description": "采购今付款额(今付货款额)",
  23753. "type": "number"
  23754. },
  23755. "buyuninvoicedamount": {
  23756. "description": "采购应收票额(应收票额)",
  23757. "type": "number"
  23758. },
  23759. "buyunpaidamount": {
  23760. "description": "采购应付款额(应付货款额)",
  23761. "type": "number"
  23762. },
  23763. "currencyid": {
  23764. "description": "结算币种ID",
  23765. "type": "integer"
  23766. },
  23767. "currencyname": {
  23768. "description": "币种名称",
  23769. "type": "string"
  23770. },
  23771. "cycletime": {
  23772. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23773. "type": "string"
  23774. },
  23775. "cycletype": {
  23776. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23777. "type": "integer"
  23778. },
  23779. "deliverygoodscode": {
  23780. "description": "现货品种代码",
  23781. "type": "string"
  23782. },
  23783. "deliverygoodsid": {
  23784. "description": "现货品种ID",
  23785. "type": "integer"
  23786. },
  23787. "deliverygoodsname": {
  23788. "description": "现货品种名称",
  23789. "type": "string"
  23790. },
  23791. "enddate": {
  23792. "description": "结束交易日",
  23793. "type": "string"
  23794. },
  23795. "reckondate": {
  23796. "description": "日照时期(yyyyMMdd)",
  23797. "type": "string"
  23798. },
  23799. "sellpreinvoicedamount": {
  23800. "description": "销售预开票额(预开票额)",
  23801. "type": "number"
  23802. },
  23803. "sellprepaidamount": {
  23804. "description": "销售预收款额(预收货款额)",
  23805. "type": "number"
  23806. },
  23807. "selltodayinvoiceamount": {
  23808. "description": "销售今开票额(今开票额)",
  23809. "type": "number"
  23810. },
  23811. "selltodayrefundamount": {
  23812. "description": "销售今付退款额(今付退款额)",
  23813. "type": "number"
  23814. },
  23815. "selltodaysettleamount": {
  23816. "description": "销售今收款额(今收货款额)",
  23817. "type": "number"
  23818. },
  23819. "selluninvoicedamount": {
  23820. "description": "销售应开票额(应开票额)",
  23821. "type": "number"
  23822. },
  23823. "sellunpaidamount": {
  23824. "description": "销售应收款额(应收货款额)",
  23825. "type": "number"
  23826. },
  23827. "spotgoodsbrandid": {
  23828. "description": "现货品牌ID",
  23829. "type": "integer"
  23830. },
  23831. "todaypaysum": {
  23832. "description": "今付款合计",
  23833. "type": "number"
  23834. },
  23835. "todayreceivesum": {
  23836. "description": "今收款合计",
  23837. "type": "number"
  23838. },
  23839. "updatetime": {
  23840. "description": "更新时间",
  23841. "type": "string"
  23842. },
  23843. "wrfactortypeid": {
  23844. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23845. "type": "integer"
  23846. },
  23847. "wrstandardcode": {
  23848. "description": "品类代码",
  23849. "type": "string"
  23850. },
  23851. "wrstandardid": {
  23852. "description": "现货商品ID",
  23853. "type": "integer"
  23854. },
  23855. "wrstandardname": {
  23856. "description": "品类名称",
  23857. "type": "string"
  23858. }
  23859. }
  23860. },
  23861. "models.Ermcp3GoodsGroup": {
  23862. "type": "object",
  23863. "required": [
  23864. "areauserid"
  23865. ],
  23866. "properties": {
  23867. "agreeunit": {
  23868. "description": "合约单位",
  23869. "type": "number"
  23870. },
  23871. "areauserid": {
  23872. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  23873. "type": "integer"
  23874. },
  23875. "canshort": {
  23876. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23877. "type": "integer"
  23878. },
  23879. "closepricemode": {
  23880. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23881. "type": "integer"
  23882. },
  23883. "createtime": {
  23884. "description": "创建时间",
  23885. "type": "string"
  23886. },
  23887. "creatorid": {
  23888. "description": "创建人",
  23889. "type": "integer"
  23890. },
  23891. "currencyid": {
  23892. "description": "报价货币ID",
  23893. "type": "integer"
  23894. },
  23895. "decimalplace": {
  23896. "description": "报价小数位",
  23897. "type": "integer"
  23898. },
  23899. "enumdicname": {
  23900. "description": "单位名称",
  23901. "type": "string"
  23902. },
  23903. "exchangefullname": {
  23904. "description": "交易所全称",
  23905. "type": "string"
  23906. },
  23907. "excludecfg": {
  23908. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  23909. "type": "integer"
  23910. },
  23911. "exexchangecode": {
  23912. "description": "交易所代码",
  23913. "type": "string"
  23914. },
  23915. "exexchangeid": {
  23916. "description": "外部交易所ID[通道交易]",
  23917. "type": "integer"
  23918. },
  23919. "exexchangename": {
  23920. "description": "交易所名称",
  23921. "type": "string"
  23922. },
  23923. "goodsgroupid": {
  23924. "description": "商品组ID(自增ID)",
  23925. "type": "integer"
  23926. },
  23927. "goodsgroupname": {
  23928. "description": "商品组名称",
  23929. "type": "string"
  23930. },
  23931. "goodsgroupstatus": {
  23932. "description": "商品组状态 - 1:正常 2:注销",
  23933. "type": "integer"
  23934. },
  23935. "goodunitid": {
  23936. "description": "报价单位ID",
  23937. "type": "integer"
  23938. },
  23939. "groupcategroyid": {
  23940. "description": "品种分类ID",
  23941. "type": "integer"
  23942. },
  23943. "innerdealmode": {
  23944. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23945. "type": "integer"
  23946. },
  23947. "marketid": {
  23948. "description": "所属市场ID",
  23949. "type": "integer"
  23950. },
  23951. "modifierid": {
  23952. "description": "修改人",
  23953. "type": "integer"
  23954. },
  23955. "modifytime": {
  23956. "description": "修改时间",
  23957. "type": "string"
  23958. },
  23959. "outerdealmode": {
  23960. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23961. "type": "integer"
  23962. },
  23963. "outergroupcode": {
  23964. "description": "外部商品组代码[通道交易]",
  23965. "type": "string"
  23966. },
  23967. "quoteminunit": {
  23968. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23969. "type": "integer"
  23970. },
  23971. "quotesourcegroupid": {
  23972. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23973. "type": "integer"
  23974. },
  23975. "syncgoodsqty": {
  23976. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23977. "type": "integer"
  23978. }
  23979. }
  23980. },
  23981. "models.Ermcp3HPMiddleGoods": {
  23982. "type": "object",
  23983. "properties": {
  23984. "biztype": {
  23985. "description": "业务类型 1:套保 2:套利",
  23986. "type": "integer"
  23987. },
  23988. "contracttype": {
  23989. "description": "合同类型 1:采购 -1:销售",
  23990. "type": "integer"
  23991. },
  23992. "convertratio": {
  23993. "description": "折算系数",
  23994. "type": "number"
  23995. },
  23996. "customername": {
  23997. "description": "对手手名称",
  23998. "type": "string"
  23999. },
  24000. "customeruserid": {
  24001. "description": "对手id",
  24002. "type": "integer"
  24003. },
  24004. "enumdicname": {
  24005. "description": "现货单位名称",
  24006. "type": "string"
  24007. },
  24008. "hedgeplanid": {
  24009. "description": "计划id",
  24010. "type": "string"
  24011. },
  24012. "hedgeplanno": {
  24013. "description": "计划编号",
  24014. "type": "string"
  24015. },
  24016. "middlegoodsid": {
  24017. "description": "套保品种ID",
  24018. "type": "integer"
  24019. },
  24020. "middlegoodsplanqty3": {
  24021. "description": "应套保计划量",
  24022. "type": "number"
  24023. },
  24024. "needhedgeratio": {
  24025. "description": "套保比例",
  24026. "type": "number"
  24027. },
  24028. "pricedqty": {
  24029. "description": "已定价量",
  24030. "type": "number"
  24031. },
  24032. "relatedmiddlegoodsqty": {
  24033. "description": "已关联量(套保品种)(期货)",
  24034. "type": "number"
  24035. },
  24036. "unitid": {
  24037. "description": "现货单位id",
  24038. "type": "integer"
  24039. },
  24040. "userid": {
  24041. "description": "用户id",
  24042. "type": "integer"
  24043. },
  24044. "vatrate": {
  24045. "description": "增值税率",
  24046. "type": "number"
  24047. },
  24048. "wrstandardcode": {
  24049. "description": "现货商品代码",
  24050. "type": "string"
  24051. },
  24052. "wrstandardid": {
  24053. "description": "现货商品id",
  24054. "type": "integer"
  24055. },
  24056. "wrstandardname": {
  24057. "description": "现货商品名称",
  24058. "type": "string"
  24059. }
  24060. }
  24061. },
  24062. "models.Ermcp3HedgePlan": {
  24063. "type": "object",
  24064. "properties": {
  24065. "accountid": {
  24066. "description": "资金账号",
  24067. "type": "integer"
  24068. },
  24069. "areauserid": {
  24070. "description": "用户ID",
  24071. "type": "integer"
  24072. },
  24073. "auditid": {
  24074. "description": "审核id",
  24075. "type": "integer"
  24076. },
  24077. "auditname": {
  24078. "description": "审核人名称",
  24079. "type": "string"
  24080. },
  24081. "auditremark": {
  24082. "description": "审核备注",
  24083. "type": "string"
  24084. },
  24085. "auditsrc": {
  24086. "description": "审核来源 1-管理端 2-终端",
  24087. "type": "integer"
  24088. },
  24089. "audittime": {
  24090. "description": "审核时间",
  24091. "type": "string"
  24092. },
  24093. "contracttype": {
  24094. "description": "计划类型 - 1:采购 -1:销售",
  24095. "type": "integer"
  24096. },
  24097. "convertfactor": {
  24098. "description": "标仓系数",
  24099. "type": "number"
  24100. },
  24101. "createtime": {
  24102. "description": "创建时间",
  24103. "type": "string"
  24104. },
  24105. "currencyid": {
  24106. "description": "币种id",
  24107. "type": "integer"
  24108. },
  24109. "currencyname": {
  24110. "description": "币种名称",
  24111. "type": "string"
  24112. },
  24113. "deliverygoodscode": {
  24114. "description": "现货品种代码",
  24115. "type": "string"
  24116. },
  24117. "deliverygoodsid": {
  24118. "description": "现货品种ID",
  24119. "type": "integer"
  24120. },
  24121. "deliverygoodsname": {
  24122. "description": "现货品种名称",
  24123. "type": "string"
  24124. },
  24125. "enumdicname": {
  24126. "description": "单位名称(现货商品)",
  24127. "type": "string"
  24128. },
  24129. "hedgeplanid": {
  24130. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24131. "type": "string"
  24132. },
  24133. "hedgeplanno": {
  24134. "description": "套保计划编号(名称)",
  24135. "type": "string"
  24136. },
  24137. "hedgeplanstatus": {
  24138. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24139. "type": "integer"
  24140. },
  24141. "planqty": {
  24142. "description": "计划数量",
  24143. "type": "number"
  24144. },
  24145. "plantime": {
  24146. "description": "计划时间",
  24147. "type": "string"
  24148. },
  24149. "producttype": {
  24150. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24151. "type": "integer"
  24152. },
  24153. "remark": {
  24154. "description": "备注",
  24155. "type": "string"
  24156. },
  24157. "spotgoodsdesc": {
  24158. "description": "商品型号",
  24159. "type": "string"
  24160. },
  24161. "taaccountname": {
  24162. "description": "资金账号名称",
  24163. "type": "string"
  24164. },
  24165. "tradeuserid": {
  24166. "description": "交易用户id",
  24167. "type": "integer"
  24168. },
  24169. "tradeusername": {
  24170. "description": "交易用户名称",
  24171. "type": "string"
  24172. },
  24173. "unitid": {
  24174. "description": "单位id(现货商品)",
  24175. "type": "integer"
  24176. },
  24177. "updatetime": {
  24178. "description": "更新时间",
  24179. "type": "string"
  24180. },
  24181. "vatrate": {
  24182. "description": "增值税率",
  24183. "type": "number"
  24184. },
  24185. "wrstandardcode": {
  24186. "description": "品类代码",
  24187. "type": "string"
  24188. },
  24189. "wrstandardid": {
  24190. "description": "品类id",
  24191. "type": "integer"
  24192. },
  24193. "wrstandardname": {
  24194. "description": "品类名称",
  24195. "type": "string"
  24196. },
  24197. "wrunitid": {
  24198. "description": "品类单位id",
  24199. "type": "integer"
  24200. },
  24201. "wrunitidame": {
  24202. "description": "品类单位名称",
  24203. "type": "string"
  24204. }
  24205. }
  24206. },
  24207. "models.Ermcp3InnerTradeLink": {
  24208. "type": "object",
  24209. "properties": {
  24210. "accountid": {
  24211. "description": "期货账号代码 | 资金账号ID",
  24212. "type": "integer"
  24213. },
  24214. "buyorsell": {
  24215. "description": "方向 - 0:买 1:卖",
  24216. "type": "integer"
  24217. },
  24218. "channelbuildtype": {
  24219. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24220. "type": "integer"
  24221. },
  24222. "currencyid": {
  24223. "description": "币种id",
  24224. "type": "integer"
  24225. },
  24226. "currencyname": {
  24227. "description": "结算币种 名称",
  24228. "type": "string"
  24229. },
  24230. "goodscode": {
  24231. "description": "商品代码",
  24232. "type": "string"
  24233. },
  24234. "goodsid": {
  24235. "description": "商品ID",
  24236. "type": "integer"
  24237. },
  24238. "goodsname": {
  24239. "description": "商品名称",
  24240. "type": "string"
  24241. },
  24242. "outtradeid": {
  24243. "description": "外部成交单号",
  24244. "type": "string"
  24245. },
  24246. "taname": {
  24247. "description": "期货账户名称",
  24248. "type": "string"
  24249. },
  24250. "tradeid": {
  24251. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24252. "type": "string"
  24253. },
  24254. "tradeprice": {
  24255. "description": "成交价格",
  24256. "type": "number"
  24257. },
  24258. "tradeqty": {
  24259. "description": "期货成交数量",
  24260. "type": "integer"
  24261. },
  24262. "tradetime": {
  24263. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24264. "type": "string"
  24265. },
  24266. "username": {
  24267. "description": "用户名称",
  24268. "type": "string"
  24269. }
  24270. }
  24271. },
  24272. "models.Ermcp3OutTradeLink": {
  24273. "type": "object",
  24274. "properties": {
  24275. "buyorsell": {
  24276. "description": "买卖方向 - 0:买 1:卖",
  24277. "type": "integer"
  24278. },
  24279. "channelbuildtype": {
  24280. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24281. "type": "integer"
  24282. },
  24283. "currencyname": {
  24284. "description": "币种名称",
  24285. "type": "string"
  24286. },
  24287. "exexchangecode": {
  24288. "description": "交易所代码",
  24289. "type": "string"
  24290. },
  24291. "exexchangename": {
  24292. "description": "交易所名称",
  24293. "type": "string"
  24294. },
  24295. "goodscode": {
  24296. "description": "合约代码",
  24297. "type": "string"
  24298. },
  24299. "goodsid": {
  24300. "description": "合约id",
  24301. "type": "integer"
  24302. },
  24303. "goodsname": {
  24304. "description": "合约名称",
  24305. "type": "string"
  24306. },
  24307. "hasinnerorder": {
  24308. "description": "是否有内部单关联 - 0:无 1:有",
  24309. "type": "integer"
  24310. },
  24311. "hedgeaccountcode": {
  24312. "description": "外部账号 | 对冲账号",
  24313. "type": "string"
  24314. },
  24315. "outtradeid": {
  24316. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24317. "type": "string"
  24318. },
  24319. "tradeprice": {
  24320. "description": "成交价格",
  24321. "type": "number"
  24322. },
  24323. "tradeqty": {
  24324. "description": "成交数量",
  24325. "type": "integer"
  24326. },
  24327. "tradetime": {
  24328. "description": "成交时间",
  24329. "type": "string"
  24330. }
  24331. }
  24332. },
  24333. "models.Ermcp3PaAreaAuditCfg": {
  24334. "type": "object",
  24335. "properties": {
  24336. "areauserid": {
  24337. "description": "用户ID",
  24338. "type": "integer"
  24339. },
  24340. "buyinauditflag": {
  24341. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24342. "type": "integer"
  24343. },
  24344. "costratioauditflag": {
  24345. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24346. "type": "integer"
  24347. },
  24348. "customerauditflag": {
  24349. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24350. "type": "integer"
  24351. },
  24352. "deliveryauditflag": {
  24353. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24354. "type": "integer"
  24355. },
  24356. "invoiceauditflag": {
  24357. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24358. "type": "integer"
  24359. },
  24360. "mgneedhedgeratioauditflag": {
  24361. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24362. "type": "integer"
  24363. },
  24364. "moneyauditflag": {
  24365. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24366. "type": "integer"
  24367. },
  24368. "operatorid": {
  24369. "description": "操作人",
  24370. "type": "integer"
  24371. },
  24372. "operatorsrc": {
  24373. "description": "操作来源 - 1:管理端 2:终端",
  24374. "type": "integer"
  24375. },
  24376. "pointpriceauditflag": {
  24377. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24378. "type": "integer"
  24379. },
  24380. "produceinauditflag": {
  24381. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24382. "type": "integer"
  24383. },
  24384. "produceoutauditflag": {
  24385. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24386. "type": "integer"
  24387. },
  24388. "selloutauditflag": {
  24389. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24390. "type": "integer"
  24391. },
  24392. "sgconvertratioauditflag": {
  24393. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24394. "type": "integer"
  24395. },
  24396. "sgvtaratioauditflag": {
  24397. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24398. "type": "integer"
  24399. },
  24400. "spotcontractauditflag": {
  24401. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24402. "type": "integer"
  24403. },
  24404. "updatetime": {
  24405. "description": "更新时间",
  24406. "type": "string"
  24407. }
  24408. }
  24409. },
  24410. "models.Ermcp3PaAreaSubject": {
  24411. "type": "object",
  24412. "properties": {
  24413. "areauserid": {
  24414. "description": "所属机构",
  24415. "type": "integer"
  24416. },
  24417. "canmodify": {
  24418. "description": "是否可修改 - 0:否 1:是",
  24419. "type": "integer"
  24420. },
  24421. "createtime": {
  24422. "description": "创建时间",
  24423. "type": "string"
  24424. },
  24425. "creatorid": {
  24426. "description": "创建人ID",
  24427. "type": "string"
  24428. },
  24429. "creatorsrc": {
  24430. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24431. "type": "integer"
  24432. },
  24433. "modifierid": {
  24434. "description": "修改人",
  24435. "type": "string"
  24436. },
  24437. "modifiersrc": {
  24438. "description": "修改人来源 - 1:管理端 2:终端",
  24439. "type": "integer"
  24440. },
  24441. "modifytime": {
  24442. "description": "修改时间",
  24443. "type": "string"
  24444. },
  24445. "parentsubjectid": {
  24446. "description": "上级主体ID",
  24447. "type": "string"
  24448. },
  24449. "remark": {
  24450. "description": "备注",
  24451. "type": "string"
  24452. },
  24453. "subjectid": {
  24454. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24455. "type": "integer"
  24456. },
  24457. "subjectname": {
  24458. "description": "主体名称",
  24459. "type": "string"
  24460. },
  24461. "subjectstatus": {
  24462. "description": "主体状态 - 1:正常 2: 停用",
  24463. "type": "integer"
  24464. },
  24465. "subjecttype": {
  24466. "description": "主体类型 - 1:交易主体 2:业务部门",
  24467. "type": "integer"
  24468. }
  24469. }
  24470. },
  24471. "models.Ermcp3PaTradeLink": {
  24472. "type": "object",
  24473. "properties": {
  24474. "accountid": {
  24475. "description": "期货账户代码 | 账号ID",
  24476. "type": "integer"
  24477. },
  24478. "agreeunit": {
  24479. "description": "合约乘数",
  24480. "type": "number"
  24481. },
  24482. "buyorsell": {
  24483. "description": "方向 - 0:买 1:卖",
  24484. "type": "integer"
  24485. },
  24486. "channelbuildtype": {
  24487. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24488. "type": "integer"
  24489. },
  24490. "charge": {
  24491. "description": "手续费",
  24492. "type": "number"
  24493. },
  24494. "closepl": {
  24495. "description": "平仓盈亏",
  24496. "type": "number"
  24497. },
  24498. "closetype": {
  24499. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24500. "type": "integer"
  24501. },
  24502. "convertratio": {
  24503. "description": "折算系数",
  24504. "type": "number"
  24505. },
  24506. "enumdicname": {
  24507. "description": "单位名称",
  24508. "type": "string"
  24509. },
  24510. "executeprice": {
  24511. "description": "执行价 [期权]",
  24512. "type": "integer"
  24513. },
  24514. "goodscode": {
  24515. "description": "合约代码",
  24516. "type": "string"
  24517. },
  24518. "goodsgroupid": {
  24519. "description": "对冲品种ID[期货合约商品组ID]",
  24520. "type": "integer"
  24521. },
  24522. "goodsid": {
  24523. "description": "商品ID",
  24524. "type": "integer"
  24525. },
  24526. "goodsname": {
  24527. "description": "合约名称",
  24528. "type": "string"
  24529. },
  24530. "goodunitid": {
  24531. "description": "单位id",
  24532. "type": "integer"
  24533. },
  24534. "hedgeflag": {
  24535. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24536. "type": "integer"
  24537. },
  24538. "marketid": {
  24539. "description": "市场ID",
  24540. "type": "integer"
  24541. },
  24542. "middlegoodsid": {
  24543. "description": "套保品种ID",
  24544. "type": "integer"
  24545. },
  24546. "middlegoodsqty": {
  24547. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  24548. "type": "number"
  24549. },
  24550. "optioncode": {
  24551. "description": "期权代码 [期权]",
  24552. "type": "string"
  24553. },
  24554. "ordertype": {
  24555. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  24556. "type": "integer"
  24557. },
  24558. "ordertypename": {
  24559. "description": "订单类型",
  24560. "type": "string"
  24561. },
  24562. "parentaccountid": {
  24563. "description": "所属母账户",
  24564. "type": "integer"
  24565. },
  24566. "premium": {
  24567. "description": "权利金 [期权]",
  24568. "type": "number"
  24569. },
  24570. "relatedlot": {
  24571. "description": "已关联数量(已关联数量手) | db:关联手数",
  24572. "type": "number"
  24573. },
  24574. "relatedouttradeid": {
  24575. "description": "关联外部成交单ID",
  24576. "type": "string"
  24577. },
  24578. "relatedqty": {
  24579. "description": "关联数量",
  24580. "type": "number"
  24581. },
  24582. "spotcontractid": {
  24583. "description": "现货合同ID [4:套期保值\\10\\11]",
  24584. "type": "string"
  24585. },
  24586. "taname": {
  24587. "description": "期货账户名称",
  24588. "type": "string"
  24589. },
  24590. "tradeamount": {
  24591. "description": "成交金额(账户)",
  24592. "type": "number"
  24593. },
  24594. "tradedate": {
  24595. "description": "交易日(yyyyMMdd)",
  24596. "type": "string"
  24597. },
  24598. "tradeid": {
  24599. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24600. "type": "string"
  24601. },
  24602. "tradelot": {
  24603. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  24604. "type": "integer"
  24605. },
  24606. "tradeprice": {
  24607. "description": "成交价格",
  24608. "type": "number"
  24609. },
  24610. "tradetime": {
  24611. "description": "时间 | db:成交时间",
  24612. "type": "string"
  24613. },
  24614. "tradetype": {
  24615. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24616. "type": "integer"
  24617. },
  24618. "userid": {
  24619. "description": "所属机构 - 所属母账户的UserID",
  24620. "type": "string"
  24621. },
  24622. "username": {
  24623. "description": "用户名称",
  24624. "type": "string"
  24625. }
  24626. }
  24627. },
  24628. "models.Ermcp3ParamChangeApp": {
  24629. "type": "object",
  24630. "properties": {
  24631. "aftervalue": {
  24632. "description": "变更后",
  24633. "type": "number"
  24634. },
  24635. "applicationid": {
  24636. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  24637. "type": "string"
  24638. },
  24639. "applyid": {
  24640. "description": "申请人",
  24641. "type": "string"
  24642. },
  24643. "applyname": {
  24644. "description": "申请人名称(代码)",
  24645. "type": "string"
  24646. },
  24647. "applyremark": {
  24648. "description": "申请备注",
  24649. "type": "string"
  24650. },
  24651. "applysrc": {
  24652. "description": "申请来源 - 1:管理端 2:终端",
  24653. "type": "integer"
  24654. },
  24655. "applystatus": {
  24656. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24657. "type": "integer"
  24658. },
  24659. "applytime": {
  24660. "description": "申请时间",
  24661. "type": "string"
  24662. },
  24663. "areauserid": {
  24664. "description": "所属机构用户ID",
  24665. "type": "integer"
  24666. },
  24667. "auditid": {
  24668. "description": "审核人",
  24669. "type": "string"
  24670. },
  24671. "auditname": {
  24672. "description": "审核人名称(代码)",
  24673. "type": "string"
  24674. },
  24675. "auditremark": {
  24676. "description": "审核备注",
  24677. "type": "string"
  24678. },
  24679. "auditsrc": {
  24680. "description": "审核来源 - 1:管理端 2:终端",
  24681. "type": "integer"
  24682. },
  24683. "audittime": {
  24684. "description": "审核时间",
  24685. "type": "string"
  24686. },
  24687. "audittradedate": {
  24688. "description": "审核交易日(yyyyMMdd)",
  24689. "type": "string"
  24690. },
  24691. "beforevalue": {
  24692. "description": "变更前",
  24693. "type": "number"
  24694. },
  24695. "deliverygoodscode": {
  24696. "description": "品种代码",
  24697. "type": "string"
  24698. },
  24699. "deliverygoodsid": {
  24700. "description": "品种id",
  24701. "type": "integer"
  24702. },
  24703. "deliverygoodsname": {
  24704. "description": "品种名称",
  24705. "type": "string"
  24706. },
  24707. "middlegoodscode": {
  24708. "description": "套保品种代码",
  24709. "type": "string"
  24710. },
  24711. "middlegoodsid": {
  24712. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  24713. "type": "integer"
  24714. },
  24715. "middlegoodsname": {
  24716. "description": "套保品种名称",
  24717. "type": "string"
  24718. },
  24719. "operatetype": {
  24720. "description": "操作类型 - 1:新增 2:修改",
  24721. "type": "integer"
  24722. },
  24723. "paramchangetype": {
  24724. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  24725. "type": "integer"
  24726. },
  24727. "wrstandardcode": {
  24728. "description": "现货商品代码",
  24729. "type": "string"
  24730. },
  24731. "wrstandardid": {
  24732. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  24733. "type": "integer"
  24734. },
  24735. "wrstandardname": {
  24736. "description": "现货商品名称",
  24737. "type": "string"
  24738. }
  24739. }
  24740. },
  24741. "models.Ermcp3RootUserAccount": {
  24742. "type": "object",
  24743. "properties": {
  24744. "accountname": {
  24745. "description": "账户名称(机构名称)",
  24746. "type": "string"
  24747. },
  24748. "accountstatus": {
  24749. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24750. "type": "integer"
  24751. },
  24752. "applysrc": {
  24753. "description": "申请来源 - 1:管理端 2:终端",
  24754. "type": "integer"
  24755. },
  24756. "auditremark": {
  24757. "description": "审核备注",
  24758. "type": "string"
  24759. },
  24760. "auditsrc": {
  24761. "description": "审核来源 - 1:管理端 2:终端",
  24762. "type": "integer"
  24763. },
  24764. "audittime": {
  24765. "description": "审核时间",
  24766. "type": "string"
  24767. },
  24768. "audituserid": {
  24769. "description": "审核人",
  24770. "type": "integer"
  24771. },
  24772. "broker": {
  24773. "description": "所属经纪人ID",
  24774. "type": "integer"
  24775. },
  24776. "canceltime": {
  24777. "description": "销户时间",
  24778. "type": "string"
  24779. },
  24780. "canceluserid": {
  24781. "description": "销户人",
  24782. "type": "integer"
  24783. },
  24784. "canrecommend": {
  24785. "description": "是否可推荐 - 0:不可 1;可",
  24786. "type": "integer"
  24787. },
  24788. "createtime": {
  24789. "description": "创建时间",
  24790. "type": "string"
  24791. },
  24792. "creatorid": {
  24793. "description": "创建人",
  24794. "type": "integer"
  24795. },
  24796. "hasauth": {
  24797. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24798. "type": "integer"
  24799. },
  24800. "isanonymous": {
  24801. "description": "是否匿名下单 - 0:否 1:是",
  24802. "type": "integer"
  24803. },
  24804. "maxinvestornum": {
  24805. "description": "最大用户数(经纪会员下投资者个数)",
  24806. "type": "integer"
  24807. },
  24808. "memberuserid": {
  24809. "description": "所属会员ID",
  24810. "type": "integer"
  24811. },
  24812. "modifierid": {
  24813. "description": "修改人",
  24814. "type": "integer"
  24815. },
  24816. "modifyremark": {
  24817. "description": "变更备注",
  24818. "type": "string"
  24819. },
  24820. "modifystatus": {
  24821. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  24822. "type": "integer"
  24823. },
  24824. "modifytime": {
  24825. "description": "修改时间",
  24826. "type": "string"
  24827. },
  24828. "nickname": {
  24829. "description": "昵称",
  24830. "type": "string"
  24831. },
  24832. "parenttopuser": {
  24833. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24834. "type": "string"
  24835. },
  24836. "parentuserid": {
  24837. "description": "所属机构ID",
  24838. "type": "integer"
  24839. },
  24840. "reckonaccountid": {
  24841. "description": "默认结算资金账号ID(机构分润使用) 作废",
  24842. "type": "integer"
  24843. },
  24844. "refercount": {
  24845. "description": "推荐总人数",
  24846. "type": "integer"
  24847. },
  24848. "refereeuserid": {
  24849. "description": "推荐人ID",
  24850. "type": "integer"
  24851. },
  24852. "refernum": {
  24853. "description": "推荐码",
  24854. "type": "string"
  24855. },
  24856. "rootuserid": {
  24857. "description": "根用户ID",
  24858. "type": "integer"
  24859. },
  24860. "subaccountlevel": {
  24861. "description": "子账户层数",
  24862. "type": "integer"
  24863. },
  24864. "subarealevelpath": {
  24865. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24866. "type": "string"
  24867. },
  24868. "userid": {
  24869. "description": "用户ID",
  24870. "type": "integer"
  24871. },
  24872. "usertype": {
  24873. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24874. "type": "integer"
  24875. }
  24876. }
  24877. },
  24878. "models.Ermcp3SCMiddleGoods": {
  24879. "type": "object",
  24880. "properties": {
  24881. "biztype": {
  24882. "description": "业务类型 1:套保 2:套利",
  24883. "type": "integer"
  24884. },
  24885. "contractno": {
  24886. "description": "合同编号",
  24887. "type": "string"
  24888. },
  24889. "contracttype": {
  24890. "description": "合同类型 1:采购 -1:销售",
  24891. "type": "integer"
  24892. },
  24893. "convertratio": {
  24894. "description": "折算系数",
  24895. "type": "number"
  24896. },
  24897. "customername": {
  24898. "description": "对手手名称",
  24899. "type": "string"
  24900. },
  24901. "customeruserid": {
  24902. "description": "对手id",
  24903. "type": "integer"
  24904. },
  24905. "deliverygoodscode": {
  24906. "description": "现货品种代码",
  24907. "type": "string"
  24908. },
  24909. "deliverygoodsid": {
  24910. "description": "现货品种ID",
  24911. "type": "integer"
  24912. },
  24913. "deliverygoodsname": {
  24914. "description": "现货品种名称",
  24915. "type": "string"
  24916. },
  24917. "enumdicname": {
  24918. "description": "现货单位名称",
  24919. "type": "string"
  24920. },
  24921. "middlegoodsid": {
  24922. "description": "套保品种ID",
  24923. "type": "integer"
  24924. },
  24925. "middlegoodspricedqty3": {
  24926. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  24927. "type": "number"
  24928. },
  24929. "needhedgeratio": {
  24930. "description": "套保比例",
  24931. "type": "number"
  24932. },
  24933. "pricedqty": {
  24934. "description": "已定价量",
  24935. "type": "number"
  24936. },
  24937. "relatedmiddlegoodsqty": {
  24938. "description": "已关联量(套保品种)(期货)",
  24939. "type": "number"
  24940. },
  24941. "spotcontractid": {
  24942. "description": "合同编号",
  24943. "type": "string"
  24944. },
  24945. "unitid": {
  24946. "description": "现货单位id",
  24947. "type": "integer"
  24948. },
  24949. "userid": {
  24950. "description": "用户id",
  24951. "type": "integer"
  24952. },
  24953. "vatrate": {
  24954. "description": "增值税率",
  24955. "type": "number"
  24956. },
  24957. "wrstandardcode": {
  24958. "description": "现货商品代码",
  24959. "type": "string"
  24960. },
  24961. "wrstandardid": {
  24962. "description": "现货商品id",
  24963. "type": "integer"
  24964. },
  24965. "wrstandardname": {
  24966. "description": "现货商品名称",
  24967. "type": "string"
  24968. }
  24969. }
  24970. },
  24971. "models.Ermcp3SCMiddleGoodsReport": {
  24972. "type": "object",
  24973. "properties": {
  24974. "begindate": {
  24975. "description": "开始交易日",
  24976. "type": "string"
  24977. },
  24978. "contractno": {
  24979. "description": "合同编号",
  24980. "type": "string"
  24981. },
  24982. "contracttype": {
  24983. "description": "合同类型 1:采购 -1:销售",
  24984. "type": "integer"
  24985. },
  24986. "convertratio": {
  24987. "description": "折算系数",
  24988. "type": "number"
  24989. },
  24990. "cycletime": {
  24991. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24992. "type": "string"
  24993. },
  24994. "cycletype": {
  24995. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24996. "type": "integer"
  24997. },
  24998. "deliverygoodscode": {
  24999. "description": "品种代码",
  25000. "type": "string"
  25001. },
  25002. "deliverygoodsid": {
  25003. "description": "现货品种ID",
  25004. "type": "integer"
  25005. },
  25006. "deliverygoodsname": {
  25007. "description": "品种名称",
  25008. "type": "string"
  25009. },
  25010. "diffprice": {
  25011. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  25012. "type": "number"
  25013. },
  25014. "diffqty": {
  25015. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  25016. "type": "number"
  25017. },
  25018. "enddate": {
  25019. "description": "结束交易日",
  25020. "type": "string"
  25021. },
  25022. "hedgeplanqty": {
  25023. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  25024. "type": "number"
  25025. },
  25026. "matchname": {
  25027. "description": "交易对手方(个人:用户名称 企业:简称)",
  25028. "type": "string"
  25029. },
  25030. "matchnickname": {
  25031. "description": "交易对手方昵称",
  25032. "type": "string"
  25033. },
  25034. "middlegoodscode": {
  25035. "description": "套保品种代码",
  25036. "type": "string"
  25037. },
  25038. "middlegoodsid": {
  25039. "description": "套保品种ID",
  25040. "type": "integer"
  25041. },
  25042. "middlegoodsname": {
  25043. "description": "套保品种名称",
  25044. "type": "string"
  25045. },
  25046. "middlegoodspricedqty": {
  25047. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  25048. "type": "number"
  25049. },
  25050. "middlegoodspricedqty2": {
  25051. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  25052. "type": "number"
  25053. },
  25054. "middlegoodspricedqty3": {
  25055. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25056. "type": "number"
  25057. },
  25058. "needhedgeratio": {
  25059. "description": "套保系数",
  25060. "type": "number"
  25061. },
  25062. "pricedamount": {
  25063. "description": "已定价额(现货)",
  25064. "type": "number"
  25065. },
  25066. "pricedamount2": {
  25067. "description": "已定价额(现货-基价额)",
  25068. "type": "number"
  25069. },
  25070. "pricedqty": {
  25071. "description": "已定价量(现货)",
  25072. "type": "number"
  25073. },
  25074. "reckondate": {
  25075. "description": "日照时期(yyyyMMdd)",
  25076. "type": "string"
  25077. },
  25078. "relatedmiddlegoodsamount": {
  25079. "description": "已关联额(期货)",
  25080. "type": "number"
  25081. },
  25082. "relatedmiddlegoodsqty": {
  25083. "description": "已关联量(套保品种)(期货)",
  25084. "type": "number"
  25085. },
  25086. "spotcontractid": {
  25087. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25088. "type": "string"
  25089. },
  25090. "todayavgfutuprice": {
  25091. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  25092. "type": "number"
  25093. },
  25094. "todayavgprice": {
  25095. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  25096. "type": "number"
  25097. },
  25098. "todayavgprice2": {
  25099. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  25100. "type": "number"
  25101. },
  25102. "todaypricedamount": {
  25103. "description": "今日定价额(现货)",
  25104. "type": "number"
  25105. },
  25106. "todaypricedamount2": {
  25107. "description": "今日定价额(现货-基价额)",
  25108. "type": "number"
  25109. },
  25110. "todaypricedqty": {
  25111. "description": "今日定价量(现货)",
  25112. "type": "number"
  25113. },
  25114. "todayrelatedfutureqty": {
  25115. "description": "今日关联量(期货)",
  25116. "type": "number"
  25117. },
  25118. "todayrelatedmiddlegoodsamount": {
  25119. "description": "今日关联额(期货)",
  25120. "type": "number"
  25121. },
  25122. "todayrelatedmiddlegoodsqty": {
  25123. "description": "今日关联量(套保品-期货)",
  25124. "type": "number"
  25125. },
  25126. "updatetime": {
  25127. "description": "更新时间",
  25128. "type": "string"
  25129. },
  25130. "userid": {
  25131. "description": "合同所属用户id",
  25132. "type": "integer"
  25133. },
  25134. "vatrate": {
  25135. "description": "增值税率",
  25136. "type": "number"
  25137. },
  25138. "wrstandardcode": {
  25139. "description": "商品(品类) 代码",
  25140. "type": "string"
  25141. },
  25142. "wrstandardid": {
  25143. "description": "现货商品ID",
  25144. "type": "integer"
  25145. },
  25146. "wrstandardname": {
  25147. "description": "商品(品类) 名称",
  25148. "type": "string"
  25149. }
  25150. }
  25151. },
  25152. "models.Ermcp3SellBuyContract": {
  25153. "type": "object",
  25154. "properties": {
  25155. "accountid": {
  25156. "description": "期货账户id",
  25157. "type": "string"
  25158. },
  25159. "accountname": {
  25160. "description": "账户名称",
  25161. "type": "string"
  25162. },
  25163. "attachment": {
  25164. "description": "附件",
  25165. "type": "string"
  25166. },
  25167. "audittime": {
  25168. "description": "审核时间",
  25169. "type": "string"
  25170. },
  25171. "bizsubjectid": {
  25172. "description": "归属业务部门ID - SubjectID",
  25173. "type": "integer"
  25174. },
  25175. "biztype": {
  25176. "description": "业务类型 1-套保 2-套利",
  25177. "type": "integer"
  25178. },
  25179. "brandname": {
  25180. "description": "品牌名称",
  25181. "type": "string"
  25182. },
  25183. "contracctstatus": {
  25184. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25185. "type": "integer"
  25186. },
  25187. "contractmargin": {
  25188. "description": "合同保证金",
  25189. "type": "number"
  25190. },
  25191. "contractno": {
  25192. "description": "合同编号",
  25193. "type": "string"
  25194. },
  25195. "contracttype": {
  25196. "description": "合同类型 1-采购, -1-销售",
  25197. "type": "integer"
  25198. },
  25199. "convertfactor": {
  25200. "description": "标仓系数(品类)",
  25201. "type": "number"
  25202. },
  25203. "createtime": {
  25204. "description": "创建时间",
  25205. "type": "string"
  25206. },
  25207. "currencyid": {
  25208. "description": "币种id",
  25209. "type": "integer"
  25210. },
  25211. "currencyname": {
  25212. "description": "币种名称",
  25213. "type": "string"
  25214. },
  25215. "daikaiamount": {
  25216. "description": "应收(开)票额 | 未收票额",
  25217. "type": "number"
  25218. },
  25219. "deliveryenddate": {
  25220. "description": "交割结束日",
  25221. "type": "string"
  25222. },
  25223. "deliverygoodscode": {
  25224. "description": "现货品种代码",
  25225. "type": "string"
  25226. },
  25227. "deliverygoodsid": {
  25228. "description": "现货商品ID",
  25229. "type": "integer"
  25230. },
  25231. "deliverygoodsname": {
  25232. "description": "现货品种名称",
  25233. "type": "string"
  25234. },
  25235. "deliverystartdate": {
  25236. "description": "交割开始日",
  25237. "type": "string"
  25238. },
  25239. "enddate": {
  25240. "description": "点价结束日",
  25241. "type": "string"
  25242. },
  25243. "enumdicname": {
  25244. "description": "单位名称",
  25245. "type": "string"
  25246. },
  25247. "goodscode": {
  25248. "description": "点价商品代码",
  25249. "type": "string"
  25250. },
  25251. "goodsgroupid": {
  25252. "description": "点价商品组id",
  25253. "type": "integer"
  25254. },
  25255. "goodsid": {
  25256. "description": "点价商品ID",
  25257. "type": "integer"
  25258. },
  25259. "goodsname": {
  25260. "description": "点价商品名称",
  25261. "type": "string"
  25262. },
  25263. "invoiceamount": {
  25264. "description": "已开票额",
  25265. "type": "number"
  25266. },
  25267. "loanamount": {
  25268. "description": "贷款总额=已定价额+调整金额",
  25269. "type": "number"
  25270. },
  25271. "margin": {
  25272. "description": "保证金",
  25273. "type": "number"
  25274. },
  25275. "meruserid": {
  25276. "description": "跟单员id",
  25277. "type": "integer"
  25278. },
  25279. "meruserlogincode": {
  25280. "description": "跟单员登录代码",
  25281. "type": "string"
  25282. },
  25283. "merusername": {
  25284. "description": "跟单员名称",
  25285. "type": "string"
  25286. },
  25287. "nickname": {
  25288. "description": "账户昵称",
  25289. "type": "string"
  25290. },
  25291. "orireckonrealqty": {
  25292. "description": "应交收量",
  25293. "type": "number"
  25294. },
  25295. "payamount": {
  25296. "description": "已收付额(收款或付款)",
  25297. "type": "number"
  25298. },
  25299. "preinvoiceamount": {
  25300. "description": "预收(开)票额",
  25301. "type": "number"
  25302. },
  25303. "prepayamount": {
  25304. "description": "预收付额",
  25305. "type": "number"
  25306. },
  25307. "price": {
  25308. "description": "价格",
  25309. "type": "number"
  25310. },
  25311. "pricedamount": {
  25312. "description": "已定价额",
  25313. "type": "number"
  25314. },
  25315. "pricedavg": {
  25316. "description": "已点均价",
  25317. "type": "number"
  25318. },
  25319. "pricedqty": {
  25320. "description": "已定价量",
  25321. "type": "number"
  25322. },
  25323. "pricemove": {
  25324. "description": "升贴水",
  25325. "type": "number"
  25326. },
  25327. "pricetype": {
  25328. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25329. "type": "integer"
  25330. },
  25331. "producttype": {
  25332. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25333. "type": "integer"
  25334. },
  25335. "qty": {
  25336. "description": "合同量",
  25337. "type": "number"
  25338. },
  25339. "reckonadjustamount": {
  25340. "description": "调整金额",
  25341. "type": "number"
  25342. },
  25343. "reckonedamount": {
  25344. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25345. "type": "number"
  25346. },
  25347. "reckonotheramount": {
  25348. "description": "其它费用",
  25349. "type": "number"
  25350. },
  25351. "reckonrealqty": {
  25352. "description": "已交收量",
  25353. "type": "number"
  25354. },
  25355. "remark": {
  25356. "description": "备注",
  25357. "type": "string"
  25358. },
  25359. "saleuserid": {
  25360. "description": "业务员id",
  25361. "type": "integer"
  25362. },
  25363. "saleuserlogincode": {
  25364. "description": "业务员登录代码",
  25365. "type": "string"
  25366. },
  25367. "saleusername": {
  25368. "description": "业务员名称",
  25369. "type": "string"
  25370. },
  25371. "spotcontractid": {
  25372. "description": "合同ID",
  25373. "type": "string"
  25374. },
  25375. "spotgoodsbrandid": {
  25376. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25377. "type": "integer"
  25378. },
  25379. "spotgoodsdesc": {
  25380. "description": "商品型号(商品规格)",
  25381. "type": "string"
  25382. },
  25383. "startdate": {
  25384. "description": "点价开始日",
  25385. "type": "string"
  25386. },
  25387. "subjectid": {
  25388. "description": "交易主体ID",
  25389. "type": "integer"
  25390. },
  25391. "subjectname": {
  25392. "description": "交易主体名称",
  25393. "type": "string"
  25394. },
  25395. "totalamount": {
  25396. "description": "合计总额",
  25397. "type": "number"
  25398. },
  25399. "tradeuserid": {
  25400. "description": "交易员id",
  25401. "type": "integer"
  25402. },
  25403. "tradeuserlogincode": {
  25404. "description": "交易员登录代码",
  25405. "type": "string"
  25406. },
  25407. "tradeusername": {
  25408. "description": "交易员名称",
  25409. "type": "string"
  25410. },
  25411. "unpayamount": {
  25412. "description": "应收付款额(应支付或应收款) | 未付款额",
  25413. "type": "number"
  25414. },
  25415. "unpricedqty": {
  25416. "description": "未定价量",
  25417. "type": "number"
  25418. },
  25419. "unsureqty": {
  25420. "description": "未确定量 | 未交收量",
  25421. "type": "number"
  25422. },
  25423. "userid": {
  25424. "description": "机构ID",
  25425. "type": "integer"
  25426. },
  25427. "vatrate": {
  25428. "description": "增值税率",
  25429. "type": "number"
  25430. },
  25431. "wrstandardcode": {
  25432. "description": "品类代码",
  25433. "type": "string"
  25434. },
  25435. "wrstandardid": {
  25436. "description": "品类ID",
  25437. "type": "integer"
  25438. },
  25439. "wrstandardname": {
  25440. "description": "品类名称",
  25441. "type": "string"
  25442. }
  25443. }
  25444. },
  25445. "models.Ermcp3SpotGoodsPrice": {
  25446. "type": "object",
  25447. "properties": {
  25448. "areauserid": {
  25449. "description": "所属机构id",
  25450. "type": "integer"
  25451. },
  25452. "brandname": {
  25453. "description": "品牌名称",
  25454. "type": "string"
  25455. },
  25456. "currencyid": {
  25457. "description": "报价货币ID",
  25458. "type": "integer"
  25459. },
  25460. "currencyname": {
  25461. "description": "币种名称",
  25462. "type": "string"
  25463. },
  25464. "deliverygoodscode": {
  25465. "description": "现货商品代码",
  25466. "type": "string"
  25467. },
  25468. "deliverygoodsid": {
  25469. "description": "现货商品id",
  25470. "type": "integer"
  25471. },
  25472. "deliverygoodsname": {
  25473. "description": "现货商品名称",
  25474. "type": "string"
  25475. },
  25476. "enumdicname": {
  25477. "description": "现货商品单位名称",
  25478. "type": "string"
  25479. },
  25480. "gbenumdicname": {
  25481. "description": "品类单位名称",
  25482. "type": "string"
  25483. },
  25484. "gmunitid": {
  25485. "description": "品类单位id",
  25486. "type": "integer"
  25487. },
  25488. "isvalid": {
  25489. "description": "是否有效 - 0:无效 1:有效",
  25490. "type": "integer"
  25491. },
  25492. "operateid": {
  25493. "description": "最后操作人",
  25494. "type": "integer"
  25495. },
  25496. "operatesrc": {
  25497. "description": "最后操作来源 - 1:管理端 2:终端",
  25498. "type": "integer"
  25499. },
  25500. "operatetime": {
  25501. "description": "最后操作时间",
  25502. "type": "string"
  25503. },
  25504. "operatorname": {
  25505. "description": "操作人名称",
  25506. "type": "string"
  25507. },
  25508. "spotgoodsbrandid": {
  25509. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25510. "type": "integer"
  25511. },
  25512. "spotgoodsprice": {
  25513. "description": "现货价格",
  25514. "type": "number"
  25515. },
  25516. "tradedate": {
  25517. "description": "交易日(yyyyMMdd)",
  25518. "type": "string"
  25519. },
  25520. "unitid": {
  25521. "description": "现货商品单位id",
  25522. "type": "integer"
  25523. },
  25524. "wrstandardcode": {
  25525. "description": "品类代码",
  25526. "type": "string"
  25527. },
  25528. "wrstandardid": {
  25529. "description": "现货品类ID(通用则为0)",
  25530. "type": "integer"
  25531. },
  25532. "wrstandardname": {
  25533. "description": "品类名称",
  25534. "type": "string"
  25535. }
  25536. }
  25537. },
  25538. "models.Ermcp3SpotGoodsPriceLog": {
  25539. "type": "object",
  25540. "properties": {
  25541. "areauserid": {
  25542. "description": "所属机构id",
  25543. "type": "integer"
  25544. },
  25545. "brandname": {
  25546. "description": "品牌名称",
  25547. "type": "string"
  25548. },
  25549. "currencyid": {
  25550. "description": "报价货币ID",
  25551. "type": "integer"
  25552. },
  25553. "deliverygoodscode": {
  25554. "description": "现货商品代码",
  25555. "type": "string"
  25556. },
  25557. "deliverygoodsid": {
  25558. "description": "现货商品id",
  25559. "type": "integer"
  25560. },
  25561. "deliverygoodsname": {
  25562. "description": "现货商品名称",
  25563. "type": "string"
  25564. },
  25565. "enumdicname": {
  25566. "description": "现货商品单位名称",
  25567. "type": "string"
  25568. },
  25569. "gbenumdicname": {
  25570. "description": "品类单位名称",
  25571. "type": "string"
  25572. },
  25573. "gmunitid": {
  25574. "description": "品类单位id",
  25575. "type": "integer"
  25576. },
  25577. "logid": {
  25578. "description": "日志id",
  25579. "type": "integer"
  25580. },
  25581. "operateid": {
  25582. "description": "最后操作人",
  25583. "type": "integer"
  25584. },
  25585. "operatesrc": {
  25586. "description": "最后操作来源 - 1:管理端 2:终端",
  25587. "type": "integer"
  25588. },
  25589. "operatetime": {
  25590. "description": "最后操作时间",
  25591. "type": "string"
  25592. },
  25593. "operatorname": {
  25594. "description": "操作人名称",
  25595. "type": "string"
  25596. },
  25597. "spotgoodsbrandid": {
  25598. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25599. "type": "integer"
  25600. },
  25601. "spotgoodsprice": {
  25602. "description": "现货价格",
  25603. "type": "number"
  25604. },
  25605. "tradedate": {
  25606. "description": "交易日(yyyyMMdd)",
  25607. "type": "string"
  25608. },
  25609. "unitid": {
  25610. "description": "现货商品单位id",
  25611. "type": "integer"
  25612. },
  25613. "wrstandardcode": {
  25614. "description": "品类代码",
  25615. "type": "string"
  25616. },
  25617. "wrstandardid": {
  25618. "description": "现货品类ID(通用则为0)",
  25619. "type": "integer"
  25620. },
  25621. "wrstandardname": {
  25622. "description": "品类名称",
  25623. "type": "string"
  25624. }
  25625. }
  25626. },
  25627. "models.Ermcp3SubTaaccount": {
  25628. "type": "object",
  25629. "properties": {
  25630. "accountid": {
  25631. "description": "资金账户ID",
  25632. "type": "integer"
  25633. },
  25634. "parentaccountcode": {
  25635. "description": "所属根账号代码(母账号代码)",
  25636. "type": "string"
  25637. },
  25638. "parentaccountid": {
  25639. "description": "所属根账号(母账号)",
  25640. "type": "integer"
  25641. },
  25642. "taname": {
  25643. "description": "资金账号名称",
  25644. "type": "string"
  25645. },
  25646. "tradestatus": {
  25647. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  25648. "type": "integer"
  25649. },
  25650. "username": {
  25651. "description": "交易用户",
  25652. "type": "string"
  25653. }
  25654. }
  25655. },
  25656. "models.Ermcp3TaFutuReDataReport": {
  25657. "type": "object",
  25658. "properties": {
  25659. "accountid": {
  25660. "description": "交易账户",
  25661. "type": "integer"
  25662. },
  25663. "accountname": {
  25664. "description": "交易账号名称",
  25665. "type": "string"
  25666. },
  25667. "agreeunit": {
  25668. "description": "商品合约单位",
  25669. "type": "number"
  25670. },
  25671. "begindate": {
  25672. "description": "开始交易日",
  25673. "type": "string"
  25674. },
  25675. "buyorsell": {
  25676. "description": "持仓方向",
  25677. "type": "integer"
  25678. },
  25679. "charge": {
  25680. "description": "手续费",
  25681. "type": "number"
  25682. },
  25683. "closeavgprice": {
  25684. "description": "平仓均价",
  25685. "type": "number"
  25686. },
  25687. "closepl": {
  25688. "description": "平仓损益",
  25689. "type": "number"
  25690. },
  25691. "currencyid": {
  25692. "description": "结算币种ID",
  25693. "type": "integer"
  25694. },
  25695. "currencyname": {
  25696. "description": "币种名称",
  25697. "type": "string"
  25698. },
  25699. "cycletime": {
  25700. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25701. "type": "string"
  25702. },
  25703. "cycletype": {
  25704. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25705. "type": "integer"
  25706. },
  25707. "enddate": {
  25708. "description": "结束交易日",
  25709. "type": "string"
  25710. },
  25711. "enumdicname": {
  25712. "description": "单位名称",
  25713. "type": "string"
  25714. },
  25715. "floatpl": {
  25716. "description": "浮动损益",
  25717. "type": "number"
  25718. },
  25719. "goodscode": {
  25720. "description": "交易合约代码",
  25721. "type": "string"
  25722. },
  25723. "goodsgroupid": {
  25724. "description": "交易品种",
  25725. "type": "integer"
  25726. },
  25727. "goodsgroupname": {
  25728. "description": "交易品种名称",
  25729. "type": "string"
  25730. },
  25731. "goodsgroupspotqty": {
  25732. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  25733. "type": "number"
  25734. },
  25735. "goodsid": {
  25736. "description": "交易合约",
  25737. "type": "integer"
  25738. },
  25739. "goodsname": {
  25740. "description": "交易合约名称",
  25741. "type": "string"
  25742. },
  25743. "goodunitid": {
  25744. "description": "交易合约单位id",
  25745. "type": "integer"
  25746. },
  25747. "holdamount": {
  25748. "description": "期末持仓额",
  25749. "type": "number"
  25750. },
  25751. "holdqty": {
  25752. "description": "期末持仓量",
  25753. "type": "number"
  25754. },
  25755. "lastholdamount": {
  25756. "description": "当前持仓额",
  25757. "type": "number"
  25758. },
  25759. "lastprice": {
  25760. "description": "最新价",
  25761. "type": "number"
  25762. },
  25763. "middlegoodsid": {
  25764. "description": "套保品种id",
  25765. "type": "integer"
  25766. },
  25767. "middlegoodsname": {
  25768. "description": "套保商品名称",
  25769. "type": "string"
  25770. },
  25771. "middlegoodsqty": {
  25772. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  25773. "type": "number"
  25774. },
  25775. "middlgoodscode": {
  25776. "description": "套保商品代码",
  25777. "type": "string"
  25778. },
  25779. "openamount": {
  25780. "description": "期末开仓额",
  25781. "type": "number"
  25782. },
  25783. "openavgprice": {
  25784. "description": "开仓均价",
  25785. "type": "number"
  25786. },
  25787. "oriholdamount": {
  25788. "description": "期初持仓额",
  25789. "type": "number"
  25790. },
  25791. "oriholdqty": {
  25792. "description": "期初持仓量",
  25793. "type": "number"
  25794. },
  25795. "oriopenamount": {
  25796. "description": "期初开仓额",
  25797. "type": "number"
  25798. },
  25799. "outergroupcode": {
  25800. "description": "交易品种代码",
  25801. "type": "string"
  25802. },
  25803. "qtydecimalplace": {
  25804. "description": "成交量小数位",
  25805. "type": "integer"
  25806. },
  25807. "reckondate": {
  25808. "description": "日照时期(yyyyMMdd)",
  25809. "type": "string"
  25810. },
  25811. "reckonholdamount": {
  25812. "description": "结算持仓额",
  25813. "type": "number"
  25814. },
  25815. "reckonpl": {
  25816. "description": "结算损益",
  25817. "type": "number"
  25818. },
  25819. "reckonpl2": {
  25820. "description": "结算逐笔盈亏",
  25821. "type": "number"
  25822. },
  25823. "reckonprice": {
  25824. "description": "结算价",
  25825. "type": "number"
  25826. },
  25827. "relateduserid": {
  25828. "description": "账户关联用户ID",
  25829. "type": "integer"
  25830. },
  25831. "todaycloseamount": {
  25832. "description": "今平仓额",
  25833. "type": "number"
  25834. },
  25835. "todaycloseqty": {
  25836. "description": "今平仓量",
  25837. "type": "number"
  25838. },
  25839. "todaygoodsgroupspotqty": {
  25840. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  25841. "type": "number"
  25842. },
  25843. "todaymiddlegoodsqty": {
  25844. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  25845. "type": "number"
  25846. },
  25847. "todayopenamount": {
  25848. "description": "今开仓额",
  25849. "type": "number"
  25850. },
  25851. "todayopenqty": {
  25852. "description": "今开仓量",
  25853. "type": "number"
  25854. },
  25855. "userid": {
  25856. "description": "账户所属用户ID",
  25857. "type": "integer"
  25858. }
  25859. }
  25860. },
  25861. "models.Ermcp3TradeLinkDetail": {
  25862. "type": "object",
  25863. "properties": {
  25864. "accountid": {
  25865. "description": "资金账号",
  25866. "type": "integer"
  25867. },
  25868. "agreeunit": {
  25869. "description": "合约乘数",
  25870. "type": "number"
  25871. },
  25872. "areauserid": {
  25873. "description": "所属机构",
  25874. "type": "string"
  25875. },
  25876. "bizsubjectid": {
  25877. "description": "归属业务部门ID - SubjectID",
  25878. "type": "string"
  25879. },
  25880. "buyorsell": {
  25881. "description": "方向 - 0:买 1:卖",
  25882. "type": "integer"
  25883. },
  25884. "channelbuildtype": {
  25885. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25886. "type": "integer"
  25887. },
  25888. "contractno": {
  25889. "description": "现货编号 (合同编号)",
  25890. "type": "string"
  25891. },
  25892. "convertratio": {
  25893. "description": "折算系数",
  25894. "type": "number"
  25895. },
  25896. "createtime": {
  25897. "description": "关联时间 | 创建时间",
  25898. "type": "string"
  25899. },
  25900. "creatorid": {
  25901. "description": "创建人ID",
  25902. "type": "string"
  25903. },
  25904. "creatorsrc": {
  25905. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25906. "type": "integer"
  25907. },
  25908. "enumdicname": {
  25909. "description": "单位名称",
  25910. "type": "string"
  25911. },
  25912. "goodscode": {
  25913. "description": "合约代码",
  25914. "type": "string"
  25915. },
  25916. "goodsgroupid": {
  25917. "description": "对冲品种ID[期货合约商品组ID]",
  25918. "type": "integer"
  25919. },
  25920. "goodsid": {
  25921. "description": "商品ID",
  25922. "type": "integer"
  25923. },
  25924. "goodsname": {
  25925. "description": "合约名称",
  25926. "type": "string"
  25927. },
  25928. "hedgeflag": {
  25929. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25930. "type": "integer"
  25931. },
  25932. "linkdetailid": {
  25933. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25934. "type": "string"
  25935. },
  25936. "linkstatus": {
  25937. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25938. "type": "integer"
  25939. },
  25940. "middlegoodscode": {
  25941. "description": "套保品种代码",
  25942. "type": "string"
  25943. },
  25944. "middlegoodsid": {
  25945. "description": "套保品种ID",
  25946. "type": "integer"
  25947. },
  25948. "middlegoodsname": {
  25949. "description": "套保品种名称",
  25950. "type": "string"
  25951. },
  25952. "relatedlot": {
  25953. "description": "关联手数",
  25954. "type": "number"
  25955. },
  25956. "relatedmode": {
  25957. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  25958. "type": "integer"
  25959. },
  25960. "relatedqty": {
  25961. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  25962. "type": "number"
  25963. },
  25964. "retcode": {
  25965. "description": "返回码",
  25966. "type": "integer"
  25967. },
  25968. "saleuserid": {
  25969. "description": "业务员ID",
  25970. "type": "string"
  25971. },
  25972. "spotcontractid": {
  25973. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  25974. "type": "string"
  25975. },
  25976. "taname": {
  25977. "description": "期货账户",
  25978. "type": "string"
  25979. },
  25980. "tradedate": {
  25981. "description": "关联交易日(yyyyMMdd)",
  25982. "type": "string"
  25983. },
  25984. "tradeid": {
  25985. "description": "期货订单号 | 内部成交单ID",
  25986. "type": "string"
  25987. },
  25988. "tradelot": {
  25989. "description": "成交数量 | 成交手数",
  25990. "type": "integer"
  25991. },
  25992. "tradeprice": {
  25993. "description": "成交价格",
  25994. "type": "number"
  25995. },
  25996. "tradetime": {
  25997. "description": "期货成交时间",
  25998. "type": "string"
  25999. },
  26000. "tradetradedate": {
  26001. "description": "成交交易日(yyyyMMdd)",
  26002. "type": "string"
  26003. },
  26004. "username": {
  26005. "description": "用户名称",
  26006. "type": "string"
  26007. }
  26008. }
  26009. },
  26010. "models.Ermcp3Wrstandard": {
  26011. "type": "object",
  26012. "properties": {
  26013. "areauserid": {
  26014. "description": "所属机构",
  26015. "type": "integer"
  26016. },
  26017. "cantrade": {
  26018. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26019. "type": "integer"
  26020. },
  26021. "convertfactor": {
  26022. "description": "标仓系数",
  26023. "type": "number"
  26024. },
  26025. "createtime": {
  26026. "description": "创建时间",
  26027. "type": "string"
  26028. },
  26029. "creatorid": {
  26030. "description": "创建人",
  26031. "type": "integer"
  26032. },
  26033. "deliverygoodsid": {
  26034. "description": "现货品种ID",
  26035. "type": "integer"
  26036. },
  26037. "enumdicname": {
  26038. "description": "品类单位名称",
  26039. "type": "string"
  26040. },
  26041. "isvalid": {
  26042. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26043. "type": "integer"
  26044. },
  26045. "minivalue": {
  26046. "description": "最小变动值",
  26047. "type": "integer"
  26048. },
  26049. "minivaluedp": {
  26050. "description": "最小变动值小数位",
  26051. "type": "integer"
  26052. },
  26053. "realminivalue": {
  26054. "description": "实际最小变动值",
  26055. "type": "integer"
  26056. },
  26057. "realminivaluedp": {
  26058. "description": "实际最小变动值小数位",
  26059. "type": "integer"
  26060. },
  26061. "remark": {
  26062. "description": "备注",
  26063. "type": "string"
  26064. },
  26065. "unitid": {
  26066. "description": "品类单位ID",
  26067. "type": "integer"
  26068. },
  26069. "updatetime": {
  26070. "description": "更新时间",
  26071. "type": "string"
  26072. },
  26073. "wrstandardcode": {
  26074. "description": "品类代码",
  26075. "type": "string"
  26076. },
  26077. "wrstandardid": {
  26078. "description": "品类ID(SEQ_WRSTANDARD)",
  26079. "type": "integer"
  26080. },
  26081. "wrstandardname": {
  26082. "description": "品类名称",
  26083. "type": "string"
  26084. }
  26085. }
  26086. },
  26087. "models.Ermcp8EnableHedgeditem": {
  26088. "type": "object",
  26089. "properties": {
  26090. "accountname": {
  26091. "description": "套期主体",
  26092. "type": "string"
  26093. },
  26094. "hedgeditemid": {
  26095. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26096. "type": "string"
  26097. },
  26098. "hedgeditemname": {
  26099. "description": "项目名称",
  26100. "type": "string"
  26101. },
  26102. "hedgeditemnum": {
  26103. "description": "项目编号",
  26104. "type": "string"
  26105. },
  26106. "hedgedtype": {
  26107. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26108. "type": "integer"
  26109. },
  26110. "planenddate": {
  26111. "description": "计划结束日期",
  26112. "type": "string"
  26113. },
  26114. "planstartdate": {
  26115. "description": "计划开始日期",
  26116. "type": "string"
  26117. }
  26118. }
  26119. },
  26120. "models.Ermcp8HedgeditemReport": {
  26121. "type": "object",
  26122. "properties": {
  26123. "accountname": {
  26124. "description": "套期主体",
  26125. "type": "string"
  26126. },
  26127. "areauserid": {
  26128. "description": "企业ID",
  26129. "type": "integer"
  26130. },
  26131. "curprice": {
  26132. "description": "[当日现货市场价]当前市场价",
  26133. "type": "number"
  26134. },
  26135. "enumdicname": {
  26136. "description": "单位",
  26137. "type": "string"
  26138. },
  26139. "exeamount": {
  26140. "description": "[执行现货金额]执行市价总额",
  26141. "type": "number"
  26142. },
  26143. "exeavgprice": {
  26144. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26145. "type": "number"
  26146. },
  26147. "exeqty": {
  26148. "description": "[执行数量]执行现货量",
  26149. "type": "number"
  26150. },
  26151. "futurehedgepl": {
  26152. "description": "期货实际损益",
  26153. "type": "number"
  26154. },
  26155. "futurehedgeplchange": {
  26156. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26157. "type": "number"
  26158. },
  26159. "futurepl": {
  26160. "description": "期货套期损益",
  26161. "type": "number"
  26162. },
  26163. "futureplchange": {
  26164. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26165. "type": "number"
  26166. },
  26167. "hedgeamount": {
  26168. "description": "[套期现货金额]套期市价总额",
  26169. "type": "number"
  26170. },
  26171. "hedgeditemnum": {
  26172. "description": "项目编号,模糊查询",
  26173. "type": "string"
  26174. },
  26175. "hedgeditemstatus": {
  26176. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26177. "type": "integer"
  26178. },
  26179. "hedgedtype": {
  26180. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26181. "type": "integer"
  26182. },
  26183. "hedgeqty": {
  26184. "description": "[套期数量]套期现货量",
  26185. "type": "number"
  26186. },
  26187. "oriavgprice": {
  26188. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26189. "type": "number"
  26190. },
  26191. "orifuturehedgepl": {
  26192. "description": "期初期货实际损益",
  26193. "type": "number"
  26194. },
  26195. "orifuturepl": {
  26196. "description": "期初期货套期损益",
  26197. "type": "number"
  26198. },
  26199. "orispothedgepl": {
  26200. "description": "期初现货实际损益",
  26201. "type": "number"
  26202. },
  26203. "orispotpl": {
  26204. "description": "期初现货套期损益",
  26205. "type": "number"
  26206. },
  26207. "planenddate": {
  26208. "description": "计划结束日期",
  26209. "type": "string"
  26210. },
  26211. "planstartdate": {
  26212. "description": "计划开始日期",
  26213. "type": "string"
  26214. },
  26215. "spothedgepl": {
  26216. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26217. "type": "number"
  26218. },
  26219. "spothedgeplchange": {
  26220. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26221. "type": "number"
  26222. },
  26223. "spotpl": {
  26224. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26225. "type": "number"
  26226. },
  26227. "spotplchange": {
  26228. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26229. "type": "number"
  26230. },
  26231. "tradeuserid": {
  26232. "description": "交易用户ID",
  26233. "type": "integer"
  26234. },
  26235. "unexeqty": {
  26236. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26237. "type": "number"
  26238. },
  26239. "wrstandardcode": {
  26240. "description": "现货品类代码",
  26241. "type": "string"
  26242. },
  26243. "wrstandardid": {
  26244. "description": "现货商品ID",
  26245. "type": "integer"
  26246. },
  26247. "wrstandardname": {
  26248. "description": "[现货商品]现货品类名称",
  26249. "type": "string"
  26250. }
  26251. }
  26252. },
  26253. "models.Ermcp8RunningHedgeditem": {
  26254. "type": "object",
  26255. "properties": {
  26256. "accountname": {
  26257. "description": "套期主体",
  26258. "type": "string"
  26259. },
  26260. "applyid": {
  26261. "description": "申请人",
  26262. "type": "integer"
  26263. },
  26264. "applysrc": {
  26265. "description": "申请来源 - 1:管理端 2:终端",
  26266. "type": "integer"
  26267. },
  26268. "areauserid": {
  26269. "description": "企业ID",
  26270. "type": "integer"
  26271. },
  26272. "auditid": {
  26273. "description": "审核人",
  26274. "type": "integer"
  26275. },
  26276. "auditremark": {
  26277. "description": "审核备注",
  26278. "type": "string"
  26279. },
  26280. "auditsrc": {
  26281. "description": "审核来源 - 1:管理端 2:终端",
  26282. "type": "integer"
  26283. },
  26284. "audittime": {
  26285. "description": "审核时间",
  26286. "type": "string"
  26287. },
  26288. "audittradedate": {
  26289. "description": "审核交易日(yyyyMMdd)",
  26290. "type": "string"
  26291. },
  26292. "createtime": {
  26293. "description": "申请时间",
  26294. "type": "string"
  26295. },
  26296. "curprice": {
  26297. "description": "当前市场价",
  26298. "type": "number"
  26299. },
  26300. "curstock": {
  26301. "description": "期末库存量 = 采购总量 - 销售总量",
  26302. "type": "number"
  26303. },
  26304. "deliverygoodsid": {
  26305. "description": "现货品种ID",
  26306. "type": "integer"
  26307. },
  26308. "enddate": {
  26309. "description": "完成日期",
  26310. "type": "string"
  26311. },
  26312. "endtradedate": {
  26313. "description": "完成交易日",
  26314. "type": "string"
  26315. },
  26316. "enumdicname": {
  26317. "description": "单位",
  26318. "type": "string"
  26319. },
  26320. "exeamount": {
  26321. "description": "执行市价总额",
  26322. "type": "number"
  26323. },
  26324. "exeavgprice": {
  26325. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26326. "type": "number"
  26327. },
  26328. "execontractamount": {
  26329. "description": "执行定价总额",
  26330. "type": "number"
  26331. },
  26332. "exeqty": {
  26333. "description": "执行现货量",
  26334. "type": "number"
  26335. },
  26336. "exerestamount": {
  26337. "description": "执行剩余市价总额【现货贸易】",
  26338. "type": "number"
  26339. },
  26340. "futurefloatpl": {
  26341. "description": "期货浮动损益",
  26342. "type": "number"
  26343. },
  26344. "futurehedgepl": {
  26345. "description": "期货实际损益",
  26346. "type": "number"
  26347. },
  26348. "futurehedgeplchange": {
  26349. "description": "期货实际损益变动",
  26350. "type": "number"
  26351. },
  26352. "futurepl": {
  26353. "description": "期货套期损益",
  26354. "type": "number"
  26355. },
  26356. "futureplchange": {
  26357. "description": "期货套期损益变动",
  26358. "type": "number"
  26359. },
  26360. "hedgeamount": {
  26361. "description": "套期市价总额",
  26362. "type": "number"
  26363. },
  26364. "hedgecontractamount": {
  26365. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26366. "type": "number"
  26367. },
  26368. "hedgeditemid": {
  26369. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26370. "type": "string"
  26371. },
  26372. "hedgeditemname": {
  26373. "description": "项目名称",
  26374. "type": "string"
  26375. },
  26376. "hedgeditemnum": {
  26377. "description": "项目编号",
  26378. "type": "string"
  26379. },
  26380. "hedgeditemstatus": {
  26381. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26382. "type": "integer"
  26383. },
  26384. "hedgedtype": {
  26385. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26386. "type": "integer"
  26387. },
  26388. "hedgeqty": {
  26389. "description": "套期现货量",
  26390. "type": "number"
  26391. },
  26392. "hedgerate": {
  26393. "description": "套保比率",
  26394. "type": "number"
  26395. },
  26396. "hedgerestamount": {
  26397. "description": "套期剩余市价总额【现货贸易】",
  26398. "type": "number"
  26399. },
  26400. "hedgesumpl": {
  26401. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26402. "type": "number"
  26403. },
  26404. "middlegoodslist": {
  26405. "description": "套期商品列表",
  26406. "type": "array",
  26407. "items": {
  26408. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26409. }
  26410. },
  26411. "oriavgprice": {
  26412. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26413. "type": "number"
  26414. },
  26415. "orifuturehedgepl": {
  26416. "description": "期初期货实际损益",
  26417. "type": "number"
  26418. },
  26419. "orifuturepl": {
  26420. "description": "期初期货套期损益",
  26421. "type": "number"
  26422. },
  26423. "orispothedgepl": {
  26424. "description": "期初现货实际损益",
  26425. "type": "number"
  26426. },
  26427. "orispotpl": {
  26428. "description": "期初现货套期损益",
  26429. "type": "number"
  26430. },
  26431. "planenddate": {
  26432. "description": "计划结束日期",
  26433. "type": "string"
  26434. },
  26435. "planstartdate": {
  26436. "description": "计划开始日期",
  26437. "type": "string"
  26438. },
  26439. "remark": {
  26440. "description": "备注",
  26441. "type": "string"
  26442. },
  26443. "spotbookamount": {
  26444. "description": "现货账面总额",
  26445. "type": "number"
  26446. },
  26447. "spotfloatpl": {
  26448. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26449. "type": "number"
  26450. },
  26451. "spothedgepl": {
  26452. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26453. "type": "number"
  26454. },
  26455. "spothedgeplchange": {
  26456. "description": "现货实际损益变动",
  26457. "type": "number"
  26458. },
  26459. "spotpl": {
  26460. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26461. "type": "number"
  26462. },
  26463. "spotplchange": {
  26464. "description": "现货套期损益变动",
  26465. "type": "number"
  26466. },
  26467. "spottradepl": {
  26468. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26469. "type": "number"
  26470. },
  26471. "sumobspl": {
  26472. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26473. "type": "number"
  26474. },
  26475. "tradeuserid": {
  26476. "description": "交易用户ID",
  26477. "type": "integer"
  26478. },
  26479. "unexeqty": {
  26480. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26481. "type": "number"
  26482. },
  26483. "updatetime": {
  26484. "description": "更新时间",
  26485. "type": "string"
  26486. },
  26487. "vatpl": {
  26488. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26489. "type": "number"
  26490. },
  26491. "vatrate": {
  26492. "description": "增值税",
  26493. "type": "number"
  26494. },
  26495. "wrstandardid": {
  26496. "description": "现货商品ID",
  26497. "type": "integer"
  26498. },
  26499. "wrstandardname": {
  26500. "description": "商品名称",
  26501. "type": "string"
  26502. }
  26503. }
  26504. },
  26505. "models.ErmcpBizGroupEx": {
  26506. "type": "object",
  26507. "properties": {
  26508. "acclist": {
  26509. "description": "账号列表",
  26510. "type": "array",
  26511. "items": {
  26512. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26513. }
  26514. },
  26515. "bizgroupid": {
  26516. "description": "业务分组id",
  26517. "type": "integer"
  26518. },
  26519. "biztype": {
  26520. "description": "业务类型 1-套保 2-套利",
  26521. "type": "integer"
  26522. },
  26523. "wrlist": {
  26524. "description": "现货商品表",
  26525. "type": "array",
  26526. "items": {
  26527. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26528. }
  26529. }
  26530. }
  26531. },
  26532. "models.ErmcpBizGroupSpotGoods": {
  26533. "type": "object",
  26534. "properties": {
  26535. "areauserid": {
  26536. "description": "所属机构id",
  26537. "type": "integer"
  26538. },
  26539. "bizgroupid": {
  26540. "description": "分组id",
  26541. "type": "integer"
  26542. },
  26543. "biztype": {
  26544. "description": "业务类型 1-套保 2-套利",
  26545. "type": "integer"
  26546. },
  26547. "deliverygoodscode": {
  26548. "description": "现货商品代码",
  26549. "type": "string"
  26550. },
  26551. "deliverygoodsid": {
  26552. "description": "现货商品id",
  26553. "type": "integer"
  26554. },
  26555. "deliverygoodsname": {
  26556. "description": "现货商品名称",
  26557. "type": "string"
  26558. },
  26559. "unitid": {
  26560. "description": "现货商品单位id",
  26561. "type": "integer"
  26562. }
  26563. }
  26564. },
  26565. "models.ErmcpBizGroupTaAccount": {
  26566. "type": "object",
  26567. "properties": {
  26568. "accountid": {
  26569. "description": "账号id",
  26570. "type": "integer"
  26571. },
  26572. "accountname": {
  26573. "description": "账号名称",
  26574. "type": "string"
  26575. },
  26576. "areauserid": {
  26577. "description": "所属机构id",
  26578. "type": "integer"
  26579. },
  26580. "bizgroupid": {
  26581. "description": "业务分组id",
  26582. "type": "integer"
  26583. },
  26584. "ismain": {
  26585. "description": "是否主账号 1-是 0-否",
  26586. "type": "integer"
  26587. }
  26588. }
  26589. },
  26590. "models.ErmcpDGFactoryItem": {
  26591. "type": "object",
  26592. "properties": {
  26593. "areauserid": {
  26594. "description": "用户id",
  26595. "type": "integer"
  26596. },
  26597. "deliverygoodsid": {
  26598. "description": "现货品种ID",
  26599. "type": "integer"
  26600. },
  26601. "dgfactoryitemid": {
  26602. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  26603. "type": "integer"
  26604. },
  26605. "dgfactoryitemtypeid": {
  26606. "description": "要素项类型",
  26607. "type": "integer"
  26608. },
  26609. "dgfactoryitemvalue": {
  26610. "description": "要素项值(类型为仓库时填写仓库名称)",
  26611. "type": "string"
  26612. },
  26613. "isvalid": {
  26614. "description": "是否有效 - 0:无效 1:有效",
  26615. "type": "integer"
  26616. },
  26617. "orderindex": {
  26618. "description": "顺序",
  26619. "type": "integer"
  26620. },
  26621. "warehouseid": {
  26622. "description": "仓库ID(类型为仓库时填写)",
  26623. "type": "integer"
  26624. }
  26625. }
  26626. },
  26627. "models.ErmcpDeliveryGoods": {
  26628. "type": "object",
  26629. "properties": {
  26630. "agreeunit": {
  26631. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  26632. "type": "integer"
  26633. },
  26634. "areauserid": {
  26635. "description": "所属机构",
  26636. "type": "integer"
  26637. },
  26638. "auditflag": {
  26639. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  26640. "type": "integer"
  26641. },
  26642. "categoryid": {
  26643. "description": "类别ID(SEQ_WRCATEGORY)",
  26644. "type": "integer"
  26645. },
  26646. "deliverygoodscode": {
  26647. "description": "现货品种代码",
  26648. "type": "string"
  26649. },
  26650. "deliverygoodsid": {
  26651. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26652. "type": "integer"
  26653. },
  26654. "deliverygoodsname": {
  26655. "description": "现货品种名称",
  26656. "type": "string"
  26657. },
  26658. "deliverygoodstype": {
  26659. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  26660. "type": "integer"
  26661. },
  26662. "dgstatus": {
  26663. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  26664. "type": "integer"
  26665. },
  26666. "enumdicname": {
  26667. "description": "现货品种单位名称",
  26668. "type": "string"
  26669. },
  26670. "goodsunitid": {
  26671. "description": "现货品种单位ID",
  26672. "type": "integer"
  26673. },
  26674. "isvalid": {
  26675. "description": "是否有效 - 0:无效 1:有效",
  26676. "type": "integer"
  26677. },
  26678. "qtydecimalplace": {
  26679. "description": "成交量小数位",
  26680. "type": "integer"
  26681. },
  26682. "remark": {
  26683. "description": "备注",
  26684. "type": "string"
  26685. },
  26686. "standardqty": {
  26687. "description": "标准数量(库位数量) [标准品特有]",
  26688. "type": "integer"
  26689. },
  26690. "standardqtyrange": {
  26691. "description": "标准数量偏差范围 [标准品特有]",
  26692. "type": "integer"
  26693. }
  26694. }
  26695. },
  26696. "models.ErmcpFuturesCompany": {
  26697. "type": "object",
  26698. "properties": {
  26699. "brokerid": {
  26700. "description": "经纪公司代码",
  26701. "type": "string"
  26702. },
  26703. "channeladdress": {
  26704. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  26705. "type": "string"
  26706. },
  26707. "channelid": {
  26708. "description": "对冲渠道ID",
  26709. "type": "string"
  26710. },
  26711. "createtime": {
  26712. "description": "创建时间",
  26713. "type": "string"
  26714. },
  26715. "creatorid": {
  26716. "description": "创建人",
  26717. "type": "string"
  26718. },
  26719. "fcid": {
  26720. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  26721. "type": "integer"
  26722. },
  26723. "fcname": {
  26724. "description": "期货公司名称",
  26725. "type": "string"
  26726. },
  26727. "isvalid": {
  26728. "description": "是否有效 - 0:无效 1:有效",
  26729. "type": "integer"
  26730. },
  26731. "mhpaddress": {
  26732. "description": "MHP服务地址(IP:Port)",
  26733. "type": "string"
  26734. },
  26735. "riskrulegroupid": {
  26736. "description": "风控规则组ID",
  26737. "type": "string"
  26738. },
  26739. "tradefeetmpid": {
  26740. "description": "手续费模板ID[TradeConfigTmpType为2]",
  26741. "type": "string"
  26742. },
  26743. "trademargintmpid": {
  26744. "description": "保证金模板ID [TradeConfigTmpType为1]",
  26745. "type": "string"
  26746. },
  26747. "traderatetmpid": {
  26748. "description": "汇率模板ID[TradeConfigTmpType为3]",
  26749. "type": "string"
  26750. },
  26751. "updatetime": {
  26752. "description": "更新时间",
  26753. "type": "string"
  26754. },
  26755. "updatorid": {
  26756. "description": "更新人",
  26757. "type": "string"
  26758. }
  26759. }
  26760. },
  26761. "models.ErmcpGGConvertCfg": {
  26762. "type": "object",
  26763. "properties": {
  26764. "convertratio": {
  26765. "description": "折算系数",
  26766. "type": "number"
  26767. },
  26768. "destgoodsgroupid": {
  26769. "description": "目标品种ID",
  26770. "type": "integer"
  26771. },
  26772. "dstcode": {
  26773. "description": "目录品种代码",
  26774. "type": "string"
  26775. },
  26776. "dstexchangecode": {
  26777. "description": "目标期货交易所",
  26778. "type": "string"
  26779. },
  26780. "dstname": {
  26781. "description": "目标品种名称",
  26782. "type": "string"
  26783. },
  26784. "dstunitid": {
  26785. "description": "目标品种单位ID",
  26786. "type": "integer"
  26787. },
  26788. "dstunitidname": {
  26789. "description": "目标品种单位名称",
  26790. "type": "string"
  26791. },
  26792. "modifytime": {
  26793. "description": "修改时间",
  26794. "type": "string"
  26795. },
  26796. "srccode": {
  26797. "description": "源品种代码",
  26798. "type": "string"
  26799. },
  26800. "srcexchangecode": {
  26801. "description": "源期货交易所",
  26802. "type": "string"
  26803. },
  26804. "srcgoodsgroupid": {
  26805. "description": "源品种ID",
  26806. "type": "integer"
  26807. },
  26808. "srcname": {
  26809. "description": "源品种名称",
  26810. "type": "string"
  26811. },
  26812. "srcunitid": {
  26813. "description": "源品种单位ID",
  26814. "type": "integer"
  26815. },
  26816. "srcunitidname": {
  26817. "description": "源品种单位名称",
  26818. "type": "string"
  26819. }
  26820. }
  26821. },
  26822. "models.ErmcpGoods": {
  26823. "type": "object",
  26824. "required": [
  26825. "goodscode",
  26826. "goodsid",
  26827. "goodsname",
  26828. "marketid"
  26829. ],
  26830. "properties": {
  26831. "agreeunit": {
  26832. "description": "合约单位",
  26833. "type": "number"
  26834. },
  26835. "areauserid": {
  26836. "description": "所属机构",
  26837. "type": "integer"
  26838. },
  26839. "auditaccountid": {
  26840. "description": "审核操作员账号",
  26841. "type": "integer"
  26842. },
  26843. "audittime": {
  26844. "description": "审核时间",
  26845. "type": "string"
  26846. },
  26847. "cancelaccountid": {
  26848. "description": "注销操作员账号",
  26849. "type": "integer"
  26850. },
  26851. "canceltime": {
  26852. "description": "注销时间",
  26853. "type": "string"
  26854. },
  26855. "closepricemode": {
  26856. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26857. "type": "integer"
  26858. },
  26859. "closepriceparam": {
  26860. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26861. "type": "number"
  26862. },
  26863. "createtime": {
  26864. "description": "创建时间",
  26865. "type": "string"
  26866. },
  26867. "creatorid": {
  26868. "description": "创建人",
  26869. "type": "integer"
  26870. },
  26871. "currencyid": {
  26872. "description": "报价货币ID",
  26873. "type": "integer"
  26874. },
  26875. "cutmode": {
  26876. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26877. "type": "integer"
  26878. },
  26879. "decimalplace": {
  26880. "description": "报价小数位",
  26881. "type": "integer"
  26882. },
  26883. "delistingdate": {
  26884. "description": "商品退市时间(状态:退市) -- 已作废",
  26885. "type": "string"
  26886. },
  26887. "delistingmode": {
  26888. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26889. "type": "integer"
  26890. },
  26891. "deliveryflag": {
  26892. "description": "交割标志 - 0:不可交割 1:可交割",
  26893. "type": "integer"
  26894. },
  26895. "enumdicname": {
  26896. "description": "单位名称",
  26897. "type": "string"
  26898. },
  26899. "forceclosemode": {
  26900. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26901. "type": "integer"
  26902. },
  26903. "forceclosevalue": {
  26904. "description": "定期强平参数 [收益权]",
  26905. "type": "integer"
  26906. },
  26907. "goodscode": {
  26908. "description": "商品代码(内部)",
  26909. "type": "string"
  26910. },
  26911. "goodscurrencyid": {
  26912. "description": "合约货币ID",
  26913. "type": "integer"
  26914. },
  26915. "goodsgroupid": {
  26916. "description": "所属商品组ID",
  26917. "type": "integer"
  26918. },
  26919. "goodsid": {
  26920. "description": "商品ID(自增ID SEQ_GOODS)",
  26921. "type": "integer"
  26922. },
  26923. "goodsname": {
  26924. "description": "商品名称",
  26925. "type": "string"
  26926. },
  26927. "goodsquotetype": {
  26928. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26929. "type": "integer"
  26930. },
  26931. "goodsstatus": {
  26932. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26933. "type": "integer"
  26934. },
  26935. "goodstradetype": {
  26936. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26937. "type": "integer"
  26938. },
  26939. "goodunitid": {
  26940. "description": "报价单位ID",
  26941. "type": "integer"
  26942. },
  26943. "hasquoter": {
  26944. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26945. "type": "integer"
  26946. },
  26947. "hqprotecttime": {
  26948. "description": "行情保护时间(秒)",
  26949. "type": "integer"
  26950. },
  26951. "innerdealmode": {
  26952. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26953. "type": "integer"
  26954. },
  26955. "isbuylimited": {
  26956. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26957. "type": "integer"
  26958. },
  26959. "isvisible": {
  26960. "description": "游客是否可见 - 0:不可见 1:可见",
  26961. "type": "integer"
  26962. },
  26963. "lasttradedate": {
  26964. "description": "最后交易日期(状态:待退市)",
  26965. "type": "string"
  26966. },
  26967. "listingdate": {
  26968. "description": "交易开始日期",
  26969. "type": "string"
  26970. },
  26971. "marketid": {
  26972. "description": "所属市场ID",
  26973. "type": "integer"
  26974. },
  26975. "modifierid": {
  26976. "description": "修改人",
  26977. "type": "integer"
  26978. },
  26979. "modifystatus": {
  26980. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26981. "type": "integer"
  26982. },
  26983. "modifytime": {
  26984. "description": "修改时间",
  26985. "type": "string"
  26986. },
  26987. "outerdealmode": {
  26988. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26989. "type": "integer"
  26990. },
  26991. "outgoodscode": {
  26992. "description": "商品代码(外部)",
  26993. "type": "string"
  26994. },
  26995. "pictureurl": {
  26996. "description": "商品图片",
  26997. "type": "string"
  26998. },
  26999. "qtydecimalplace": {
  27000. "description": "成交量小数位",
  27001. "type": "integer"
  27002. },
  27003. "quotegear": {
  27004. "description": "行情档位(1-10)",
  27005. "type": "integer"
  27006. },
  27007. "quoteminunit": {
  27008. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27009. "type": "integer"
  27010. },
  27011. "quoteshowtype": {
  27012. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27013. "type": "integer"
  27014. },
  27015. "quoteshowtypeinterval": {
  27016. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27017. "type": "integer"
  27018. },
  27019. "relatedgoodsid": {
  27020. "description": "关联参考商品ID",
  27021. "type": "integer"
  27022. },
  27023. "remark": {
  27024. "description": "备注",
  27025. "type": "string"
  27026. },
  27027. "trademode": {
  27028. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27029. "type": "integer"
  27030. }
  27031. }
  27032. },
  27033. "models.ErmcpGoodsBrand": {
  27034. "type": "object",
  27035. "properties": {
  27036. "areauserid": {
  27037. "description": "所属机构",
  27038. "type": "integer"
  27039. },
  27040. "brandid": {
  27041. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27042. "type": "integer"
  27043. },
  27044. "brandname": {
  27045. "description": "品牌名称",
  27046. "type": "string"
  27047. },
  27048. "createtime": {
  27049. "description": "创建时间",
  27050. "type": "string"
  27051. },
  27052. "creatorid": {
  27053. "description": "创建人",
  27054. "type": "integer"
  27055. },
  27056. "creatorsrc": {
  27057. "description": "创建人来源 - 1:管理端 2:终端",
  27058. "type": "integer"
  27059. },
  27060. "deliverygoodsid": {
  27061. "description": "现货品种ID",
  27062. "type": "integer"
  27063. },
  27064. "isvalid": {
  27065. "description": "是否有效 - 0:无效 1:有效",
  27066. "type": "integer"
  27067. },
  27068. "updatetime": {
  27069. "description": "更新时间",
  27070. "type": "string"
  27071. },
  27072. "updatorid": {
  27073. "description": "更新人",
  27074. "type": "integer"
  27075. },
  27076. "updatorsrc": {
  27077. "description": "更新人来源 - 1:管理端 2:终端",
  27078. "type": "integer"
  27079. },
  27080. "wrstandardid": {
  27081. "description": "现货商品ID",
  27082. "type": "integer"
  27083. }
  27084. }
  27085. },
  27086. "models.ErmcpGoodsModel": {
  27087. "type": "object",
  27088. "properties": {
  27089. "areauserid": {
  27090. "description": "所属机构",
  27091. "type": "integer"
  27092. },
  27093. "convertfactor": {
  27094. "description": "标仓系数",
  27095. "type": "number"
  27096. },
  27097. "createtime": {
  27098. "description": "创建时间",
  27099. "type": "string"
  27100. },
  27101. "creatorid": {
  27102. "description": "创建人",
  27103. "type": "integer"
  27104. },
  27105. "creatorsrc": {
  27106. "description": "创建人来源 - 1:管理端 2:终端",
  27107. "type": "integer"
  27108. },
  27109. "deliverygoodsid": {
  27110. "description": "现货品种ID",
  27111. "type": "integer"
  27112. },
  27113. "isvalid": {
  27114. "description": "是否有效 - 0:无效 1:有效",
  27115. "type": "integer"
  27116. },
  27117. "modelid": {
  27118. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27119. "type": "integer"
  27120. },
  27121. "modelname": {
  27122. "description": "型号名称",
  27123. "type": "string"
  27124. },
  27125. "updatetime": {
  27126. "description": "更新时间",
  27127. "type": "string"
  27128. },
  27129. "updatorid": {
  27130. "description": "更新人",
  27131. "type": "integer"
  27132. },
  27133. "updatorsrc": {
  27134. "description": "更新人来源 - 1:管理端 2:终端",
  27135. "type": "integer"
  27136. },
  27137. "wrstandardid": {
  27138. "description": "现货商品ID",
  27139. "type": "integer"
  27140. }
  27141. }
  27142. },
  27143. "models.ErmcpHisExposure": {
  27144. "type": "object",
  27145. "properties": {
  27146. "needhedgeexposoure": {
  27147. "description": "应套保敞口",
  27148. "type": "number"
  27149. },
  27150. "reckondate": {
  27151. "description": "日照时期(yyyyMMdd)",
  27152. "type": "string"
  27153. },
  27154. "totalexposure": {
  27155. "description": "总敞口",
  27156. "type": "number"
  27157. }
  27158. }
  27159. },
  27160. "models.ErmcpLoginTaAccount": {
  27161. "type": "object",
  27162. "properties": {
  27163. "accountid": {
  27164. "description": "账号id",
  27165. "type": "integer"
  27166. },
  27167. "accountname": {
  27168. "description": "账号名称",
  27169. "type": "string"
  27170. }
  27171. }
  27172. },
  27173. "models.ErmcpLoginUser": {
  27174. "type": "object",
  27175. "properties": {
  27176. "acclist": {
  27177. "description": "关联资金账号",
  27178. "type": "array",
  27179. "items": {
  27180. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27181. }
  27182. },
  27183. "accountname": {
  27184. "description": "用户名称",
  27185. "type": "string"
  27186. },
  27187. "clientroleid": {
  27188. "description": "角色id(usertype=2)",
  27189. "type": "integer"
  27190. },
  27191. "createtime": {
  27192. "description": "创建时间",
  27193. "type": "string"
  27194. },
  27195. "logincode": {
  27196. "description": "登录代码",
  27197. "type": "string"
  27198. },
  27199. "loginid": {
  27200. "description": "登录id(LOGINID)",
  27201. "type": "integer"
  27202. },
  27203. "loginname": {
  27204. "description": "登录名称(loginaccount表中的accountname字段)",
  27205. "type": "string"
  27206. },
  27207. "loginstatus": {
  27208. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27209. "type": "integer"
  27210. },
  27211. "memberuserid": {
  27212. "description": "所属会员id",
  27213. "type": "integer"
  27214. },
  27215. "mobile": {
  27216. "description": "手机号",
  27217. "type": "string"
  27218. },
  27219. "modifytime": {
  27220. "description": "修改时间",
  27221. "type": "string"
  27222. },
  27223. "password": {
  27224. "description": "密码(不可解密)",
  27225. "type": "string"
  27226. },
  27227. "rolename": {
  27228. "description": "角色名称",
  27229. "type": "string"
  27230. },
  27231. "rolestatus": {
  27232. "description": "角色状态 1-启用 2-停用",
  27233. "type": "integer"
  27234. },
  27235. "roletype": {
  27236. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27237. "type": "string"
  27238. },
  27239. "userid": {
  27240. "description": "用户id",
  27241. "type": "integer"
  27242. },
  27243. "usertype": {
  27244. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27245. "type": "integer"
  27246. }
  27247. }
  27248. },
  27249. "models.ErmcpLoginUserEx": {
  27250. "type": "object",
  27251. "properties": {
  27252. "accountstatus": {
  27253. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27254. "type": "integer"
  27255. },
  27256. "mobile": {
  27257. "description": "手机号",
  27258. "type": "string"
  27259. },
  27260. "querytype": {
  27261. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27262. "type": "integer"
  27263. },
  27264. "roleid": {
  27265. "description": "角色id(交易账户-\u003e用户id)",
  27266. "type": "integer"
  27267. },
  27268. "rolename": {
  27269. "description": "角色名称(交易账户-\u003e用户名称)",
  27270. "type": "string"
  27271. },
  27272. "userlist": {
  27273. "description": "用户列表",
  27274. "type": "array",
  27275. "items": {
  27276. "$ref": "#/definitions/models.ErmcpLoginUser"
  27277. }
  27278. },
  27279. "usertype": {
  27280. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27281. "type": "integer"
  27282. }
  27283. }
  27284. },
  27285. "models.ErmcpMiddleGoodsModel": {
  27286. "type": "object",
  27287. "properties": {
  27288. "areauserid": {
  27289. "description": "机构用户ID",
  27290. "type": "integer"
  27291. },
  27292. "createtime": {
  27293. "description": "修改时间",
  27294. "type": "string"
  27295. },
  27296. "enumdicname": {
  27297. "description": "单位名称",
  27298. "type": "string"
  27299. },
  27300. "evaluateratio": {
  27301. "description": "估价系数",
  27302. "type": "number"
  27303. },
  27304. "goodsgroupid": {
  27305. "description": "关联期货品种ID",
  27306. "type": "integer"
  27307. },
  27308. "goodsunitid": {
  27309. "description": "单位ID",
  27310. "type": "integer"
  27311. },
  27312. "isvalid": {
  27313. "description": "状态 0-无效(停用) 1-有效(正常)",
  27314. "type": "integer"
  27315. },
  27316. "middlegoodscode": {
  27317. "description": "套保品种代码",
  27318. "type": "string"
  27319. },
  27320. "middlegoodsid": {
  27321. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27322. "type": "integer"
  27323. },
  27324. "middlegoodsname": {
  27325. "description": "套保品种名称",
  27326. "type": "string"
  27327. },
  27328. "modifytime": {
  27329. "description": "修改时间",
  27330. "type": "string"
  27331. },
  27332. "needarbitrageratio": {
  27333. "description": "套利比例",
  27334. "type": "number"
  27335. },
  27336. "needhedgeratio": {
  27337. "description": "套保比率",
  27338. "type": "number"
  27339. },
  27340. "qtydecimalplace": {
  27341. "description": "数量小数位",
  27342. "type": "integer"
  27343. },
  27344. "relatedgoodsid": {
  27345. "description": "关联交易商品ID",
  27346. "type": "integer"
  27347. },
  27348. "relatedgoodstype": {
  27349. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27350. "type": "integer"
  27351. },
  27352. "remark": {
  27353. "description": "备注",
  27354. "type": "string"
  27355. }
  27356. }
  27357. },
  27358. "models.ErmcpMiddlegoodsRelateGoods": {
  27359. "type": "object",
  27360. "properties": {
  27361. "agreeunit": {
  27362. "description": "合约乘数",
  27363. "type": "number"
  27364. },
  27365. "convertratio": {
  27366. "description": "折算系数",
  27367. "type": "number"
  27368. },
  27369. "enumdicname": {
  27370. "description": "单位名称(交易商品)",
  27371. "type": "string"
  27372. },
  27373. "goodscode": {
  27374. "description": "交易商品代码",
  27375. "type": "string"
  27376. },
  27377. "goodsgroupid": {
  27378. "description": "交易品种id",
  27379. "type": "integer"
  27380. },
  27381. "goodsid": {
  27382. "description": "商品Id",
  27383. "type": "integer"
  27384. },
  27385. "goodsname": {
  27386. "description": "交易商品名称",
  27387. "type": "string"
  27388. },
  27389. "goodunitid": {
  27390. "description": "交易商品单位id",
  27391. "type": "integer"
  27392. },
  27393. "middlegoodsid": {
  27394. "description": "套保商品id",
  27395. "type": "integer"
  27396. },
  27397. "middlegoodsname": {
  27398. "description": "套保商品名称",
  27399. "type": "string"
  27400. },
  27401. "middlegoodsswcode": {
  27402. "description": "套保商品代码",
  27403. "type": "string"
  27404. },
  27405. "needarbitrageratio": {
  27406. "description": "应套利比例",
  27407. "type": "number"
  27408. },
  27409. "needhedgeratio": {
  27410. "description": "应套保比例",
  27411. "type": "number"
  27412. }
  27413. }
  27414. },
  27415. "models.ErmcpRole": {
  27416. "type": "object",
  27417. "properties": {
  27418. "areauserid": {
  27419. "description": "所属机构",
  27420. "type": "integer"
  27421. },
  27422. "autoid": {
  27423. "description": "角色ID(自增ID)",
  27424. "type": "integer"
  27425. },
  27426. "modifierid": {
  27427. "description": "修改人(创建人)",
  27428. "type": "integer"
  27429. },
  27430. "modifiername": {
  27431. "description": "修改人名称",
  27432. "type": "string"
  27433. },
  27434. "modifytime": {
  27435. "description": "修改时间(创建时间)",
  27436. "type": "string"
  27437. },
  27438. "rolename": {
  27439. "description": "角色名称",
  27440. "type": "string"
  27441. },
  27442. "rolestatus": {
  27443. "description": "角色状态 - 1:启用 2:停用",
  27444. "type": "integer"
  27445. },
  27446. "roletype": {
  27447. "description": "角色类型 - 1- 管理端 2- 交易端",
  27448. "type": "integer"
  27449. }
  27450. }
  27451. },
  27452. "models.ErmcpRoleMenu": {
  27453. "type": "object",
  27454. "properties": {
  27455. "iconame": {
  27456. "description": "菜单图标",
  27457. "type": "string"
  27458. },
  27459. "ishadrole": {
  27460. "description": "是否有权限",
  27461. "type": "boolean"
  27462. },
  27463. "menutype": {
  27464. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27465. "type": "integer"
  27466. },
  27467. "parentcode": {
  27468. "description": "上级资源代码",
  27469. "type": "string"
  27470. },
  27471. "remark": {
  27472. "description": "菜单备注",
  27473. "type": "string"
  27474. },
  27475. "resourcecode": {
  27476. "description": "菜单代码",
  27477. "type": "string"
  27478. },
  27479. "resourcelevel": {
  27480. "description": "级别",
  27481. "type": "integer"
  27482. },
  27483. "resourcename": {
  27484. "description": "菜单名称",
  27485. "type": "string"
  27486. },
  27487. "roleid": {
  27488. "description": "角色id",
  27489. "type": "integer"
  27490. },
  27491. "sort": {
  27492. "description": "排序",
  27493. "type": "integer"
  27494. },
  27495. "url": {
  27496. "description": "URL",
  27497. "type": "string"
  27498. },
  27499. "userid": {
  27500. "description": "用户id",
  27501. "type": "integer"
  27502. }
  27503. }
  27504. },
  27505. "models.ErmcpRoleMenuEx": {
  27506. "type": "object",
  27507. "properties": {
  27508. "menu": {
  27509. "description": "父级菜单",
  27510. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27511. },
  27512. "subMenu": {
  27513. "description": "子级菜单",
  27514. "type": "array",
  27515. "items": {
  27516. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27517. }
  27518. }
  27519. }
  27520. },
  27521. "models.ErmcpSpotContractModelEx": {
  27522. "type": "object",
  27523. "properties": {
  27524. "accountname": {
  27525. "description": "套期主体",
  27526. "type": "string"
  27527. },
  27528. "amount": {
  27529. "description": "金额 [1:一口价、3:暂定价]",
  27530. "type": "number"
  27531. },
  27532. "attachment": {
  27533. "description": "附件",
  27534. "type": "string"
  27535. },
  27536. "auditremark": {
  27537. "description": "审核意见",
  27538. "type": "string"
  27539. },
  27540. "audittime": {
  27541. "description": "审核时间",
  27542. "type": "string"
  27543. },
  27544. "avgprice": {
  27545. "description": "定价均价 = 已定价金额 / 已定价量",
  27546. "type": "number"
  27547. },
  27548. "brandname": {
  27549. "description": "品牌名称",
  27550. "type": "string"
  27551. },
  27552. "buyuserid": {
  27553. "description": "采购方ID",
  27554. "type": "integer"
  27555. },
  27556. "buyusername": {
  27557. "description": "采购方名称",
  27558. "type": "string"
  27559. },
  27560. "contracctstatus": {
  27561. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27562. "type": "integer"
  27563. },
  27564. "contractmargin": {
  27565. "description": "合同保证金",
  27566. "type": "number"
  27567. },
  27568. "contractno": {
  27569. "description": "[合同编号]现货合同编号",
  27570. "type": "string"
  27571. },
  27572. "contracttype": {
  27573. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  27574. "type": "integer"
  27575. },
  27576. "convertfactor": {
  27577. "description": "标仓系数",
  27578. "type": "number"
  27579. },
  27580. "createtime": {
  27581. "description": "创建时间",
  27582. "type": "string"
  27583. },
  27584. "customername": {
  27585. "description": "对手方",
  27586. "type": "string"
  27587. },
  27588. "customeruserid": {
  27589. "description": "客户ID",
  27590. "type": "integer"
  27591. },
  27592. "deliveryenddate": {
  27593. "description": "交收期(结束)",
  27594. "type": "string"
  27595. },
  27596. "deliverygoodscode": {
  27597. "description": "现货品种代码",
  27598. "type": "string"
  27599. },
  27600. "deliverygoodsid": {
  27601. "description": "现货品种ID",
  27602. "type": "integer"
  27603. },
  27604. "deliverygoodsname": {
  27605. "description": "现货品种名称",
  27606. "type": "string"
  27607. },
  27608. "deliverystartdate": {
  27609. "description": "交收期(开始)",
  27610. "type": "string"
  27611. },
  27612. "enddate": {
  27613. "description": "点价结束日期 [2:点价 3:暂定价]",
  27614. "type": "string"
  27615. },
  27616. "enumdicname": {
  27617. "description": "单位名称",
  27618. "type": "string"
  27619. },
  27620. "goodscode": {
  27621. "description": "点价合约代码",
  27622. "type": "string"
  27623. },
  27624. "goodsid": {
  27625. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  27626. "type": "integer"
  27627. },
  27628. "goodsname": {
  27629. "description": "点价商品名称",
  27630. "type": "string"
  27631. },
  27632. "isrelated": {
  27633. "description": "是否已关联计划项目 - 0:否 1:是",
  27634. "type": "integer"
  27635. },
  27636. "isrelated2": {
  27637. "description": "是否已关联现货项目 - 0:否 1:是",
  27638. "type": "integer"
  27639. },
  27640. "margin": {
  27641. "description": "当前保证金",
  27642. "type": "number"
  27643. },
  27644. "modelname": {
  27645. "description": "型号名称",
  27646. "type": "string"
  27647. },
  27648. "price": {
  27649. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  27650. "type": "number"
  27651. },
  27652. "pricedamount": {
  27653. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  27654. "type": "number"
  27655. },
  27656. "pricedqty": {
  27657. "description": "已定价量",
  27658. "type": "number"
  27659. },
  27660. "pricemove": {
  27661. "description": "升贴水 [2:点价 3:暂定价]",
  27662. "type": "number"
  27663. },
  27664. "pricetype": {
  27665. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27666. "type": "integer"
  27667. },
  27668. "producttype": {
  27669. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27670. "type": "integer"
  27671. },
  27672. "qty": {
  27673. "description": "[合同数量]数量",
  27674. "type": "number"
  27675. },
  27676. "remark": {
  27677. "description": "备注",
  27678. "type": "string"
  27679. },
  27680. "selluserid": {
  27681. "description": "销售方ID",
  27682. "type": "integer"
  27683. },
  27684. "sellusername": {
  27685. "description": "销售方名称",
  27686. "type": "string"
  27687. },
  27688. "spotamount": {
  27689. "description": "合同现货金额 [不含升贴水]",
  27690. "type": "number"
  27691. },
  27692. "spotavgprice": {
  27693. "description": "现货均价 = 合同现货金额 / 已定价量",
  27694. "type": "number"
  27695. },
  27696. "spotcontractid": {
  27697. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27698. "type": "string"
  27699. },
  27700. "spotgoodsbrandid": {
  27701. "description": "现货品牌ID",
  27702. "type": "integer"
  27703. },
  27704. "spotgoodsdesc": {
  27705. "description": "商品型号",
  27706. "type": "string"
  27707. },
  27708. "spotgoodsmodelid": {
  27709. "description": "现货型号ID",
  27710. "type": "integer"
  27711. },
  27712. "startdate": {
  27713. "description": "点价开始日期 [2:点价 3:暂定价]",
  27714. "type": "string"
  27715. },
  27716. "tradeuserid": {
  27717. "description": "交易用户ID",
  27718. "type": "integer"
  27719. },
  27720. "unpricedqty": {
  27721. "description": "未定价量 = 合同数量 - 已定价量",
  27722. "type": "number"
  27723. },
  27724. "updatetime": {
  27725. "description": "更新时间",
  27726. "type": "string"
  27727. },
  27728. "userid": {
  27729. "description": "机构ID",
  27730. "type": "integer"
  27731. },
  27732. "wrstandardcode": {
  27733. "description": "现货商品代码",
  27734. "type": "string"
  27735. },
  27736. "wrstandardid": {
  27737. "description": "现货商品ID",
  27738. "type": "integer"
  27739. },
  27740. "wrstandardname": {
  27741. "description": "[现货商品]现货商品名称",
  27742. "type": "string"
  27743. }
  27744. }
  27745. },
  27746. "models.ErmcpTaAccount": {
  27747. "type": "object",
  27748. "properties": {
  27749. "accountid": {
  27750. "description": "账户id",
  27751. "type": "integer"
  27752. },
  27753. "accountname": {
  27754. "description": "账户名称",
  27755. "type": "string"
  27756. },
  27757. "currencyid": {
  27758. "description": "币种id",
  27759. "type": "integer"
  27760. },
  27761. "hedgeaccountcode": {
  27762. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  27763. "type": "string"
  27764. },
  27765. "ismain": {
  27766. "description": "是否主账户 0-否 1-是",
  27767. "type": "integer"
  27768. },
  27769. "parentaccountid": {
  27770. "description": "父账户id",
  27771. "type": "integer"
  27772. },
  27773. "relateduserid": {
  27774. "description": "关联userid",
  27775. "type": "integer"
  27776. },
  27777. "tradefeetmpid": {
  27778. "description": "手续费模板id",
  27779. "type": "integer"
  27780. },
  27781. "tradefeetmpname": {
  27782. "description": "手续费模板名称",
  27783. "type": "string"
  27784. },
  27785. "trademargintmpid": {
  27786. "description": "保证金模板id",
  27787. "type": "integer"
  27788. },
  27789. "trademargintmpname": {
  27790. "description": "保证金模板名称",
  27791. "type": "string"
  27792. },
  27793. "traderatetmpid": {
  27794. "description": "汇率模板id",
  27795. "type": "integer"
  27796. },
  27797. "traderatetmpname": {
  27798. "description": "汇率模板名称",
  27799. "type": "string"
  27800. },
  27801. "tradestatus": {
  27802. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27803. "type": "integer"
  27804. },
  27805. "userid": {
  27806. "description": "用户id",
  27807. "type": "integer"
  27808. }
  27809. }
  27810. },
  27811. "models.ErmcpTaAccountEx": {
  27812. "type": "object",
  27813. "properties": {
  27814. "mainAcc": {
  27815. "description": "主账号",
  27816. "$ref": "#/definitions/models.ErmcpTaAccountM"
  27817. },
  27818. "subacclist": {
  27819. "description": "子账号列表",
  27820. "type": "array",
  27821. "items": {
  27822. "$ref": "#/definitions/models.ErmcpTaAccount"
  27823. }
  27824. }
  27825. }
  27826. },
  27827. "models.ErmcpTaAccountInfo": {
  27828. "type": "object",
  27829. "properties": {
  27830. "accountid": {
  27831. "description": "资金账户ID",
  27832. "type": "integer"
  27833. },
  27834. "accountname": {
  27835. "description": "账户名称",
  27836. "type": "string"
  27837. },
  27838. "balance": {
  27839. "description": "期初余额",
  27840. "type": "number"
  27841. },
  27842. "capitalbalance": {
  27843. "description": "本金余额[外部子账户实际出入金余额]",
  27844. "type": "number"
  27845. },
  27846. "closepl": {
  27847. "description": "今日平仓盈亏",
  27848. "type": "number"
  27849. },
  27850. "creditdecrease": {
  27851. "description": "今日授信减少",
  27852. "type": "number"
  27853. },
  27854. "creditincrease": {
  27855. "description": "今日授信增加",
  27856. "type": "number"
  27857. },
  27858. "curdebt": {
  27859. "description": "期末欠款",
  27860. "type": "number"
  27861. },
  27862. "currencyid": {
  27863. "description": "货币ID",
  27864. "type": "integer"
  27865. },
  27866. "currentbalance": {
  27867. "description": "期末余额",
  27868. "type": "number"
  27869. },
  27870. "freezecharge": {
  27871. "description": "手续费冻结",
  27872. "type": "number"
  27873. },
  27874. "freezemargin": {
  27875. "description": "冻结保证金",
  27876. "type": "number"
  27877. },
  27878. "fromaccountid": {
  27879. "description": "所属上级账户",
  27880. "type": "integer"
  27881. },
  27882. "inamount": {
  27883. "description": "今日入金金额(包括三方入金)",
  27884. "type": "number"
  27885. },
  27886. "ismain": {
  27887. "description": "是否母账号 0:不是母账户 1:是母账户",
  27888. "type": "integer"
  27889. },
  27890. "mortgagecredit": {
  27891. "description": "授信金额",
  27892. "type": "number"
  27893. },
  27894. "oridebt": {
  27895. "description": "期初欠款",
  27896. "type": "number"
  27897. },
  27898. "orifreezecharge": {
  27899. "description": "期初手续费冻结",
  27900. "type": "number"
  27901. },
  27902. "orifreezemargin": {
  27903. "description": "期初冻结保证金",
  27904. "type": "number"
  27905. },
  27906. "orimortgagecredit": {
  27907. "description": "期初授信金额",
  27908. "type": "number"
  27909. },
  27910. "oriothercredit": {
  27911. "description": "期初其它授信金额",
  27912. "type": "number"
  27913. },
  27914. "oriotherfreezemargin": {
  27915. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27916. "type": "number"
  27917. },
  27918. "orioutamountfreeze": {
  27919. "description": "期初出金冻结",
  27920. "type": "number"
  27921. },
  27922. "oriusedmargin": {
  27923. "description": "期初占用保证金",
  27924. "type": "number"
  27925. },
  27926. "othercredit": {
  27927. "description": "其它授信金额",
  27928. "type": "number"
  27929. },
  27930. "othercreditdecrease": {
  27931. "description": "今日其它授信减少",
  27932. "type": "number"
  27933. },
  27934. "othercreditincrease": {
  27935. "description": "今日其它授信增加",
  27936. "type": "number"
  27937. },
  27938. "otherfreezemargin": {
  27939. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27940. "type": "number"
  27941. },
  27942. "outamount": {
  27943. "description": "今日出金金额(包括三方出金)",
  27944. "type": "number"
  27945. },
  27946. "outamountfreeze": {
  27947. "description": "出金冻结",
  27948. "type": "number"
  27949. },
  27950. "outthreshold": {
  27951. "description": "出金阈值",
  27952. "type": "number"
  27953. },
  27954. "parentaccountid": {
  27955. "description": "所属根账号",
  27956. "type": "integer"
  27957. },
  27958. "paycharge": {
  27959. "description": "今日手续费支出",
  27960. "type": "number"
  27961. },
  27962. "relateduserid": {
  27963. "description": "关联用户",
  27964. "type": "integer"
  27965. },
  27966. "signstatus": {
  27967. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27968. "type": "integer"
  27969. },
  27970. "sublevelpath": {
  27971. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27972. "type": "string"
  27973. },
  27974. "taaccounttype": {
  27975. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27976. "type": "integer"
  27977. },
  27978. "thirdinamount": {
  27979. "description": "今日三方入金",
  27980. "type": "number"
  27981. },
  27982. "thirdoutamount": {
  27983. "description": "今日三方出金",
  27984. "type": "number"
  27985. },
  27986. "tradestatus": {
  27987. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27988. "type": "integer"
  27989. },
  27990. "transferamount": {
  27991. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27992. "type": "number"
  27993. },
  27994. "usedmargin": {
  27995. "description": "占用保证金",
  27996. "type": "number"
  27997. },
  27998. "userid": {
  27999. "description": "用户ID",
  28000. "type": "integer"
  28001. }
  28002. }
  28003. },
  28004. "models.ErmcpTaAccountM": {
  28005. "type": "object",
  28006. "properties": {
  28007. "accountid": {
  28008. "description": "账户id",
  28009. "type": "integer"
  28010. },
  28011. "accountname": {
  28012. "description": "账户名称",
  28013. "type": "string"
  28014. },
  28015. "currencyid": {
  28016. "description": "币种id",
  28017. "type": "integer"
  28018. },
  28019. "fcid": {
  28020. "description": "期货公司id",
  28021. "type": "integer"
  28022. },
  28023. "fcname": {
  28024. "description": "期货公司代码",
  28025. "type": "string"
  28026. },
  28027. "hedgeaccountcode": {
  28028. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28029. "type": "string"
  28030. },
  28031. "ismain": {
  28032. "description": "是否主账户 0-否 1-是",
  28033. "type": "integer"
  28034. },
  28035. "parentaccountid": {
  28036. "description": "父账户id",
  28037. "type": "integer"
  28038. },
  28039. "relateduserid": {
  28040. "description": "关联userid",
  28041. "type": "integer"
  28042. },
  28043. "tradefeetmpid": {
  28044. "description": "手续费模板id",
  28045. "type": "integer"
  28046. },
  28047. "tradefeetmpname": {
  28048. "description": "手续费模板名称",
  28049. "type": "string"
  28050. },
  28051. "trademargintmpid": {
  28052. "description": "保证金模板id",
  28053. "type": "integer"
  28054. },
  28055. "trademargintmpname": {
  28056. "description": "保证金模板名称",
  28057. "type": "string"
  28058. },
  28059. "traderatetmpid": {
  28060. "description": "汇率模板id",
  28061. "type": "integer"
  28062. },
  28063. "traderatetmpname": {
  28064. "description": "汇率模板名称",
  28065. "type": "string"
  28066. },
  28067. "tradestatus": {
  28068. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28069. "type": "integer"
  28070. },
  28071. "userid": {
  28072. "description": "用户id",
  28073. "type": "integer"
  28074. }
  28075. }
  28076. },
  28077. "models.ErmcpTradeConfigTMP": {
  28078. "type": "object",
  28079. "properties": {
  28080. "areauserid": {
  28081. "description": "所属机构",
  28082. "type": "integer"
  28083. },
  28084. "basiccurrencyid": {
  28085. "description": "基本币种ID[汇率] - 目标币种",
  28086. "type": "integer"
  28087. },
  28088. "mainaccountid": {
  28089. "description": "主账户ID",
  28090. "type": "integer"
  28091. },
  28092. "modifierid": {
  28093. "description": "修改人",
  28094. "type": "integer"
  28095. },
  28096. "remark": {
  28097. "description": "备注",
  28098. "type": "string"
  28099. },
  28100. "tradeconfigtmpid": {
  28101. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28102. "type": "integer"
  28103. },
  28104. "tradeconfigtmpname": {
  28105. "description": "交易配置模板名称",
  28106. "type": "string"
  28107. },
  28108. "tradeconfigtmptype": {
  28109. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28110. "type": "integer"
  28111. },
  28112. "updatetime": {
  28113. "description": "更新时间",
  28114. "type": "string"
  28115. }
  28116. }
  28117. },
  28118. "models.Ermcpjrlinkpos": {
  28119. "type": "object",
  28120. "required": [
  28121. "spotcontractid"
  28122. ],
  28123. "properties": {
  28124. "areauserid": {
  28125. "description": "所属企业",
  28126. "type": "integer"
  28127. },
  28128. "averageprice": {
  28129. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28130. "type": "number"
  28131. },
  28132. "closepl": {
  28133. "description": "总平仓盈亏 [期货损益]",
  28134. "type": "number"
  28135. },
  28136. "executeprice": {
  28137. "description": "执行价 - 1:期货单 为 0",
  28138. "type": "integer"
  28139. },
  28140. "futurehedgeqty": {
  28141. "description": "期货套期量",
  28142. "type": "number"
  28143. },
  28144. "goodsid": {
  28145. "description": "期货合约",
  28146. "type": "integer"
  28147. },
  28148. "middlegoodscode": {
  28149. "description": "套保商品代码",
  28150. "type": "string"
  28151. },
  28152. "middlegoodsname": {
  28153. "description": "套保商品名称",
  28154. "type": "string"
  28155. },
  28156. "netqty": {
  28157. "description": "净头寸",
  28158. "type": "number"
  28159. },
  28160. "optioncode": {
  28161. "description": "期权代码",
  28162. "type": "string"
  28163. },
  28164. "ordertype": {
  28165. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28166. "type": "integer"
  28167. },
  28168. "reckonpl": {
  28169. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28170. "type": "number"
  28171. },
  28172. "spotcontractid": {
  28173. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28174. "type": "string"
  28175. },
  28176. "todayfutureclosepl": {
  28177. "description": "今日平仓盈亏",
  28178. "type": "number"
  28179. },
  28180. "totalbuyamount": {
  28181. "description": "买金额 [期货]",
  28182. "type": "number"
  28183. },
  28184. "totalbuyholdamount": {
  28185. "description": "买持仓总金额[期货]",
  28186. "type": "number"
  28187. },
  28188. "totalbuyqty": {
  28189. "description": "买数量",
  28190. "type": "number"
  28191. },
  28192. "totalcharge": {
  28193. "description": "手续费",
  28194. "type": "number"
  28195. },
  28196. "totalpremium": {
  28197. "description": "权利金 [期权]",
  28198. "type": "number"
  28199. },
  28200. "totalsellamount": {
  28201. "description": "卖金额 [期货]",
  28202. "type": "number"
  28203. },
  28204. "totalsellholdamount": {
  28205. "description": "卖持仓总金额[期货]",
  28206. "type": "number"
  28207. },
  28208. "totalsellqty": {
  28209. "description": "卖数量",
  28210. "type": "number"
  28211. },
  28212. "updatetime": {
  28213. "description": "更新时间",
  28214. "type": "string"
  28215. }
  28216. }
  28217. },
  28218. "models.Ermcppatradelinkdetail": {
  28219. "type": "object",
  28220. "required": [
  28221. "hedgeditemid"
  28222. ],
  28223. "properties": {
  28224. "agreeunit": {
  28225. "description": "合约乘数",
  28226. "type": "number"
  28227. },
  28228. "amount": {
  28229. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28230. "type": "number"
  28231. },
  28232. "areauserid": {
  28233. "description": "所属机构",
  28234. "type": "integer"
  28235. },
  28236. "bizsubjectid": {
  28237. "description": "归属业务部门ID - SubjectID",
  28238. "type": "integer"
  28239. },
  28240. "buyorsell": {
  28241. "description": "方向 - 0:买 1:卖",
  28242. "type": "integer"
  28243. },
  28244. "convertratio": {
  28245. "description": "品种系数",
  28246. "type": "number"
  28247. },
  28248. "createtime": {
  28249. "description": "创建时间",
  28250. "type": "string"
  28251. },
  28252. "creatorid": {
  28253. "description": "创建人ID",
  28254. "type": "integer"
  28255. },
  28256. "creatorsrc": {
  28257. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28258. "type": "integer"
  28259. },
  28260. "goodsgroupid": {
  28261. "description": "对冲品种ID[期货合约商品组ID]",
  28262. "type": "integer"
  28263. },
  28264. "goodsid": {
  28265. "description": "商品ID",
  28266. "type": "integer"
  28267. },
  28268. "hedgeditemid": {
  28269. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28270. "type": "integer"
  28271. },
  28272. "hedgeflag": {
  28273. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28274. "type": "integer"
  28275. },
  28276. "linkdetailid": {
  28277. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28278. "type": "string"
  28279. },
  28280. "linkstatus": {
  28281. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28282. "type": "integer"
  28283. },
  28284. "middlegoodsid": {
  28285. "description": "套保品种ID",
  28286. "type": "integer"
  28287. },
  28288. "name": {
  28289. "description": "账户名/子账户",
  28290. "type": "string"
  28291. },
  28292. "optioncode": {
  28293. "description": "[期货合约]期权代码 [期权]",
  28294. "type": "string"
  28295. },
  28296. "ordertype": {
  28297. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28298. "type": "integer"
  28299. },
  28300. "relatedlot": {
  28301. "description": "[数量]关联手数",
  28302. "type": "number"
  28303. },
  28304. "relatedmode": {
  28305. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28306. "type": "integer"
  28307. },
  28308. "relatedqty": {
  28309. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28310. "type": "number"
  28311. },
  28312. "retcode": {
  28313. "description": "返回码",
  28314. "type": "integer"
  28315. },
  28316. "saleuserid": {
  28317. "description": "业务员ID",
  28318. "type": "integer"
  28319. },
  28320. "tradedate": {
  28321. "description": "关联交易日(yyyyMMdd)",
  28322. "type": "string"
  28323. },
  28324. "tradeid": {
  28325. "description": "[成交单号]内部成交单ID",
  28326. "type": "string"
  28327. },
  28328. "tradelot": {
  28329. "description": "成交手数",
  28330. "type": "integer"
  28331. },
  28332. "tradeprice": {
  28333. "description": "[价格]成交价格",
  28334. "type": "number"
  28335. },
  28336. "tradetime": {
  28337. "description": "日期时间",
  28338. "type": "string"
  28339. },
  28340. "tradetradedate": {
  28341. "description": "成交交易日(yyyyMMdd)",
  28342. "type": "string"
  28343. }
  28344. }
  28345. },
  28346. "models.Externalexchange": {
  28347. "type": "object",
  28348. "required": [
  28349. "autoid"
  28350. ],
  28351. "properties": {
  28352. "autoid": {
  28353. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28354. "type": "integer"
  28355. },
  28356. "exchangefullname": {
  28357. "description": "外部交易所全称",
  28358. "type": "string"
  28359. },
  28360. "exexchangecode": {
  28361. "description": "外部交易所代码",
  28362. "type": "string"
  28363. },
  28364. "exexchangename": {
  28365. "description": "外部交易所名称(简称)",
  28366. "type": "string"
  28367. },
  28368. "ismarketprice": {
  28369. "description": "是否支持市价 - 0:不支持 1:支持",
  28370. "type": "integer"
  28371. },
  28372. "quotegear": {
  28373. "description": "行情档位(1-10)",
  28374. "type": "integer"
  28375. },
  28376. "showbrokerflag": {
  28377. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28378. "type": "integer"
  28379. },
  28380. "updatetime": {
  28381. "description": "更新时间",
  28382. "type": "string"
  28383. }
  28384. }
  28385. },
  28386. "models.Funcmenulist": {
  28387. "type": "object",
  28388. "required": [
  28389. "resourcecode"
  28390. ],
  28391. "properties": {
  28392. "iconame": {
  28393. "description": "菜单图标",
  28394. "type": "string"
  28395. },
  28396. "menutype": {
  28397. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28398. "type": "integer"
  28399. },
  28400. "parentcode": {
  28401. "description": "上级资源代码",
  28402. "type": "string"
  28403. },
  28404. "remark": {
  28405. "description": "备注",
  28406. "type": "string"
  28407. },
  28408. "resourcecode": {
  28409. "description": "资源代码",
  28410. "type": "string"
  28411. },
  28412. "resourcelevel": {
  28413. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28414. "type": "integer"
  28415. },
  28416. "resourcename": {
  28417. "description": "资源名",
  28418. "type": "string"
  28419. },
  28420. "sort": {
  28421. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28422. "type": "integer"
  28423. },
  28424. "url": {
  28425. "description": "URL",
  28426. "type": "string"
  28427. }
  28428. }
  28429. },
  28430. "models.Goods": {
  28431. "type": "object",
  28432. "required": [
  28433. "goodscode",
  28434. "goodsid",
  28435. "goodsname",
  28436. "marketid"
  28437. ],
  28438. "properties": {
  28439. "agreeunit": {
  28440. "description": "合约单位",
  28441. "type": "number"
  28442. },
  28443. "areauserid": {
  28444. "description": "所属机构",
  28445. "type": "integer"
  28446. },
  28447. "auditaccountid": {
  28448. "description": "审核操作员账号",
  28449. "type": "integer"
  28450. },
  28451. "audittime": {
  28452. "description": "审核时间",
  28453. "type": "string"
  28454. },
  28455. "cancelaccountid": {
  28456. "description": "注销操作员账号",
  28457. "type": "integer"
  28458. },
  28459. "canceltime": {
  28460. "description": "注销时间",
  28461. "type": "string"
  28462. },
  28463. "closepricemode": {
  28464. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28465. "type": "integer"
  28466. },
  28467. "closepriceparam": {
  28468. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28469. "type": "number"
  28470. },
  28471. "createtime": {
  28472. "description": "创建时间",
  28473. "type": "string"
  28474. },
  28475. "creatorid": {
  28476. "description": "创建人",
  28477. "type": "integer"
  28478. },
  28479. "currencyid": {
  28480. "description": "报价货币ID",
  28481. "type": "integer"
  28482. },
  28483. "cutmode": {
  28484. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28485. "type": "integer"
  28486. },
  28487. "decimalplace": {
  28488. "description": "报价小数位",
  28489. "type": "integer"
  28490. },
  28491. "delistingdate": {
  28492. "description": "商品退市时间(状态:退市) -- 已作废",
  28493. "type": "string"
  28494. },
  28495. "delistingmode": {
  28496. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28497. "type": "integer"
  28498. },
  28499. "deliveryflag": {
  28500. "description": "交割标志 - 0:不可交割 1:可交割",
  28501. "type": "integer"
  28502. },
  28503. "forceclosemode": {
  28504. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28505. "type": "integer"
  28506. },
  28507. "forceclosevalue": {
  28508. "description": "定期强平参数 [收益权]",
  28509. "type": "integer"
  28510. },
  28511. "goodscode": {
  28512. "description": "商品代码(内部)",
  28513. "type": "string"
  28514. },
  28515. "goodscurrencyid": {
  28516. "description": "合约货币ID",
  28517. "type": "integer"
  28518. },
  28519. "goodsgroupid": {
  28520. "description": "所属商品组ID",
  28521. "type": "integer"
  28522. },
  28523. "goodsid": {
  28524. "description": "商品ID(自增ID SEQ_GOODS)",
  28525. "type": "integer"
  28526. },
  28527. "goodsname": {
  28528. "description": "商品名称",
  28529. "type": "string"
  28530. },
  28531. "goodsquotetype": {
  28532. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28533. "type": "integer"
  28534. },
  28535. "goodsstatus": {
  28536. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28537. "type": "integer"
  28538. },
  28539. "goodstradetype": {
  28540. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28541. "type": "integer"
  28542. },
  28543. "goodunitid": {
  28544. "description": "报价单位ID",
  28545. "type": "integer"
  28546. },
  28547. "hasquoter": {
  28548. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28549. "type": "integer"
  28550. },
  28551. "hqprotecttime": {
  28552. "description": "行情保护时间(秒)",
  28553. "type": "integer"
  28554. },
  28555. "innerdealmode": {
  28556. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28557. "type": "integer"
  28558. },
  28559. "isbuylimited": {
  28560. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28561. "type": "integer"
  28562. },
  28563. "isvisible": {
  28564. "description": "游客是否可见 - 0:不可见 1:可见",
  28565. "type": "integer"
  28566. },
  28567. "lasttradedate": {
  28568. "description": "最后交易日期(状态:待退市)",
  28569. "type": "string"
  28570. },
  28571. "listingdate": {
  28572. "description": "交易开始日期",
  28573. "type": "string"
  28574. },
  28575. "marketid": {
  28576. "description": "所属市场ID",
  28577. "type": "integer"
  28578. },
  28579. "modifierid": {
  28580. "description": "修改人",
  28581. "type": "integer"
  28582. },
  28583. "modifystatus": {
  28584. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28585. "type": "integer"
  28586. },
  28587. "modifytime": {
  28588. "description": "修改时间",
  28589. "type": "string"
  28590. },
  28591. "outerdealmode": {
  28592. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28593. "type": "integer"
  28594. },
  28595. "outgoodscode": {
  28596. "description": "商品代码(外部)",
  28597. "type": "string"
  28598. },
  28599. "pictureurl": {
  28600. "description": "商品图片",
  28601. "type": "string"
  28602. },
  28603. "qtydecimalplace": {
  28604. "description": "成交量小数位",
  28605. "type": "integer"
  28606. },
  28607. "quotegear": {
  28608. "description": "行情档位(1-10)",
  28609. "type": "integer"
  28610. },
  28611. "quoteminunit": {
  28612. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28613. "type": "integer"
  28614. },
  28615. "quoteshowtype": {
  28616. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28617. "type": "integer"
  28618. },
  28619. "quoteshowtypeinterval": {
  28620. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28621. "type": "integer"
  28622. },
  28623. "remark": {
  28624. "description": "备注",
  28625. "type": "string"
  28626. }
  28627. }
  28628. },
  28629. "models.GoodsIDAndName": {
  28630. "type": "object",
  28631. "required": [
  28632. "goodscode",
  28633. "goodsid",
  28634. "goodsname",
  28635. "marketid"
  28636. ],
  28637. "properties": {
  28638. "goodscode": {
  28639. "description": "商品代码(内部)",
  28640. "type": "string"
  28641. },
  28642. "goodsid": {
  28643. "description": "商品ID(自增ID SEQ_GOODS)",
  28644. "type": "integer"
  28645. },
  28646. "goodsname": {
  28647. "description": "商品名称",
  28648. "type": "string"
  28649. },
  28650. "marketid": {
  28651. "description": "所属市场ID",
  28652. "type": "integer"
  28653. }
  28654. }
  28655. },
  28656. "models.Goodsgroup": {
  28657. "type": "object",
  28658. "required": [
  28659. "goodsgroupid",
  28660. "goodsgroupname",
  28661. "goodsgroupstatus",
  28662. "marketid"
  28663. ],
  28664. "properties": {
  28665. "agreeunit": {
  28666. "description": "合约单位",
  28667. "type": "number"
  28668. },
  28669. "canshort": {
  28670. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  28671. "type": "integer"
  28672. },
  28673. "closepricemode": {
  28674. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28675. "type": "integer"
  28676. },
  28677. "closepriceparam": {
  28678. "description": "强平最新价浮动比例 - 方式为2时使用",
  28679. "type": "number"
  28680. },
  28681. "createtime": {
  28682. "description": "创建时间",
  28683. "type": "string"
  28684. },
  28685. "creatorid": {
  28686. "description": "创建人",
  28687. "type": "integer"
  28688. },
  28689. "currencyid": {
  28690. "description": "报价货币ID",
  28691. "type": "integer"
  28692. },
  28693. "decimalplace": {
  28694. "description": "报价小数位",
  28695. "type": "integer"
  28696. },
  28697. "exercisetype": {
  28698. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  28699. "type": "integer"
  28700. },
  28701. "exexchangeid": {
  28702. "description": "外部交易所ID[通道交易]",
  28703. "type": "integer"
  28704. },
  28705. "goodsgroupid": {
  28706. "description": "商品组ID(自增ID)",
  28707. "type": "integer"
  28708. },
  28709. "goodsgroupname": {
  28710. "description": "商品组名称",
  28711. "type": "string"
  28712. },
  28713. "goodsgroupstatus": {
  28714. "description": "商品组状态 - 1:正常 2:注销",
  28715. "type": "integer"
  28716. },
  28717. "goodunitid": {
  28718. "description": "报价单位ID",
  28719. "type": "integer"
  28720. },
  28721. "innerdealmode": {
  28722. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28723. "type": "integer"
  28724. },
  28725. "isbuylimited": {
  28726. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28727. "type": "integer"
  28728. },
  28729. "marketid": {
  28730. "description": "所属市场ID",
  28731. "type": "integer"
  28732. },
  28733. "modifierid": {
  28734. "description": "修改人",
  28735. "type": "integer"
  28736. },
  28737. "modifytime": {
  28738. "description": "修改时间",
  28739. "type": "string"
  28740. },
  28741. "outerdealmode": {
  28742. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28743. "type": "integer"
  28744. },
  28745. "outergroupcode": {
  28746. "description": "外部商品组代码[通道交易]",
  28747. "type": "string"
  28748. },
  28749. "premiumdecimalplace": {
  28750. "description": "权利金小数位[场外期权]",
  28751. "type": "integer"
  28752. },
  28753. "premiumspreadalgorithm": {
  28754. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  28755. "type": "integer"
  28756. },
  28757. "premiumspreadvalue": {
  28758. "description": "权利金点差值[场外期权]",
  28759. "type": "number"
  28760. },
  28761. "qtydecimalplace": {
  28762. "description": "成交量小数位",
  28763. "type": "integer"
  28764. },
  28765. "quotegear": {
  28766. "description": "行情档位(1-10)",
  28767. "type": "integer"
  28768. },
  28769. "quoteminunit": {
  28770. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28771. "type": "integer"
  28772. },
  28773. "quoterid": {
  28774. "description": "报价商ID[场外期权]",
  28775. "type": "integer"
  28776. },
  28777. "quotesourcegroupid": {
  28778. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  28779. "type": "integer"
  28780. },
  28781. "syncgoodsqty": {
  28782. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  28783. "type": "integer"
  28784. }
  28785. }
  28786. },
  28787. "models.Goodssortbypreposition": {
  28788. "type": "object",
  28789. "required": [
  28790. "goodscode",
  28791. "tradedate"
  28792. ],
  28793. "properties": {
  28794. "goodscode": {
  28795. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  28796. "type": "string"
  28797. },
  28798. "goodsgroupcode": {
  28799. "description": "品种代码",
  28800. "type": "string"
  28801. },
  28802. "prepositionqty": {
  28803. "description": "昨持仓量",
  28804. "type": "integer"
  28805. },
  28806. "sortindex": {
  28807. "description": "排序",
  28808. "type": "integer"
  28809. },
  28810. "tradedate": {
  28811. "description": "交易日",
  28812. "type": "string"
  28813. },
  28814. "updatetime": {
  28815. "description": "更新时间",
  28816. "type": "string"
  28817. }
  28818. }
  28819. },
  28820. "models.Hedgeinnerholderdetail": {
  28821. "type": "object",
  28822. "required": [
  28823. "buyorsell",
  28824. "tradeid"
  28825. ],
  28826. "properties": {
  28827. "accountid": {
  28828. "description": "账号ID",
  28829. "type": "integer"
  28830. },
  28831. "buyorsell": {
  28832. "description": "方向 - 0:买 1:卖",
  28833. "type": "integer"
  28834. },
  28835. "freezeqty": {
  28836. "description": "冻结数量 - 按单平使用",
  28837. "type": "integer"
  28838. },
  28839. "goodsid": {
  28840. "description": "商品ID",
  28841. "type": "integer"
  28842. },
  28843. "holderamount": {
  28844. "description": "持仓金额 [商品币种]",
  28845. "type": "number"
  28846. },
  28847. "holderdays": {
  28848. "description": "剩余冻结天数",
  28849. "type": "integer"
  28850. },
  28851. "holderprice": {
  28852. "description": "持仓价格",
  28853. "type": "number"
  28854. },
  28855. "holderqty": {
  28856. "description": "持仓数量",
  28857. "type": "integer"
  28858. },
  28859. "marketid": {
  28860. "description": "市场ID",
  28861. "type": "integer"
  28862. },
  28863. "openprice": {
  28864. "description": "建仓价格",
  28865. "type": "number"
  28866. },
  28867. "openqty": {
  28868. "description": "建仓数量",
  28869. "type": "integer"
  28870. },
  28871. "parentaccountid": {
  28872. "description": "所属母账户",
  28873. "type": "integer"
  28874. },
  28875. "releaseamount": {
  28876. "description": "释放持仓金额[商品币种]",
  28877. "type": "number"
  28878. },
  28879. "tradeamount": {
  28880. "description": "成交金额[账户]",
  28881. "type": "number"
  28882. },
  28883. "tradedate": {
  28884. "description": "交易日(yyyyMMdd)",
  28885. "type": "string"
  28886. },
  28887. "tradeid": {
  28888. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28889. "type": "string"
  28890. },
  28891. "tradetime": {
  28892. "description": "交易时间",
  28893. "type": "string"
  28894. }
  28895. }
  28896. },
  28897. "models.Hedgemarketopenlog": {
  28898. "type": "object",
  28899. "required": [
  28900. "accountid"
  28901. ],
  28902. "properties": {
  28903. "accountid": {
  28904. "description": "资金账号[外部母账户]",
  28905. "type": "integer"
  28906. },
  28907. "fcname": {
  28908. "description": "期货公司名称",
  28909. "type": "string"
  28910. },
  28911. "handlestatus": {
  28912. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  28913. "type": "integer"
  28914. },
  28915. "marketid": {
  28916. "description": "市场ID",
  28917. "type": "integer"
  28918. },
  28919. "status": {
  28920. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  28921. "type": "integer"
  28922. },
  28923. "tradedate": {
  28924. "description": "交易日(yyyyMMdd)",
  28925. "type": "string"
  28926. },
  28927. "updatetime": {
  28928. "description": "更新时间",
  28929. "type": "string"
  28930. }
  28931. }
  28932. },
  28933. "models.HsbyBuyMyPayOrder": {
  28934. "type": "object",
  28935. "required": [
  28936. "goodscode",
  28937. "goodsname",
  28938. "tradeid",
  28939. "trademode"
  28940. ],
  28941. "properties": {
  28942. "agreeunit": {
  28943. "description": "合约单位",
  28944. "type": "number"
  28945. },
  28946. "buyaccountid": {
  28947. "description": "买方账号ID[报价币种]",
  28948. "type": "integer"
  28949. },
  28950. "buyorderid": {
  28951. "description": "买方委托单号",
  28952. "type": "string"
  28953. },
  28954. "createtime": {
  28955. "description": "创建时间",
  28956. "type": "string"
  28957. },
  28958. "currencysign": {
  28959. "description": "货币符号",
  28960. "type": "string"
  28961. },
  28962. "decimalplace": {
  28963. "description": "报价小数位",
  28964. "type": "integer"
  28965. },
  28966. "goodscode": {
  28967. "description": "商品代码(内部)",
  28968. "type": "string"
  28969. },
  28970. "goodsid": {
  28971. "description": "商品ID",
  28972. "type": "integer"
  28973. },
  28974. "goodsname": {
  28975. "description": "商品名称",
  28976. "type": "string"
  28977. },
  28978. "marketid": {
  28979. "description": "市场ID",
  28980. "type": "integer"
  28981. },
  28982. "offamount": {
  28983. "description": "优惠金额",
  28984. "type": "number"
  28985. },
  28986. "originalamount": {
  28987. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  28988. "type": "number"
  28989. },
  28990. "payamount": {
  28991. "description": "支付金额 = TradeAmount + TradeCharge",
  28992. "type": "number"
  28993. },
  28994. "payflag": {
  28995. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28996. "type": "integer"
  28997. },
  28998. "paylimitedtime": {
  28999. "description": "支付期限",
  29000. "type": "string"
  29001. },
  29002. "paytime": {
  29003. "description": "付款时间",
  29004. "type": "string"
  29005. },
  29006. "picurls1": {
  29007. "description": "预售商品介绍图片[多张用逗号分隔]",
  29008. "type": "string"
  29009. },
  29010. "picurls2": {
  29011. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29012. "type": "string"
  29013. },
  29014. "sellaccountid": {
  29015. "description": "卖方账号ID[报价币种]",
  29016. "type": "integer"
  29017. },
  29018. "sellorderid": {
  29019. "description": "卖方委托单号",
  29020. "type": "string"
  29021. },
  29022. "tradeamount": {
  29023. "description": "成交金额",
  29024. "type": "number"
  29025. },
  29026. "tradecharge": {
  29027. "description": "成交手续费(买方)",
  29028. "type": "number"
  29029. },
  29030. "tradedate": {
  29031. "description": "交易日(yyyyMMdd)",
  29032. "type": "string"
  29033. },
  29034. "tradeid": {
  29035. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29036. "type": "string"
  29037. },
  29038. "trademode": {
  29039. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29040. "type": "integer"
  29041. },
  29042. "tradeprice": {
  29043. "description": "成交价格",
  29044. "type": "number"
  29045. },
  29046. "tradeqty": {
  29047. "description": "成交数量",
  29048. "type": "integer"
  29049. },
  29050. "vendorname1": {
  29051. "description": "预售商品供应商名称",
  29052. "type": "string"
  29053. },
  29054. "vendorname2": {
  29055. "description": "挂牌商品供应商名称",
  29056. "type": "string"
  29057. }
  29058. }
  29059. },
  29060. "models.HsbyBuyMyTradeDetail": {
  29061. "type": "object",
  29062. "required": [
  29063. "accountid",
  29064. "buyorsell",
  29065. "goodscode",
  29066. "goodsid",
  29067. "goodsname",
  29068. "marketid",
  29069. "orderid",
  29070. "qty",
  29071. "time",
  29072. "trademode"
  29073. ],
  29074. "properties": {
  29075. "accountid": {
  29076. "description": "账户ID[报价币种]",
  29077. "type": "integer"
  29078. },
  29079. "agreeunit": {
  29080. "description": "合约单位",
  29081. "type": "number"
  29082. },
  29083. "amount": {
  29084. "description": "金额 = 价格 * 数量 * 合约单位",
  29085. "type": "number"
  29086. },
  29087. "buyorsell": {
  29088. "description": "买卖 - 0:买 1:卖",
  29089. "type": "integer"
  29090. },
  29091. "currencysign": {
  29092. "description": "货币符号",
  29093. "type": "string"
  29094. },
  29095. "decimalplace": {
  29096. "description": "报价小数位",
  29097. "type": "integer"
  29098. },
  29099. "goodscode": {
  29100. "description": "商品代码(内部)",
  29101. "type": "string"
  29102. },
  29103. "goodsid": {
  29104. "description": "商品ID",
  29105. "type": "integer"
  29106. },
  29107. "goodsname": {
  29108. "description": "商品名称",
  29109. "type": "string"
  29110. },
  29111. "marketid": {
  29112. "description": "市场ID",
  29113. "type": "integer"
  29114. },
  29115. "orderamount": {
  29116. "description": "委托金额",
  29117. "type": "number"
  29118. },
  29119. "orderid": {
  29120. "description": "单号(成交单号)",
  29121. "type": "string"
  29122. },
  29123. "picurls1": {
  29124. "description": "预售商品介绍图片[多张用逗号分隔]",
  29125. "type": "string"
  29126. },
  29127. "picurls2": {
  29128. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29129. "type": "string"
  29130. },
  29131. "price": {
  29132. "description": "价格",
  29133. "type": "number"
  29134. },
  29135. "qty": {
  29136. "description": "数量",
  29137. "type": "integer"
  29138. },
  29139. "time": {
  29140. "description": "时间",
  29141. "type": "string"
  29142. },
  29143. "trademode": {
  29144. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29145. "type": "integer"
  29146. },
  29147. "vendorname1": {
  29148. "description": "预售商品供应商名称",
  29149. "type": "string"
  29150. },
  29151. "vendorname2": {
  29152. "description": "挂牌商品供应商名称",
  29153. "type": "string"
  29154. }
  29155. }
  29156. },
  29157. "models.HsbyGoodsOrderDetail": {
  29158. "type": "object",
  29159. "required": [
  29160. "buyorsell",
  29161. "orderid",
  29162. "ordertime"
  29163. ],
  29164. "properties": {
  29165. "buyorsell": {
  29166. "description": "买卖 - 0:买 1:卖",
  29167. "type": "integer"
  29168. },
  29169. "currencysign": {
  29170. "description": "货币符号",
  29171. "type": "string"
  29172. },
  29173. "customername": {
  29174. "description": "客户名称(企业名称),已脱敏",
  29175. "type": "string"
  29176. },
  29177. "enableqty": {
  29178. "description": "可用数量",
  29179. "type": "integer"
  29180. },
  29181. "goodunit": {
  29182. "description": "报价单位",
  29183. "type": "string"
  29184. },
  29185. "orderid": {
  29186. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29187. "type": "string"
  29188. },
  29189. "orderprice": {
  29190. "description": "委托价格",
  29191. "type": "number"
  29192. },
  29193. "ordertime": {
  29194. "description": "委托时间",
  29195. "type": "string"
  29196. }
  29197. }
  29198. },
  29199. "models.HsbyListingGoodsDetail": {
  29200. "type": "object",
  29201. "required": [
  29202. "goodscode",
  29203. "goodsid",
  29204. "goodsname",
  29205. "marketid",
  29206. "trademode"
  29207. ],
  29208. "properties": {
  29209. "agreeunit": {
  29210. "description": "合约单位",
  29211. "type": "number"
  29212. },
  29213. "buymaxqty": {
  29214. "description": "购买上限 [71] - 0为不限",
  29215. "type": "integer"
  29216. },
  29217. "currency": {
  29218. "description": "货币",
  29219. "type": "string"
  29220. },
  29221. "currencysign": {
  29222. "description": "货币符号",
  29223. "type": "string"
  29224. },
  29225. "decimalplace": {
  29226. "description": "报价小数位",
  29227. "type": "integer"
  29228. },
  29229. "desccityid": {
  29230. "description": "目的地(市)ID",
  29231. "type": "integer"
  29232. },
  29233. "descprovinceid": {
  29234. "description": "目的地(省)ID",
  29235. "type": "integer"
  29236. },
  29237. "goodscode": {
  29238. "description": "商品代码(内部)",
  29239. "type": "string"
  29240. },
  29241. "goodsdesc": {
  29242. "description": "商品详情",
  29243. "type": "string"
  29244. },
  29245. "goodsid": {
  29246. "description": "商品ID(自增ID SEQ_GOODS)",
  29247. "type": "integer"
  29248. },
  29249. "goodsname": {
  29250. "description": "商品名称",
  29251. "type": "string"
  29252. },
  29253. "goodsprice": {
  29254. "description": "商品价格",
  29255. "type": "number"
  29256. },
  29257. "hotindex": {
  29258. "description": "景点热度",
  29259. "type": "integer"
  29260. },
  29261. "last": {
  29262. "description": "现价",
  29263. "type": "number"
  29264. },
  29265. "limitdown": {
  29266. "description": "跌停价",
  29267. "type": "number"
  29268. },
  29269. "limitup": {
  29270. "description": "涨停价",
  29271. "type": "number"
  29272. },
  29273. "lotsize": {
  29274. "description": "手数最小变动单位",
  29275. "type": "integer"
  29276. },
  29277. "marketid": {
  29278. "description": "所属市场ID",
  29279. "type": "integer"
  29280. },
  29281. "picurls": {
  29282. "description": "介绍图片[多张用逗号分隔]",
  29283. "type": "string"
  29284. },
  29285. "quoteminunit": {
  29286. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29287. "type": "integer"
  29288. },
  29289. "stepvalue": {
  29290. "description": "价格最小变动单位",
  29291. "type": "number"
  29292. },
  29293. "trademode": {
  29294. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29295. "type": "integer"
  29296. },
  29297. "vendorattr": {
  29298. "description": "供应商附件(多张,逗号分隔)",
  29299. "type": "string"
  29300. },
  29301. "vendorname": {
  29302. "description": "供应商名称",
  29303. "type": "string"
  29304. },
  29305. "vendorphone": {
  29306. "description": "供应商客服电话",
  29307. "type": "string"
  29308. },
  29309. "videourls": {
  29310. "description": "介绍视频[多张用逗号分隔]",
  29311. "type": "string"
  29312. }
  29313. }
  29314. },
  29315. "models.HsbyMarketGoods": {
  29316. "type": "object",
  29317. "required": [
  29318. "accountid",
  29319. "buyorsell",
  29320. "goodscode",
  29321. "goodsid",
  29322. "goodsname",
  29323. "marketid",
  29324. "orderid",
  29325. "trademode"
  29326. ],
  29327. "properties": {
  29328. "accountid": {
  29329. "description": "账户ID[报价币种]",
  29330. "type": "integer"
  29331. },
  29332. "agreeunit": {
  29333. "description": "合约单位",
  29334. "type": "number"
  29335. },
  29336. "buyorsell": {
  29337. "description": "买卖 - 0:买 1:卖",
  29338. "type": "integer"
  29339. },
  29340. "categoryid": {
  29341. "description": "类别ID(WRCATEGORY)",
  29342. "type": "integer"
  29343. },
  29344. "currency": {
  29345. "description": "货币",
  29346. "type": "string"
  29347. },
  29348. "currencysign": {
  29349. "description": "货币符号",
  29350. "type": "string"
  29351. },
  29352. "customername": {
  29353. "description": "卖家名称",
  29354. "type": "string"
  29355. },
  29356. "decimalplace": {
  29357. "description": "报价小数位",
  29358. "type": "integer"
  29359. },
  29360. "goodscode": {
  29361. "description": "商品代码(内部)",
  29362. "type": "string"
  29363. },
  29364. "goodsid": {
  29365. "description": "商品ID",
  29366. "type": "integer"
  29367. },
  29368. "goodsname": {
  29369. "description": "商品名称",
  29370. "type": "string"
  29371. },
  29372. "goodsprice": {
  29373. "description": "商品价格",
  29374. "type": "number"
  29375. },
  29376. "hascoupon": {
  29377. "description": "是否可用优惠卷",
  29378. "type": "boolean"
  29379. },
  29380. "hotindex": {
  29381. "description": "景点热度",
  29382. "type": "integer"
  29383. },
  29384. "marketid": {
  29385. "description": "市场ID",
  29386. "type": "integer"
  29387. },
  29388. "orderid": {
  29389. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29390. "type": "string"
  29391. },
  29392. "orderprice": {
  29393. "description": "委托价格",
  29394. "type": "number"
  29395. },
  29396. "orderstatus": {
  29397. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29398. "type": "integer"
  29399. },
  29400. "picurls": {
  29401. "description": "介绍图片[多张用逗号分隔]",
  29402. "type": "string"
  29403. },
  29404. "quoteminunit": {
  29405. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29406. "type": "integer"
  29407. },
  29408. "sellUserID": {
  29409. "description": "卖方UserID",
  29410. "type": "integer"
  29411. },
  29412. "trademode": {
  29413. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29414. "type": "integer"
  29415. },
  29416. "videourls": {
  29417. "description": "介绍视频[多张用逗号分隔]",
  29418. "type": "string"
  29419. }
  29420. }
  29421. },
  29422. "models.HsbyMarketGoodsDetail": {
  29423. "type": "object",
  29424. "required": [
  29425. "accountid",
  29426. "buyorsell",
  29427. "goodscode",
  29428. "goodsid",
  29429. "goodsname",
  29430. "marketid",
  29431. "orderid",
  29432. "orderqty",
  29433. "trademode"
  29434. ],
  29435. "properties": {
  29436. "accountid": {
  29437. "description": "账户ID[报价币种]",
  29438. "type": "integer"
  29439. },
  29440. "agreeunit": {
  29441. "description": "合约单位",
  29442. "type": "number"
  29443. },
  29444. "buymaxqty": {
  29445. "description": "购买上限 [71] - 0为不限",
  29446. "type": "integer"
  29447. },
  29448. "buyorsell": {
  29449. "description": "买卖 - 0:买 1:卖",
  29450. "type": "integer"
  29451. },
  29452. "cancelqty": {
  29453. "description": "撤单数量",
  29454. "type": "integer"
  29455. },
  29456. "categoryid": {
  29457. "description": "类别ID(WRCATEGORY)",
  29458. "type": "integer"
  29459. },
  29460. "currency": {
  29461. "description": "货币",
  29462. "type": "string"
  29463. },
  29464. "currencysign": {
  29465. "description": "货币符号",
  29466. "type": "string"
  29467. },
  29468. "customername": {
  29469. "description": "卖家名称",
  29470. "type": "string"
  29471. },
  29472. "decimalplace": {
  29473. "description": "报价小数位",
  29474. "type": "integer"
  29475. },
  29476. "goodscode": {
  29477. "description": "商品代码(内部)",
  29478. "type": "string"
  29479. },
  29480. "goodsdesc": {
  29481. "description": "商品详情",
  29482. "type": "string"
  29483. },
  29484. "goodsid": {
  29485. "description": "商品ID",
  29486. "type": "integer"
  29487. },
  29488. "goodsname": {
  29489. "description": "商品名称",
  29490. "type": "string"
  29491. },
  29492. "goodsprice": {
  29493. "description": "商品价格",
  29494. "type": "number"
  29495. },
  29496. "hotindex": {
  29497. "description": "景点热度",
  29498. "type": "integer"
  29499. },
  29500. "lotsize": {
  29501. "description": "手数最小变动单位",
  29502. "type": "integer"
  29503. },
  29504. "marketid": {
  29505. "description": "市场ID",
  29506. "type": "integer"
  29507. },
  29508. "orderid": {
  29509. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29510. "type": "string"
  29511. },
  29512. "orderprice": {
  29513. "description": "委托价格",
  29514. "type": "number"
  29515. },
  29516. "orderqty": {
  29517. "description": "委托数量",
  29518. "type": "integer"
  29519. },
  29520. "orderstatus": {
  29521. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29522. "type": "integer"
  29523. },
  29524. "picurls": {
  29525. "description": "介绍图片[多张用逗号分隔]",
  29526. "type": "string"
  29527. },
  29528. "quoteminunit": {
  29529. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29530. "type": "integer"
  29531. },
  29532. "sellUserID": {
  29533. "description": "卖方UserID",
  29534. "type": "integer"
  29535. },
  29536. "trademode": {
  29537. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29538. "type": "integer"
  29539. },
  29540. "tradeqty": {
  29541. "description": "成交数量",
  29542. "type": "integer"
  29543. },
  29544. "vendorattr": {
  29545. "description": "供应商附件(多张,逗号分隔)",
  29546. "type": "string"
  29547. },
  29548. "vendorname": {
  29549. "description": "供应商名称",
  29550. "type": "string"
  29551. },
  29552. "vendorphone": {
  29553. "description": "供应商客服电话",
  29554. "type": "string"
  29555. },
  29556. "videourls": {
  29557. "description": "介绍视频[多张用逗号分隔]",
  29558. "type": "string"
  29559. }
  29560. }
  29561. },
  29562. "models.HsbyMarketInfo": {
  29563. "type": "object",
  29564. "required": [
  29565. "marketid",
  29566. "marketstatus",
  29567. "trademode"
  29568. ],
  29569. "properties": {
  29570. "marketid": {
  29571. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29572. "type": "integer"
  29573. },
  29574. "marketname": {
  29575. "description": "市场名称",
  29576. "type": "string"
  29577. },
  29578. "marketstatus": {
  29579. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29580. "type": "integer"
  29581. },
  29582. "trademode": {
  29583. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29584. "type": "integer"
  29585. }
  29586. }
  29587. },
  29588. "models.HsbyMyGoods": {
  29589. "type": "object",
  29590. "required": [
  29591. "accountid",
  29592. "goodscode",
  29593. "goodsid",
  29594. "goodsname",
  29595. "marketid",
  29596. "trademode"
  29597. ],
  29598. "properties": {
  29599. "accountid": {
  29600. "description": "账号Id",
  29601. "type": "integer"
  29602. },
  29603. "agreeunit": {
  29604. "description": "合约单位",
  29605. "type": "number"
  29606. },
  29607. "buyaverageprice": {
  29608. "description": "持仓均价",
  29609. "type": "number"
  29610. },
  29611. "buycurholderamount": {
  29612. "description": "买当前持仓总金额[商品币种]",
  29613. "type": "number"
  29614. },
  29615. "buycurpositionqty": {
  29616. "description": "买当前持仓总数量",
  29617. "type": "integer"
  29618. },
  29619. "buymaxqty": {
  29620. "description": "购买上限 [71] - 0为不限",
  29621. "type": "integer"
  29622. },
  29623. "currencysign": {
  29624. "description": "货币符号",
  29625. "type": "string"
  29626. },
  29627. "decimalplace": {
  29628. "description": "报价小数位",
  29629. "type": "integer"
  29630. },
  29631. "enableqty": {
  29632. "description": "可用数量",
  29633. "type": "integer"
  29634. },
  29635. "goodscode": {
  29636. "description": "商品代码(内部)",
  29637. "type": "string"
  29638. },
  29639. "goodsid": {
  29640. "description": "商品Id",
  29641. "type": "integer"
  29642. },
  29643. "goodsname": {
  29644. "description": "商品名称",
  29645. "type": "string"
  29646. },
  29647. "goodsprice": {
  29648. "description": "商品价格",
  29649. "type": "number"
  29650. },
  29651. "goodsstatus": {
  29652. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29653. "type": "integer"
  29654. },
  29655. "last": {
  29656. "description": "现价(仅使用于挂牌点选)",
  29657. "type": "number"
  29658. },
  29659. "limitdown": {
  29660. "description": "跌停价(仅使用于挂牌点选)",
  29661. "type": "number"
  29662. },
  29663. "limitup": {
  29664. "description": "涨停价(仅使用于挂牌点选)",
  29665. "type": "number"
  29666. },
  29667. "lotsize": {
  29668. "description": "手数最小变动单位",
  29669. "type": "integer"
  29670. },
  29671. "marketid": {
  29672. "description": "所属市场ID",
  29673. "type": "integer"
  29674. },
  29675. "picurls": {
  29676. "description": "介绍图片[多张用逗号分隔]",
  29677. "type": "string"
  29678. },
  29679. "quoteminunit": {
  29680. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29681. "type": "integer"
  29682. },
  29683. "stepvalue": {
  29684. "description": "价格最小变动单位",
  29685. "type": "number"
  29686. },
  29687. "trademode": {
  29688. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29689. "type": "integer"
  29690. }
  29691. }
  29692. },
  29693. "models.HsbyMyPackage": {
  29694. "type": "object",
  29695. "required": [
  29696. "goodscode",
  29697. "goodsname",
  29698. "takeorderid",
  29699. "trademode"
  29700. ],
  29701. "properties": {
  29702. "accountid": {
  29703. "description": "账户ID",
  29704. "type": "integer"
  29705. },
  29706. "address": {
  29707. "description": "提货人详细地址",
  29708. "type": "string"
  29709. },
  29710. "agreeunit": {
  29711. "description": "合约单位",
  29712. "type": "number"
  29713. },
  29714. "amount": {
  29715. "description": "提货金额",
  29716. "type": "number"
  29717. },
  29718. "auditer": {
  29719. "description": "审核人",
  29720. "type": "integer"
  29721. },
  29722. "audittime": {
  29723. "description": "审核时间",
  29724. "type": "string"
  29725. },
  29726. "averageprice": {
  29727. "description": "均价",
  29728. "type": "number"
  29729. },
  29730. "cardnum": {
  29731. "description": "提货人证件号码",
  29732. "type": "string"
  29733. },
  29734. "cardtypeid": {
  29735. "description": "提货人证件类型",
  29736. "type": "integer"
  29737. },
  29738. "checkremark": {
  29739. "description": "审核备注",
  29740. "type": "string"
  29741. },
  29742. "currencysign": {
  29743. "description": "货币符号",
  29744. "type": "string"
  29745. },
  29746. "decimalplace": {
  29747. "description": "报价小数位",
  29748. "type": "integer"
  29749. },
  29750. "goodscode": {
  29751. "description": "商品代码(内部)",
  29752. "type": "string"
  29753. },
  29754. "goodsid": {
  29755. "description": "商品ID",
  29756. "type": "integer"
  29757. },
  29758. "goodsname": {
  29759. "description": "商品名称",
  29760. "type": "string"
  29761. },
  29762. "handlestatus": {
  29763. "description": "处理状态",
  29764. "type": "integer"
  29765. },
  29766. "marketid": {
  29767. "description": "市场ID",
  29768. "type": "integer"
  29769. },
  29770. "phonenum": {
  29771. "description": "提货人联系方式",
  29772. "type": "string"
  29773. },
  29774. "picurls": {
  29775. "description": "介绍图片[多张用逗号分隔]",
  29776. "type": "string"
  29777. },
  29778. "qty": {
  29779. "description": "提货数量",
  29780. "type": "number"
  29781. },
  29782. "recivername": {
  29783. "description": "提货人姓名",
  29784. "type": "string"
  29785. },
  29786. "reqtime": {
  29787. "description": "更新时间",
  29788. "type": "string"
  29789. },
  29790. "takemode": {
  29791. "description": "提货方式 - 2:自提 3:配送",
  29792. "type": "integer"
  29793. },
  29794. "takeorderid": {
  29795. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29796. "type": "string"
  29797. },
  29798. "takeorderstatus": {
  29799. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29800. "type": "integer"
  29801. },
  29802. "takeremark": {
  29803. "description": "提货备注",
  29804. "type": "string"
  29805. },
  29806. "tradedate": {
  29807. "description": "交易日(yyyyMMdd)",
  29808. "type": "string"
  29809. },
  29810. "trademode": {
  29811. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29812. "type": "integer"
  29813. },
  29814. "userid": {
  29815. "description": "用户ID",
  29816. "type": "integer"
  29817. },
  29818. "vendorname": {
  29819. "description": "供应商名称",
  29820. "type": "string"
  29821. }
  29822. }
  29823. },
  29824. "models.HsbyPreGoods": {
  29825. "type": "object",
  29826. "required": [
  29827. "goodscode",
  29828. "goodsid",
  29829. "goodsname",
  29830. "marketid",
  29831. "trademode"
  29832. ],
  29833. "properties": {
  29834. "agreeunit": {
  29835. "description": "合约单位",
  29836. "type": "number"
  29837. },
  29838. "currency": {
  29839. "description": "货币",
  29840. "type": "string"
  29841. },
  29842. "currencysign": {
  29843. "description": "货币符号",
  29844. "type": "string"
  29845. },
  29846. "decimalplace": {
  29847. "description": "报价小数位",
  29848. "type": "integer"
  29849. },
  29850. "desccityid": {
  29851. "description": "目的地(市)",
  29852. "type": "integer"
  29853. },
  29854. "descprovinceid": {
  29855. "description": "目的地(省)",
  29856. "type": "integer"
  29857. },
  29858. "enableqty": {
  29859. "description": "剩余数量",
  29860. "type": "integer"
  29861. },
  29862. "goodscode": {
  29863. "description": "商品代码(内部)",
  29864. "type": "string"
  29865. },
  29866. "goodsid": {
  29867. "description": "商品ID(自增ID SEQ_GOODS)",
  29868. "type": "integer"
  29869. },
  29870. "goodsname": {
  29871. "description": "商品名称",
  29872. "type": "string"
  29873. },
  29874. "goodsstatus": {
  29875. "description": "商品状态- 2:未上市 3:上市",
  29876. "type": "integer"
  29877. },
  29878. "lasttradedate": {
  29879. "description": "最后交易日期(状态:待退市)",
  29880. "type": "string"
  29881. },
  29882. "listingdate": {
  29883. "description": "交易开始日期",
  29884. "type": "string"
  29885. },
  29886. "marketid": {
  29887. "description": "所属市场ID",
  29888. "type": "integer"
  29889. },
  29890. "picurls": {
  29891. "description": "介绍图片[多张用逗号分隔]",
  29892. "type": "string"
  29893. },
  29894. "presaledqty": {
  29895. "description": "已预售量(预售结束时更新)",
  29896. "type": "integer"
  29897. },
  29898. "presaleqty": {
  29899. "description": "预售数量",
  29900. "type": "integer"
  29901. },
  29902. "quoteminunit": {
  29903. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29904. "type": "integer"
  29905. },
  29906. "refprice": {
  29907. "description": "参考价格[一口价]",
  29908. "type": "number"
  29909. },
  29910. "relatedgoodsid": {
  29911. "description": "关联交易合约ID",
  29912. "type": "integer"
  29913. },
  29914. "trademode": {
  29915. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29916. "type": "integer"
  29917. },
  29918. "videourls": {
  29919. "description": "介绍视频[多张用逗号分隔]",
  29920. "type": "string"
  29921. }
  29922. }
  29923. },
  29924. "models.HsbyPreGoodsDetail": {
  29925. "type": "object",
  29926. "required": [
  29927. "goodscode",
  29928. "goodsid",
  29929. "goodsname",
  29930. "marketid",
  29931. "trademode"
  29932. ],
  29933. "properties": {
  29934. "agreeunit": {
  29935. "description": "合约单位",
  29936. "type": "number"
  29937. },
  29938. "buymaxqty": {
  29939. "description": "购买上限 [71] - 0为不限",
  29940. "type": "integer"
  29941. },
  29942. "currency": {
  29943. "description": "货币",
  29944. "type": "string"
  29945. },
  29946. "currencysign": {
  29947. "description": "货币符号",
  29948. "type": "string"
  29949. },
  29950. "customername": {
  29951. "description": "发行单位",
  29952. "type": "string"
  29953. },
  29954. "decimalplace": {
  29955. "description": "报价小数位",
  29956. "type": "integer"
  29957. },
  29958. "desccityid": {
  29959. "description": "目的地(市)ID",
  29960. "type": "integer"
  29961. },
  29962. "descprovinceid": {
  29963. "description": "目的地(省)ID",
  29964. "type": "integer"
  29965. },
  29966. "enableqty": {
  29967. "description": "剩余数量",
  29968. "type": "integer"
  29969. },
  29970. "goodscode": {
  29971. "description": "商品代码(内部)",
  29972. "type": "string"
  29973. },
  29974. "goodsdesc": {
  29975. "description": "商品详情",
  29976. "type": "string"
  29977. },
  29978. "goodsid": {
  29979. "description": "商品ID(自增ID SEQ_GOODS)",
  29980. "type": "integer"
  29981. },
  29982. "goodsname": {
  29983. "description": "商品名称",
  29984. "type": "string"
  29985. },
  29986. "goodsstatus": {
  29987. "description": "商品状态- 2:未上市 3:上市",
  29988. "type": "integer"
  29989. },
  29990. "goodunit": {
  29991. "description": "报价单位",
  29992. "type": "string"
  29993. },
  29994. "lasttradedate": {
  29995. "description": "最后交易日期(状态:待退市)",
  29996. "type": "string"
  29997. },
  29998. "listingdate": {
  29999. "description": "交易开始日期",
  30000. "type": "string"
  30001. },
  30002. "lotsize": {
  30003. "description": "手数最小变动单位",
  30004. "type": "integer"
  30005. },
  30006. "marketid": {
  30007. "description": "所属市场ID",
  30008. "type": "integer"
  30009. },
  30010. "picurls": {
  30011. "description": "介绍图片[多张用逗号分隔]",
  30012. "type": "string"
  30013. },
  30014. "presaledqty": {
  30015. "description": "已预售量(预售结束时更新)",
  30016. "type": "integer"
  30017. },
  30018. "presaleqty": {
  30019. "description": "预售数量",
  30020. "type": "integer"
  30021. },
  30022. "quoteminunit": {
  30023. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30024. "type": "integer"
  30025. },
  30026. "refprice": {
  30027. "description": "参考价格[一口价]",
  30028. "type": "number"
  30029. },
  30030. "relatedgoodsid": {
  30031. "description": "关联交易合约ID",
  30032. "type": "integer"
  30033. },
  30034. "stepvalue": {
  30035. "description": "价格最小变动单位",
  30036. "type": "number"
  30037. },
  30038. "trademode": {
  30039. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30040. "type": "integer"
  30041. },
  30042. "vendorattr": {
  30043. "description": "供应商附件(多张,逗号分隔)",
  30044. "type": "string"
  30045. },
  30046. "vendorname": {
  30047. "description": "供应商名称",
  30048. "type": "string"
  30049. },
  30050. "vendorphone": {
  30051. "description": "供应商客服电话",
  30052. "type": "string"
  30053. },
  30054. "videourls": {
  30055. "description": "介绍视频[多张用逗号分隔]",
  30056. "type": "string"
  30057. }
  30058. }
  30059. },
  30060. "models.HsbySellCollectionOrder": {
  30061. "type": "object",
  30062. "required": [
  30063. "goodscode",
  30064. "goodsname",
  30065. "tradeid",
  30066. "trademode"
  30067. ],
  30068. "properties": {
  30069. "agreeunit": {
  30070. "description": "合约单位",
  30071. "type": "number"
  30072. },
  30073. "buyaccountid": {
  30074. "description": "买方账号ID[报价币种]",
  30075. "type": "integer"
  30076. },
  30077. "buyorderid": {
  30078. "description": "买方委托单号",
  30079. "type": "string"
  30080. },
  30081. "createtime": {
  30082. "description": "创建时间",
  30083. "type": "string"
  30084. },
  30085. "currencysign": {
  30086. "description": "货币符号",
  30087. "type": "string"
  30088. },
  30089. "decimalplace": {
  30090. "description": "报价小数位",
  30091. "type": "integer"
  30092. },
  30093. "goodscode": {
  30094. "description": "商品代码(内部)",
  30095. "type": "string"
  30096. },
  30097. "goodsid": {
  30098. "description": "商品ID",
  30099. "type": "integer"
  30100. },
  30101. "goodsname": {
  30102. "description": "商品名称",
  30103. "type": "string"
  30104. },
  30105. "marketid": {
  30106. "description": "市场ID",
  30107. "type": "integer"
  30108. },
  30109. "offamount": {
  30110. "description": "优惠金额",
  30111. "type": "number"
  30112. },
  30113. "payamount": {
  30114. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  30115. "type": "number"
  30116. },
  30117. "payflag": {
  30118. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30119. "type": "integer"
  30120. },
  30121. "paylimitedtime": {
  30122. "description": "支付期限",
  30123. "type": "string"
  30124. },
  30125. "paytime": {
  30126. "description": "付款时间",
  30127. "type": "string"
  30128. },
  30129. "picurls": {
  30130. "description": "商品介绍图片[多张用逗号分隔]",
  30131. "type": "string"
  30132. },
  30133. "sellaccountid": {
  30134. "description": "卖方账号ID[报价币种]",
  30135. "type": "integer"
  30136. },
  30137. "sellorderid": {
  30138. "description": "卖方委托单号",
  30139. "type": "string"
  30140. },
  30141. "tradeamount": {
  30142. "description": "成交金额",
  30143. "type": "number"
  30144. },
  30145. "tradecharge": {
  30146. "description": "成交手续费(买方)",
  30147. "type": "number"
  30148. },
  30149. "tradedate": {
  30150. "description": "交易日(yyyyMMdd)",
  30151. "type": "string"
  30152. },
  30153. "tradeid": {
  30154. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30155. "type": "string"
  30156. },
  30157. "trademode": {
  30158. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30159. "type": "integer"
  30160. },
  30161. "tradeprice": {
  30162. "description": "成交价格",
  30163. "type": "number"
  30164. },
  30165. "tradeqty": {
  30166. "description": "成交数量",
  30167. "type": "integer"
  30168. }
  30169. }
  30170. },
  30171. "models.HsbySellMyDetail": {
  30172. "type": "object",
  30173. "required": [
  30174. "accountid",
  30175. "buyorsell",
  30176. "goodscode",
  30177. "goodsid",
  30178. "goodsname",
  30179. "marketid",
  30180. "orderid",
  30181. "time",
  30182. "trademode"
  30183. ],
  30184. "properties": {
  30185. "accountid": {
  30186. "description": "账户ID[报价币种]",
  30187. "type": "integer"
  30188. },
  30189. "agreeunit": {
  30190. "description": "合约单位",
  30191. "type": "number"
  30192. },
  30193. "buyorsell": {
  30194. "description": "买卖 - 0:买 1:卖",
  30195. "type": "integer"
  30196. },
  30197. "currencysign": {
  30198. "description": "货币符号",
  30199. "type": "string"
  30200. },
  30201. "decimalplace": {
  30202. "description": "报价小数位",
  30203. "type": "integer"
  30204. },
  30205. "goodscode": {
  30206. "description": "商品代码(内部)",
  30207. "type": "string"
  30208. },
  30209. "goodsid": {
  30210. "description": "商品ID",
  30211. "type": "integer"
  30212. },
  30213. "goodsname": {
  30214. "description": "商品名称",
  30215. "type": "string"
  30216. },
  30217. "marketid": {
  30218. "description": "市场ID",
  30219. "type": "integer"
  30220. },
  30221. "orderid": {
  30222. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  30223. "type": "string"
  30224. },
  30225. "ordertype": {
  30226. "description": "单据类型:0 - 发布中, 1 - 已完成",
  30227. "type": "integer"
  30228. },
  30229. "picurls": {
  30230. "description": "介绍图片[多张用逗号分隔]",
  30231. "type": "string"
  30232. },
  30233. "price": {
  30234. "description": "价格",
  30235. "type": "number"
  30236. },
  30237. "qty": {
  30238. "description": "数量",
  30239. "type": "integer"
  30240. },
  30241. "time": {
  30242. "description": "时间",
  30243. "type": "string"
  30244. },
  30245. "trademode": {
  30246. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30247. "type": "integer"
  30248. },
  30249. "vendorname": {
  30250. "description": "供应商名称",
  30251. "type": "string"
  30252. }
  30253. }
  30254. },
  30255. "models.HsbyTopGoods": {
  30256. "type": "object",
  30257. "required": [
  30258. "goodscode",
  30259. "goodsid",
  30260. "goodsname",
  30261. "marketid",
  30262. "trademode"
  30263. ],
  30264. "properties": {
  30265. "agreeunit": {
  30266. "description": "合约单位",
  30267. "type": "number"
  30268. },
  30269. "currency": {
  30270. "description": "货币",
  30271. "type": "string"
  30272. },
  30273. "currencysign": {
  30274. "description": "货币符号",
  30275. "type": "string"
  30276. },
  30277. "decimalplace": {
  30278. "description": "报价小数位",
  30279. "type": "integer"
  30280. },
  30281. "desccityid": {
  30282. "description": "目的地(市)",
  30283. "type": "integer"
  30284. },
  30285. "descprovinceid": {
  30286. "description": "目的地(省)",
  30287. "type": "integer"
  30288. },
  30289. "goodscode": {
  30290. "description": "商品代码(内部)",
  30291. "type": "string"
  30292. },
  30293. "goodsid": {
  30294. "description": "商品ID(自增ID SEQ_GOODS)",
  30295. "type": "integer"
  30296. },
  30297. "goodsname": {
  30298. "description": "商品名称",
  30299. "type": "string"
  30300. },
  30301. "hotindex": {
  30302. "description": "景点热度",
  30303. "type": "integer"
  30304. },
  30305. "last": {
  30306. "description": "现价",
  30307. "type": "number"
  30308. },
  30309. "marketid": {
  30310. "description": "所属市场ID",
  30311. "type": "integer"
  30312. },
  30313. "picurls": {
  30314. "description": "介绍图片[多张用逗号分隔]",
  30315. "type": "string"
  30316. },
  30317. "quoteminunit": {
  30318. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30319. "type": "integer"
  30320. },
  30321. "trademode": {
  30322. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30323. "type": "integer"
  30324. },
  30325. "videourls": {
  30326. "description": "介绍视频[多张用逗号分隔]",
  30327. "type": "string"
  30328. }
  30329. }
  30330. },
  30331. "models.HybsMyBuyOrderDetail": {
  30332. "type": "object",
  30333. "required": [
  30334. "accountid",
  30335. "buyorsell",
  30336. "goodscode",
  30337. "goodsid",
  30338. "goodsname",
  30339. "marketid",
  30340. "orderid",
  30341. "orderqty",
  30342. "ordertime",
  30343. "trademode"
  30344. ],
  30345. "properties": {
  30346. "accountid": {
  30347. "description": "账户ID[报价币种]",
  30348. "type": "integer"
  30349. },
  30350. "agreeunit": {
  30351. "description": "合约单位",
  30352. "type": "number"
  30353. },
  30354. "buyorsell": {
  30355. "description": "买卖 - 0:买 1:卖",
  30356. "type": "integer"
  30357. },
  30358. "cancelqty": {
  30359. "description": "撤单数量",
  30360. "type": "integer"
  30361. },
  30362. "currencysign": {
  30363. "description": "货币符号",
  30364. "type": "string"
  30365. },
  30366. "decimalplace": {
  30367. "description": "报价小数位",
  30368. "type": "integer"
  30369. },
  30370. "goodscode": {
  30371. "description": "商品代码(内部)",
  30372. "type": "string"
  30373. },
  30374. "goodsid": {
  30375. "description": "商品ID",
  30376. "type": "integer"
  30377. },
  30378. "goodsname": {
  30379. "description": "商品名称",
  30380. "type": "string"
  30381. },
  30382. "listingselecttype": {
  30383. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30384. "type": "integer"
  30385. },
  30386. "marketid": {
  30387. "description": "市场ID",
  30388. "type": "integer"
  30389. },
  30390. "mybuystatus": {
  30391. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  30392. "type": "integer"
  30393. },
  30394. "orderamount": {
  30395. "description": "委托金额",
  30396. "type": "number"
  30397. },
  30398. "orderid": {
  30399. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30400. "type": "string"
  30401. },
  30402. "orderprice": {
  30403. "description": "委托价格",
  30404. "type": "number"
  30405. },
  30406. "orderqty": {
  30407. "description": "委托数量",
  30408. "type": "integer"
  30409. },
  30410. "orderstatus": {
  30411. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30412. "type": "integer"
  30413. },
  30414. "ordertime": {
  30415. "description": "委托时间",
  30416. "type": "string"
  30417. },
  30418. "picurls1": {
  30419. "description": "预售商品介绍图片[多张用逗号分隔]",
  30420. "type": "string"
  30421. },
  30422. "picurls2": {
  30423. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30424. "type": "string"
  30425. },
  30426. "trademode": {
  30427. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30428. "type": "integer"
  30429. },
  30430. "tradeqty": {
  30431. "description": "成交数量",
  30432. "type": "integer"
  30433. },
  30434. "vendorname1": {
  30435. "description": "预售商品供应商名称",
  30436. "type": "string"
  30437. },
  30438. "vendorname2": {
  30439. "description": "挂牌商品供应商名称",
  30440. "type": "string"
  30441. }
  30442. }
  30443. },
  30444. "models.InternalEnableTradeDetail": {
  30445. "type": "object",
  30446. "required": [
  30447. "areauserid",
  30448. "goodsid"
  30449. ],
  30450. "properties": {
  30451. "agreeunit": {
  30452. "description": "合约乘数",
  30453. "type": "number"
  30454. },
  30455. "areauserid": {
  30456. "description": "企业ID",
  30457. "type": "integer"
  30458. },
  30459. "convertratio": {
  30460. "description": "品种系数",
  30461. "type": "number"
  30462. },
  30463. "deliverygoodscode": {
  30464. "description": "现货品种代码",
  30465. "type": "string"
  30466. },
  30467. "deliverygoodsid": {
  30468. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30469. "type": "integer"
  30470. },
  30471. "deliverygoodsname": {
  30472. "description": "现货品种名称",
  30473. "type": "string"
  30474. },
  30475. "futurehedgeqty": {
  30476. "description": "[已关联数量]期货持仓套期量",
  30477. "type": "number"
  30478. },
  30479. "goodsid": {
  30480. "description": "期货合约ID",
  30481. "type": "integer"
  30482. },
  30483. "hedgeditemid": {
  30484. "description": "被套期项目ID",
  30485. "type": "string"
  30486. },
  30487. "hedgeditemnum": {
  30488. "description": "项目编号",
  30489. "type": "string"
  30490. },
  30491. "unexehedgeqty": {
  30492. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  30493. "type": "number"
  30494. },
  30495. "unexespotqty": {
  30496. "description": "未执行现货量",
  30497. "type": "number"
  30498. },
  30499. "wrstandardcode": {
  30500. "description": "现货品类代码",
  30501. "type": "string"
  30502. },
  30503. "wrstandardid": {
  30504. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30505. "type": "integer"
  30506. },
  30507. "wrstandardname": {
  30508. "description": "现货品类名称",
  30509. "type": "string"
  30510. }
  30511. }
  30512. },
  30513. "models.InternalUncorrelatedTradeDetail": {
  30514. "type": "object",
  30515. "properties": {
  30516. "accountid": {
  30517. "description": "账号ID",
  30518. "type": "integer"
  30519. },
  30520. "accountname": {
  30521. "description": "套期主体",
  30522. "type": "string"
  30523. },
  30524. "agreeunit": {
  30525. "description": "合约乘数",
  30526. "type": "number"
  30527. },
  30528. "areauserid": {
  30529. "description": "所属机构",
  30530. "type": "integer"
  30531. },
  30532. "bizsubjectid": {
  30533. "description": "归属业务部门ID - SubjectID",
  30534. "type": "integer"
  30535. },
  30536. "buyorsell": {
  30537. "description": "方向 - 0:买 1:卖",
  30538. "type": "integer"
  30539. },
  30540. "channelbuildtype": {
  30541. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30542. "type": "integer"
  30543. },
  30544. "convertratio": {
  30545. "description": "品种系数",
  30546. "type": "number"
  30547. },
  30548. "createtime": {
  30549. "description": "创建时间",
  30550. "type": "string"
  30551. },
  30552. "creatorid": {
  30553. "description": "创建人ID",
  30554. "type": "integer"
  30555. },
  30556. "creatorsrc": {
  30557. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30558. "type": "integer"
  30559. },
  30560. "enableqty": {
  30561. "description": "项目可关联手数 = 成交手数 - 关联数量",
  30562. "type": "number"
  30563. },
  30564. "goodscode": {
  30565. "description": "合约代码",
  30566. "type": "string"
  30567. },
  30568. "goodsgroupid": {
  30569. "description": "对冲品种ID[期货合约商品组ID]",
  30570. "type": "integer"
  30571. },
  30572. "goodsid": {
  30573. "description": "商品ID",
  30574. "type": "integer"
  30575. },
  30576. "goodsname": {
  30577. "description": "合约名称",
  30578. "type": "string"
  30579. },
  30580. "hedgeditemid": {
  30581. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30582. "type": "integer"
  30583. },
  30584. "hedgeflag": {
  30585. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30586. "type": "integer"
  30587. },
  30588. "linkdetailid": {
  30589. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30590. "type": "string"
  30591. },
  30592. "linkstatus": {
  30593. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30594. "type": "integer"
  30595. },
  30596. "middlegoodsid": {
  30597. "description": "套保品种ID",
  30598. "type": "integer"
  30599. },
  30600. "relatedlot": {
  30601. "description": "[数量]关联手数",
  30602. "type": "number"
  30603. },
  30604. "relatedmode": {
  30605. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30606. "type": "integer"
  30607. },
  30608. "relatedqty": {
  30609. "description": "[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30610. "type": "number"
  30611. },
  30612. "retcode": {
  30613. "description": "返回码",
  30614. "type": "integer"
  30615. },
  30616. "saleuserid": {
  30617. "description": "业务员ID",
  30618. "type": "integer"
  30619. },
  30620. "tradedate": {
  30621. "description": "关联交易日(yyyyMMdd)",
  30622. "type": "string"
  30623. },
  30624. "tradeid": {
  30625. "description": "成交单号",
  30626. "type": "string"
  30627. },
  30628. "tradelot": {
  30629. "description": "成交手数",
  30630. "type": "integer"
  30631. },
  30632. "tradeprice": {
  30633. "description": "成交价",
  30634. "type": "number"
  30635. },
  30636. "tradetime": {
  30637. "description": "成交时间",
  30638. "type": "string"
  30639. },
  30640. "tradetradedate": {
  30641. "description": "成交交易日(yyyyMMdd)",
  30642. "type": "string"
  30643. }
  30644. }
  30645. },
  30646. "models.Loginaccount": {
  30647. "type": "object",
  30648. "required": [
  30649. "loginid"
  30650. ],
  30651. "properties": {
  30652. "accountname": {
  30653. "description": "账户名称",
  30654. "type": "string"
  30655. },
  30656. "canoutin": {
  30657. "description": "是否可出入金 - 0:不可 1:可",
  30658. "type": "integer"
  30659. },
  30660. "clientroleid": {
  30661. "description": "终端角色ID",
  30662. "type": "integer"
  30663. },
  30664. "haslogined": {
  30665. "description": "是否已登录 - 0:未登录 1:已登录",
  30666. "type": "integer"
  30667. },
  30668. "hasupdatedpwd": {
  30669. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30670. "type": "integer"
  30671. },
  30672. "lastloginip": {
  30673. "description": "最新登录地址",
  30674. "type": "string"
  30675. },
  30676. "lastloginmode": {
  30677. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30678. "type": "integer"
  30679. },
  30680. "lastloginremark": {
  30681. "description": "最新登录描述",
  30682. "type": "string"
  30683. },
  30684. "lastlogintime": {
  30685. "description": "最新登录时间",
  30686. "type": "string"
  30687. },
  30688. "logincode": {
  30689. "description": "登录代码",
  30690. "type": "string"
  30691. },
  30692. "loginfailnum": {
  30693. "description": "连续登录失败次数(登录成功时清零)",
  30694. "type": "integer"
  30695. },
  30696. "loginid": {
  30697. "description": "登陆账号",
  30698. "type": "integer"
  30699. },
  30700. "loginport": {
  30701. "description": "最新登录端口",
  30702. "type": "integer"
  30703. },
  30704. "loginstatus": {
  30705. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30706. "type": "integer"
  30707. },
  30708. "loginusertype": {
  30709. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30710. "type": "integer"
  30711. },
  30712. "mobile": {
  30713. "description": "手机号码(加密存储)",
  30714. "type": "string"
  30715. },
  30716. "modifierid": {
  30717. "description": "修改人",
  30718. "type": "integer"
  30719. },
  30720. "modifysrc": {
  30721. "description": "审核来源 - 1:管理端 2:终端",
  30722. "type": "integer"
  30723. },
  30724. "modifytime": {
  30725. "description": "修改时间",
  30726. "type": "string"
  30727. },
  30728. "password": {
  30729. "description": "登陆密码",
  30730. "type": "string"
  30731. },
  30732. "pwdwrongcount": {
  30733. "description": "密码错误次数",
  30734. "type": "integer"
  30735. },
  30736. "relateduserid": {
  30737. "description": "关联用户ID(机构)",
  30738. "type": "integer"
  30739. },
  30740. "taaccountrighttype": {
  30741. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30742. "type": "integer"
  30743. },
  30744. "unfreezetime": {
  30745. "description": "账户解冻时间",
  30746. "type": "string"
  30747. },
  30748. "userid": {
  30749. "description": "用户ID",
  30750. "type": "integer"
  30751. }
  30752. }
  30753. },
  30754. "models.MainAccountInfo": {
  30755. "type": "object",
  30756. "properties": {
  30757. "accountid": {
  30758. "description": "账号id",
  30759. "type": "integer"
  30760. },
  30761. "accountname": {
  30762. "description": "账号名称(taaccount表中的名称)",
  30763. "type": "string"
  30764. },
  30765. "appid": {
  30766. "description": "AppID",
  30767. "type": "string"
  30768. },
  30769. "authcode": {
  30770. "description": "授权码",
  30771. "type": "string"
  30772. },
  30773. "brokerid": {
  30774. "description": "经纪商id",
  30775. "type": "string"
  30776. },
  30777. "fcid": {
  30778. "description": "期货公司id",
  30779. "type": "integer"
  30780. },
  30781. "fcname": {
  30782. "description": "期货公司代码",
  30783. "type": "string"
  30784. },
  30785. "hedgeaccountcode": {
  30786. "description": "外部账号代码(主账号登录代码)",
  30787. "type": "string"
  30788. },
  30789. "hedgeaccountpwd": {
  30790. "description": "密码",
  30791. "type": "string"
  30792. },
  30793. "ismain": {
  30794. "description": "是否主账号",
  30795. "type": "integer"
  30796. },
  30797. "relateduserid": {
  30798. "description": "关联用户id",
  30799. "type": "integer"
  30800. },
  30801. "userid": {
  30802. "description": "关联用户id",
  30803. "type": "integer"
  30804. }
  30805. }
  30806. },
  30807. "models.Market": {
  30808. "type": "object",
  30809. "required": [
  30810. "marketid",
  30811. "marketstatus",
  30812. "openmethod",
  30813. "reckonpricealgorithm",
  30814. "trademode",
  30815. "tradeproperty"
  30816. ],
  30817. "properties": {
  30818. "auctionwrtype": {
  30819. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30820. "type": "integer"
  30821. },
  30822. "canacceptquote": {
  30823. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30824. "type": "integer"
  30825. },
  30826. "cangoodsexercise": {
  30827. "description": "[期权]是否可现货行权- 0:否 1:是",
  30828. "type": "integer"
  30829. },
  30830. "cangoodsexercisetype": {
  30831. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30832. "type": "integer"
  30833. },
  30834. "canmanualquotestrike": {
  30835. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30836. "type": "integer"
  30837. },
  30838. "canmutistage": {
  30839. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30840. "type": "integer"
  30841. },
  30842. "canpreexercise": {
  30843. "description": "[期权]是否可预申报- 0:否 1:是",
  30844. "type": "integer"
  30845. },
  30846. "clearinterval": {
  30847. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30848. "type": "integer"
  30849. },
  30850. "contracttmp": {
  30851. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30852. "type": "string"
  30853. },
  30854. "exchareaid": {
  30855. "description": "所属交易所,可以没有",
  30856. "type": "integer"
  30857. },
  30858. "goodstype": {
  30859. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30860. "type": "integer"
  30861. },
  30862. "hasrebate": {
  30863. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30864. "type": "integer"
  30865. },
  30866. "hastradecredit": {
  30867. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30868. "type": "integer"
  30869. },
  30870. "haswr": {
  30871. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30872. "type": "integer"
  30873. },
  30874. "isdeductmargin": {
  30875. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30876. "type": "integer"
  30877. },
  30878. "isrecordsource": {
  30879. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30880. "type": "integer"
  30881. },
  30882. "isreleasemargin": {
  30883. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30884. "type": "integer"
  30885. },
  30886. "marginformula": {
  30887. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30888. "type": "integer"
  30889. },
  30890. "marginformula2": {
  30891. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30892. "type": "integer"
  30893. },
  30894. "marketid": {
  30895. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30896. "type": "integer"
  30897. },
  30898. "marketname": {
  30899. "description": "市场名称",
  30900. "type": "string"
  30901. },
  30902. "marketserviceid": {
  30903. "description": "市场服务ID",
  30904. "type": "integer"
  30905. },
  30906. "marketstatus": {
  30907. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30908. "type": "integer"
  30909. },
  30910. "markettype": {
  30911. "description": "市场类型- 1:非交易服务 2:交易服务",
  30912. "type": "integer"
  30913. },
  30914. "matchermode": {
  30915. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30916. "type": "integer"
  30917. },
  30918. "openmethod": {
  30919. "description": "开盘模式 - 0 自动 1手动",
  30920. "type": "integer"
  30921. },
  30922. "otcuserid": {
  30923. "description": "场外期权做市商[场外期权]",
  30924. "type": "integer"
  30925. },
  30926. "outersynctime": {
  30927. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30928. "type": "string"
  30929. },
  30930. "pendingflag": {
  30931. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30932. "type": "integer"
  30933. },
  30934. "pendingtime": {
  30935. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30936. "type": "string"
  30937. },
  30938. "performancetempid": {
  30939. "description": "履约计划模板ID - 作废",
  30940. "type": "integer"
  30941. },
  30942. "premiumquotemode": {
  30943. "description": "权利金报价方式 - 1:自动 2:手动",
  30944. "type": "integer"
  30945. },
  30946. "rebateratio": {
  30947. "description": "返利比率[竞价式]",
  30948. "type": "number"
  30949. },
  30950. "reckonorder": {
  30951. "description": "结算顺序",
  30952. "type": "integer"
  30953. },
  30954. "reckonpricealgorithm": {
  30955. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30956. "type": "integer"
  30957. },
  30958. "reckonpriceparam": {
  30959. "description": "结算价参数",
  30960. "type": "integer"
  30961. },
  30962. "reckontime": {
  30963. "description": "结算时间[通道交易-对冲](HH:mm)",
  30964. "type": "string"
  30965. },
  30966. "roleprioritytype": {
  30967. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30968. "type": "integer"
  30969. },
  30970. "selllistingauditflag": {
  30971. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30972. "type": "integer"
  30973. },
  30974. "trademarkettype": {
  30975. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30976. "type": "integer"
  30977. },
  30978. "trademode": {
  30979. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30980. "type": "integer"
  30981. },
  30982. "tradeproperty": {
  30983. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30984. "type": "integer"
  30985. },
  30986. "tradetype": {
  30987. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30988. "type": "integer"
  30989. }
  30990. }
  30991. },
  30992. "models.Marketrun": {
  30993. "type": "object",
  30994. "required": [
  30995. "marketid",
  30996. "nexttradedate",
  30997. "reckonflag",
  30998. "runstatus",
  30999. "tradedate",
  31000. "tradedate2"
  31001. ],
  31002. "properties": {
  31003. "afternexttradedate": {
  31004. "description": "下下交易日",
  31005. "type": "string"
  31006. },
  31007. "clearquoteflag": {
  31008. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31009. "type": "integer"
  31010. },
  31011. "lastreckondate": {
  31012. "description": "最新交易日(结算成功)",
  31013. "type": "string"
  31014. },
  31015. "machinedate": {
  31016. "description": "机器时间",
  31017. "type": "string"
  31018. },
  31019. "manualflag": {
  31020. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31021. "type": "integer"
  31022. },
  31023. "marketid": {
  31024. "description": "市场ID",
  31025. "type": "integer"
  31026. },
  31027. "nexttradedate": {
  31028. "description": "下一交易日",
  31029. "type": "string"
  31030. },
  31031. "pretradedate": {
  31032. "description": "上一交易日",
  31033. "type": "string"
  31034. },
  31035. "reckonflag": {
  31036. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31037. "type": "integer"
  31038. },
  31039. "runstatus": {
  31040. "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.今日免清算",
  31041. "type": "integer"
  31042. },
  31043. "sectionid": {
  31044. "description": "时间段号[多时段时用]",
  31045. "type": "integer"
  31046. },
  31047. "tradedate": {
  31048. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31049. "type": "string"
  31050. },
  31051. "tradedate2": {
  31052. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31053. "type": "string"
  31054. },
  31055. "updatetime": {
  31056. "description": "更新时间",
  31057. "type": "string"
  31058. }
  31059. }
  31060. },
  31061. "models.Messageboard": {
  31062. "type": "object",
  31063. "required": [
  31064. "messageboardid"
  31065. ],
  31066. "properties": {
  31067. "contactnum": {
  31068. "description": "联系电话",
  31069. "type": "string"
  31070. },
  31071. "createtime": {
  31072. "description": "创建时间",
  31073. "type": "string"
  31074. },
  31075. "message": {
  31076. "description": "留言信息",
  31077. "type": "string"
  31078. },
  31079. "messageboardid": {
  31080. "description": "留言簿ID(SEQ_MessageBoard)",
  31081. "type": "integer"
  31082. },
  31083. "userid": {
  31084. "description": "用户ID",
  31085. "type": "integer"
  31086. }
  31087. }
  31088. },
  31089. "models.MyCoupon": {
  31090. "type": "object",
  31091. "required": [
  31092. "accountid",
  31093. "coupontypeid"
  31094. ],
  31095. "properties": {
  31096. "accountid": {
  31097. "description": "资金账户ID",
  31098. "type": "integer"
  31099. },
  31100. "areauserid": {
  31101. "description": "所属机构",
  31102. "type": "integer"
  31103. },
  31104. "conditionvalue": {
  31105. "description": "条件阈值(可为0)",
  31106. "type": "number"
  31107. },
  31108. "couponcategroy": {
  31109. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  31110. "type": "integer"
  31111. },
  31112. "couponname": {
  31113. "description": "优惠券名称",
  31114. "type": "string"
  31115. },
  31116. "coupontypeid": {
  31117. "description": "优惠券类型ID",
  31118. "type": "string"
  31119. },
  31120. "couponvalue": {
  31121. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31122. "type": "number"
  31123. },
  31124. "curfreezeqty": {
  31125. "description": "期末冻结数量",
  31126. "type": "integer"
  31127. },
  31128. "curqty": {
  31129. "description": "期末数量",
  31130. "type": "integer"
  31131. },
  31132. "isgeneral": {
  31133. "description": "是否通用券 - 0:否 1:是",
  31134. "type": "integer"
  31135. },
  31136. "isunusable": {
  31137. "description": "是否不可用",
  31138. "type": "boolean"
  31139. },
  31140. "limitedflag": {
  31141. "description": "是否指定商品 - 0:不限 1:限制",
  31142. "type": "integer"
  31143. },
  31144. "limitedgoodsids": {
  31145. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  31146. "type": "string"
  31147. },
  31148. "orifreezeqty": {
  31149. "description": "期初冻结数量",
  31150. "type": "integer"
  31151. },
  31152. "oriqty": {
  31153. "description": "期初数量",
  31154. "type": "integer"
  31155. },
  31156. "reasontype": {
  31157. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  31158. "type": "integer"
  31159. },
  31160. "todaydecrease": {
  31161. "description": "今日减少",
  31162. "type": "integer"
  31163. },
  31164. "todayincrease": {
  31165. "description": "今日增加",
  31166. "type": "integer"
  31167. },
  31168. "userid": {
  31169. "description": "用户ID",
  31170. "type": "integer"
  31171. },
  31172. "userscope": {
  31173. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  31174. "type": "string"
  31175. }
  31176. }
  31177. },
  31178. "models.MyCouponHold": {
  31179. "type": "object",
  31180. "required": [
  31181. "couponholdid"
  31182. ],
  31183. "properties": {
  31184. "accountid": {
  31185. "description": "资金账户ID",
  31186. "type": "integer"
  31187. },
  31188. "conditionvalue": {
  31189. "description": "条件阈值(可为0)",
  31190. "type": "number"
  31191. },
  31192. "couponcategroy": {
  31193. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  31194. "type": "integer"
  31195. },
  31196. "couponholdid": {
  31197. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  31198. "type": "string"
  31199. },
  31200. "couponname": {
  31201. "description": "优惠券名称",
  31202. "type": "string"
  31203. },
  31204. "coupontypeid": {
  31205. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  31206. "type": "string"
  31207. },
  31208. "couponvalue": {
  31209. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31210. "type": "number"
  31211. },
  31212. "createtime": {
  31213. "description": "创建时间",
  31214. "type": "string"
  31215. },
  31216. "enddate": {
  31217. "description": "结束日期",
  31218. "type": "string"
  31219. },
  31220. "giveapplyid": {
  31221. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  31222. "type": "integer"
  31223. },
  31224. "holdstatus": {
  31225. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  31226. "type": "integer"
  31227. },
  31228. "isgeneral": {
  31229. "description": "是否通用券 - 0:否 1:是",
  31230. "type": "integer"
  31231. },
  31232. "limitedflag": {
  31233. "description": "是否指定商品 - 0:不限 1:限制",
  31234. "type": "integer"
  31235. },
  31236. "limitedgoodsids": {
  31237. "description": "指定商品IDs[逗号分隔]",
  31238. "type": "string"
  31239. },
  31240. "qty": {
  31241. "description": "数量(按1平铺)",
  31242. "type": "integer"
  31243. },
  31244. "startdate": {
  31245. "description": "开始日期",
  31246. "type": "string"
  31247. },
  31248. "userid": {
  31249. "description": "用户ID",
  31250. "type": "integer"
  31251. },
  31252. "userscope": {
  31253. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  31254. "type": "string"
  31255. }
  31256. }
  31257. },
  31258. "models.MyUsedCoupon": {
  31259. "type": "object",
  31260. "required": [
  31261. "coupontypeid",
  31262. "orderid"
  31263. ],
  31264. "properties": {
  31265. "accountid": {
  31266. "description": "资金账户ID(买方)",
  31267. "type": "integer"
  31268. },
  31269. "conditionvalue": {
  31270. "description": "条件阈值(可为0)",
  31271. "type": "number"
  31272. },
  31273. "couponcategroy": {
  31274. "description": "种类 - 1:现金券 2:折扣券",
  31275. "type": "integer"
  31276. },
  31277. "couponname": {
  31278. "description": "优惠券名称",
  31279. "type": "string"
  31280. },
  31281. "coupontypeid": {
  31282. "description": "优惠券类型ID(买方)",
  31283. "type": "string"
  31284. },
  31285. "couponvalue": {
  31286. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  31287. "type": "number"
  31288. },
  31289. "createtime": {
  31290. "description": "创建时间",
  31291. "type": "string"
  31292. },
  31293. "goodsid": {
  31294. "description": "商品ID",
  31295. "type": "integer"
  31296. },
  31297. "handlestatus": {
  31298. "description": "处理状态",
  31299. "type": "integer"
  31300. },
  31301. "marketid": {
  31302. "description": "市场ID",
  31303. "type": "integer"
  31304. },
  31305. "offamount": {
  31306. "description": "优惠金额",
  31307. "type": "number"
  31308. },
  31309. "orderid": {
  31310. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31311. "type": "string"
  31312. },
  31313. "sellaccountid": {
  31314. "description": "资金账户ID(卖方)",
  31315. "type": "integer"
  31316. },
  31317. "tradeamount": {
  31318. "description": "成交金额",
  31319. "type": "number"
  31320. },
  31321. "tradeid": {
  31322. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31323. "type": "string"
  31324. },
  31325. "usedqty": {
  31326. "description": "使用数量",
  31327. "type": "integer"
  31328. }
  31329. }
  31330. },
  31331. "models.OperationPrimaryMenu": {
  31332. "type": "object",
  31333. "properties": {
  31334. "Children": {
  31335. "description": "二级功能菜单",
  31336. "type": "array",
  31337. "items": {
  31338. "$ref": "#/definitions/models.OperationSecondaryMenu"
  31339. }
  31340. },
  31341. "Key": {
  31342. "description": "菜单KEY",
  31343. "type": "string"
  31344. },
  31345. "Label": {
  31346. "description": "菜单标题",
  31347. "type": "string"
  31348. }
  31349. }
  31350. },
  31351. "models.OperationSecondaryMenu": {
  31352. "type": "object",
  31353. "properties": {
  31354. "Key": {
  31355. "description": "菜单KEY",
  31356. "type": "string"
  31357. },
  31358. "Label": {
  31359. "description": "菜单标题",
  31360. "type": "string"
  31361. },
  31362. "TabList": {
  31363. "description": "三级功能菜单",
  31364. "type": "array",
  31365. "items": {
  31366. "$ref": "#/definitions/models.OperationTabMenu"
  31367. }
  31368. }
  31369. }
  31370. },
  31371. "models.OperationTabMenu": {
  31372. "type": "object",
  31373. "properties": {
  31374. "Key": {
  31375. "description": "菜单KEY",
  31376. "type": "string"
  31377. },
  31378. "Label": {
  31379. "description": "菜单标题",
  31380. "type": "string"
  31381. }
  31382. }
  31383. },
  31384. "models.Patradelinkdetail": {
  31385. "type": "object",
  31386. "properties": {
  31387. "accountname": {
  31388. "description": "套期主体",
  31389. "type": "string"
  31390. },
  31391. "agreeunit": {
  31392. "description": "合约乘数",
  31393. "type": "number"
  31394. },
  31395. "amount": {
  31396. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  31397. "type": "number"
  31398. },
  31399. "areauserid": {
  31400. "description": "所属机构",
  31401. "type": "integer"
  31402. },
  31403. "bizsubjectid": {
  31404. "description": "归属业务部门ID - SubjectID",
  31405. "type": "integer"
  31406. },
  31407. "buyorsell": {
  31408. "description": "方向 - 0:买 1:卖",
  31409. "type": "integer"
  31410. },
  31411. "convertratio": {
  31412. "description": "品种系数",
  31413. "type": "number"
  31414. },
  31415. "convertratiochange": {
  31416. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  31417. "type": "number"
  31418. },
  31419. "createtime": {
  31420. "description": "[日期时间]创建时间",
  31421. "type": "string"
  31422. },
  31423. "creatorid": {
  31424. "description": "创建人ID",
  31425. "type": "integer"
  31426. },
  31427. "creatorsrc": {
  31428. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31429. "type": "integer"
  31430. },
  31431. "goodscode": {
  31432. "description": "商品代码(内部)",
  31433. "type": "string"
  31434. },
  31435. "goodsgroupid": {
  31436. "description": "对冲品种ID[期货合约商品组ID]",
  31437. "type": "integer"
  31438. },
  31439. "goodsid": {
  31440. "description": "商品ID",
  31441. "type": "integer"
  31442. },
  31443. "hedgeditemid": {
  31444. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31445. "type": "integer"
  31446. },
  31447. "hedgeflag": {
  31448. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31449. "type": "integer"
  31450. },
  31451. "linkdetailid": {
  31452. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31453. "type": "string"
  31454. },
  31455. "linkstatus": {
  31456. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31457. "type": "integer"
  31458. },
  31459. "middlegoodsid": {
  31460. "description": "套保品种ID",
  31461. "type": "integer"
  31462. },
  31463. "name": {
  31464. "description": "账户名/子账户",
  31465. "type": "string"
  31466. },
  31467. "optioncode": {
  31468. "description": "[期货合约]期权代码 [期权]",
  31469. "type": "string"
  31470. },
  31471. "ordertype": {
  31472. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  31473. "type": "integer"
  31474. },
  31475. "relatedlot": {
  31476. "description": "[数量]关联手数",
  31477. "type": "number"
  31478. },
  31479. "relatedmode": {
  31480. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31481. "type": "integer"
  31482. },
  31483. "relatedqty": {
  31484. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31485. "type": "number"
  31486. },
  31487. "retcode": {
  31488. "description": "返回码",
  31489. "type": "integer"
  31490. },
  31491. "saleuserid": {
  31492. "description": "业务员ID",
  31493. "type": "integer"
  31494. },
  31495. "tradedate": {
  31496. "description": "关联交易日(yyyyMMdd)",
  31497. "type": "string"
  31498. },
  31499. "tradeid": {
  31500. "description": "[成交单号]内部成交单ID",
  31501. "type": "string"
  31502. },
  31503. "tradelot": {
  31504. "description": "成交手数",
  31505. "type": "integer"
  31506. },
  31507. "tradeprice": {
  31508. "description": "[价格]成交价格",
  31509. "type": "number"
  31510. },
  31511. "tradetradedate": {
  31512. "description": "成交交易日(yyyyMMdd)",
  31513. "type": "string"
  31514. }
  31515. }
  31516. },
  31517. "models.QhjAccountOutInApply": {
  31518. "type": "object",
  31519. "properties": {
  31520. "accountcode": {
  31521. "description": "资金账号",
  31522. "type": "string"
  31523. },
  31524. "accountname": {
  31525. "description": "用户名称(名称)",
  31526. "type": "string"
  31527. },
  31528. "accountpwd": {
  31529. "description": "资金密码",
  31530. "type": "string"
  31531. },
  31532. "accountticket": {
  31533. "description": "最新账户服务流水号",
  31534. "type": "string"
  31535. },
  31536. "amount": {
  31537. "description": "金额",
  31538. "type": "number"
  31539. },
  31540. "applyremark": {
  31541. "description": "申请备注",
  31542. "type": "string"
  31543. },
  31544. "applystatus": {
  31545. "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: 复审通过,账户冻结金额检查中;",
  31546. "type": "integer"
  31547. },
  31548. "auditid": {
  31549. "description": "审核人",
  31550. "type": "integer"
  31551. },
  31552. "audittime": {
  31553. "description": "审核时间",
  31554. "type": "string"
  31555. },
  31556. "bank_apply_ticket": {
  31557. "description": "银行申请流水",
  31558. "type": "string"
  31559. },
  31560. "bankaccountname": {
  31561. "description": "银行账户名",
  31562. "type": "string"
  31563. },
  31564. "bankaccountno": {
  31565. "description": "银行卡号",
  31566. "type": "string"
  31567. },
  31568. "bankid": {
  31569. "description": "银行编号",
  31570. "type": "string"
  31571. },
  31572. "bankticket": {
  31573. "description": "银行流水",
  31574. "type": "string"
  31575. },
  31576. "branchbankid": {
  31577. "description": "银行支行号",
  31578. "type": "string"
  31579. },
  31580. "branchbankname": {
  31581. "description": "银行支行名称",
  31582. "type": "string"
  31583. },
  31584. "capamountout": {
  31585. "description": "出金(劣后本金) - 外部子账户",
  31586. "type": "number"
  31587. },
  31588. "certificatephotourl": {
  31589. "description": "凭证地址",
  31590. "type": "string"
  31591. },
  31592. "charge": {
  31593. "description": "手续费",
  31594. "type": "number"
  31595. },
  31596. "checkerrorflag": {
  31597. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31598. "type": "integer"
  31599. },
  31600. "currency": {
  31601. "description": "币种",
  31602. "type": "string"
  31603. },
  31604. "cusbankid": {
  31605. "description": "托管银行编号",
  31606. "type": "string"
  31607. },
  31608. "exchticket": {
  31609. "description": "银行服务流水号",
  31610. "type": "string"
  31611. },
  31612. "executetype": {
  31613. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31614. "type": "integer"
  31615. },
  31616. "extendinfo": {
  31617. "description": "扩展信息",
  31618. "type": "string"
  31619. },
  31620. "extoperateid": {
  31621. "description": "交易服务流水号",
  31622. "type": "integer"
  31623. },
  31624. "infamount": {
  31625. "description": "劣后金额(自有)",
  31626. "type": "number"
  31627. },
  31628. "logincode": {
  31629. "description": "登录账号(账号)",
  31630. "type": "string"
  31631. },
  31632. "netaddr": {
  31633. "description": "调转网址",
  31634. "type": "string"
  31635. },
  31636. "priamount": {
  31637. "description": "优先金额(授信)",
  31638. "type": "number"
  31639. },
  31640. "reauditid": {
  31641. "description": "复审人",
  31642. "type": "integer"
  31643. },
  31644. "reauditremark": {
  31645. "description": "复审备注",
  31646. "type": "string"
  31647. },
  31648. "reaudittime": {
  31649. "description": "复审时间",
  31650. "type": "string"
  31651. },
  31652. "relatedorderid": {
  31653. "description": "三方关联ID",
  31654. "type": "string"
  31655. },
  31656. "remark": {
  31657. "description": "备注",
  31658. "type": "string"
  31659. },
  31660. "remark2": {
  31661. "description": "备注(失败原因)",
  31662. "type": "string"
  31663. },
  31664. "soucreamount": {
  31665. "description": "原始出入金金额",
  31666. "type": "number"
  31667. },
  31668. "soucrecurrencyid": {
  31669. "description": "原始出入金币种",
  31670. "type": "integer"
  31671. },
  31672. "tradedate": {
  31673. "description": "交易日(yyyyMMdd)",
  31674. "type": "string"
  31675. },
  31676. "updatetime": {
  31677. "description": "更新时间(申请时间)",
  31678. "type": "string"
  31679. },
  31680. "userid": {
  31681. "description": "用户id",
  31682. "type": "integer"
  31683. },
  31684. "userinfotype": {
  31685. "description": "账户类型 1-个人 2-企业",
  31686. "type": "integer"
  31687. }
  31688. }
  31689. },
  31690. "models.QhjAgreementChangeLog": {
  31691. "type": "object",
  31692. "properties": {
  31693. "agreementcontent": {
  31694. "description": "协议内容",
  31695. "type": "string"
  31696. },
  31697. "agreementfrequency": {
  31698. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31699. "type": "integer"
  31700. },
  31701. "agreementid": {
  31702. "description": "协议ID",
  31703. "type": "integer"
  31704. },
  31705. "agreementname": {
  31706. "description": "协议名称",
  31707. "type": "string"
  31708. },
  31709. "agreementno": {
  31710. "description": "协议编号",
  31711. "type": "string"
  31712. },
  31713. "agreementtype": {
  31714. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31715. "type": "integer"
  31716. },
  31717. "agreementversion": {
  31718. "description": "协议版本号",
  31719. "type": "integer"
  31720. },
  31721. "logid": {
  31722. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  31723. "type": "integer"
  31724. },
  31725. "reviserid": {
  31726. "description": "修改人",
  31727. "type": "integer"
  31728. },
  31729. "revisersrc": {
  31730. "description": "修改来源 - 1:管理端 2:终端",
  31731. "type": "integer"
  31732. },
  31733. "updatetime": {
  31734. "description": "更新时间",
  31735. "type": "string"
  31736. }
  31737. }
  31738. },
  31739. "models.QhjAgreementConfig": {
  31740. "type": "object",
  31741. "properties": {
  31742. "agreementcontent": {
  31743. "description": "协议内容",
  31744. "type": "string"
  31745. },
  31746. "agreementfrequency": {
  31747. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31748. "type": "integer"
  31749. },
  31750. "agreementid": {
  31751. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  31752. "type": "integer"
  31753. },
  31754. "agreementname": {
  31755. "description": "协议名称",
  31756. "type": "string"
  31757. },
  31758. "agreementno": {
  31759. "description": "协议编号",
  31760. "type": "string"
  31761. },
  31762. "agreementtype": {
  31763. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31764. "type": "integer"
  31765. },
  31766. "agreementversion": {
  31767. "description": "协议版本号(从1开始每次修改加1)",
  31768. "type": "integer"
  31769. },
  31770. "createtime": {
  31771. "description": "创建时间",
  31772. "type": "string"
  31773. },
  31774. "creatorid": {
  31775. "description": "创建人",
  31776. "type": "integer"
  31777. },
  31778. "creatorsrc": {
  31779. "description": "创建来源 - 1:管理端 2:终端",
  31780. "type": "integer"
  31781. },
  31782. "isvalid": {
  31783. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  31784. "type": "integer"
  31785. },
  31786. "reviserid": {
  31787. "description": "修改人",
  31788. "type": "integer"
  31789. },
  31790. "revisersrc": {
  31791. "description": "修改来源 - 1:管理端 2:终端",
  31792. "type": "integer"
  31793. },
  31794. "updatetime": {
  31795. "description": "更新时间",
  31796. "type": "string"
  31797. }
  31798. }
  31799. },
  31800. "models.QhjAreaFinanceConfig": {
  31801. "type": "object",
  31802. "properties": {
  31803. "additionalratio": {
  31804. "description": "追加款比例",
  31805. "type": "number"
  31806. },
  31807. "advanceratio": {
  31808. "description": "预付款比例",
  31809. "type": "number"
  31810. },
  31811. "alarmratio": {
  31812. "description": "告警比例",
  31813. "type": "number"
  31814. },
  31815. "consumptiondirectreward": {
  31816. "description": "消费直推奖励值",
  31817. "type": "number"
  31818. },
  31819. "consumptionenabled": {
  31820. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  31821. "type": "integer"
  31822. },
  31823. "consumptionindirectreward": {
  31824. "description": "消费间推奖励值",
  31825. "type": "number"
  31826. },
  31827. "consumptionmodel": {
  31828. "description": "消费奖励方式 - 1:比率 2:固定",
  31829. "type": "integer"
  31830. },
  31831. "customerservicenum": {
  31832. "description": "客服电话",
  31833. "type": "string"
  31834. },
  31835. "dayinterestrate": {
  31836. "description": "日利率",
  31837. "type": "number"
  31838. },
  31839. "disableconsumptiontips": {
  31840. "description": "关闭消费奖励提示",
  31841. "type": "string"
  31842. },
  31843. "modifierid": {
  31844. "description": "修改人ID",
  31845. "type": "integer"
  31846. },
  31847. "modifysrc": {
  31848. "description": "审核来源 - 1:管理端 2:终端",
  31849. "type": "integer"
  31850. },
  31851. "modifytime": {
  31852. "description": "修改时间",
  31853. "type": "string"
  31854. },
  31855. "promotionvalue": {
  31856. "description": "推广奖励值(固定)",
  31857. "type": "number"
  31858. },
  31859. "scoreconfigvalue1": {
  31860. "description": "提货积分配置1",
  31861. "type": "integer"
  31862. },
  31863. "scoreconfigvalue2": {
  31864. "description": "提货积分配置2",
  31865. "type": "integer"
  31866. },
  31867. "userid": {
  31868. "description": "机构用户ID其他做市关系,都设置为 1",
  31869. "type": "integer"
  31870. },
  31871. "username": {
  31872. "description": "用户名称",
  31873. "type": "string"
  31874. }
  31875. }
  31876. },
  31877. "models.QhjBankAccountSign": {
  31878. "type": "object",
  31879. "properties": {
  31880. "accountcode": {
  31881. "description": "资金账号",
  31882. "type": "string"
  31883. },
  31884. "accountname": {
  31885. "description": "资金账号对应的账号名(UserName)",
  31886. "type": "string"
  31887. },
  31888. "accountname2": {
  31889. "description": "资金账号对应的账号名(UserName) - 密文",
  31890. "type": "string"
  31891. },
  31892. "accounttype": {
  31893. "description": "账户类型(UserType)",
  31894. "type": "integer"
  31895. },
  31896. "applicationtime": {
  31897. "description": "最后一次更新的时间",
  31898. "type": "string"
  31899. },
  31900. "applyexchticket": {
  31901. "description": "申请流水",
  31902. "type": "string"
  31903. },
  31904. "auditid": {
  31905. "description": "审核人",
  31906. "type": "integer"
  31907. },
  31908. "audittime": {
  31909. "description": "审核时间",
  31910. "type": "string"
  31911. },
  31912. "bankaccountname": {
  31913. "description": "签约银行卡账号名",
  31914. "type": "string"
  31915. },
  31916. "bankaccountname2": {
  31917. "description": "签约银行卡账号名 - 密文",
  31918. "type": "string"
  31919. },
  31920. "bankaccountno": {
  31921. "description": "银行卡号",
  31922. "type": "string"
  31923. },
  31924. "bankaccountno2": {
  31925. "description": "银行卡号 - 密文",
  31926. "type": "string"
  31927. },
  31928. "bankaccounttype": {
  31929. "description": "银行账户类型 - 1-对私; 2-对公",
  31930. "type": "integer"
  31931. },
  31932. "bankcardtype": {
  31933. "description": "银行卡类型",
  31934. "type": "integer"
  31935. },
  31936. "bankchildaccount": {
  31937. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  31938. "type": "string"
  31939. },
  31940. "bankcity": {
  31941. "description": "开户行城市",
  31942. "type": "string"
  31943. },
  31944. "bankid": {
  31945. "description": "签约银行ID",
  31946. "type": "string"
  31947. },
  31948. "bankname": {
  31949. "description": "签约银行名称",
  31950. "type": "string"
  31951. },
  31952. "bankprovince": {
  31953. "description": "开户行省份",
  31954. "type": "string"
  31955. },
  31956. "branchbankid": {
  31957. "description": "签约银行支行号",
  31958. "type": "string"
  31959. },
  31960. "branchbankname": {
  31961. "description": "签约银行支行名称",
  31962. "type": "string"
  31963. },
  31964. "cardno": {
  31965. "description": "证件号码",
  31966. "type": "string"
  31967. },
  31968. "cardno2": {
  31969. "description": "证件号码 - 密文",
  31970. "type": "string"
  31971. },
  31972. "cardtype": {
  31973. "description": "证件类型",
  31974. "type": "string"
  31975. },
  31976. "currency": {
  31977. "description": "币种",
  31978. "type": "string"
  31979. },
  31980. "cusbankid": {
  31981. "description": "托管银行编号",
  31982. "type": "string"
  31983. },
  31984. "direct": {
  31985. "description": "方向(可以判断那方先发起的签约)",
  31986. "type": "integer"
  31987. },
  31988. "exchticket": {
  31989. "description": "最后一次签约成功的流水号",
  31990. "type": "string"
  31991. },
  31992. "extendinfo": {
  31993. "description": "扩展信息(JSON字符串)",
  31994. "type": "string"
  31995. },
  31996. "mobilephone": {
  31997. "description": "手机号",
  31998. "type": "string"
  31999. },
  32000. "mobilephone2": {
  32001. "description": "手机号 - 密文",
  32002. "type": "string"
  32003. },
  32004. "netaddr": {
  32005. "description": "调转网址",
  32006. "type": "string"
  32007. },
  32008. "relateduserid": {
  32009. "description": "关联使用者userid",
  32010. "type": "integer"
  32011. },
  32012. "signstatus": {
  32013. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32014. "type": "integer"
  32015. },
  32016. "updatetime": {
  32017. "description": "更新时间(签解约更新时间)",
  32018. "type": "string"
  32019. }
  32020. }
  32021. },
  32022. "models.QhjBankInfo": {
  32023. "type": "object",
  32024. "properties": {
  32025. "bankid": {
  32026. "description": "银行ID",
  32027. "type": "string"
  32028. },
  32029. "bankname": {
  32030. "description": "银行名称",
  32031. "type": "string"
  32032. },
  32033. "clearbankno": {
  32034. "description": "清算系统银行编号",
  32035. "type": "string"
  32036. },
  32037. "orderindex": {
  32038. "description": "排序顺序",
  32039. "type": "integer"
  32040. },
  32041. "status": {
  32042. "description": "状态 - 0:正常 1:注销",
  32043. "type": "integer"
  32044. }
  32045. }
  32046. },
  32047. "models.QhjBrokerApply": {
  32048. "type": "object",
  32049. "properties": {
  32050. "applicantid": {
  32051. "description": "申请人",
  32052. "type": "integer"
  32053. },
  32054. "applysrc": {
  32055. "description": "申请来源 - 1:管理端 2:终端",
  32056. "type": "integer"
  32057. },
  32058. "applystatus": {
  32059. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32060. "type": "integer"
  32061. },
  32062. "applytime": {
  32063. "description": "申请时间",
  32064. "type": "string"
  32065. },
  32066. "auditorid": {
  32067. "description": "审核人",
  32068. "type": "integer"
  32069. },
  32070. "auditremark": {
  32071. "description": "审核备注",
  32072. "type": "string"
  32073. },
  32074. "auditsrc": {
  32075. "description": "审核来源 - 1:管理端 2:终端",
  32076. "type": "integer"
  32077. },
  32078. "audittime": {
  32079. "description": "审核时间",
  32080. "type": "string"
  32081. },
  32082. "audittradedate": {
  32083. "description": "审核交易日(yyyyMMdd)",
  32084. "type": "string"
  32085. },
  32086. "brokerapplyid": {
  32087. "description": "申请ID(SEQ_BROKERAPPLY)",
  32088. "type": "integer"
  32089. },
  32090. "cardbackphotourl": {
  32091. "description": "证件背面图片地址",
  32092. "type": "string"
  32093. },
  32094. "cardfrontphotourl": {
  32095. "description": "证件正面图片地址",
  32096. "type": "string"
  32097. },
  32098. "cardnum": {
  32099. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32100. "type": "string"
  32101. },
  32102. "customername": {
  32103. "description": "姓名",
  32104. "type": "string"
  32105. },
  32106. "logincode": {
  32107. "description": "登录代码",
  32108. "type": "string"
  32109. },
  32110. "mobile": {
  32111. "description": "手机号码",
  32112. "type": "string"
  32113. },
  32114. "parentuserid": {
  32115. "description": "所属机构id",
  32116. "type": "integer"
  32117. },
  32118. "parentusername": {
  32119. "description": "所属机构名称",
  32120. "type": "string"
  32121. },
  32122. "refereeuserid": {
  32123. "description": "推荐人id(经纪人)",
  32124. "type": "integer"
  32125. },
  32126. "refernum": {
  32127. "description": "推荐码",
  32128. "type": "string"
  32129. },
  32130. "remark": {
  32131. "description": "备注",
  32132. "type": "string"
  32133. },
  32134. "subarealevelpath": {
  32135. "description": "层级路径",
  32136. "type": "string"
  32137. },
  32138. "tradedate": {
  32139. "description": "交易日(yyyyMMdd)",
  32140. "type": "string"
  32141. },
  32142. "userid": {
  32143. "description": "申请人用户ID",
  32144. "type": "integer"
  32145. },
  32146. "userinfotype": {
  32147. "description": "用户类型 1-个人 2-企业",
  32148. "type": "integer"
  32149. },
  32150. "username": {
  32151. "description": "用户名称",
  32152. "type": "string"
  32153. }
  32154. }
  32155. },
  32156. "models.QhjBrokerApplyEx": {
  32157. "type": "object",
  32158. "properties": {
  32159. "applylist": {
  32160. "description": "经纪人申请记录(只返回最新一条)",
  32161. "type": "array",
  32162. "items": {
  32163. "$ref": "#/definitions/models.QhjBrokerApply"
  32164. }
  32165. },
  32166. "canrecommend": {
  32167. "description": "是否经纪人 0-不是 1-是",
  32168. "type": "integer"
  32169. },
  32170. "refernum": {
  32171. "description": "推荐码",
  32172. "type": "string"
  32173. },
  32174. "userid": {
  32175. "description": "用户id",
  32176. "type": "integer"
  32177. },
  32178. "userinfotype": {
  32179. "description": "用户类型 1-个人 2-企业",
  32180. "type": "integer"
  32181. }
  32182. }
  32183. },
  32184. "models.QhjBrokerRewardLog": {
  32185. "type": "object",
  32186. "properties": {
  32187. "accountid": {
  32188. "description": "资金账号ID",
  32189. "type": "integer"
  32190. },
  32191. "createtime": {
  32192. "description": "创建时间(时间)",
  32193. "type": "string"
  32194. },
  32195. "handlestatus": {
  32196. "description": "处理状态",
  32197. "type": "integer"
  32198. },
  32199. "logid": {
  32200. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32201. "type": "string"
  32202. },
  32203. "marketid": {
  32204. "description": "市场ID",
  32205. "type": "integer"
  32206. },
  32207. "mmaccountid": {
  32208. "description": "做市商资金账号ID",
  32209. "type": "string"
  32210. },
  32211. "mmuserid": {
  32212. "description": "做市商用户ID",
  32213. "type": "string"
  32214. },
  32215. "rewardamount": {
  32216. "description": "奖励金额",
  32217. "type": "number"
  32218. },
  32219. "rewardmodel": {
  32220. "description": "消费奖励方式 - 1:比率 2:固定",
  32221. "type": "integer"
  32222. },
  32223. "rewardtype": {
  32224. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32225. "type": "integer"
  32226. },
  32227. "rewardvalue": {
  32228. "description": "配置奖励值",
  32229. "type": "number"
  32230. },
  32231. "srcamount": {
  32232. "description": "成交金额 [消费奖励] (金额)",
  32233. "type": "number"
  32234. },
  32235. "srcgoodsid": {
  32236. "description": "来源商品ID [消费奖励]",
  32237. "type": "string"
  32238. },
  32239. "srctime": {
  32240. "description": "来源时间 (成交时间) [消费奖励]",
  32241. "type": "string"
  32242. },
  32243. "srctradeid": {
  32244. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  32245. "type": "string"
  32246. },
  32247. "srcuserid": {
  32248. "description": "来源用户ID(推广账户)",
  32249. "type": "string"
  32250. },
  32251. "srcusername": {
  32252. "description": "推广账户名称",
  32253. "type": "string"
  32254. },
  32255. "tradedate": {
  32256. "description": "交易日(yyyyMMdd)",
  32257. "type": "string"
  32258. },
  32259. "userid": {
  32260. "description": "经纪人用户ID",
  32261. "type": "integer"
  32262. }
  32263. }
  32264. },
  32265. "models.QhjContract": {
  32266. "type": "object",
  32267. "properties": {
  32268. "contractconfirmtime": {
  32269. "description": "合同确认时间(时间)",
  32270. "type": "string"
  32271. },
  32272. "currisklevel": {
  32273. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32274. "type": "integer"
  32275. },
  32276. "decimalplace": {
  32277. "description": "商品报价小数位",
  32278. "type": "integer"
  32279. },
  32280. "enumdicname": {
  32281. "description": "单位名称",
  32282. "type": "string"
  32283. },
  32284. "goodscode": {
  32285. "description": "商品代码",
  32286. "type": "string"
  32287. },
  32288. "goodsid": {
  32289. "description": "商品ID [5:融资单]",
  32290. "type": "integer"
  32291. },
  32292. "goodsname": {
  32293. "description": "商品名称",
  32294. "type": "string"
  32295. },
  32296. "goodunitid": {
  32297. "description": "商品单位id",
  32298. "type": "integer"
  32299. },
  32300. "initmargin": {
  32301. "description": "初始保证金(首付款)",
  32302. "type": "number"
  32303. },
  32304. "lenderamount": {
  32305. "description": "贷款金额(总额|订单总额)",
  32306. "type": "number"
  32307. },
  32308. "marginratio": {
  32309. "description": "保证金比率(首付比例)",
  32310. "type": "number"
  32311. },
  32312. "payamount": {
  32313. "description": "已付(已付货款)",
  32314. "type": "number"
  32315. },
  32316. "reckonrecovermargin": {
  32317. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  32318. "type": "number"
  32319. },
  32320. "recoveredmargin": {
  32321. "description": "已追缴保证金",
  32322. "type": "number"
  32323. },
  32324. "remainamount": {
  32325. "description": "合同剩余金额(融资额)",
  32326. "type": "number"
  32327. },
  32328. "scfcontractid": {
  32329. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32330. "type": "string"
  32331. },
  32332. "scfcontractstatus": {
  32333. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32334. "type": "integer"
  32335. },
  32336. "scfcontracttype": {
  32337. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  32338. "type": "integer"
  32339. },
  32340. "totalinterest": {
  32341. "description": "已计总利息(利息)",
  32342. "type": "number"
  32343. },
  32344. "tradeprice": {
  32345. "description": "成交价格(成本价格)",
  32346. "type": "number"
  32347. },
  32348. "userid": {
  32349. "description": "用户ID",
  32350. "type": "integer"
  32351. },
  32352. "username": {
  32353. "description": "用户名称",
  32354. "type": "string"
  32355. },
  32356. "wrqty": {
  32357. "description": "仓单数量(数量)",
  32358. "type": "number"
  32359. }
  32360. }
  32361. },
  32362. "models.QhjContractLog": {
  32363. "type": "object",
  32364. "properties": {
  32365. "amount": {
  32366. "description": "支付金额",
  32367. "type": "number"
  32368. },
  32369. "amounttype": {
  32370. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  32371. "type": "integer"
  32372. },
  32373. "logid": {
  32374. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32375. "type": "string"
  32376. },
  32377. "remainamount": {
  32378. "description": "剩余货款",
  32379. "type": "number"
  32380. },
  32381. "scfcontractid": {
  32382. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32383. "type": "integer"
  32384. },
  32385. "updatetime": {
  32386. "description": "更新时间",
  32387. "type": "string"
  32388. }
  32389. }
  32390. },
  32391. "models.QhjCusBankSignBankEx": {
  32392. "type": "object",
  32393. "properties": {
  32394. "banklst": {
  32395. "description": "银行列表",
  32396. "type": "array",
  32397. "items": {
  32398. "$ref": "#/definitions/models.QhjBankInfo"
  32399. }
  32400. },
  32401. "canallot": {
  32402. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  32403. "type": "integer"
  32404. },
  32405. "canallotquery": {
  32406. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  32407. "type": "integer"
  32408. },
  32409. "canbindcard": {
  32410. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  32411. "type": "integer"
  32412. },
  32413. "caninamount": {
  32414. "description": "是否可入金 - 0:不可 1:可以",
  32415. "type": "integer"
  32416. },
  32417. "caninamount2": {
  32418. "description": "是否可入金(网银端) - 0:不可 1:可以",
  32419. "type": "integer"
  32420. },
  32421. "canmodifybankcard": {
  32422. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  32423. "type": "integer"
  32424. },
  32425. "canmodifyphone": {
  32426. "description": "是否可修改手机号 - 0:不可 1:可以",
  32427. "type": "integer"
  32428. },
  32429. "canmodifysigninfo": {
  32430. "description": "是否可修改签约信息 - 0:不可 1:可以",
  32431. "type": "integer"
  32432. },
  32433. "canoutamount": {
  32434. "description": "是否可出金 - 0:不可 1:可以",
  32435. "type": "integer"
  32436. },
  32437. "canoutamount2": {
  32438. "description": "是否可出金(网银端) - 0:不可 1:可以",
  32439. "type": "integer"
  32440. },
  32441. "canrelease": {
  32442. "description": "是否可解约 - 0:不可 1:可以",
  32443. "type": "integer"
  32444. },
  32445. "canrelease2": {
  32446. "description": "是否可解约(网银端) - 0:不可 1:可以",
  32447. "type": "integer"
  32448. },
  32449. "cansign": {
  32450. "description": "是否可签约 - 0:不可 1:可以",
  32451. "type": "integer"
  32452. },
  32453. "cansign2": {
  32454. "description": "是否可签约(网银端) - 0:不可 1:可以",
  32455. "type": "integer"
  32456. },
  32457. "currency": {
  32458. "description": "币种",
  32459. "type": "string"
  32460. },
  32461. "cusbankid": {
  32462. "description": "托管银行编号(对应清算中心TRAN_NO)",
  32463. "type": "string"
  32464. },
  32465. "cusbankname": {
  32466. "description": "银行业务名称",
  32467. "type": "string"
  32468. },
  32469. "cusbankshortname": {
  32470. "description": "银行业务简称",
  32471. "type": "string"
  32472. },
  32473. "exchbankid": {
  32474. "description": "交易所开户银行ID",
  32475. "type": "string"
  32476. },
  32477. "exchpaybankaccname": {
  32478. "description": "交易所支出结算账户户名",
  32479. "type": "string"
  32480. },
  32481. "exchpaybankaccno": {
  32482. "description": "交易所支出结算账户",
  32483. "type": "string"
  32484. },
  32485. "isneedcheck": {
  32486. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  32487. "type": "integer"
  32488. },
  32489. "isneedclear": {
  32490. "description": "是否需要清算 - 0:不需要 1:需要",
  32491. "type": "integer"
  32492. },
  32493. "lastcheckstatus": {
  32494. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  32495. "type": "integer"
  32496. },
  32497. "lastchecktime": {
  32498. "description": "最后对账时间",
  32499. "type": "string"
  32500. },
  32501. "lastclearstatus": {
  32502. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  32503. "type": "integer"
  32504. },
  32505. "lastcleartime": {
  32506. "description": "最后清算时间",
  32507. "type": "string"
  32508. },
  32509. "lastsignintime": {
  32510. "description": "最后签到时间",
  32511. "type": "string"
  32512. },
  32513. "lastsignouttime": {
  32514. "description": "最后签退时间",
  32515. "type": "string"
  32516. },
  32517. "riskinfo": {
  32518. "description": "签约风险提示书",
  32519. "type": "string"
  32520. },
  32521. "signstatus": {
  32522. "description": "当前签到/签退状态 - 1:签到 2:签退",
  32523. "type": "integer"
  32524. },
  32525. "tradedate": {
  32526. "description": "交易日(yyyyMMdd)",
  32527. "type": "string"
  32528. },
  32529. "updatetime": {
  32530. "description": "当前签到/签退更新时间",
  32531. "type": "string"
  32532. }
  32533. }
  32534. },
  32535. "models.QhjCustomer": {
  32536. "type": "object",
  32537. "properties": {
  32538. "address": {
  32539. "description": "通讯地址",
  32540. "type": "string"
  32541. },
  32542. "attachment1": {
  32543. "description": "附件1",
  32544. "type": "string"
  32545. },
  32546. "attachment2": {
  32547. "description": "附件2",
  32548. "type": "string"
  32549. },
  32550. "audittime": {
  32551. "description": "审核时间",
  32552. "type": "string"
  32553. },
  32554. "cardbackphotourl": {
  32555. "description": "证件反面图片地址",
  32556. "type": "string"
  32557. },
  32558. "cardfrontphotourl": {
  32559. "description": "证件正面图片地址",
  32560. "type": "string"
  32561. },
  32562. "cardnum": {
  32563. "description": "证件号码",
  32564. "type": "string"
  32565. },
  32566. "cardtype": {
  32567. "description": "证件类型",
  32568. "type": "integer"
  32569. },
  32570. "cardtypename": {
  32571. "description": "证件类型名称",
  32572. "type": "string"
  32573. },
  32574. "cityid": {
  32575. "description": "市",
  32576. "type": "integer"
  32577. },
  32578. "cityname": {
  32579. "description": "城市名称",
  32580. "type": "string"
  32581. },
  32582. "contactname": {
  32583. "description": "联系人",
  32584. "type": "string"
  32585. },
  32586. "countryid": {
  32587. "description": "国家",
  32588. "type": "integer"
  32589. },
  32590. "countryname": {
  32591. "description": "国家名称",
  32592. "type": "string"
  32593. },
  32594. "createtime": {
  32595. "description": "创建时间",
  32596. "type": "string"
  32597. },
  32598. "customername": {
  32599. "description": "客户名称",
  32600. "type": "string"
  32601. },
  32602. "districtid": {
  32603. "description": "区域",
  32604. "type": "integer"
  32605. },
  32606. "districtname": {
  32607. "description": "地区名称",
  32608. "type": "string"
  32609. },
  32610. "email": {
  32611. "description": "邮件",
  32612. "type": "string"
  32613. },
  32614. "legalpersonname": {
  32615. "description": "法人姓名(企业)",
  32616. "type": "string"
  32617. },
  32618. "logincode": {
  32619. "description": "登录账号(代码)",
  32620. "type": "string"
  32621. },
  32622. "memberuserid": {
  32623. "description": "所属机构ID(所属会员)",
  32624. "type": "integer"
  32625. },
  32626. "memberusername": {
  32627. "description": "所属会员名称",
  32628. "type": "string"
  32629. },
  32630. "mobile": {
  32631. "description": "手机号码",
  32632. "type": "string"
  32633. },
  32634. "modifytime": {
  32635. "description": "修改时间",
  32636. "type": "string"
  32637. },
  32638. "nickname": {
  32639. "description": "昵称",
  32640. "type": "string"
  32641. },
  32642. "parentuserid": {
  32643. "description": "上级机构(所属机构)",
  32644. "type": "integer"
  32645. },
  32646. "parentusername": {
  32647. "description": "所属机构名称",
  32648. "type": "string"
  32649. },
  32650. "provinceid": {
  32651. "description": "省",
  32652. "type": "integer"
  32653. },
  32654. "provincename": {
  32655. "description": "省名称",
  32656. "type": "string"
  32657. },
  32658. "proxystatementurl": {
  32659. "description": "授权委托书",
  32660. "type": "string"
  32661. },
  32662. "remark": {
  32663. "description": "备注",
  32664. "type": "string"
  32665. },
  32666. "status": {
  32667. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  32668. "type": "integer"
  32669. },
  32670. "statusdesc": {
  32671. "description": "账户状态中文描述",
  32672. "type": "string"
  32673. },
  32674. "taxpayernum": {
  32675. "description": "纳税人识别号",
  32676. "type": "string"
  32677. },
  32678. "telphone": {
  32679. "description": "联系电话",
  32680. "type": "string"
  32681. },
  32682. "userid": {
  32683. "description": "用户ID",
  32684. "type": "integer"
  32685. },
  32686. "userinfotype": {
  32687. "description": "客户类型 1-个人 2-企业",
  32688. "type": "integer"
  32689. },
  32690. "username": {
  32691. "description": "用户名称",
  32692. "type": "string"
  32693. }
  32694. }
  32695. },
  32696. "models.QhjCustomerSignLog": {
  32697. "type": "object",
  32698. "properties": {
  32699. "agreementcontent": {
  32700. "description": "协议内容",
  32701. "type": "string"
  32702. },
  32703. "agreementid": {
  32704. "description": "协议ID",
  32705. "type": "integer"
  32706. },
  32707. "agreementname": {
  32708. "description": "协议名称",
  32709. "type": "string"
  32710. },
  32711. "agreementno": {
  32712. "description": "协议编号",
  32713. "type": "string"
  32714. },
  32715. "agreementtype": {
  32716. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32717. "type": "integer"
  32718. },
  32719. "agreementversion": {
  32720. "description": "协议版本号",
  32721. "type": "integer"
  32722. },
  32723. "createtime": {
  32724. "description": "创建时间",
  32725. "type": "string"
  32726. },
  32727. "goodscode": {
  32728. "description": "商品代码",
  32729. "type": "string"
  32730. },
  32731. "goodsid": {
  32732. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32733. "type": "integer"
  32734. },
  32735. "goodsname": {
  32736. "description": "商品名称",
  32737. "type": "string"
  32738. },
  32739. "logid": {
  32740. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  32741. "type": "integer"
  32742. },
  32743. "nodetype": {
  32744. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32745. "type": "integer"
  32746. },
  32747. "signadressurl": {
  32748. "description": "签约文件地址",
  32749. "type": "string"
  32750. },
  32751. "signtimestamp": {
  32752. "description": "签约状态时间戳",
  32753. "type": "string"
  32754. },
  32755. "userid": {
  32756. "description": "客户ID",
  32757. "type": "integer"
  32758. },
  32759. "username": {
  32760. "description": "客户名称",
  32761. "type": "string"
  32762. }
  32763. }
  32764. },
  32765. "models.QhjCustomerSignStatus": {
  32766. "type": "object",
  32767. "properties": {
  32768. "createtime": {
  32769. "description": "创建时间",
  32770. "type": "string"
  32771. },
  32772. "goodscode": {
  32773. "description": "商品代码",
  32774. "type": "string"
  32775. },
  32776. "goodsid": {
  32777. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32778. "type": "integer"
  32779. },
  32780. "goodsname": {
  32781. "description": "商品名称",
  32782. "type": "string"
  32783. },
  32784. "nodetype": {
  32785. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  32786. "type": "integer"
  32787. },
  32788. "signtimestamp": {
  32789. "description": "签约状态时间戳",
  32790. "type": "string"
  32791. },
  32792. "tradedate": {
  32793. "description": "创建交易日(yyyyMMdd)",
  32794. "type": "string"
  32795. },
  32796. "updatetime": {
  32797. "description": "更新时间",
  32798. "type": "string"
  32799. },
  32800. "userid": {
  32801. "description": "客户ID",
  32802. "type": "integer"
  32803. },
  32804. "username": {
  32805. "description": "客户名称",
  32806. "type": "string"
  32807. }
  32808. }
  32809. },
  32810. "models.QhjMgrAccountOutInApply": {
  32811. "type": "object",
  32812. "properties": {
  32813. "accountcode": {
  32814. "description": "资金账号",
  32815. "type": "string"
  32816. },
  32817. "accountname": {
  32818. "description": "用户名称(名称)",
  32819. "type": "string"
  32820. },
  32821. "accountpwd": {
  32822. "description": "资金密码",
  32823. "type": "string"
  32824. },
  32825. "accountticket": {
  32826. "description": "最新账户服务流水号",
  32827. "type": "string"
  32828. },
  32829. "amount": {
  32830. "description": "金额",
  32831. "type": "number"
  32832. },
  32833. "applyremark": {
  32834. "description": "申请备注",
  32835. "type": "string"
  32836. },
  32837. "applystatus": {
  32838. "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: 复审通过,账户冻结金额检查中;",
  32839. "type": "integer"
  32840. },
  32841. "auditid": {
  32842. "description": "审核人",
  32843. "type": "integer"
  32844. },
  32845. "audittime": {
  32846. "description": "审核时间",
  32847. "type": "string"
  32848. },
  32849. "bank_apply_ticket": {
  32850. "description": "银行申请流水",
  32851. "type": "string"
  32852. },
  32853. "bankaccountname": {
  32854. "description": "银行账户名",
  32855. "type": "string"
  32856. },
  32857. "bankaccountno": {
  32858. "description": "银行卡号",
  32859. "type": "string"
  32860. },
  32861. "bankid": {
  32862. "description": "银行编号",
  32863. "type": "string"
  32864. },
  32865. "bankname": {
  32866. "description": "银行名称",
  32867. "type": "string"
  32868. },
  32869. "bankticket": {
  32870. "description": "银行流水",
  32871. "type": "string"
  32872. },
  32873. "branchbankid": {
  32874. "description": "银行支行号",
  32875. "type": "string"
  32876. },
  32877. "branchbankname": {
  32878. "description": "银行支行名称",
  32879. "type": "string"
  32880. },
  32881. "capamountout": {
  32882. "description": "出金(劣后本金) - 外部子账户",
  32883. "type": "number"
  32884. },
  32885. "certificatephotourl": {
  32886. "description": "凭证地址",
  32887. "type": "string"
  32888. },
  32889. "charge": {
  32890. "description": "手续费",
  32891. "type": "number"
  32892. },
  32893. "checkerrorflag": {
  32894. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32895. "type": "integer"
  32896. },
  32897. "currency": {
  32898. "description": "币种",
  32899. "type": "string"
  32900. },
  32901. "cusbankid": {
  32902. "description": "托管银行编号",
  32903. "type": "string"
  32904. },
  32905. "exchticket": {
  32906. "description": "银行服务流水号",
  32907. "type": "string"
  32908. },
  32909. "executetype": {
  32910. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32911. "type": "integer"
  32912. },
  32913. "extendinfo": {
  32914. "description": "扩展信息",
  32915. "type": "string"
  32916. },
  32917. "extoperateid": {
  32918. "description": "交易服务流水号",
  32919. "type": "integer"
  32920. },
  32921. "infamount": {
  32922. "description": "劣后金额(自有)",
  32923. "type": "number"
  32924. },
  32925. "logincode": {
  32926. "description": "登录账号(账号)",
  32927. "type": "string"
  32928. },
  32929. "netaddr": {
  32930. "description": "调转网址",
  32931. "type": "string"
  32932. },
  32933. "priamount": {
  32934. "description": "优先金额(授信)",
  32935. "type": "number"
  32936. },
  32937. "reauditid": {
  32938. "description": "复审人",
  32939. "type": "integer"
  32940. },
  32941. "reauditremark": {
  32942. "description": "复审备注",
  32943. "type": "string"
  32944. },
  32945. "reaudittime": {
  32946. "description": "复审时间",
  32947. "type": "string"
  32948. },
  32949. "relatedorderid": {
  32950. "description": "三方关联ID",
  32951. "type": "string"
  32952. },
  32953. "remark": {
  32954. "description": "备注",
  32955. "type": "string"
  32956. },
  32957. "remark2": {
  32958. "description": "备注(失败原因)",
  32959. "type": "string"
  32960. },
  32961. "soucreamount": {
  32962. "description": "原始出入金金额",
  32963. "type": "number"
  32964. },
  32965. "soucrecurrencyid": {
  32966. "description": "原始出入金币种",
  32967. "type": "integer"
  32968. },
  32969. "tradedate": {
  32970. "description": "交易日(yyyyMMdd)",
  32971. "type": "string"
  32972. },
  32973. "updatetime": {
  32974. "description": "更新时间(申请时间)",
  32975. "type": "string"
  32976. },
  32977. "userid": {
  32978. "description": "用户id",
  32979. "type": "integer"
  32980. },
  32981. "userinfotype": {
  32982. "description": "账户类型 1-个人 2-企业",
  32983. "type": "integer"
  32984. }
  32985. }
  32986. },
  32987. "models.QhjMgrBrokerApply": {
  32988. "type": "object",
  32989. "properties": {
  32990. "applicantid": {
  32991. "description": "申请人",
  32992. "type": "integer"
  32993. },
  32994. "applysrc": {
  32995. "description": "申请来源 - 1:管理端 2:终端",
  32996. "type": "integer"
  32997. },
  32998. "applystatus": {
  32999. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33000. "type": "integer"
  33001. },
  33002. "applytime": {
  33003. "description": "申请时间",
  33004. "type": "string"
  33005. },
  33006. "auditorid": {
  33007. "description": "审核人",
  33008. "type": "integer"
  33009. },
  33010. "auditremark": {
  33011. "description": "审核备注",
  33012. "type": "string"
  33013. },
  33014. "auditsrc": {
  33015. "description": "审核来源 - 1:管理端 2:终端",
  33016. "type": "integer"
  33017. },
  33018. "audittime": {
  33019. "description": "审核时间",
  33020. "type": "string"
  33021. },
  33022. "audittradedate": {
  33023. "description": "审核交易日(yyyyMMdd)",
  33024. "type": "string"
  33025. },
  33026. "brokerapplyid": {
  33027. "description": "申请ID(SEQ_BROKERAPPLY)",
  33028. "type": "integer"
  33029. },
  33030. "cardbackphotourl": {
  33031. "description": "证件背面图片地址",
  33032. "type": "string"
  33033. },
  33034. "cardfrontphotourl": {
  33035. "description": "证件正面图片地址",
  33036. "type": "string"
  33037. },
  33038. "cardnum": {
  33039. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33040. "type": "string"
  33041. },
  33042. "customername": {
  33043. "description": "姓名",
  33044. "type": "string"
  33045. },
  33046. "filterstatus": {
  33047. "description": "筛选条件",
  33048. "type": "string"
  33049. },
  33050. "logincode": {
  33051. "description": "登录代码",
  33052. "type": "string"
  33053. },
  33054. "mobile": {
  33055. "description": "手机号码",
  33056. "type": "string"
  33057. },
  33058. "parentuserid": {
  33059. "description": "所属机构id",
  33060. "type": "integer"
  33061. },
  33062. "parentusername": {
  33063. "description": "所属机构名称",
  33064. "type": "string"
  33065. },
  33066. "refereeuserid": {
  33067. "description": "推荐人id(经纪人)",
  33068. "type": "integer"
  33069. },
  33070. "refernum": {
  33071. "description": "推荐码",
  33072. "type": "string"
  33073. },
  33074. "remark": {
  33075. "description": "备注",
  33076. "type": "string"
  33077. },
  33078. "subarealevelpath": {
  33079. "description": "层级路径",
  33080. "type": "string"
  33081. },
  33082. "tradedate": {
  33083. "description": "交易日(yyyyMMdd)",
  33084. "type": "string"
  33085. },
  33086. "userid": {
  33087. "description": "申请人用户ID",
  33088. "type": "integer"
  33089. },
  33090. "userinfotype": {
  33091. "description": "用户类型 1-个人 2-企业",
  33092. "type": "integer"
  33093. },
  33094. "username": {
  33095. "description": "用户名称",
  33096. "type": "string"
  33097. }
  33098. }
  33099. },
  33100. "models.QhjMgrBrokerRewardReport": {
  33101. "type": "object",
  33102. "properties": {
  33103. "createtime": {
  33104. "description": "创建时间(注册时间)",
  33105. "type": "string"
  33106. },
  33107. "cycletime": {
  33108. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33109. "type": "string"
  33110. },
  33111. "cycletype": {
  33112. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33113. "type": "integer"
  33114. },
  33115. "directtotalnum": {
  33116. "description": "直推总人数【期末】",
  33117. "type": "integer"
  33118. },
  33119. "indirecttotalnum": {
  33120. "description": "间推总人数【期末】",
  33121. "type": "integer"
  33122. },
  33123. "mobile": {
  33124. "description": "电话号码",
  33125. "type": "string"
  33126. },
  33127. "refereeuserid": {
  33128. "description": "推荐人id(经纪人id)",
  33129. "type": "integer"
  33130. },
  33131. "refereeusername": {
  33132. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33133. "type": "string"
  33134. },
  33135. "refernum": {
  33136. "description": "推荐码",
  33137. "type": "string"
  33138. },
  33139. "subarealevelpath": {
  33140. "description": "用户层级路径",
  33141. "type": "string"
  33142. },
  33143. "todayrewardamount": {
  33144. "description": "奖励总金额【汇总】",
  33145. "type": "number"
  33146. },
  33147. "updatetime": {
  33148. "description": "更新时间",
  33149. "type": "string"
  33150. },
  33151. "userid": {
  33152. "description": "经纪人用户ID",
  33153. "type": "integer"
  33154. },
  33155. "userinfotype": {
  33156. "description": "用户类型 1-个人 2-企业",
  33157. "type": "integer"
  33158. },
  33159. "username": {
  33160. "description": "用户名称",
  33161. "type": "string"
  33162. }
  33163. }
  33164. },
  33165. "models.QhjMgrContract": {
  33166. "type": "object",
  33167. "properties": {
  33168. "contractconfirmtime": {
  33169. "description": "合同确认时间(时间)",
  33170. "type": "string"
  33171. },
  33172. "currisklevel": {
  33173. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33174. "type": "integer"
  33175. },
  33176. "decimalplace": {
  33177. "description": "商品报价小数位",
  33178. "type": "integer"
  33179. },
  33180. "enumdicname": {
  33181. "description": "单位名称",
  33182. "type": "string"
  33183. },
  33184. "goodscode": {
  33185. "description": "商品代码",
  33186. "type": "string"
  33187. },
  33188. "goodsid": {
  33189. "description": "商品ID [5:融资单]",
  33190. "type": "integer"
  33191. },
  33192. "goodsname": {
  33193. "description": "商品名称",
  33194. "type": "string"
  33195. },
  33196. "goodunitid": {
  33197. "description": "商品单位id",
  33198. "type": "integer"
  33199. },
  33200. "initmargin": {
  33201. "description": "初始保证金(首付款)",
  33202. "type": "number"
  33203. },
  33204. "lenderamount": {
  33205. "description": "贷款金额(总额|订单总额)",
  33206. "type": "number"
  33207. },
  33208. "logincode": {
  33209. "description": "账号(登录代码)",
  33210. "type": "string"
  33211. },
  33212. "marginratio": {
  33213. "description": "保证金比率(首付比例)",
  33214. "type": "number"
  33215. },
  33216. "mobile": {
  33217. "description": "电话号码(用户资料里的电话)",
  33218. "type": "string"
  33219. },
  33220. "payamount": {
  33221. "description": "已付(已付货款)",
  33222. "type": "number"
  33223. },
  33224. "reckonrecovermargin": {
  33225. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33226. "type": "number"
  33227. },
  33228. "recoveredmargin": {
  33229. "description": "已追缴保证金",
  33230. "type": "number"
  33231. },
  33232. "remainamount": {
  33233. "description": "合同剩余金额(融资额)",
  33234. "type": "number"
  33235. },
  33236. "scfcontractid": {
  33237. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33238. "type": "string"
  33239. },
  33240. "scfcontractstatus": {
  33241. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33242. "type": "integer"
  33243. },
  33244. "scfcontracttype": {
  33245. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33246. "type": "integer"
  33247. },
  33248. "totalinterest": {
  33249. "description": "已计总利息(利息)",
  33250. "type": "number"
  33251. },
  33252. "tradedate": {
  33253. "description": "交易日",
  33254. "type": "string"
  33255. },
  33256. "tradeprice": {
  33257. "description": "成交价格(成本价格)",
  33258. "type": "number"
  33259. },
  33260. "userid": {
  33261. "description": "用户ID",
  33262. "type": "integer"
  33263. },
  33264. "userinfotype": {
  33265. "description": "用户类型 1-个人 2-企业",
  33266. "type": "integer"
  33267. },
  33268. "username": {
  33269. "description": "用户名称",
  33270. "type": "string"
  33271. },
  33272. "wrqty": {
  33273. "description": "仓单数量(数量)",
  33274. "type": "number"
  33275. }
  33276. }
  33277. },
  33278. "models.QhjMgrCustomer": {
  33279. "type": "object",
  33280. "properties": {
  33281. "address": {
  33282. "description": "通讯地址",
  33283. "type": "string"
  33284. },
  33285. "attachment1": {
  33286. "description": "附件1",
  33287. "type": "string"
  33288. },
  33289. "audittime": {
  33290. "description": "审核时间",
  33291. "type": "string"
  33292. },
  33293. "birthday": {
  33294. "description": "生日",
  33295. "type": "string"
  33296. },
  33297. "brokerid": {
  33298. "description": "所属客户经理id",
  33299. "type": "integer"
  33300. },
  33301. "brokername": {
  33302. "description": "所属客户经理名称",
  33303. "type": "string"
  33304. },
  33305. "cardbackphotourl": {
  33306. "description": "证件反面图片地址",
  33307. "type": "string"
  33308. },
  33309. "cardfrontphotourl": {
  33310. "description": "证件正面图片地址",
  33311. "type": "string"
  33312. },
  33313. "cardnum": {
  33314. "description": "证件号码",
  33315. "type": "string"
  33316. },
  33317. "cardtype": {
  33318. "description": "证件类型",
  33319. "type": "integer"
  33320. },
  33321. "cardtypename": {
  33322. "description": "证件类型名称",
  33323. "type": "string"
  33324. },
  33325. "cityid": {
  33326. "description": "市",
  33327. "type": "integer"
  33328. },
  33329. "cityname": {
  33330. "description": "城市名称",
  33331. "type": "string"
  33332. },
  33333. "contactname": {
  33334. "description": "联系人",
  33335. "type": "string"
  33336. },
  33337. "countryid": {
  33338. "description": "国家",
  33339. "type": "integer"
  33340. },
  33341. "countryname": {
  33342. "description": "国家名称",
  33343. "type": "string"
  33344. },
  33345. "createtime": {
  33346. "description": "创建时间",
  33347. "type": "string"
  33348. },
  33349. "customername": {
  33350. "description": "客户名称",
  33351. "type": "string"
  33352. },
  33353. "districtid": {
  33354. "description": "区域",
  33355. "type": "integer"
  33356. },
  33357. "districtname": {
  33358. "description": "地区名称",
  33359. "type": "string"
  33360. },
  33361. "email": {
  33362. "description": "邮件",
  33363. "type": "string"
  33364. },
  33365. "legalpersonname": {
  33366. "description": "法人姓名(企业)",
  33367. "type": "string"
  33368. },
  33369. "logincode": {
  33370. "description": "登录账号(代码)",
  33371. "type": "string"
  33372. },
  33373. "memberuserid": {
  33374. "description": "所属机构ID(所属会员)",
  33375. "type": "integer"
  33376. },
  33377. "memberusername": {
  33378. "description": "所属会员名称",
  33379. "type": "string"
  33380. },
  33381. "mobile": {
  33382. "description": "手机号码",
  33383. "type": "string"
  33384. },
  33385. "modifytime": {
  33386. "description": "修改时间",
  33387. "type": "string"
  33388. },
  33389. "nickname": {
  33390. "description": "昵称",
  33391. "type": "string"
  33392. },
  33393. "parentuserid": {
  33394. "description": "上级机构(所属机构)",
  33395. "type": "integer"
  33396. },
  33397. "parentusername": {
  33398. "description": "所属机构名称",
  33399. "type": "string"
  33400. },
  33401. "provinceid": {
  33402. "description": "省",
  33403. "type": "integer"
  33404. },
  33405. "provincename": {
  33406. "description": "省名称",
  33407. "type": "string"
  33408. },
  33409. "proxystatementurl": {
  33410. "description": "授权委托书",
  33411. "type": "string"
  33412. },
  33413. "querytype": {
  33414. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  33415. "type": "integer"
  33416. },
  33417. "remark": {
  33418. "description": "备注",
  33419. "type": "string"
  33420. },
  33421. "sex": {
  33422. "description": "性别 0-女 1-男",
  33423. "type": "integer"
  33424. },
  33425. "status": {
  33426. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33427. "type": "integer"
  33428. },
  33429. "statusdesc": {
  33430. "description": "账户状态中文描述",
  33431. "type": "string"
  33432. },
  33433. "taxpayernum": {
  33434. "description": "纳税人识别号",
  33435. "type": "string"
  33436. },
  33437. "telphone": {
  33438. "description": "联系电话",
  33439. "type": "string"
  33440. },
  33441. "userid": {
  33442. "description": "用户ID",
  33443. "type": "integer"
  33444. },
  33445. "userinfotype": {
  33446. "description": "客户类型 1-个人 2-企业",
  33447. "type": "integer"
  33448. },
  33449. "username": {
  33450. "description": "用户名称",
  33451. "type": "string"
  33452. }
  33453. }
  33454. },
  33455. "models.QhjMgrPickGoods": {
  33456. "type": "object",
  33457. "properties": {
  33458. "enumdicname": {
  33459. "description": "单位名称(提货商品)",
  33460. "type": "string"
  33461. },
  33462. "goodsid": {
  33463. "description": "商品id",
  33464. "type": "integer"
  33465. },
  33466. "imageaddress": {
  33467. "description": "图片",
  33468. "type": "string"
  33469. },
  33470. "modifierid": {
  33471. "description": "修改人",
  33472. "type": "integer"
  33473. },
  33474. "modifiername": {
  33475. "description": "修改人名称",
  33476. "type": "string"
  33477. },
  33478. "modifysrc": {
  33479. "description": "修改来源 - 1:管理端 2:终端",
  33480. "type": "integer"
  33481. },
  33482. "pickupgoodsagreeunit": {
  33483. "description": "合约乘数",
  33484. "type": "number"
  33485. },
  33486. "pickupgoodsdesc": {
  33487. "description": "描述",
  33488. "type": "string"
  33489. },
  33490. "pickupgoodsid": {
  33491. "description": "提货商品ID",
  33492. "type": "string"
  33493. },
  33494. "pickupgoodsname": {
  33495. "description": "提货商品名称",
  33496. "type": "string"
  33497. },
  33498. "pickupgoodsstatus": {
  33499. "description": "状态 - 1:正常 2:停用 3:注销",
  33500. "type": "integer"
  33501. },
  33502. "pickupgoodsunitid": {
  33503. "description": "单位ID",
  33504. "type": "integer"
  33505. },
  33506. "pickupratio": {
  33507. "description": "提货系数",
  33508. "type": "number"
  33509. },
  33510. "preparedays": {
  33511. "description": "备货期(天)",
  33512. "type": "integer"
  33513. },
  33514. "remark": {
  33515. "description": "备注",
  33516. "type": "string"
  33517. },
  33518. "updatetime": {
  33519. "description": "更新时间",
  33520. "type": "string"
  33521. }
  33522. }
  33523. },
  33524. "models.QhjMgrPositionRsp": {
  33525. "type": "object",
  33526. "properties": {
  33527. "accountid": {
  33528. "description": "账号Id",
  33529. "type": "integer"
  33530. },
  33531. "accountname": {
  33532. "description": "用户名称",
  33533. "type": "string"
  33534. },
  33535. "agreeunit": {
  33536. "description": "合约乘数",
  33537. "type": "number"
  33538. },
  33539. "averageprice": {
  33540. "description": "均价",
  33541. "type": "number"
  33542. },
  33543. "avialqty": {
  33544. "description": "可用数量",
  33545. "type": "number"
  33546. },
  33547. "decimalplace": {
  33548. "description": "报价小数位",
  33549. "type": "integer"
  33550. },
  33551. "enumdicname": {
  33552. "description": "单位名称(商品)",
  33553. "type": "string"
  33554. },
  33555. "frozenqty": {
  33556. "description": "冻结数量",
  33557. "type": "number"
  33558. },
  33559. "goodscode": {
  33560. "description": "商品代码(内部)",
  33561. "type": "string"
  33562. },
  33563. "goodsid": {
  33564. "description": "商品Id",
  33565. "type": "integer"
  33566. },
  33567. "goodsname": {
  33568. "description": "商品名称",
  33569. "type": "string"
  33570. },
  33571. "goodunitid": {
  33572. "description": "报价单位ID",
  33573. "type": "integer"
  33574. },
  33575. "holderamount": {
  33576. "description": "金额",
  33577. "type": "number"
  33578. },
  33579. "holderqty": {
  33580. "description": "持有数量",
  33581. "type": "number"
  33582. },
  33583. "holdertype": {
  33584. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  33585. "type": "integer"
  33586. },
  33587. "logincode": {
  33588. "description": "登录代码(账户)",
  33589. "type": "string"
  33590. },
  33591. "marketid": {
  33592. "description": "市场id",
  33593. "type": "integer"
  33594. },
  33595. "qtydecimalplace": {
  33596. "description": "成交量小数位",
  33597. "type": "integer"
  33598. },
  33599. "trademode": {
  33600. "description": "交易模式",
  33601. "type": "integer"
  33602. },
  33603. "userid": {
  33604. "description": "用户id",
  33605. "type": "integer"
  33606. },
  33607. "userinfotype": {
  33608. "description": "账户类型 1-个人 2-企业",
  33609. "type": "integer"
  33610. }
  33611. }
  33612. },
  33613. "models.QhjMgrSubArea": {
  33614. "type": "object",
  33615. "properties": {
  33616. "accountname": {
  33617. "description": "账户名称(机构名称)",
  33618. "type": "string"
  33619. },
  33620. "memberuserid": {
  33621. "description": "所属会员ID",
  33622. "type": "integer"
  33623. },
  33624. "parenttopuser": {
  33625. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33626. "type": "string"
  33627. },
  33628. "parentuserid": {
  33629. "description": "所属机构ID",
  33630. "type": "integer"
  33631. },
  33632. "rootuserid": {
  33633. "description": "根用户ID",
  33634. "type": "string"
  33635. },
  33636. "subaccountlevel": {
  33637. "description": "子账户层数",
  33638. "type": "integer"
  33639. },
  33640. "subarealevelpath": {
  33641. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33642. "type": "string"
  33643. },
  33644. "userid": {
  33645. "description": "用户ID",
  33646. "type": "integer"
  33647. },
  33648. "usertype": {
  33649. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33650. "type": "integer"
  33651. }
  33652. }
  33653. },
  33654. "models.QhjMgrTradeDetailRsp": {
  33655. "type": "object",
  33656. "properties": {
  33657. "accountid": {
  33658. "description": "资金账号",
  33659. "type": "integer"
  33660. },
  33661. "accountname": {
  33662. "description": "用户名称",
  33663. "type": "string"
  33664. },
  33665. "agreeunit": {
  33666. "description": "合约乘数",
  33667. "type": "number"
  33668. },
  33669. "buyorsell": {
  33670. "description": "成交类型(方向) 0:买 1:卖",
  33671. "type": "integer"
  33672. },
  33673. "decimalplace": {
  33674. "description": "报价小数位",
  33675. "type": "integer"
  33676. },
  33677. "enumdicname": {
  33678. "description": "单位名称(商品)",
  33679. "type": "string"
  33680. },
  33681. "goodscode": {
  33682. "description": "商品代码(内部)",
  33683. "type": "string"
  33684. },
  33685. "goodsid": {
  33686. "description": "商品id",
  33687. "type": "integer"
  33688. },
  33689. "goodsname": {
  33690. "description": "商品名称",
  33691. "type": "string"
  33692. },
  33693. "goodunitid": {
  33694. "description": "报价单位ID",
  33695. "type": "integer"
  33696. },
  33697. "logincode": {
  33698. "description": "登录代码(账户)",
  33699. "type": "string"
  33700. },
  33701. "marketid": {
  33702. "description": "市场id",
  33703. "type": "integer"
  33704. },
  33705. "orderid": {
  33706. "description": "关联委托单号",
  33707. "type": "string"
  33708. },
  33709. "qtydecimalplace": {
  33710. "description": "成交量小数位",
  33711. "type": "integer"
  33712. },
  33713. "tradeamount": {
  33714. "description": "金额",
  33715. "type": "number"
  33716. },
  33717. "tradedate": {
  33718. "description": "交易日",
  33719. "type": "string"
  33720. },
  33721. "tradeid": {
  33722. "description": "成交单号",
  33723. "type": "string"
  33724. },
  33725. "trademode": {
  33726. "description": "交易模式",
  33727. "type": "integer"
  33728. },
  33729. "tradeprice": {
  33730. "description": "价格",
  33731. "type": "number"
  33732. },
  33733. "tradeqty": {
  33734. "description": "数量",
  33735. "type": "number"
  33736. },
  33737. "tradetime": {
  33738. "description": "成交时间",
  33739. "type": "string"
  33740. },
  33741. "userid": {
  33742. "description": "用户id",
  33743. "type": "integer"
  33744. },
  33745. "userinfotype": {
  33746. "description": "账户类型 1-个人 2-企业",
  33747. "type": "integer"
  33748. }
  33749. }
  33750. },
  33751. "models.QhjMgrTradeOrderDetailRsp": {
  33752. "type": "object",
  33753. "properties": {
  33754. "accountid": {
  33755. "description": "资金账号",
  33756. "type": "integer"
  33757. },
  33758. "accountname": {
  33759. "description": "用户名称",
  33760. "type": "string"
  33761. },
  33762. "agreeunit": {
  33763. "description": "合约乘数",
  33764. "type": "number"
  33765. },
  33766. "amount": {
  33767. "description": "金额",
  33768. "type": "number"
  33769. },
  33770. "decimalplace": {
  33771. "description": "报价小数位",
  33772. "type": "integer"
  33773. },
  33774. "enumdicname": {
  33775. "description": "单位名称(商品)",
  33776. "type": "string"
  33777. },
  33778. "goodscode": {
  33779. "description": "商品代码(内部)",
  33780. "type": "string"
  33781. },
  33782. "goodsid": {
  33783. "description": "商品id",
  33784. "type": "integer"
  33785. },
  33786. "goodsname": {
  33787. "description": "商品名称",
  33788. "type": "string"
  33789. },
  33790. "goodunitid": {
  33791. "description": "报价单位ID",
  33792. "type": "integer"
  33793. },
  33794. "logincode": {
  33795. "description": "登录代码(账户)",
  33796. "type": "string"
  33797. },
  33798. "marketid": {
  33799. "description": "市场id",
  33800. "type": "integer"
  33801. },
  33802. "orderid": {
  33803. "description": "关联委托单号",
  33804. "type": "string"
  33805. },
  33806. "orderprice": {
  33807. "description": "价格",
  33808. "type": "number"
  33809. },
  33810. "orderqty": {
  33811. "description": "数量",
  33812. "type": "number"
  33813. },
  33814. "orderstatus": {
  33815. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33816. "type": "integer"
  33817. },
  33818. "ordertime": {
  33819. "description": "委托时间",
  33820. "type": "string"
  33821. },
  33822. "qtydecimalplace": {
  33823. "description": "成交量小数位",
  33824. "type": "integer"
  33825. },
  33826. "tradedate": {
  33827. "description": "交易日",
  33828. "type": "string"
  33829. },
  33830. "trademode": {
  33831. "description": "交易模式",
  33832. "type": "integer"
  33833. },
  33834. "userid": {
  33835. "description": "用户id",
  33836. "type": "integer"
  33837. },
  33838. "userinfotype": {
  33839. "description": "账户类型 1-个人 2-企业",
  33840. "type": "integer"
  33841. }
  33842. }
  33843. },
  33844. "models.QhjMgrTradePayOrder": {
  33845. "type": "object",
  33846. "properties": {
  33847. "accountname": {
  33848. "description": "用户名称",
  33849. "type": "string"
  33850. },
  33851. "advanceratio": {
  33852. "description": "首付比率",
  33853. "type": "number"
  33854. },
  33855. "agreeunit": {
  33856. "description": "合约乘数",
  33857. "type": "number"
  33858. },
  33859. "buyaccountid": {
  33860. "description": "买方账号ID[报价币种]",
  33861. "type": "integer"
  33862. },
  33863. "buyorderid": {
  33864. "description": "买方委托单号(关联单号)",
  33865. "type": "string"
  33866. },
  33867. "createtime": {
  33868. "description": "创建时间",
  33869. "type": "string"
  33870. },
  33871. "decimalplace": {
  33872. "description": "报价小数位",
  33873. "type": "integer"
  33874. },
  33875. "enumdicname": {
  33876. "description": "单位名称(商品)",
  33877. "type": "string"
  33878. },
  33879. "goodscode": {
  33880. "description": "商品代码(内部)",
  33881. "type": "string"
  33882. },
  33883. "goodsid": {
  33884. "description": "商品ID",
  33885. "type": "integer"
  33886. },
  33887. "goodsname": {
  33888. "description": "商品名称",
  33889. "type": "string"
  33890. },
  33891. "goodunitid": {
  33892. "description": "报价单位ID",
  33893. "type": "integer"
  33894. },
  33895. "logincode": {
  33896. "description": "登录代码(账户)",
  33897. "type": "string"
  33898. },
  33899. "marketid": {
  33900. "description": "市场id",
  33901. "type": "integer"
  33902. },
  33903. "offamount": {
  33904. "description": "优惠金额",
  33905. "type": "number"
  33906. },
  33907. "operatetype": {
  33908. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  33909. "type": "integer"
  33910. },
  33911. "payamount": {
  33912. "description": "支付金额(金额)",
  33913. "type": "number"
  33914. },
  33915. "payflag": {
  33916. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  33917. "type": "integer"
  33918. },
  33919. "paylimitedtime": {
  33920. "description": "支付期限",
  33921. "type": "string"
  33922. },
  33923. "paytime": {
  33924. "description": "付款时间",
  33925. "type": "string"
  33926. },
  33927. "qtydecimalplace": {
  33928. "description": "成交量小数位",
  33929. "type": "integer"
  33930. },
  33931. "sellaccountid": {
  33932. "description": "卖方账号ID[报价币种]",
  33933. "type": "integer"
  33934. },
  33935. "sellorderid": {
  33936. "description": "卖方委托单号",
  33937. "type": "string"
  33938. },
  33939. "tradeamount": {
  33940. "description": "成交金额(优惠后金额)",
  33941. "type": "number"
  33942. },
  33943. "tradecharge": {
  33944. "description": "成交手续费(买方)",
  33945. "type": "number"
  33946. },
  33947. "tradedate": {
  33948. "description": "交易日(yyyyMMdd)",
  33949. "type": "string"
  33950. },
  33951. "tradeid": {
  33952. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33953. "type": "string"
  33954. },
  33955. "trademode": {
  33956. "description": "交易模式",
  33957. "type": "integer"
  33958. },
  33959. "tradeprice": {
  33960. "description": "成交价格(价格)",
  33961. "type": "number"
  33962. },
  33963. "tradeqty": {
  33964. "description": "成交数量(数量)",
  33965. "type": "number"
  33966. },
  33967. "tradetime": {
  33968. "description": "成交时间",
  33969. "type": "string"
  33970. },
  33971. "userid": {
  33972. "description": "用户id",
  33973. "type": "integer"
  33974. },
  33975. "userinfotype": {
  33976. "description": "账户类型 1-个人 2-企业",
  33977. "type": "integer"
  33978. }
  33979. }
  33980. },
  33981. "models.QhjMyTeamEx": {
  33982. "type": "object",
  33983. "properties": {
  33984. "accountname": {
  33985. "description": "用户名称",
  33986. "type": "string"
  33987. },
  33988. "accountstatus": {
  33989. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33990. "type": "integer"
  33991. },
  33992. "createtime": {
  33993. "description": "创建时间",
  33994. "type": "string"
  33995. },
  33996. "mobile": {
  33997. "description": "手机号码",
  33998. "type": "string"
  33999. },
  34000. "refereeuserid": {
  34001. "description": "推荐人id",
  34002. "type": "integer"
  34003. },
  34004. "refernum": {
  34005. "description": "推荐码",
  34006. "type": "string"
  34007. },
  34008. "subList": {
  34009. "type": "array",
  34010. "items": {
  34011. "$ref": "#/definitions/models.QhjMyTeamEx"
  34012. }
  34013. },
  34014. "userid": {
  34015. "description": "用户id",
  34016. "type": "integer"
  34017. },
  34018. "userinfotype": {
  34019. "description": "用户类型 1-个人 2-企业",
  34020. "type": "integer"
  34021. }
  34022. }
  34023. },
  34024. "models.QhjNodeAgreementConfig": {
  34025. "type": "object",
  34026. "properties": {
  34027. "agreementcontent": {
  34028. "description": "协议内容",
  34029. "type": "string"
  34030. },
  34031. "agreementid": {
  34032. "description": "协议ID",
  34033. "type": "integer"
  34034. },
  34035. "agreementname": {
  34036. "description": "协议名称",
  34037. "type": "string"
  34038. },
  34039. "agreementno": {
  34040. "description": "协议编号",
  34041. "type": "string"
  34042. },
  34043. "agreementtype": {
  34044. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34045. "type": "integer"
  34046. },
  34047. "agreementversion": {
  34048. "description": "协议版本号",
  34049. "type": "integer"
  34050. },
  34051. "configid": {
  34052. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34053. "type": "integer"
  34054. },
  34055. "createtime": {
  34056. "description": "创建时间",
  34057. "type": "string"
  34058. },
  34059. "goodsid": {
  34060. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34061. "type": "integer"
  34062. },
  34063. "nodetype": {
  34064. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34065. "type": "integer"
  34066. }
  34067. }
  34068. },
  34069. "models.QhjParentAreaList": {
  34070. "type": "object",
  34071. "properties": {
  34072. "accountname": {
  34073. "description": "账户名称(机构名称)",
  34074. "type": "string"
  34075. },
  34076. "userid": {
  34077. "description": "用户ID",
  34078. "type": "integer"
  34079. },
  34080. "usertype": {
  34081. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34082. "type": "integer"
  34083. }
  34084. }
  34085. },
  34086. "models.QhjPayOrder": {
  34087. "type": "object",
  34088. "properties": {
  34089. "advanceratio": {
  34090. "description": "首付比率",
  34091. "type": "number"
  34092. },
  34093. "buyaccountid": {
  34094. "description": "买方账号ID[报价币种]",
  34095. "type": "integer"
  34096. },
  34097. "buyorderid": {
  34098. "description": "买方委托单号",
  34099. "type": "string"
  34100. },
  34101. "createtime": {
  34102. "description": "创建时间",
  34103. "type": "string"
  34104. },
  34105. "decimalplace": {
  34106. "description": "商品报价小数位",
  34107. "type": "integer"
  34108. },
  34109. "enumdicname": {
  34110. "description": "单位名称",
  34111. "type": "string"
  34112. },
  34113. "goodscode": {
  34114. "description": "商品代码",
  34115. "type": "string"
  34116. },
  34117. "goodsid": {
  34118. "description": "商品ID",
  34119. "type": "integer"
  34120. },
  34121. "goodsname": {
  34122. "description": "商品名称",
  34123. "type": "string"
  34124. },
  34125. "goodunitid": {
  34126. "description": "商品单位id",
  34127. "type": "integer"
  34128. },
  34129. "marketid": {
  34130. "description": "市场ID",
  34131. "type": "integer"
  34132. },
  34133. "offamount": {
  34134. "description": "优惠金额",
  34135. "type": "number"
  34136. },
  34137. "operatetype": {
  34138. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34139. "type": "integer"
  34140. },
  34141. "payamount": {
  34142. "description": "支付金额",
  34143. "type": "number"
  34144. },
  34145. "payflag": {
  34146. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34147. "type": "integer"
  34148. },
  34149. "paylimitedtime": {
  34150. "description": "支付期限",
  34151. "type": "string"
  34152. },
  34153. "paytime": {
  34154. "description": "付款时间",
  34155. "type": "string"
  34156. },
  34157. "qtydecimalplace": {
  34158. "description": "成交量小数位",
  34159. "type": "integer"
  34160. },
  34161. "sellaccountid": {
  34162. "description": "卖方账号ID[报价币种]",
  34163. "type": "integer"
  34164. },
  34165. "sellorderid": {
  34166. "description": "卖方委托单号",
  34167. "type": "string"
  34168. },
  34169. "tradeamount": {
  34170. "description": "成交金额(优惠后金额)",
  34171. "type": "number"
  34172. },
  34173. "tradecharge": {
  34174. "description": "成交手续费(买方)",
  34175. "type": "number"
  34176. },
  34177. "tradedate": {
  34178. "description": "交易日(yyyyMMdd)",
  34179. "type": "string"
  34180. },
  34181. "tradeid": {
  34182. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34183. "type": "string"
  34184. },
  34185. "tradeprice": {
  34186. "description": "成交价格",
  34187. "type": "number"
  34188. },
  34189. "tradeqty": {
  34190. "description": "成交数量",
  34191. "type": "number"
  34192. }
  34193. }
  34194. },
  34195. "models.QhjPickArea": {
  34196. "type": "object",
  34197. "properties": {
  34198. "address": {
  34199. "description": "详细地址",
  34200. "type": "string"
  34201. },
  34202. "cityid": {
  34203. "description": "市",
  34204. "type": "integer"
  34205. },
  34206. "cityname": {
  34207. "description": "城市名称",
  34208. "type": "string"
  34209. },
  34210. "countryid": {
  34211. "description": "国家",
  34212. "type": "integer"
  34213. },
  34214. "countryname": {
  34215. "description": "国家名称",
  34216. "type": "string"
  34217. },
  34218. "districtid": {
  34219. "description": "地区",
  34220. "type": "integer"
  34221. },
  34222. "districtname": {
  34223. "description": "地区名称",
  34224. "type": "string"
  34225. },
  34226. "fromuserid": {
  34227. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34228. "type": "integer"
  34229. },
  34230. "fromusername": {
  34231. "description": "所属机构名称",
  34232. "type": "string"
  34233. },
  34234. "provinceid": {
  34235. "description": "省",
  34236. "type": "integer"
  34237. },
  34238. "provincename": {
  34239. "description": "省名称",
  34240. "type": "string"
  34241. },
  34242. "suborgtype": {
  34243. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  34244. "type": "integer"
  34245. },
  34246. "userid": {
  34247. "description": "机构用户ID 其他做市关系,都设置为 1",
  34248. "type": "integer"
  34249. },
  34250. "username": {
  34251. "description": "机构用户名称(门店门称)",
  34252. "type": "string"
  34253. }
  34254. }
  34255. },
  34256. "models.QhjPickGoods": {
  34257. "type": "object",
  34258. "properties": {
  34259. "enumdicname": {
  34260. "description": "单位名称(提货商品)",
  34261. "type": "string"
  34262. },
  34263. "goodsid": {
  34264. "description": "商品id",
  34265. "type": "integer"
  34266. },
  34267. "imageaddress": {
  34268. "description": "图片",
  34269. "type": "string"
  34270. },
  34271. "modifierid": {
  34272. "description": "修改人",
  34273. "type": "integer"
  34274. },
  34275. "modifiername": {
  34276. "description": "修改人名称",
  34277. "type": "string"
  34278. },
  34279. "modifysrc": {
  34280. "description": "修改来源 - 1:管理端 2:终端",
  34281. "type": "integer"
  34282. },
  34283. "pickupgoodsagreeunit": {
  34284. "description": "合约乘数",
  34285. "type": "number"
  34286. },
  34287. "pickupgoodsdesc": {
  34288. "description": "描述",
  34289. "type": "string"
  34290. },
  34291. "pickupgoodsid": {
  34292. "description": "提货商品ID",
  34293. "type": "string"
  34294. },
  34295. "pickupgoodsname": {
  34296. "description": "提货商品名称",
  34297. "type": "string"
  34298. },
  34299. "pickupgoodsstatus": {
  34300. "description": "状态 - 1:正常 2:停用 3:注销",
  34301. "type": "integer"
  34302. },
  34303. "pickupgoodsunitid": {
  34304. "description": "单位ID",
  34305. "type": "integer"
  34306. },
  34307. "pickupratio": {
  34308. "description": "提货系数",
  34309. "type": "number"
  34310. },
  34311. "preparedays": {
  34312. "description": "备货期(天)",
  34313. "type": "integer"
  34314. },
  34315. "remark": {
  34316. "description": "备注",
  34317. "type": "string"
  34318. },
  34319. "updatetime": {
  34320. "description": "更新时间",
  34321. "type": "string"
  34322. }
  34323. }
  34324. },
  34325. "models.QhjRSTriggerLog": {
  34326. "type": "object",
  34327. "properties": {
  34328. "accountid": {
  34329. "description": "用户资金账户",
  34330. "type": "integer"
  34331. },
  34332. "accountname": {
  34333. "description": "账号名称(ACCOUNTID对应的名称)",
  34334. "type": "string"
  34335. },
  34336. "currencyid": {
  34337. "description": "币种id",
  34338. "type": "integer"
  34339. },
  34340. "currencyname": {
  34341. "description": "币种名称",
  34342. "type": "string"
  34343. },
  34344. "decimalplace": {
  34345. "description": "商品报价小数位",
  34346. "type": "integer"
  34347. },
  34348. "enumdicname": {
  34349. "description": "单位名称",
  34350. "type": "string"
  34351. },
  34352. "goodscode": {
  34353. "description": "定投商品代码",
  34354. "type": "string"
  34355. },
  34356. "goodsid": {
  34357. "description": "定投商品ID",
  34358. "type": "integer"
  34359. },
  34360. "goodsname": {
  34361. "description": "定投商品名称",
  34362. "type": "string"
  34363. },
  34364. "goodunitid": {
  34365. "description": "定投商品单位id",
  34366. "type": "integer"
  34367. },
  34368. "logid": {
  34369. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  34370. "type": "string"
  34371. },
  34372. "logincode": {
  34373. "description": "账号(登录代码)",
  34374. "type": "string"
  34375. },
  34376. "qtydecimalplace": {
  34377. "description": "成交量小数位",
  34378. "type": "integer"
  34379. },
  34380. "regularlycycle": {
  34381. "description": "定投频率 - 1:每周 2:每月",
  34382. "type": "integer"
  34383. },
  34384. "regularlycyclevalue": {
  34385. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34386. "type": "string"
  34387. },
  34388. "regularlymode": {
  34389. "description": "定投方式 - 1:按数量 2:按金额",
  34390. "type": "integer"
  34391. },
  34392. "regularlymodevalue": {
  34393. "description": "定投方式值 - 数量或金额",
  34394. "type": "number"
  34395. },
  34396. "regularlystrategyid": {
  34397. "description": "定投策略ID",
  34398. "type": "integer"
  34399. },
  34400. "retcode": {
  34401. "description": "错误码",
  34402. "type": "string"
  34403. },
  34404. "tradeid": {
  34405. "description": "成交单ID",
  34406. "type": "string"
  34407. },
  34408. "triggeramount": {
  34409. "description": "触发金额",
  34410. "type": "number"
  34411. },
  34412. "triggerqty": {
  34413. "description": "触发数量",
  34414. "type": "number"
  34415. },
  34416. "triggerstatus": {
  34417. "description": "触发状态 - 1:成功 2:失败",
  34418. "type": "integer"
  34419. },
  34420. "triggertime": {
  34421. "description": "触发时间",
  34422. "type": "string"
  34423. },
  34424. "triggertradedate": {
  34425. "description": "触发交易日",
  34426. "type": "string"
  34427. },
  34428. "userid": {
  34429. "description": "所属用户ID",
  34430. "type": "integer"
  34431. },
  34432. "userinfotype": {
  34433. "description": "用户类型 1-个人 2-企业",
  34434. "type": "integer"
  34435. },
  34436. "username": {
  34437. "description": "用户名称(userid对应的名称)",
  34438. "type": "string"
  34439. }
  34440. }
  34441. },
  34442. "models.QhjRStrategy": {
  34443. "type": "object",
  34444. "properties": {
  34445. "accountid": {
  34446. "description": "用户资金账户",
  34447. "type": "integer"
  34448. },
  34449. "accountname": {
  34450. "description": "账号名称(ACCOUNTID对应的名称)",
  34451. "type": "string"
  34452. },
  34453. "currencyid": {
  34454. "description": "币种id",
  34455. "type": "integer"
  34456. },
  34457. "currencyname": {
  34458. "description": "币种名称",
  34459. "type": "string"
  34460. },
  34461. "decimalplace": {
  34462. "description": "商品报价小数位",
  34463. "type": "integer"
  34464. },
  34465. "enumdicname": {
  34466. "description": "单位名称",
  34467. "type": "string"
  34468. },
  34469. "goodscode": {
  34470. "description": "定投商品代码",
  34471. "type": "string"
  34472. },
  34473. "goodsid": {
  34474. "description": "定投商品ID",
  34475. "type": "integer"
  34476. },
  34477. "goodsname": {
  34478. "description": "定投商品名称",
  34479. "type": "string"
  34480. },
  34481. "goodunitid": {
  34482. "description": "定投商品单位id",
  34483. "type": "integer"
  34484. },
  34485. "lasteffecttradedate": {
  34486. "description": "最新生效交易日",
  34487. "type": "string"
  34488. },
  34489. "laststoptradedate": {
  34490. "description": "最新暂停交易日",
  34491. "type": "string"
  34492. },
  34493. "lasttriggertradedate": {
  34494. "description": "最新触发交易日",
  34495. "type": "string"
  34496. },
  34497. "logincode": {
  34498. "description": "账号(登录代码)",
  34499. "type": "string"
  34500. },
  34501. "nexttriggeramount": {
  34502. "description": "下次触发金额",
  34503. "type": "number"
  34504. },
  34505. "nexttriggerdate": {
  34506. "description": "下次触发日期",
  34507. "type": "string"
  34508. },
  34509. "nexttriggerqty": {
  34510. "description": "下次触发数量 [按小数位放大值]",
  34511. "type": "number"
  34512. },
  34513. "qtydecimalplace": {
  34514. "description": "成交量小数位",
  34515. "type": "integer"
  34516. },
  34517. "regularlycycle": {
  34518. "description": "定投频率 - 1:每周 2:每月",
  34519. "type": "integer"
  34520. },
  34521. "regularlycyclevalue": {
  34522. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34523. "type": "string"
  34524. },
  34525. "regularlymode": {
  34526. "description": "定投方式 - 1:按数量 2:按金额",
  34527. "type": "integer"
  34528. },
  34529. "regularlymodevalue": {
  34530. "description": "定投方式值 - 数量或金额",
  34531. "type": "number"
  34532. },
  34533. "regularlystrategyid": {
  34534. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  34535. "type": "integer"
  34536. },
  34537. "regularlystrategystatus": {
  34538. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  34539. "type": "integer"
  34540. },
  34541. "remark": {
  34542. "description": "备注",
  34543. "type": "string"
  34544. },
  34545. "triggersuccesstimes": {
  34546. "description": "累计定投成功次数",
  34547. "type": "string"
  34548. },
  34549. "triggertotalamount": {
  34550. "description": "累计定投金额(成功)",
  34551. "type": "number"
  34552. },
  34553. "triggertotalqty": {
  34554. "description": "累计定投数量(成功) [按小数位放大值]",
  34555. "type": "number"
  34556. },
  34557. "triggertotaltimes": {
  34558. "description": "累计定投总次数",
  34559. "type": "string"
  34560. },
  34561. "updatesrc": {
  34562. "description": "更新来源 - 1:管理端 2:终端",
  34563. "type": "integer"
  34564. },
  34565. "updatetime": {
  34566. "description": "更新时间",
  34567. "type": "string"
  34568. },
  34569. "updatorid": {
  34570. "description": "更新人",
  34571. "type": "string"
  34572. },
  34573. "userid": {
  34574. "description": "所属用户ID",
  34575. "type": "integer"
  34576. },
  34577. "userinfotype": {
  34578. "description": "用户类型 1-个人 2-企业",
  34579. "type": "integer"
  34580. },
  34581. "username": {
  34582. "description": "用户名称(userid对应的名称)",
  34583. "type": "string"
  34584. }
  34585. }
  34586. },
  34587. "models.QhjReckonPriceLog": {
  34588. "type": "object",
  34589. "properties": {
  34590. "decimalplace": {
  34591. "description": "商品报价小数位",
  34592. "type": "integer"
  34593. },
  34594. "goodscode": {
  34595. "description": "商品代码",
  34596. "type": "string"
  34597. },
  34598. "goodsid": {
  34599. "description": "商品ID",
  34600. "type": "integer"
  34601. },
  34602. "goodsname": {
  34603. "description": "商品名称",
  34604. "type": "string"
  34605. },
  34606. "lastreckonprice": {
  34607. "description": "上日结算价",
  34608. "type": "number"
  34609. },
  34610. "nextdnlimitprice": {
  34611. "description": "下个交易日跌停价",
  34612. "type": "number"
  34613. },
  34614. "nexttrade": {
  34615. "description": "下个交易日",
  34616. "type": "string"
  34617. },
  34618. "nextuplimitprice": {
  34619. "description": "下个交易日涨停价",
  34620. "type": "number"
  34621. },
  34622. "reckonprice": {
  34623. "description": "今日结算价(定投价)",
  34624. "type": "number"
  34625. },
  34626. "reckontime": {
  34627. "description": "结算时间",
  34628. "type": "string"
  34629. },
  34630. "totalholderqty": {
  34631. "description": "总持仓数",
  34632. "type": "integer"
  34633. },
  34634. "totalstock": {
  34635. "description": "总库存",
  34636. "type": "integer"
  34637. },
  34638. "tradedate": {
  34639. "description": "交易日",
  34640. "type": "string"
  34641. },
  34642. "updowncount": {
  34643. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  34644. "type": "integer"
  34645. },
  34646. "updownflag": {
  34647. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  34648. "type": "integer"
  34649. },
  34650. "updownrate": {
  34651. "description": "今日涨跌幅",
  34652. "type": "number"
  34653. },
  34654. "updownrate_2d": {
  34655. "description": "连续两日涨跌幅",
  34656. "type": "number"
  34657. },
  34658. "updownrate_3d": {
  34659. "description": "连续三日涨跌幅",
  34660. "type": "number"
  34661. }
  34662. }
  34663. },
  34664. "models.QhjScoreLog": {
  34665. "type": "object",
  34666. "properties": {
  34667. "accountid": {
  34668. "description": "账户ID",
  34669. "type": "integer"
  34670. },
  34671. "createtime": {
  34672. "description": "创建时间(时间)",
  34673. "type": "string"
  34674. },
  34675. "goodsid": {
  34676. "description": "商品ID",
  34677. "type": "integer"
  34678. },
  34679. "hasuploaded": {
  34680. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  34681. "type": "integer"
  34682. },
  34683. "logid": {
  34684. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34685. "type": "string"
  34686. },
  34687. "marketid": {
  34688. "description": "市场ID",
  34689. "type": "integer"
  34690. },
  34691. "relatedamount": {
  34692. "description": "关联金额",
  34693. "type": "number"
  34694. },
  34695. "relatedorderid": {
  34696. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  34697. "type": "string"
  34698. },
  34699. "scoreconfigvalue1": {
  34700. "description": "积分配置1",
  34701. "type": "integer"
  34702. },
  34703. "scoreconfigvalue2": {
  34704. "description": "积分配置1",
  34705. "type": "integer"
  34706. },
  34707. "scoretype": {
  34708. "description": "积分类型 - 1:提货积分",
  34709. "type": "integer"
  34710. },
  34711. "scorevalue": {
  34712. "description": "积分",
  34713. "type": "number"
  34714. },
  34715. "tradedate": {
  34716. "description": "交易日(yyyyMMdd)",
  34717. "type": "string"
  34718. },
  34719. "uploadedtime": {
  34720. "description": "同步时间",
  34721. "type": "string"
  34722. },
  34723. "userid": {
  34724. "description": "用户ID",
  34725. "type": "integer"
  34726. }
  34727. }
  34728. },
  34729. "models.QhjSiteColumnDetail": {
  34730. "type": "object",
  34731. "properties": {
  34732. "author": {
  34733. "description": "作者",
  34734. "type": "string"
  34735. },
  34736. "brief": {
  34737. "description": "简介",
  34738. "type": "string"
  34739. },
  34740. "columnid": {
  34741. "description": "所属栏目",
  34742. "type": "integer"
  34743. },
  34744. "context": {
  34745. "description": "内容",
  34746. "type": "string"
  34747. },
  34748. "coverimage": {
  34749. "description": "封面图片",
  34750. "type": "string"
  34751. },
  34752. "creaedate": {
  34753. "description": "创建时间",
  34754. "type": "string"
  34755. },
  34756. "creatorid": {
  34757. "description": "创建人",
  34758. "type": "integer"
  34759. },
  34760. "hits": {
  34761. "description": "点击数",
  34762. "type": "integer"
  34763. },
  34764. "id": {
  34765. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  34766. "type": "integer"
  34767. },
  34768. "isshow": {
  34769. "description": "是否展示 - 0:不展示 1:展示",
  34770. "type": "integer"
  34771. },
  34772. "istop": {
  34773. "description": "是否置顶 - 0:不置 1:置顶",
  34774. "type": "integer"
  34775. },
  34776. "modifierid": {
  34777. "description": "操作人",
  34778. "type": "integer"
  34779. },
  34780. "publishdate": {
  34781. "description": "发布日期",
  34782. "type": "string"
  34783. },
  34784. "status": {
  34785. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  34786. "type": "integer"
  34787. },
  34788. "title": {
  34789. "description": "标题",
  34790. "type": "string"
  34791. },
  34792. "updatedate": {
  34793. "description": "修改时间",
  34794. "type": "string"
  34795. },
  34796. "userid": {
  34797. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  34798. "type": "integer"
  34799. },
  34800. "username": {
  34801. "description": "用户名称",
  34802. "type": "string"
  34803. }
  34804. }
  34805. },
  34806. "models.QhjTeamOrder": {
  34807. "type": "object",
  34808. "properties": {
  34809. "accountid": {
  34810. "description": "账户ID[报价币种]",
  34811. "type": "integer"
  34812. },
  34813. "accountname": {
  34814. "description": "账户名称",
  34815. "type": "string"
  34816. },
  34817. "agreeunit": {
  34818. "description": "合约乘数",
  34819. "type": "number"
  34820. },
  34821. "buyorsell": {
  34822. "description": "方向 - 0:买 1:卖",
  34823. "type": "integer"
  34824. },
  34825. "decimalplace": {
  34826. "description": "报价小数位",
  34827. "type": "integer"
  34828. },
  34829. "enumdicname": {
  34830. "description": "单位名称",
  34831. "type": "string"
  34832. },
  34833. "goodscode": {
  34834. "description": "商品代码(内部)",
  34835. "type": "string"
  34836. },
  34837. "goodsid": {
  34838. "description": "商品ID",
  34839. "type": "integer"
  34840. },
  34841. "goodsname": {
  34842. "description": "商品名称",
  34843. "type": "string"
  34844. },
  34845. "goodunitid": {
  34846. "description": "报价单位ID",
  34847. "type": "integer"
  34848. },
  34849. "marketid": {
  34850. "description": "市场ID",
  34851. "type": "integer"
  34852. },
  34853. "marketname": {
  34854. "description": "市场名称",
  34855. "type": "string"
  34856. },
  34857. "qtydecimalplace": {
  34858. "description": "成交量小数位",
  34859. "type": "integer"
  34860. },
  34861. "refereeuserid": {
  34862. "description": "推荐人ID",
  34863. "type": "integer"
  34864. },
  34865. "tradeamount": {
  34866. "description": "成交金额[账户币种,用于所有权]",
  34867. "type": "number"
  34868. },
  34869. "tradedate": {
  34870. "description": "交易日(yyyyMMdd)",
  34871. "type": "string"
  34872. },
  34873. "trademode": {
  34874. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34875. "type": "integer"
  34876. },
  34877. "tradeprice": {
  34878. "description": "成交价格",
  34879. "type": "number"
  34880. },
  34881. "tradeqty": {
  34882. "description": "成交数量",
  34883. "type": "number"
  34884. },
  34885. "tradetime": {
  34886. "description": "成交时间",
  34887. "type": "string"
  34888. },
  34889. "userid": {
  34890. "description": "用户ID",
  34891. "type": "integer"
  34892. }
  34893. }
  34894. },
  34895. "models.QhjTradeGoodsPickup": {
  34896. "type": "object",
  34897. "properties": {
  34898. "accountid": {
  34899. "description": "账户ID",
  34900. "type": "integer"
  34901. },
  34902. "address": {
  34903. "description": "提货人详细地址",
  34904. "type": "string"
  34905. },
  34906. "amount": {
  34907. "description": "提货金额",
  34908. "type": "number"
  34909. },
  34910. "artradedate": {
  34911. "description": "自动收货交易日(yyyyMMdd)",
  34912. "type": "string"
  34913. },
  34914. "auditer": {
  34915. "description": "审核人",
  34916. "type": "integer"
  34917. },
  34918. "auditsrc": {
  34919. "description": "更新来源 - 1:管理端 2:终端",
  34920. "type": "integer"
  34921. },
  34922. "audittime": {
  34923. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  34924. "type": "string"
  34925. },
  34926. "audittradedate": {
  34927. "description": "审核交易日(yyyyMMdd)",
  34928. "type": "string"
  34929. },
  34930. "cardnum": {
  34931. "description": "提货人证件号码",
  34932. "type": "string"
  34933. },
  34934. "cardtypeid": {
  34935. "description": "提货人证件类型",
  34936. "type": "integer"
  34937. },
  34938. "checkremark": {
  34939. "description": "审核备注",
  34940. "type": "string"
  34941. },
  34942. "cityid": {
  34943. "description": "市",
  34944. "type": "integer"
  34945. },
  34946. "cityname": {
  34947. "description": "城市名称",
  34948. "type": "string"
  34949. },
  34950. "confirmtime": {
  34951. "description": "取货时间 或 收货时间",
  34952. "type": "string"
  34953. },
  34954. "countryid": {
  34955. "description": "国家",
  34956. "type": "integer"
  34957. },
  34958. "countryname": {
  34959. "description": "国家名称",
  34960. "type": "string"
  34961. },
  34962. "decimalplace": {
  34963. "description": "商品报价小数位",
  34964. "type": "integer"
  34965. },
  34966. "districtid": {
  34967. "description": "地区",
  34968. "type": "integer"
  34969. },
  34970. "districtname": {
  34971. "description": "地区名称",
  34972. "type": "string"
  34973. },
  34974. "enumdicname": {
  34975. "description": "单位名称(提货商品)",
  34976. "type": "string"
  34977. },
  34978. "expresscompany": {
  34979. "description": "物流公司",
  34980. "type": "string"
  34981. },
  34982. "expressnum": {
  34983. "description": "物流单号",
  34984. "type": "string"
  34985. },
  34986. "goodsagreeunit": {
  34987. "description": "交易商品乘数",
  34988. "type": "number"
  34989. },
  34990. "goodscode": {
  34991. "description": "商品代码",
  34992. "type": "string"
  34993. },
  34994. "goodsid": {
  34995. "description": "商品ID",
  34996. "type": "integer"
  34997. },
  34998. "goodsname": {
  34999. "description": "商品名称",
  35000. "type": "string"
  35001. },
  35002. "goodsqty": {
  35003. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35004. "type": "number"
  35005. },
  35006. "handlestatus": {
  35007. "description": "处理状态",
  35008. "type": "integer"
  35009. },
  35010. "logincode": {
  35011. "description": "账号(登录代码, 有可能为空)",
  35012. "type": "string"
  35013. },
  35014. "marketid": {
  35015. "description": "市场ID",
  35016. "type": "integer"
  35017. },
  35018. "phonenum": {
  35019. "description": "提货人联系方式",
  35020. "type": "string"
  35021. },
  35022. "pickupgoodsagreeunit": {
  35023. "description": "提货商品合约乘数",
  35024. "type": "number"
  35025. },
  35026. "pickupgoodsid": {
  35027. "description": "提货商品ID",
  35028. "type": "string"
  35029. },
  35030. "pickupgoodsname": {
  35031. "description": "提货商品名称",
  35032. "type": "string"
  35033. },
  35034. "pickupgoodsqty": {
  35035. "description": "提货商品手数(数量)",
  35036. "type": "number"
  35037. },
  35038. "pickupgoodsunitid": {
  35039. "description": "单位ID(提货商品)",
  35040. "type": "integer"
  35041. },
  35042. "pickupratio": {
  35043. "description": "提货系数",
  35044. "type": "number"
  35045. },
  35046. "preparedays": {
  35047. "description": "备货期(天)-提货单明细表",
  35048. "type": "integer"
  35049. },
  35050. "provinceid": {
  35051. "description": "省",
  35052. "type": "integer"
  35053. },
  35054. "provincename": {
  35055. "description": "省名称",
  35056. "type": "string"
  35057. },
  35058. "qty": {
  35059. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35060. "type": "number"
  35061. },
  35062. "qtydecimalplace": {
  35063. "description": "商品数量小数位",
  35064. "type": "integer"
  35065. },
  35066. "recivername": {
  35067. "description": "提货人姓名",
  35068. "type": "string"
  35069. },
  35070. "reqtime": {
  35071. "description": "提货申请时间",
  35072. "type": "string"
  35073. },
  35074. "storeuserid": {
  35075. "description": "门店用户ID (千海金)",
  35076. "type": "integer"
  35077. },
  35078. "storeusername": {
  35079. "description": "门店用户名称",
  35080. "type": "string"
  35081. },
  35082. "takemode": {
  35083. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35084. "type": "integer"
  35085. },
  35086. "takeorderid": {
  35087. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35088. "type": "string"
  35089. },
  35090. "takeorderstatus": {
  35091. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35092. "type": "integer"
  35093. },
  35094. "takeremark": {
  35095. "description": "提货备注",
  35096. "type": "string"
  35097. },
  35098. "tradedate": {
  35099. "description": "交易日(yyyyMMdd)",
  35100. "type": "string"
  35101. },
  35102. "updatetime": {
  35103. "description": "更新时间",
  35104. "type": "string"
  35105. },
  35106. "userid": {
  35107. "description": "用户ID",
  35108. "type": "integer"
  35109. },
  35110. "userinfotype": {
  35111. "description": "客户类型 1-个人 2-企业",
  35112. "type": "integer"
  35113. },
  35114. "username": {
  35115. "description": "用户名称",
  35116. "type": "string"
  35117. }
  35118. }
  35119. },
  35120. "models.QhjUserNodeCfgAndStatus": {
  35121. "type": "object",
  35122. "properties": {
  35123. "agreementcontent": {
  35124. "description": "协议内容",
  35125. "type": "string"
  35126. },
  35127. "agreementid": {
  35128. "description": "协议ID",
  35129. "type": "integer"
  35130. },
  35131. "agreementname": {
  35132. "description": "协议名称",
  35133. "type": "string"
  35134. },
  35135. "agreementno": {
  35136. "description": "协议编号",
  35137. "type": "string"
  35138. },
  35139. "agreementtype": {
  35140. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35141. "type": "integer"
  35142. },
  35143. "agreementversion": {
  35144. "description": "协议版本号",
  35145. "type": "integer"
  35146. },
  35147. "configid": {
  35148. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35149. "type": "integer"
  35150. },
  35151. "createtime": {
  35152. "description": "创建时间",
  35153. "type": "string"
  35154. },
  35155. "goodsid": {
  35156. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35157. "type": "integer"
  35158. },
  35159. "nodetype": {
  35160. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35161. "type": "integer"
  35162. },
  35163. "signtimestamp": {
  35164. "description": "签约状态时间戳(最近一次)",
  35165. "type": "string"
  35166. },
  35167. "tradedate": {
  35168. "description": "签约交易日(yyyyMMdd)",
  35169. "type": "string"
  35170. },
  35171. "userid": {
  35172. "description": "客户ID",
  35173. "type": "integer"
  35174. }
  35175. }
  35176. },
  35177. "models.Qhjgoodsex": {
  35178. "type": "object",
  35179. "properties": {
  35180. "canfinance": {
  35181. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35182. "type": "integer"
  35183. },
  35184. "canregularlybuy": {
  35185. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35186. "type": "integer"
  35187. },
  35188. "defaulttradeuserid": {
  35189. "description": "默认交易用户ID",
  35190. "type": "integer"
  35191. },
  35192. "deliverygoodsid": {
  35193. "description": "现货品种ID",
  35194. "type": "integer"
  35195. },
  35196. "goodsid": {
  35197. "description": "商品ID(自增ID SEQ_GOODS)",
  35198. "type": "integer"
  35199. },
  35200. "minamount": {
  35201. "description": "最小购买金额",
  35202. "type": "number"
  35203. },
  35204. "regularlybuyminamount": {
  35205. "description": "定投最小金额",
  35206. "type": "number"
  35207. },
  35208. "regularlybuyminqty": {
  35209. "description": "定投最小数量",
  35210. "type": "number"
  35211. },
  35212. "spotgoodsbrandid": {
  35213. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35214. "type": "integer"
  35215. },
  35216. "visibilityforenterprise": {
  35217. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35218. "type": "integer"
  35219. },
  35220. "visibilityforpersonal": {
  35221. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35222. "type": "integer"
  35223. },
  35224. "wrstandardid": {
  35225. "description": "现货商品ID",
  35226. "type": "integer"
  35227. }
  35228. }
  35229. },
  35230. "models.QueryErrorInfosRsp": {
  35231. "type": "object",
  35232. "required": [
  35233. "errorid"
  35234. ],
  35235. "properties": {
  35236. "description": {
  35237. "description": "异常描述",
  35238. "type": "string"
  35239. },
  35240. "errorcode": {
  35241. "description": "异常代码",
  35242. "type": "string"
  35243. },
  35244. "errorid": {
  35245. "description": "异常ID",
  35246. "type": "integer"
  35247. },
  35248. "modulecode": {
  35249. "description": "所属模块",
  35250. "type": "string"
  35251. },
  35252. "operatecode": {
  35253. "description": "所属操作",
  35254. "type": "string"
  35255. },
  35256. "rownumber": {
  35257. "description": "行号",
  35258. "type": "string"
  35259. }
  35260. }
  35261. },
  35262. "models.QueryHedgeOrderDetailRsp": {
  35263. "type": "object",
  35264. "properties": {
  35265. "accountid": {
  35266. "description": "账户ID",
  35267. "type": "integer"
  35268. },
  35269. "buyorsell": {
  35270. "description": "买卖 - 0:买 1:卖",
  35271. "type": "integer"
  35272. },
  35273. "cancellogincode": {
  35274. "description": "撤单人",
  35275. "type": "string"
  35276. },
  35277. "channelbuildtype": {
  35278. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  35279. "type": "integer"
  35280. },
  35281. "channelinnerorderstatus": {
  35282. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  35283. "type": "integer"
  35284. },
  35285. "channeloperatetype": {
  35286. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  35287. "type": "integer"
  35288. },
  35289. "closetype": {
  35290. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35291. "type": "integer"
  35292. },
  35293. "curexchangerate": {
  35294. "description": "当前汇率",
  35295. "type": "number"
  35296. },
  35297. "decimalplace": {
  35298. "description": "商品报价小数位",
  35299. "type": "integer"
  35300. },
  35301. "exchangefullname": {
  35302. "description": "外部交易所全称",
  35303. "type": "string"
  35304. },
  35305. "goodscode": {
  35306. "description": "商品代码(内部)",
  35307. "type": "string"
  35308. },
  35309. "goodsid": {
  35310. "description": "商品ID",
  35311. "type": "integer"
  35312. },
  35313. "goodsname": {
  35314. "description": "商品名称",
  35315. "type": "string"
  35316. },
  35317. "marketid": {
  35318. "description": "市场ID",
  35319. "type": "integer"
  35320. },
  35321. "openfreezemargin": {
  35322. "description": "冻结保证金(冻结交易金额)",
  35323. "type": "number"
  35324. },
  35325. "orderid": {
  35326. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35327. "type": "string"
  35328. },
  35329. "orderlogincode": {
  35330. "description": "委托人",
  35331. "type": "string"
  35332. },
  35333. "orderprice": {
  35334. "description": "委托价格(账户)",
  35335. "type": "number"
  35336. },
  35337. "orderqty": {
  35338. "description": "委托数量",
  35339. "type": "integer"
  35340. },
  35341. "ordertime": {
  35342. "description": "委托时间",
  35343. "type": "string"
  35344. },
  35345. "pricemode": {
  35346. "description": "取价方式 - 1:市价 2: 限价",
  35347. "type": "integer"
  35348. },
  35349. "tradedate": {
  35350. "description": "交易日(yyyyMMdd)",
  35351. "type": "string"
  35352. },
  35353. "tradeqty": {
  35354. "description": "成交数量",
  35355. "type": "integer"
  35356. }
  35357. }
  35358. },
  35359. "models.QueryHedgeTradeDetailRsp": {
  35360. "type": "object",
  35361. "properties": {
  35362. "accountid": {
  35363. "description": "账号ID",
  35364. "type": "integer"
  35365. },
  35366. "buyorsell": {
  35367. "description": "方向 - 0:买 1:卖",
  35368. "type": "integer"
  35369. },
  35370. "channelbuildtype": {
  35371. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35372. "type": "integer"
  35373. },
  35374. "closecharge": {
  35375. "description": "平仓手续费(账户)",
  35376. "type": "number"
  35377. },
  35378. "closecharge2": {
  35379. "description": "平仓手续费(商品)",
  35380. "type": "number"
  35381. },
  35382. "closepl": {
  35383. "description": "平仓盈亏(账户)",
  35384. "type": "number"
  35385. },
  35386. "closepl2": {
  35387. "description": "平仓盈亏(商品)",
  35388. "type": "number"
  35389. },
  35390. "closepl3": {
  35391. "description": "平仓盈亏(账户)(逐笔)",
  35392. "type": "number"
  35393. },
  35394. "closepl4": {
  35395. "description": "平仓盈亏(商品)(逐笔)",
  35396. "type": "number"
  35397. },
  35398. "closetype": {
  35399. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35400. "type": "integer"
  35401. },
  35402. "curexchangerate": {
  35403. "description": "当前汇率",
  35404. "type": "number"
  35405. },
  35406. "decimalplace": {
  35407. "description": "商品报价小数位",
  35408. "type": "integer"
  35409. },
  35410. "exchangefullname": {
  35411. "description": "外部交易所全称",
  35412. "type": "string"
  35413. },
  35414. "goodscode": {
  35415. "description": "商品代码(内部)",
  35416. "type": "string"
  35417. },
  35418. "goodsid": {
  35419. "description": "商品ID",
  35420. "type": "integer"
  35421. },
  35422. "goodsname": {
  35423. "description": "商品名称",
  35424. "type": "string"
  35425. },
  35426. "marketid": {
  35427. "description": "市场ID",
  35428. "type": "integer"
  35429. },
  35430. "opencharge": {
  35431. "description": "建仓手续费(账户)",
  35432. "type": "number"
  35433. },
  35434. "opencharge2": {
  35435. "description": "建仓手续费(商品)",
  35436. "type": "number"
  35437. },
  35438. "orderid": {
  35439. "description": "委托单号",
  35440. "type": "string"
  35441. },
  35442. "orderlogincode": {
  35443. "description": "委托人",
  35444. "type": "string"
  35445. },
  35446. "tradeamount": {
  35447. "description": "成交金额(账户)",
  35448. "type": "number"
  35449. },
  35450. "tradedate": {
  35451. "description": "交易日(yyyyMMdd)",
  35452. "type": "string"
  35453. },
  35454. "tradeid": {
  35455. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35456. "type": "string"
  35457. },
  35458. "tradeprice": {
  35459. "description": "成交价格",
  35460. "type": "number"
  35461. },
  35462. "tradeqty": {
  35463. "description": "成交数量",
  35464. "type": "integer"
  35465. },
  35466. "tradetime": {
  35467. "description": "成交时间",
  35468. "type": "string"
  35469. },
  35470. "tradetype": {
  35471. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  35472. "type": "integer"
  35473. }
  35474. }
  35475. },
  35476. "models.QuotePrimaryMenu": {
  35477. "type": "object",
  35478. "properties": {
  35479. "Index": {
  35480. "description": "序号",
  35481. "type": "integer"
  35482. },
  35483. "Key": {
  35484. "description": "键名",
  35485. "type": "string"
  35486. },
  35487. "Name": {
  35488. "description": "菜单名称",
  35489. "type": "string"
  35490. },
  35491. "SubMenus": {
  35492. "description": "子菜单",
  35493. "type": "array",
  35494. "items": {
  35495. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  35496. }
  35497. },
  35498. "SubTitleType": {
  35499. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  35500. "type": "integer"
  35501. },
  35502. "TradeModes": {
  35503. "description": "包含市场交易类型",
  35504. "type": "string"
  35505. }
  35506. }
  35507. },
  35508. "models.QuoteSecondaryMenu": {
  35509. "type": "object",
  35510. "properties": {
  35511. "ExExchangeCode": {
  35512. "description": "外部交易所代码",
  35513. "type": "string"
  35514. },
  35515. "ExExchangeID": {
  35516. "description": "外部交易所ID",
  35517. "type": "integer"
  35518. },
  35519. "GoodsGroupIDs": {
  35520. "description": "商品组ID列表",
  35521. "type": "array",
  35522. "items": {
  35523. "type": "integer"
  35524. }
  35525. },
  35526. "Index": {
  35527. "description": "序号",
  35528. "type": "integer"
  35529. },
  35530. "MarketID": {
  35531. "description": "市场ID",
  35532. "type": "integer"
  35533. },
  35534. "MenuTitle": {
  35535. "description": "菜单标题(市场名称或外部交易所名称)",
  35536. "type": "string"
  35537. },
  35538. "TradeMode": {
  35539. "description": "交易模式",
  35540. "type": "integer"
  35541. }
  35542. }
  35543. },
  35544. "models.RelatedTaAccount": {
  35545. "type": "object",
  35546. "properties": {
  35547. "accountid": {
  35548. "description": "资金账户ID",
  35549. "type": "integer"
  35550. }
  35551. }
  35552. },
  35553. "models.RoleMenu": {
  35554. "type": "object",
  35555. "properties": {
  35556. "hasright": {
  35557. "description": "是否有权限 0-没有权限 1-有权限",
  35558. "type": "integer"
  35559. },
  35560. "iconame": {
  35561. "description": "菜单图标",
  35562. "type": "string"
  35563. },
  35564. "menutype": {
  35565. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  35566. "type": "integer"
  35567. },
  35568. "parentcode": {
  35569. "description": "上级资源代码",
  35570. "type": "string"
  35571. },
  35572. "remark": {
  35573. "description": "菜单备注",
  35574. "type": "string"
  35575. },
  35576. "resourcecode": {
  35577. "description": "菜单代码",
  35578. "type": "string"
  35579. },
  35580. "resourcelevel": {
  35581. "description": "级别",
  35582. "type": "integer"
  35583. },
  35584. "resourcename": {
  35585. "description": "菜单名称",
  35586. "type": "string"
  35587. },
  35588. "roleid": {
  35589. "description": "角色id",
  35590. "type": "integer"
  35591. },
  35592. "sort": {
  35593. "description": "排序",
  35594. "type": "integer"
  35595. },
  35596. "subMenu": {
  35597. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  35598. "type": "array",
  35599. "items": {
  35600. "$ref": "#/definitions/models.RoleMenu"
  35601. }
  35602. },
  35603. "url": {
  35604. "description": "URL",
  35605. "type": "string"
  35606. },
  35607. "userid": {
  35608. "description": "用户id",
  35609. "type": "integer"
  35610. }
  35611. }
  35612. },
  35613. "models.SearchGoods": {
  35614. "type": "object",
  35615. "required": [
  35616. "goodscode",
  35617. "goodsid",
  35618. "goodsname",
  35619. "marketid",
  35620. "trademode"
  35621. ],
  35622. "properties": {
  35623. "goodscode": {
  35624. "description": "商品代码(内部)",
  35625. "type": "string"
  35626. },
  35627. "goodsid": {
  35628. "description": "商品ID(自增ID SEQ_GOODS)",
  35629. "type": "integer"
  35630. },
  35631. "goodsname": {
  35632. "description": "商品名称",
  35633. "type": "string"
  35634. },
  35635. "marketid": {
  35636. "description": "所属市场ID",
  35637. "type": "integer"
  35638. },
  35639. "marketname": {
  35640. "description": "市场名称",
  35641. "type": "string"
  35642. },
  35643. "trademode": {
  35644. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35645. "type": "integer"
  35646. }
  35647. }
  35648. },
  35649. "models.Systemparam": {
  35650. "type": "object",
  35651. "required": [
  35652. "paramcode"
  35653. ],
  35654. "properties": {
  35655. "loginid": {
  35656. "description": "更新用户账号,登录账号",
  35657. "type": "string"
  35658. },
  35659. "modifyflag": {
  35660. "description": "修改标志0 不允许修改 1 允许修改",
  35661. "type": "integer"
  35662. },
  35663. "paramcode": {
  35664. "description": "参数代码",
  35665. "type": "string"
  35666. },
  35667. "paramname": {
  35668. "description": "参数名",
  35669. "type": "string"
  35670. },
  35671. "paramtype": {
  35672. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  35673. "type": "integer"
  35674. },
  35675. "paramvalue": {
  35676. "description": "参数值",
  35677. "type": "string"
  35678. },
  35679. "paramvalue2": {
  35680. "description": "参数值(CLOB)",
  35681. "type": "string"
  35682. },
  35683. "regexpress": {
  35684. "description": "正则表达式",
  35685. "type": "string"
  35686. },
  35687. "remark": {
  35688. "description": "备注",
  35689. "type": "string"
  35690. },
  35691. "serverip": {
  35692. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  35693. "type": "string"
  35694. },
  35695. "showflag": {
  35696. "description": "是否显示0 不显示 1 显示",
  35697. "type": "integer"
  35698. },
  35699. "updatetime": {
  35700. "description": "更新时间",
  35701. "type": "string"
  35702. },
  35703. "userid": {
  35704. "description": "更新用户ID",
  35705. "type": "integer"
  35706. }
  35707. }
  35708. },
  35709. "models.Szdz3convertconfig": {
  35710. "type": "object",
  35711. "required": [
  35712. "converttype",
  35713. "innergoodsid",
  35714. "outergoodscode"
  35715. ],
  35716. "properties": {
  35717. "canin": {
  35718. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  35719. "type": "integer"
  35720. },
  35721. "canout": {
  35722. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  35723. "type": "integer"
  35724. },
  35725. "converttype": {
  35726. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  35727. "type": "integer"
  35728. },
  35729. "createtime": {
  35730. "description": "创建时间",
  35731. "type": "string"
  35732. },
  35733. "creatorid": {
  35734. "description": "创建人",
  35735. "type": "integer"
  35736. },
  35737. "daymaxvalue": {
  35738. "description": "当日最大转入限制",
  35739. "type": "number"
  35740. },
  35741. "freezedays": {
  35742. "description": "冻结天数 [5:花生米转交易]",
  35743. "type": "integer"
  35744. },
  35745. "innergoodsid": {
  35746. "description": "内部商品ID[交易]",
  35747. "type": "integer"
  35748. },
  35749. "inratio": {
  35750. "description": "目标值",
  35751. "type": "integer"
  35752. },
  35753. "modifierid": {
  35754. "description": "修改人",
  35755. "type": "integer"
  35756. },
  35757. "modifytime": {
  35758. "description": "修改时间",
  35759. "type": "string"
  35760. },
  35761. "outergoodscode": {
  35762. "description": "外部商品代码[JD\\PD]",
  35763. "type": "string"
  35764. },
  35765. "outratio": {
  35766. "description": "源值",
  35767. "type": "integer"
  35768. },
  35769. "pddecimalplace": {
  35770. "description": "PD小数位",
  35771. "type": "integer"
  35772. },
  35773. "timemaxvalue": {
  35774. "description": "单次最大转入限制",
  35775. "type": "number"
  35776. },
  35777. "timeminvalue": {
  35778. "description": "单次最小转入限制",
  35779. "type": "number"
  35780. }
  35781. }
  35782. },
  35783. "models.Szdz3searchwhitelist": {
  35784. "type": "object",
  35785. "required": [
  35786. "userid"
  35787. ],
  35788. "properties": {
  35789. "createtime": {
  35790. "description": "创建时间",
  35791. "type": "string"
  35792. },
  35793. "creatorid": {
  35794. "description": "创建人",
  35795. "type": "integer"
  35796. },
  35797. "modifierid": {
  35798. "description": "修改人",
  35799. "type": "integer"
  35800. },
  35801. "modifytime": {
  35802. "description": "修改时间",
  35803. "type": "string"
  35804. },
  35805. "userid": {
  35806. "description": "用户ID",
  35807. "type": "integer"
  35808. }
  35809. }
  35810. },
  35811. "models.TBGoods": {
  35812. "type": "object",
  35813. "properties": {
  35814. "agreeunit": {
  35815. "description": "合约乘数",
  35816. "type": "number"
  35817. },
  35818. "enumdicname": {
  35819. "description": "单位名称",
  35820. "type": "string"
  35821. },
  35822. "goodscode": {
  35823. "description": "商品代码(内部)",
  35824. "type": "string"
  35825. },
  35826. "goodsid": {
  35827. "description": "商品ID(自增ID SEQ_GOODS)",
  35828. "type": "integer"
  35829. },
  35830. "goodsname": {
  35831. "description": "商品名称",
  35832. "type": "string"
  35833. }
  35834. }
  35835. },
  35836. "models.TBGoodsGroup": {
  35837. "type": "object",
  35838. "properties": {
  35839. "GDLST": {
  35840. "description": "商品列表",
  35841. "type": "array",
  35842. "items": {
  35843. "$ref": "#/definitions/models.TBGoods"
  35844. }
  35845. },
  35846. "convertratio": {
  35847. "description": "折算系数",
  35848. "type": "number"
  35849. },
  35850. "enumdicname": {
  35851. "description": "单位名称",
  35852. "type": "string"
  35853. },
  35854. "exexchangecode": {
  35855. "description": "交易所代码",
  35856. "type": "string"
  35857. },
  35858. "exexchangename": {
  35859. "description": "交易所名称",
  35860. "type": "string"
  35861. },
  35862. "goodsgroupid": {
  35863. "description": "商品组ID(自增ID)",
  35864. "type": "integer"
  35865. },
  35866. "goodsgroupname": {
  35867. "description": "商品组名称",
  35868. "type": "string"
  35869. },
  35870. "goodunitid": {
  35871. "description": "报价单位ID",
  35872. "type": "integer"
  35873. }
  35874. }
  35875. },
  35876. "models.TBMiddleGoods": {
  35877. "type": "object",
  35878. "properties": {
  35879. "GPLST": {
  35880. "description": "期货品种列表",
  35881. "type": "array",
  35882. "items": {
  35883. "$ref": "#/definitions/models.TBGoodsGroup"
  35884. }
  35885. },
  35886. "WDLST": {
  35887. "description": "商品信息列表(现货品类)",
  35888. "type": "array",
  35889. "items": {
  35890. "$ref": "#/definitions/models.TBWrstandard"
  35891. }
  35892. },
  35893. "areauserid": {
  35894. "description": "机构用户ID",
  35895. "type": "integer"
  35896. },
  35897. "enumdicname": {
  35898. "description": "单位名称",
  35899. "type": "string"
  35900. },
  35901. "goodsunitid": {
  35902. "description": "套保品种单位id",
  35903. "type": "integer"
  35904. },
  35905. "middlegoodscode": {
  35906. "description": "套保品种代码",
  35907. "type": "string"
  35908. },
  35909. "middlegoodsid": {
  35910. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  35911. "type": "integer"
  35912. },
  35913. "middlegoodsname": {
  35914. "description": "套保品种名称",
  35915. "type": "string"
  35916. },
  35917. "needarbitrageratio": {
  35918. "description": "套利比率",
  35919. "type": "number"
  35920. },
  35921. "needhedgeratio": {
  35922. "description": "套保比率",
  35923. "type": "number"
  35924. }
  35925. }
  35926. },
  35927. "models.TBWrstandard": {
  35928. "type": "object",
  35929. "properties": {
  35930. "convertratio": {
  35931. "description": "折算系数",
  35932. "type": "number"
  35933. },
  35934. "deliverygoodsname": {
  35935. "description": "品种名称",
  35936. "type": "string"
  35937. },
  35938. "enumdicname": {
  35939. "description": "单位名称",
  35940. "type": "string"
  35941. },
  35942. "vatrate": {
  35943. "description": "增值税率",
  35944. "type": "number"
  35945. },
  35946. "wrstandardcode": {
  35947. "description": "现货商品代码",
  35948. "type": "string"
  35949. },
  35950. "wrstandardid": {
  35951. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35952. "type": "integer"
  35953. },
  35954. "wrstandardname": {
  35955. "description": "现货商品名称",
  35956. "type": "string"
  35957. }
  35958. }
  35959. },
  35960. "models.Taaccount": {
  35961. "type": "object",
  35962. "required": [
  35963. "accountid",
  35964. "userid"
  35965. ],
  35966. "properties": {
  35967. "accountflag": {
  35968. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  35969. "type": "integer"
  35970. },
  35971. "accountid": {
  35972. "description": "资金账户ID",
  35973. "type": "integer"
  35974. },
  35975. "accountname": {
  35976. "description": "账户名称",
  35977. "type": "string"
  35978. },
  35979. "balance": {
  35980. "description": "期初余额",
  35981. "type": "number"
  35982. },
  35983. "capitalbalance": {
  35984. "description": "本金余额[外部子账户实际出入金余额]",
  35985. "type": "number"
  35986. },
  35987. "changeflag": {
  35988. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  35989. "type": "integer"
  35990. },
  35991. "changetime": {
  35992. "description": "账户状态变更时间",
  35993. "type": "string"
  35994. },
  35995. "closepl": {
  35996. "description": "今日平仓盈亏",
  35997. "type": "number"
  35998. },
  35999. "creditdecrease": {
  36000. "description": "今日授信减少",
  36001. "type": "number"
  36002. },
  36003. "creditincrease": {
  36004. "description": "今日授信增加",
  36005. "type": "number"
  36006. },
  36007. "curamount": {
  36008. "description": "总市值(从持仓中统计)",
  36009. "type": "number"
  36010. },
  36011. "currencyid": {
  36012. "description": "货币ID",
  36013. "type": "integer"
  36014. },
  36015. "currentbalance": {
  36016. "description": "期末余额",
  36017. "type": "number"
  36018. },
  36019. "freezecharge": {
  36020. "description": "手续费冻结",
  36021. "type": "number"
  36022. },
  36023. "freezemargin": {
  36024. "description": "冻结保证金",
  36025. "type": "number"
  36026. },
  36027. "fromaccountid": {
  36028. "description": "所属上级账户",
  36029. "type": "integer"
  36030. },
  36031. "inamount": {
  36032. "description": "今日入金金额(包括三方入金)",
  36033. "type": "number"
  36034. },
  36035. "ismain": {
  36036. "description": "是否母账号 0:不是母账户 1:是母账户",
  36037. "type": "integer"
  36038. },
  36039. "ismarketaccount": {
  36040. "description": "是否机构接单账号 0:不是 1:是",
  36041. "type": "integer"
  36042. },
  36043. "isreckonaccount": {
  36044. "description": "是否机构分润账号 0:不是 1:是",
  36045. "type": "integer"
  36046. },
  36047. "mortgagecredit": {
  36048. "description": "授信金额",
  36049. "type": "number"
  36050. },
  36051. "orifreezecharge": {
  36052. "description": "期初手续费冻结",
  36053. "type": "number"
  36054. },
  36055. "orifreezemargin": {
  36056. "description": "期初冻结保证金",
  36057. "type": "number"
  36058. },
  36059. "orimortgagecredit": {
  36060. "description": "期初授信金额",
  36061. "type": "number"
  36062. },
  36063. "oriothercredit": {
  36064. "description": "期初其它授信金额",
  36065. "type": "number"
  36066. },
  36067. "oriotherfreezemargin": {
  36068. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  36069. "type": "number"
  36070. },
  36071. "orioutamountfreeze": {
  36072. "description": "期初出金冻结",
  36073. "type": "number"
  36074. },
  36075. "oriusedmargin": {
  36076. "description": "期初占用保证金",
  36077. "type": "number"
  36078. },
  36079. "othercredit": {
  36080. "description": "其它授信金额",
  36081. "type": "number"
  36082. },
  36083. "othercreditdecrease": {
  36084. "description": "今日其它授信减少",
  36085. "type": "number"
  36086. },
  36087. "othercreditincrease": {
  36088. "description": "今日其它授信增加",
  36089. "type": "number"
  36090. },
  36091. "otherfreezemargin": {
  36092. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  36093. "type": "number"
  36094. },
  36095. "otherincome": {
  36096. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  36097. "type": "number"
  36098. },
  36099. "otherpay": {
  36100. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  36101. "type": "number"
  36102. },
  36103. "outamount": {
  36104. "description": "今日出金金额(包括三方出金)",
  36105. "type": "number"
  36106. },
  36107. "outamountfreeze": {
  36108. "description": "出金冻结",
  36109. "type": "number"
  36110. },
  36111. "outthreshold": {
  36112. "description": "出金阈值",
  36113. "type": "number"
  36114. },
  36115. "parentaccountid": {
  36116. "description": "所属根账号",
  36117. "type": "integer"
  36118. },
  36119. "paycharge": {
  36120. "description": "今日手续费支出",
  36121. "type": "number"
  36122. },
  36123. "relatedaccountstatus": {
  36124. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  36125. "type": "integer"
  36126. },
  36127. "relateduserid": {
  36128. "description": "关联用户",
  36129. "type": "integer"
  36130. },
  36131. "remainamount": {
  36132. "description": "融资额(从融资合同中统计)",
  36133. "type": "number"
  36134. },
  36135. "serivcegroup": {
  36136. "description": "服务分组",
  36137. "type": "integer"
  36138. },
  36139. "signstatus": {
  36140. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  36141. "type": "integer"
  36142. },
  36143. "sublevelpath": {
  36144. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  36145. "type": "string"
  36146. },
  36147. "taaccounttype": {
  36148. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  36149. "type": "integer"
  36150. },
  36151. "thirdinamount": {
  36152. "description": "今日三方入金",
  36153. "type": "number"
  36154. },
  36155. "thirdoutamount": {
  36156. "description": "今日三方出金",
  36157. "type": "number"
  36158. },
  36159. "tradestatus": {
  36160. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  36161. "type": "integer"
  36162. },
  36163. "tradestatuschangetime": {
  36164. "description": "激活时间",
  36165. "type": "string"
  36166. },
  36167. "transferamount": {
  36168. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  36169. "type": "number"
  36170. },
  36171. "usedmargin": {
  36172. "description": "占用保证金",
  36173. "type": "number"
  36174. },
  36175. "userid": {
  36176. "description": "用户ID",
  36177. "type": "integer"
  36178. }
  36179. }
  36180. },
  36181. "models.Tablecolumnconfig": {
  36182. "type": "object",
  36183. "required": [
  36184. "autoid"
  36185. ],
  36186. "properties": {
  36187. "aligntype": {
  36188. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  36189. "type": "integer"
  36190. },
  36191. "autoid": {
  36192. "description": "AutoID",
  36193. "type": "integer"
  36194. },
  36195. "columnfield": {
  36196. "description": "列字段",
  36197. "type": "string"
  36198. },
  36199. "columntitle": {
  36200. "description": "列Title",
  36201. "type": "string"
  36202. },
  36203. "columnwidth": {
  36204. "description": "列宽",
  36205. "type": "string"
  36206. },
  36207. "formatterstring": {
  36208. "description": "格式化字符",
  36209. "type": "string"
  36210. },
  36211. "formattertype": {
  36212. "description": "格式化类型",
  36213. "type": "string"
  36214. },
  36215. "groupname": {
  36216. "description": "表头分组名称",
  36217. "type": "string"
  36218. },
  36219. "isshow": {
  36220. "description": "是否显示 - 0:不显示 1:显示",
  36221. "type": "integer"
  36222. },
  36223. "needsummary": {
  36224. "description": "是否需要汇总 - 0:不需要 1:需要",
  36225. "type": "integer"
  36226. },
  36227. "orderindex": {
  36228. "description": "顺序",
  36229. "type": "integer"
  36230. },
  36231. "remark": {
  36232. "description": "备注",
  36233. "type": "string"
  36234. },
  36235. "summarytype": {
  36236. "description": "汇总类型 - 1:加总 2:最后一个",
  36237. "type": "integer"
  36238. },
  36239. "tablekey": {
  36240. "description": "列表Key",
  36241. "type": "string"
  36242. }
  36243. }
  36244. },
  36245. "models.TjmdHolderDetailTradeInfo": {
  36246. "type": "object",
  36247. "properties": {
  36248. "agreeunit": {
  36249. "description": "合约乘数",
  36250. "type": "number"
  36251. },
  36252. "buyaccountid": {
  36253. "description": "买方账户",
  36254. "type": "string"
  36255. },
  36256. "buyusername": {
  36257. "description": "买方",
  36258. "type": "string"
  36259. },
  36260. "delistingdate": {
  36261. "description": "最后结算日",
  36262. "type": "string"
  36263. },
  36264. "expiredate": {
  36265. "description": "到期结算价定价日",
  36266. "type": "string"
  36267. },
  36268. "exprieprice": {
  36269. "description": "到期清算价格",
  36270. "type": "string"
  36271. },
  36272. "goodscode": {
  36273. "description": "商品代码",
  36274. "type": "string"
  36275. },
  36276. "goodsid": {
  36277. "description": "商品ID",
  36278. "type": "integer"
  36279. },
  36280. "goodsname": {
  36281. "description": "商品名称(交易标的)",
  36282. "type": "string"
  36283. },
  36284. "lasttradedate": {
  36285. "description": "最后交易日",
  36286. "type": "string"
  36287. },
  36288. "listingdate": {
  36289. "description": "开始交易日",
  36290. "type": "string"
  36291. },
  36292. "openprice": {
  36293. "description": "成交价",
  36294. "type": "number"
  36295. },
  36296. "openqty": {
  36297. "description": "交易数量",
  36298. "type": "integer"
  36299. },
  36300. "sellaccountid": {
  36301. "description": "卖方账户",
  36302. "type": "string"
  36303. },
  36304. "sellusername": {
  36305. "description": "卖方",
  36306. "type": "string"
  36307. },
  36308. "tradeamount": {
  36309. "description": "初始名义价值",
  36310. "type": "number"
  36311. },
  36312. "tradedate": {
  36313. "description": "成交日期",
  36314. "type": "string"
  36315. },
  36316. "tradeid": {
  36317. "description": "成交编号",
  36318. "type": "string"
  36319. }
  36320. }
  36321. },
  36322. "models.TjmdMarketSection": {
  36323. "type": "object",
  36324. "properties": {
  36325. "marketsectionid": {
  36326. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36327. "type": "integer"
  36328. },
  36329. "marketsectionname": {
  36330. "description": "市场版块名称",
  36331. "type": "string"
  36332. },
  36333. "mlist": {
  36334. "description": "市场列表(板块下面有多少个市场)",
  36335. "type": "array",
  36336. "items": {
  36337. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  36338. }
  36339. },
  36340. "orderindex": {
  36341. "description": "排序",
  36342. "type": "integer"
  36343. },
  36344. "pictureurl": {
  36345. "description": "图片url, 规格(90*90)",
  36346. "type": "string"
  36347. },
  36348. "remark": {
  36349. "description": "备注",
  36350. "type": "string"
  36351. }
  36352. }
  36353. },
  36354. "models.TjmdMarketSectionConfig": {
  36355. "type": "object",
  36356. "properties": {
  36357. "auctionwrtype": {
  36358. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  36359. "type": "integer"
  36360. },
  36361. "canacceptquote": {
  36362. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36363. "type": "integer"
  36364. },
  36365. "cangoodsexercise": {
  36366. "description": "[期权]是否可现货行权- 0:否 1:是",
  36367. "type": "integer"
  36368. },
  36369. "cangoodsexercisetype": {
  36370. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36371. "type": "integer"
  36372. },
  36373. "canmanualquotestrike": {
  36374. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36375. "type": "integer"
  36376. },
  36377. "canmutistage": {
  36378. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36379. "type": "integer"
  36380. },
  36381. "canpreexercise": {
  36382. "description": "[期权]是否可预申报- 0:否 1:是",
  36383. "type": "integer"
  36384. },
  36385. "clearinterval": {
  36386. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36387. "type": "integer"
  36388. },
  36389. "contracttmp": {
  36390. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36391. "type": "string"
  36392. },
  36393. "exchareaid": {
  36394. "description": "所属交易所,可以没有",
  36395. "type": "integer"
  36396. },
  36397. "financemarketid": {
  36398. "description": "融资回购市场ID [仓单贸易]",
  36399. "type": "integer"
  36400. },
  36401. "goodstype": {
  36402. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36403. "type": "integer"
  36404. },
  36405. "hasrebate": {
  36406. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36407. "type": "integer"
  36408. },
  36409. "hastradecredit": {
  36410. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36411. "type": "integer"
  36412. },
  36413. "haswr": {
  36414. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  36415. "type": "integer"
  36416. },
  36417. "isdeductmargin": {
  36418. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  36419. "type": "integer"
  36420. },
  36421. "isrecordsource": {
  36422. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  36423. "type": "integer"
  36424. },
  36425. "isreleasemargin": {
  36426. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  36427. "type": "integer"
  36428. },
  36429. "isupdatereckonprice": {
  36430. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  36431. "type": "integer"
  36432. },
  36433. "listingmode": {
  36434. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36435. "type": "integer"
  36436. },
  36437. "marginformula": {
  36438. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36439. "type": "integer"
  36440. },
  36441. "marginformula2": {
  36442. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36443. "type": "integer"
  36444. },
  36445. "marketid": {
  36446. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  36447. "type": "integer"
  36448. },
  36449. "marketname": {
  36450. "description": "市场名称",
  36451. "type": "string"
  36452. },
  36453. "marketsectionid": {
  36454. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36455. "type": "integer"
  36456. },
  36457. "marketserviceid": {
  36458. "description": "市场服务ID",
  36459. "type": "integer"
  36460. },
  36461. "marketstatus": {
  36462. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  36463. "type": "integer"
  36464. },
  36465. "markettype": {
  36466. "description": "市场类型- 1:非交易服务 2:交易服务",
  36467. "type": "integer"
  36468. },
  36469. "matchermode": {
  36470. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  36471. "type": "integer"
  36472. },
  36473. "nowrquotaflag": {
  36474. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  36475. "type": "integer"
  36476. },
  36477. "openmethod": {
  36478. "description": "开盘模式 - 0 自动 1手动",
  36479. "type": "integer"
  36480. },
  36481. "orderindex": {
  36482. "description": "排序",
  36483. "type": "integer"
  36484. },
  36485. "otcuserid": {
  36486. "description": "场外期权做市商[场外期权]",
  36487. "type": "integer"
  36488. },
  36489. "outersynctime": {
  36490. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  36491. "type": "string"
  36492. },
  36493. "paylaterflag": {
  36494. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  36495. "type": "integer"
  36496. },
  36497. "pendingflag": {
  36498. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  36499. "type": "integer"
  36500. },
  36501. "pendingtime": {
  36502. "description": "待开市时间[通道交易-对冲](HH:mm)",
  36503. "type": "string"
  36504. },
  36505. "performancetempid": {
  36506. "description": "履约计划模板ID - 作废",
  36507. "type": "integer"
  36508. },
  36509. "premiumquotemode": {
  36510. "description": "权利金报价方式 - 1:自动 2:手动",
  36511. "type": "integer"
  36512. },
  36513. "rebateratio": {
  36514. "description": "返利比率[竞价式]",
  36515. "type": "number"
  36516. },
  36517. "reckonorder": {
  36518. "description": "结算顺序",
  36519. "type": "integer"
  36520. },
  36521. "reckonpricealgorithm": {
  36522. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  36523. "type": "integer"
  36524. },
  36525. "reckonpriceparam": {
  36526. "description": "结算价参数",
  36527. "type": "integer"
  36528. },
  36529. "reckontime": {
  36530. "description": "结算时间[通道交易-对冲](HH:mm)",
  36531. "type": "string"
  36532. },
  36533. "roleprioritytype": {
  36534. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  36535. "type": "integer"
  36536. },
  36537. "selllistingauditflag": {
  36538. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  36539. "type": "integer"
  36540. },
  36541. "trademarkettype": {
  36542. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  36543. "type": "integer"
  36544. },
  36545. "trademode": {
  36546. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36547. "type": "integer"
  36548. },
  36549. "tradeproperty": {
  36550. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  36551. "type": "integer"
  36552. },
  36553. "tradetype": {
  36554. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  36555. "type": "integer"
  36556. },
  36557. "updatereckonpriceinterval": {
  36558. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  36559. "type": "integer"
  36560. }
  36561. }
  36562. },
  36563. "models.TjmdQuoteGoods": {
  36564. "type": "object",
  36565. "properties": {
  36566. "buyqty": {
  36567. "description": "买量(暂不做, 无值, 保留字段)",
  36568. "type": "number"
  36569. },
  36570. "decimalplace": {
  36571. "description": "报价小数位",
  36572. "type": "integer"
  36573. },
  36574. "goodscode": {
  36575. "description": "合约代码",
  36576. "type": "string"
  36577. },
  36578. "goodsgroupid": {
  36579. "description": "商品组ID(自增ID)",
  36580. "type": "integer"
  36581. },
  36582. "goodsgroupname": {
  36583. "description": "商品组名称",
  36584. "type": "string"
  36585. },
  36586. "goodsid": {
  36587. "description": "合约id",
  36588. "type": "integer"
  36589. },
  36590. "goodsname": {
  36591. "description": "合约名称",
  36592. "type": "string"
  36593. },
  36594. "refgoodscode": {
  36595. "description": "标的合约代码",
  36596. "type": "string"
  36597. },
  36598. "refgoodsid": {
  36599. "description": "标的合约id",
  36600. "type": "integer"
  36601. },
  36602. "refgoodsname": {
  36603. "description": "标的合约名称",
  36604. "type": "string"
  36605. },
  36606. "sellqty": {
  36607. "description": "卖量(暂不做, 无值, 保留字段)",
  36608. "type": "number"
  36609. }
  36610. }
  36611. },
  36612. "models.TjmdTodayAccountMargin": {
  36613. "type": "object",
  36614. "properties": {
  36615. "accountid": {
  36616. "description": "账号ID",
  36617. "type": "integer"
  36618. },
  36619. "goodsid": {
  36620. "description": "商品ID",
  36621. "type": "integer"
  36622. },
  36623. "infoc": {
  36624. "description": "配置参数",
  36625. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  36626. },
  36627. "marketid": {
  36628. "description": "市场ID",
  36629. "type": "integer"
  36630. }
  36631. }
  36632. },
  36633. "models.TjmdTradeOrderDetail": {
  36634. "type": "object",
  36635. "properties": {
  36636. "buyorsell": {
  36637. "description": "买卖方向 0-买 1-卖",
  36638. "type": "integer"
  36639. },
  36640. "goodsid": {
  36641. "description": "商品id",
  36642. "type": "integer"
  36643. },
  36644. "marketmaxsub": {
  36645. "description": "市价最大偏移范围 [浮动价 - 点差]",
  36646. "type": "number"
  36647. },
  36648. "orderid": {
  36649. "description": "委托单号",
  36650. "type": "string"
  36651. },
  36652. "orderprice": {
  36653. "description": "委托价格",
  36654. "type": "number"
  36655. },
  36656. "orderqty": {
  36657. "description": "委托数量",
  36658. "type": "integer"
  36659. },
  36660. "pricemode": {
  36661. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  36662. "type": "integer"
  36663. },
  36664. "userid": {
  36665. "description": "用户id",
  36666. "type": "integer"
  36667. },
  36668. "username": {
  36669. "description": "用户名称(已脱敏)",
  36670. "type": "string"
  36671. }
  36672. }
  36673. },
  36674. "models.TjmdTransferApply": {
  36675. "type": "object",
  36676. "properties": {
  36677. "applyid": {
  36678. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  36679. "type": "integer"
  36680. },
  36681. "applystatus": {
  36682. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  36683. "type": "integer"
  36684. },
  36685. "applytime": {
  36686. "description": "申请时间(时间)",
  36687. "type": "string"
  36688. },
  36689. "auditremark": {
  36690. "description": "审核备注(拒绝原因?)",
  36691. "type": "string"
  36692. },
  36693. "begindate": {
  36694. "description": "开始交易日(yyyymmdd)",
  36695. "type": "string"
  36696. },
  36697. "buyorsell": {
  36698. "description": "买卖 - 0:买 1:卖",
  36699. "type": "integer"
  36700. },
  36701. "enddate": {
  36702. "description": "结束交易日(yyyymmdd)",
  36703. "type": "string"
  36704. },
  36705. "goodscode": {
  36706. "description": "商品代码",
  36707. "type": "string"
  36708. },
  36709. "goodsid": {
  36710. "description": "商品ID",
  36711. "type": "integer"
  36712. },
  36713. "goodsname": {
  36714. "description": "商品名称",
  36715. "type": "string"
  36716. },
  36717. "marketid": {
  36718. "description": "市场ID",
  36719. "type": "integer"
  36720. },
  36721. "qty": {
  36722. "description": "转让数量(数量)",
  36723. "type": "number"
  36724. },
  36725. "tradeid": {
  36726. "description": "成交单号(关联持仓)",
  36727. "type": "string"
  36728. },
  36729. "transferamount": {
  36730. "description": "转让总金额(金额)",
  36731. "type": "number"
  36732. },
  36733. "transferprice": {
  36734. "description": "转让价格(协议价格)",
  36735. "type": "number"
  36736. }
  36737. }
  36738. },
  36739. "models.TradeHolderDetail": {
  36740. "type": "object",
  36741. "properties": {
  36742. "accountid": {
  36743. "description": "账号ID",
  36744. "type": "integer"
  36745. },
  36746. "agreeunit": {
  36747. "description": "合约乘数",
  36748. "type": "number"
  36749. },
  36750. "buyorsell": {
  36751. "description": "方向 - 0:买 1:卖",
  36752. "type": "integer"
  36753. },
  36754. "currencyid": {
  36755. "description": "商品币种id",
  36756. "type": "integer"
  36757. },
  36758. "currencyname": {
  36759. "description": "币种名称",
  36760. "type": "string"
  36761. },
  36762. "decimalplace": {
  36763. "description": "商品价格小数位",
  36764. "type": "integer"
  36765. },
  36766. "enumdicname": {
  36767. "description": "商品单位名称",
  36768. "type": "string"
  36769. },
  36770. "expirecycle": {
  36771. "description": "行权周期(天) - 1:滚动行权时填写",
  36772. "type": "integer"
  36773. },
  36774. "expiredate": {
  36775. "description": "行权日(yyyyMMdd) - 到期日",
  36776. "type": "string"
  36777. },
  36778. "expiretype": {
  36779. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  36780. "type": "integer"
  36781. },
  36782. "freezeqty": {
  36783. "description": "冻结数量",
  36784. "type": "number"
  36785. },
  36786. "goodscode": {
  36787. "description": "商品代码",
  36788. "type": "string"
  36789. },
  36790. "goodsid": {
  36791. "description": "商品ID",
  36792. "type": "integer"
  36793. },
  36794. "goodsname": {
  36795. "description": "商品名称",
  36796. "type": "string"
  36797. },
  36798. "goodunitid": {
  36799. "description": "商品单位id",
  36800. "type": "integer"
  36801. },
  36802. "holderamount": {
  36803. "description": "持仓金额",
  36804. "type": "number"
  36805. },
  36806. "holdercredit": {
  36807. "description": "持仓授信金额",
  36808. "type": "number"
  36809. },
  36810. "holderdays": {
  36811. "description": "剩余冻结天数",
  36812. "type": "integer"
  36813. },
  36814. "holderprice": {
  36815. "description": "持仓价格",
  36816. "type": "number"
  36817. },
  36818. "holderqty": {
  36819. "description": "持仓数量",
  36820. "type": "number"
  36821. },
  36822. "isconfirmexercise": {
  36823. "description": "是否确认行权- 0:否 1:是",
  36824. "type": "integer"
  36825. },
  36826. "ispreexercise": {
  36827. "description": "是否预申报- 0:否 1:是 2:不可行权",
  36828. "type": "integer"
  36829. },
  36830. "marketid": {
  36831. "description": "市场id",
  36832. "type": "integer"
  36833. },
  36834. "marketname": {
  36835. "description": "市场名称",
  36836. "type": "string"
  36837. },
  36838. "openprice": {
  36839. "description": "建仓价格",
  36840. "type": "number"
  36841. },
  36842. "openqty": {
  36843. "description": "建仓数量",
  36844. "type": "number"
  36845. },
  36846. "optiontype": {
  36847. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36848. "type": "integer"
  36849. },
  36850. "preexerciseprice": {
  36851. "description": "预申报价格",
  36852. "type": "number"
  36853. },
  36854. "premium": {
  36855. "description": "权利金",
  36856. "type": "number"
  36857. },
  36858. "qtydecimalplace": {
  36859. "description": "商品成交量小数位",
  36860. "type": "integer"
  36861. },
  36862. "refgoodscode": {
  36863. "description": "标的合约代码",
  36864. "type": "string"
  36865. },
  36866. "refgoodsid": {
  36867. "description": "标的合约id",
  36868. "type": "integer"
  36869. },
  36870. "releaseamount": {
  36871. "description": "释放持仓金额",
  36872. "type": "number"
  36873. },
  36874. "releaseholdercredit": {
  36875. "description": "释放持仓授信金额",
  36876. "type": "number"
  36877. },
  36878. "taname": {
  36879. "description": "资金账号名称",
  36880. "type": "string"
  36881. },
  36882. "tradeamount": {
  36883. "description": "成交金额",
  36884. "type": "number"
  36885. },
  36886. "tradedate": {
  36887. "description": "交易日(yyyyMMdd)",
  36888. "type": "string"
  36889. },
  36890. "tradeid": {
  36891. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36892. "type": "string"
  36893. },
  36894. "trademode": {
  36895. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  36896. "type": "integer"
  36897. },
  36898. "tradeproperty": {
  36899. "description": "交易属性",
  36900. "type": "integer"
  36901. },
  36902. "tradetime": {
  36903. "description": "交易时间",
  36904. "type": "string"
  36905. },
  36906. "userid": {
  36907. "description": "用户id",
  36908. "type": "integer"
  36909. },
  36910. "username": {
  36911. "description": "用户名称",
  36912. "type": "string"
  36913. }
  36914. }
  36915. },
  36916. "models.Unlinkermcphedgeplan": {
  36917. "type": "object",
  36918. "required": [
  36919. "areauserid"
  36920. ],
  36921. "properties": {
  36922. "accountid": {
  36923. "description": "期货账户ID - 作废",
  36924. "type": "integer"
  36925. },
  36926. "accountname": {
  36927. "description": "交易用户",
  36928. "type": "string"
  36929. },
  36930. "applyid": {
  36931. "description": "申请人",
  36932. "type": "integer"
  36933. },
  36934. "applysrc": {
  36935. "description": "申请来源 - 1:管理端 2:终端",
  36936. "type": "integer"
  36937. },
  36938. "applytime": {
  36939. "description": "申请时间",
  36940. "type": "string"
  36941. },
  36942. "areauserid": {
  36943. "description": "[企业ID]机构ID",
  36944. "type": "integer"
  36945. },
  36946. "auditid": {
  36947. "description": "审核人",
  36948. "type": "integer"
  36949. },
  36950. "auditremark": {
  36951. "description": "审核备注",
  36952. "type": "string"
  36953. },
  36954. "auditsrc": {
  36955. "description": "审核来源 - 1:管理端 2:终端",
  36956. "type": "integer"
  36957. },
  36958. "audittime": {
  36959. "description": "审核时间",
  36960. "type": "string"
  36961. },
  36962. "audittradedate": {
  36963. "description": "审核交易日(yyyyMMdd)",
  36964. "type": "string"
  36965. },
  36966. "biztype": {
  36967. "description": "业务类型 - 1:套保",
  36968. "type": "integer"
  36969. },
  36970. "contracttype": {
  36971. "description": "计划类型 - 1:采购 -1:销售",
  36972. "type": "integer"
  36973. },
  36974. "convertfactor": {
  36975. "description": "标仓系数 - 作废",
  36976. "type": "number"
  36977. },
  36978. "createtime": {
  36979. "description": "创建时间",
  36980. "type": "string"
  36981. },
  36982. "currencyid": {
  36983. "description": "结算币种ID - 作废",
  36984. "type": "integer"
  36985. },
  36986. "deliverygoodsid": {
  36987. "description": "现货品种ID",
  36988. "type": "integer"
  36989. },
  36990. "enumdicname": {
  36991. "description": "结算币种",
  36992. "type": "string"
  36993. },
  36994. "hedgeplanid": {
  36995. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  36996. "type": "integer"
  36997. },
  36998. "hedgeplanno": {
  36999. "description": "[计划编号]套保计划编号,模糊查询",
  37000. "type": "string"
  37001. },
  37002. "hedgeplanstatus": {
  37003. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  37004. "type": "integer"
  37005. },
  37006. "isrelated": {
  37007. "description": "是否已关联计划项目 - 0:否 1:是",
  37008. "type": "integer"
  37009. },
  37010. "planqty": {
  37011. "description": "[计划量]计划数量",
  37012. "type": "number"
  37013. },
  37014. "plantime": {
  37015. "description": "计划时间",
  37016. "type": "string"
  37017. },
  37018. "producttype": {
  37019. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  37020. "type": "integer"
  37021. },
  37022. "remark": {
  37023. "description": "备注",
  37024. "type": "string"
  37025. },
  37026. "spotgoodsdesc": {
  37027. "description": "商品型号",
  37028. "type": "string"
  37029. },
  37030. "tradedate": {
  37031. "description": "交易日(yyyyMMdd)",
  37032. "type": "string"
  37033. },
  37034. "tradeuserid": {
  37035. "description": "交易用户ID",
  37036. "type": "integer"
  37037. },
  37038. "updatetime": {
  37039. "description": "更新时间",
  37040. "type": "string"
  37041. },
  37042. "wrstandardid": {
  37043. "description": "现货商品ID",
  37044. "type": "integer"
  37045. },
  37046. "wrstandardname": {
  37047. "description": "现货商品,模糊查询",
  37048. "type": "string"
  37049. }
  37050. }
  37051. },
  37052. "models.UserCollectConfig": {
  37053. "type": "object",
  37054. "properties": {
  37055. "accountstatus": {
  37056. "description": "账户状态 - 1:正常 2:停用 3:注销",
  37057. "type": "integer"
  37058. },
  37059. "collectaccountname": {
  37060. "description": "收款人账户名称",
  37061. "type": "string"
  37062. },
  37063. "collectaccountno": {
  37064. "description": "收款人账户",
  37065. "type": "string"
  37066. },
  37067. "collectbankname": {
  37068. "description": "收款人开户行",
  37069. "type": "string"
  37070. },
  37071. "collectbranchbankname": {
  37072. "description": "收款人开户支行",
  37073. "type": "string"
  37074. },
  37075. "collectconfigid": {
  37076. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  37077. "type": "string"
  37078. },
  37079. "remark": {
  37080. "description": "备注",
  37081. "type": "string"
  37082. },
  37083. "userid": {
  37084. "description": "收款人用户ID",
  37085. "type": "integer"
  37086. }
  37087. }
  37088. },
  37089. "models.UserReceiveInfo": {
  37090. "type": "object",
  37091. "properties": {
  37092. "address": {
  37093. "description": "提货人详细地址",
  37094. "type": "string"
  37095. },
  37096. "autoid": {
  37097. "description": "AutoID",
  37098. "type": "integer"
  37099. },
  37100. "cardnum": {
  37101. "description": "证件号码(加密存储)",
  37102. "type": "string"
  37103. },
  37104. "cardtypeid": {
  37105. "description": "证件类型",
  37106. "type": "integer"
  37107. },
  37108. "cityid": {
  37109. "description": "市",
  37110. "type": "integer"
  37111. },
  37112. "cityname": {
  37113. "description": "城市名称",
  37114. "type": "string"
  37115. },
  37116. "countryid": {
  37117. "description": "国家",
  37118. "type": "integer"
  37119. },
  37120. "countryname": {
  37121. "description": "国家名称",
  37122. "type": "string"
  37123. },
  37124. "districtid": {
  37125. "description": "地区",
  37126. "type": "integer"
  37127. },
  37128. "districtname": {
  37129. "description": "地区名称",
  37130. "type": "string"
  37131. },
  37132. "hasencrypt": {
  37133. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37134. "type": "integer"
  37135. },
  37136. "isdefault": {
  37137. "description": "是否默认地址 - 0:否 1:是",
  37138. "type": "integer"
  37139. },
  37140. "phonenum": {
  37141. "description": "提货人联系方式(加密存储)",
  37142. "type": "string"
  37143. },
  37144. "provinceid": {
  37145. "description": "省",
  37146. "type": "integer"
  37147. },
  37148. "provincename": {
  37149. "description": "省名称",
  37150. "type": "string"
  37151. },
  37152. "receivername": {
  37153. "description": "提货人姓名",
  37154. "type": "string"
  37155. },
  37156. "takeremark": {
  37157. "description": "提货备注",
  37158. "type": "string"
  37159. },
  37160. "userid": {
  37161. "description": "用户ID",
  37162. "type": "integer"
  37163. }
  37164. }
  37165. },
  37166. "models.Useraccount": {
  37167. "type": "object",
  37168. "required": [
  37169. "userid"
  37170. ],
  37171. "properties": {
  37172. "accountname": {
  37173. "description": "账户名称(机构名称)",
  37174. "type": "string"
  37175. },
  37176. "accountstatus": {
  37177. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37178. "type": "integer"
  37179. },
  37180. "applysrc": {
  37181. "description": "申请来源 - 1:管理端 2:终端",
  37182. "type": "integer"
  37183. },
  37184. "auditremark": {
  37185. "description": "审核备注",
  37186. "type": "string"
  37187. },
  37188. "auditsrc": {
  37189. "description": "审核来源 - 1:管理端 2:终端",
  37190. "type": "integer"
  37191. },
  37192. "audittime": {
  37193. "description": "审核时间",
  37194. "type": "string"
  37195. },
  37196. "audituserid": {
  37197. "description": "审核人",
  37198. "type": "integer"
  37199. },
  37200. "broker": {
  37201. "description": "所属经纪人ID",
  37202. "type": "integer"
  37203. },
  37204. "canceltime": {
  37205. "description": "销户时间",
  37206. "type": "string"
  37207. },
  37208. "canceluserid": {
  37209. "description": "销户人",
  37210. "type": "integer"
  37211. },
  37212. "canrecommend": {
  37213. "description": "是否可推荐 - 0:不可 1;可",
  37214. "type": "integer"
  37215. },
  37216. "createtime": {
  37217. "description": "创建时间",
  37218. "type": "string"
  37219. },
  37220. "creatorid": {
  37221. "description": "创建人",
  37222. "type": "integer"
  37223. },
  37224. "hasauth": {
  37225. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  37226. "type": "integer"
  37227. },
  37228. "isanonymous": {
  37229. "description": "是否匿名下单 - 0:否 1:是",
  37230. "type": "integer"
  37231. },
  37232. "maxinvestornum": {
  37233. "description": "最大用户数(经纪会员下投资者个数)",
  37234. "type": "integer"
  37235. },
  37236. "memberuserid": {
  37237. "description": "所属会员ID",
  37238. "type": "integer"
  37239. },
  37240. "modifierid": {
  37241. "description": "修改人",
  37242. "type": "integer"
  37243. },
  37244. "modifyremark": {
  37245. "description": "变更备注",
  37246. "type": "string"
  37247. },
  37248. "modifystatus": {
  37249. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  37250. "type": "integer"
  37251. },
  37252. "modifytime": {
  37253. "description": "修改时间",
  37254. "type": "string"
  37255. },
  37256. "parenttopuser": {
  37257. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37258. "type": "string"
  37259. },
  37260. "parentuserid": {
  37261. "description": "所属机构ID",
  37262. "type": "integer"
  37263. },
  37264. "reckonaccountid": {
  37265. "description": "默认结算资金账号ID(机构分润使用) 作废",
  37266. "type": "integer"
  37267. },
  37268. "refercount": {
  37269. "description": "推荐总人数",
  37270. "type": "integer"
  37271. },
  37272. "refereeuserid": {
  37273. "description": "推荐人ID",
  37274. "type": "integer"
  37275. },
  37276. "refernum": {
  37277. "description": "推荐码",
  37278. "type": "string"
  37279. },
  37280. "rootuserid": {
  37281. "description": "根用户ID",
  37282. "type": "integer"
  37283. },
  37284. "subaccountlevel": {
  37285. "description": "子账户层数",
  37286. "type": "integer"
  37287. },
  37288. "subarealevelpath": {
  37289. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37290. "type": "string"
  37291. },
  37292. "userid": {
  37293. "description": "用户ID",
  37294. "type": "integer"
  37295. },
  37296. "usertype": {
  37297. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37298. "type": "integer"
  37299. }
  37300. }
  37301. },
  37302. "models.Userfavoritegoods": {
  37303. "type": "object",
  37304. "required": [
  37305. "goodsid"
  37306. ],
  37307. "properties": {
  37308. "goodsid": {
  37309. "description": "商品ID",
  37310. "type": "integer"
  37311. }
  37312. }
  37313. },
  37314. "models.Userinfo": {
  37315. "type": "object",
  37316. "required": [
  37317. "userid"
  37318. ],
  37319. "properties": {
  37320. "address": {
  37321. "description": "地址",
  37322. "type": "string"
  37323. },
  37324. "attachment1": {
  37325. "description": "附件1",
  37326. "type": "string"
  37327. },
  37328. "attachment2": {
  37329. "description": "附件2",
  37330. "type": "string"
  37331. },
  37332. "bankaccount": {
  37333. "description": "银行帐号 (加密存储)",
  37334. "type": "string"
  37335. },
  37336. "bankaccountname": {
  37337. "description": "收款人名称",
  37338. "type": "string"
  37339. },
  37340. "bankcardfrontphotourl": {
  37341. "description": "银行卡正面照地址",
  37342. "type": "string"
  37343. },
  37344. "bankid": {
  37345. "description": "银行编码",
  37346. "type": "string"
  37347. },
  37348. "bankname": {
  37349. "description": "银行名称",
  37350. "type": "string"
  37351. },
  37352. "biznature": {
  37353. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  37354. "type": "integer"
  37355. },
  37356. "bizscope": {
  37357. "description": "企业经营范围(企业)",
  37358. "type": "string"
  37359. },
  37360. "cardbackphotourl": {
  37361. "description": "证件背面图片地址",
  37362. "type": "string"
  37363. },
  37364. "cardfrontphotourl": {
  37365. "description": "证件正面图片地址",
  37366. "type": "string"
  37367. },
  37368. "cardnum": {
  37369. "description": "证件号码(加密存储)",
  37370. "type": "string"
  37371. },
  37372. "cardtypeid": {
  37373. "description": "证件类型ID",
  37374. "type": "integer"
  37375. },
  37376. "cityid": {
  37377. "description": "市",
  37378. "type": "integer"
  37379. },
  37380. "company": {
  37381. "description": "公司(个人)",
  37382. "type": "string"
  37383. },
  37384. "contactname": {
  37385. "description": "联系人",
  37386. "type": "string"
  37387. },
  37388. "countryid": {
  37389. "description": "国家",
  37390. "type": "integer"
  37391. },
  37392. "createtime": {
  37393. "description": "创建时间",
  37394. "type": "string"
  37395. },
  37396. "creatorid": {
  37397. "description": "创建人",
  37398. "type": "integer"
  37399. },
  37400. "customername": {
  37401. "description": "客户名称(企业名称)",
  37402. "type": "string"
  37403. },
  37404. "districtid": {
  37405. "description": "地区",
  37406. "type": "integer"
  37407. },
  37408. "email": {
  37409. "description": "邮件(加密存储)",
  37410. "type": "string"
  37411. },
  37412. "fax": {
  37413. "description": "传真(加密存储)",
  37414. "type": "string"
  37415. },
  37416. "halfbodyphotourl": {
  37417. "description": "半身照地址",
  37418. "type": "string"
  37419. },
  37420. "hasencrypt": {
  37421. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37422. "type": "integer"
  37423. },
  37424. "headurl": {
  37425. "description": "头像地址",
  37426. "type": "string"
  37427. },
  37428. "legalcardbackphotourl": {
  37429. "description": "法人身份证背面照地址",
  37430. "type": "string"
  37431. },
  37432. "legalcardfrontphotourl": {
  37433. "description": "法人身份证正面照地址",
  37434. "type": "string"
  37435. },
  37436. "legalpersonname": {
  37437. "description": "法人姓名(企业)",
  37438. "type": "string"
  37439. },
  37440. "mobile": {
  37441. "description": "手机号码(加密存储)",
  37442. "type": "string"
  37443. },
  37444. "mobile2": {
  37445. "description": "手机号码[明文-尚志]",
  37446. "type": "string"
  37447. },
  37448. "modifierid": {
  37449. "description": "修改人",
  37450. "type": "integer"
  37451. },
  37452. "modifiertime": {
  37453. "description": "修改时间",
  37454. "type": "string"
  37455. },
  37456. "needinvoice": {
  37457. "description": "是否需要发票 - 0:不需要 1:需要",
  37458. "type": "integer"
  37459. },
  37460. "nickname": {
  37461. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  37462. "type": "string"
  37463. },
  37464. "openmode": {
  37465. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  37466. "type": "integer"
  37467. },
  37468. "otherurl": {
  37469. "description": "其它图片地址[使用分号分隔]",
  37470. "type": "string"
  37471. },
  37472. "postalcode": {
  37473. "description": "邮政编码",
  37474. "type": "string"
  37475. },
  37476. "provinceid": {
  37477. "description": "省",
  37478. "type": "integer"
  37479. },
  37480. "qq": {
  37481. "description": "QQ(加密存储",
  37482. "type": "string"
  37483. },
  37484. "remark": {
  37485. "description": "备注",
  37486. "type": "string"
  37487. },
  37488. "sex": {
  37489. "description": "用户性别 0: 女 1: 男",
  37490. "type": "integer"
  37491. },
  37492. "signpdfurl": {
  37493. "description": "签约pdf文件",
  37494. "type": "string"
  37495. },
  37496. "telphone": {
  37497. "description": "联系电话(加密存储)",
  37498. "type": "string"
  37499. },
  37500. "userid": {
  37501. "description": "用户ID",
  37502. "type": "integer"
  37503. },
  37504. "userinfotype": {
  37505. "description": "用户信息类型 - 1:个人 2:企业",
  37506. "type": "integer"
  37507. },
  37508. "userstatus": {
  37509. "description": "用户状态 - 1:正常 2:注销",
  37510. "type": "integer"
  37511. },
  37512. "usertype": {
  37513. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  37514. "type": "integer"
  37515. },
  37516. "wechat": {
  37517. "description": "微信(加密存储)",
  37518. "type": "string"
  37519. },
  37520. "wskhinfo": {
  37521. "description": "开户申请信息(JSON)",
  37522. "type": "string"
  37523. }
  37524. }
  37525. },
  37526. "models.WRSConverTDetail": {
  37527. "type": "object",
  37528. "properties": {
  37529. "convertratio": {
  37530. "description": "套保系数",
  37531. "type": "number"
  37532. },
  37533. "deliverygoodscode": {
  37534. "description": "现货商品代码",
  37535. "type": "string"
  37536. },
  37537. "deliverygoodsid": {
  37538. "description": "现货品种ID",
  37539. "type": "integer"
  37540. },
  37541. "deliverygoodsname": {
  37542. "description": "现货商品名称",
  37543. "type": "string"
  37544. },
  37545. "enumdicname": {
  37546. "description": "单位名称",
  37547. "type": "string"
  37548. },
  37549. "goodsunitid": {
  37550. "description": "套保品种单位id",
  37551. "type": "integer"
  37552. },
  37553. "middlegoodscode": {
  37554. "description": "套保品种代码",
  37555. "type": "string"
  37556. },
  37557. "middlegoodsid": {
  37558. "description": "套保品种ID",
  37559. "type": "integer"
  37560. },
  37561. "middlegoodsname": {
  37562. "description": "套保品种名称",
  37563. "type": "string"
  37564. },
  37565. "modifytime": {
  37566. "description": "修改时间",
  37567. "type": "string"
  37568. },
  37569. "wrstandardid": {
  37570. "description": "品类ID",
  37571. "type": "integer"
  37572. }
  37573. }
  37574. },
  37575. "models.WRStandardInfo": {
  37576. "type": "object",
  37577. "required": [
  37578. "wrstandardid"
  37579. ],
  37580. "properties": {
  37581. "areauserid": {
  37582. "description": "所属机构",
  37583. "type": "integer"
  37584. },
  37585. "convertfactor": {
  37586. "description": "标仓系数",
  37587. "type": "number"
  37588. },
  37589. "createtime": {
  37590. "description": "创建时间",
  37591. "type": "string"
  37592. },
  37593. "creatorid": {
  37594. "description": "创建人",
  37595. "type": "integer"
  37596. },
  37597. "deliverygoodsid": {
  37598. "description": "品种ID",
  37599. "type": "integer"
  37600. },
  37601. "deliverygoodsname": {
  37602. "description": "交割商品名称",
  37603. "type": "string"
  37604. },
  37605. "factoryitemjson": {
  37606. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  37607. "type": "string"
  37608. },
  37609. "isvalid": {
  37610. "description": "是否有效 - 0:无效 1:有效",
  37611. "type": "integer"
  37612. },
  37613. "minivalue": {
  37614. "description": "最小变动值",
  37615. "type": "integer"
  37616. },
  37617. "minivaluedp": {
  37618. "description": "最小变动值小数位",
  37619. "type": "integer"
  37620. },
  37621. "realminivalue": {
  37622. "description": "实际最小变动值",
  37623. "type": "integer"
  37624. },
  37625. "realminivaluedp": {
  37626. "description": "实际最小变动值小数位",
  37627. "type": "integer"
  37628. },
  37629. "remark": {
  37630. "description": "备注",
  37631. "type": "string"
  37632. },
  37633. "unitid": {
  37634. "description": "单位ID",
  37635. "type": "integer"
  37636. },
  37637. "unitname": {
  37638. "description": "单位",
  37639. "type": "string"
  37640. },
  37641. "updatetime": {
  37642. "description": "更新时间",
  37643. "type": "string"
  37644. },
  37645. "updatorid": {
  37646. "description": "更新人",
  37647. "type": "integer"
  37648. },
  37649. "wrsstatus": {
  37650. "description": "状态 - 作废 - 0:未激活 1:正常",
  37651. "type": "integer"
  37652. },
  37653. "wrstandardcode": {
  37654. "description": "现货品类代码",
  37655. "type": "string"
  37656. },
  37657. "wrstandardid": {
  37658. "description": "现货品类ID(SEQ_WRSTANDARD)",
  37659. "type": "integer"
  37660. },
  37661. "wrstandardname": {
  37662. "description": "现货品类名称",
  37663. "type": "string"
  37664. }
  37665. }
  37666. },
  37667. "models.WRTradeBargainApply": {
  37668. "type": "object",
  37669. "properties": {
  37670. "accountid": {
  37671. "description": "摘牌资金账号",
  37672. "type": "integer"
  37673. },
  37674. "applyprice": {
  37675. "description": "申请价格(议价价格)",
  37676. "type": "string"
  37677. },
  37678. "applyqty": {
  37679. "description": "摘牌数量(议价数量)",
  37680. "type": "number"
  37681. },
  37682. "applyremark": {
  37683. "description": "申请备注",
  37684. "type": "string"
  37685. },
  37686. "applystatus": {
  37687. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  37688. "type": "integer"
  37689. },
  37690. "applytime": {
  37691. "description": "申请时间(议价时间)",
  37692. "type": "string"
  37693. },
  37694. "begindate": {
  37695. "description": "开始交易日(yyyymmdd)",
  37696. "type": "string"
  37697. },
  37698. "buyorsell": {
  37699. "description": "买卖(挂牌类型) - 0:买 1:卖",
  37700. "type": "integer"
  37701. },
  37702. "confirmremark": {
  37703. "description": "确认备注",
  37704. "type": "string"
  37705. },
  37706. "confirmtime": {
  37707. "description": "确认时间",
  37708. "type": "string"
  37709. },
  37710. "confirmuserid": {
  37711. "description": "确认人",
  37712. "type": "integer"
  37713. },
  37714. "deliverygoodscode": {
  37715. "description": "品种代码",
  37716. "type": "string"
  37717. },
  37718. "deliverygoodsid": {
  37719. "description": "品种ID",
  37720. "type": "integer"
  37721. },
  37722. "deliverygoodsname": {
  37723. "description": "品种名称",
  37724. "type": "string"
  37725. },
  37726. "deliverymonth": {
  37727. "description": "交收月",
  37728. "type": "string"
  37729. },
  37730. "enddate": {
  37731. "description": "结束交易日(yyyymmdd)",
  37732. "type": "string"
  37733. },
  37734. "enumdicname": {
  37735. "description": "单位名称",
  37736. "type": "string"
  37737. },
  37738. "fixedprice": {
  37739. "description": "挂牌价格",
  37740. "type": "number"
  37741. },
  37742. "handlestatus": {
  37743. "description": "处理状态",
  37744. "type": "integer"
  37745. },
  37746. "marginvalue": {
  37747. "description": "履约保证金比例",
  37748. "type": "number"
  37749. },
  37750. "marketid": {
  37751. "description": "市场ID",
  37752. "type": "integer"
  37753. },
  37754. "matchaccountid": {
  37755. "description": "挂牌方资金账号",
  37756. "type": "integer"
  37757. },
  37758. "matchuserid": {
  37759. "description": "挂牌方用户id",
  37760. "type": "integer"
  37761. },
  37762. "matchusername": {
  37763. "description": "挂牌方用户名称(已脱敏)",
  37764. "type": "string"
  37765. },
  37766. "minivalue": {
  37767. "description": "现货商品最小变动值",
  37768. "type": "integer"
  37769. },
  37770. "optioncompare": {
  37771. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37772. "type": "string"
  37773. },
  37774. "orderqty": {
  37775. "description": "挂牌数量",
  37776. "type": "integer"
  37777. },
  37778. "refprice": {
  37779. "description": "参考价格",
  37780. "type": "string"
  37781. },
  37782. "retcode": {
  37783. "description": "委托返回代码",
  37784. "type": "integer"
  37785. },
  37786. "templatename": {
  37787. "description": "履约方式(履约模板名称)",
  37788. "type": "string"
  37789. },
  37790. "tradedate": {
  37791. "description": "交易日(yyyyMMdd)",
  37792. "type": "string"
  37793. },
  37794. "userid": {
  37795. "description": "摘牌人用户ID(议价人ID)",
  37796. "type": "integer"
  37797. },
  37798. "username": {
  37799. "description": "议价人名字(已脱敏)",
  37800. "type": "string"
  37801. },
  37802. "validtime": {
  37803. "description": "有效期限",
  37804. "type": "string"
  37805. },
  37806. "warehouseid": {
  37807. "description": "仓库ID",
  37808. "type": "integer"
  37809. },
  37810. "warehousename": {
  37811. "description": "仓库名称",
  37812. "type": "string"
  37813. },
  37814. "wrbargainid": {
  37815. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  37816. "type": "string"
  37817. },
  37818. "wrfactortypeid": {
  37819. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37820. "type": "string"
  37821. },
  37822. "wrfactortypename": {
  37823. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37824. "type": "string"
  37825. },
  37826. "wrstandardcode": {
  37827. "description": "现货商品代码",
  37828. "type": "string"
  37829. },
  37830. "wrstandardid": {
  37831. "description": "现货商品ID",
  37832. "type": "integer"
  37833. },
  37834. "wrstandardname": {
  37835. "description": "商品名称",
  37836. "type": "string"
  37837. },
  37838. "wrtradeorderid": {
  37839. "description": "关联委托单ID",
  37840. "type": "string"
  37841. },
  37842. "wrtypename": {
  37843. "description": "商品",
  37844. "type": "string"
  37845. }
  37846. }
  37847. },
  37848. "models.Warehouseinfo": {
  37849. "type": "object",
  37850. "required": [
  37851. "autoid",
  37852. "warehousecode"
  37853. ],
  37854. "properties": {
  37855. "address": {
  37856. "description": "详细地址",
  37857. "type": "string"
  37858. },
  37859. "areauserid": {
  37860. "description": "所属机构",
  37861. "type": "integer"
  37862. },
  37863. "autoid": {
  37864. "description": "自增ID",
  37865. "type": "integer"
  37866. },
  37867. "cityid": {
  37868. "description": "市",
  37869. "type": "integer"
  37870. },
  37871. "contactname": {
  37872. "description": "联系人",
  37873. "type": "string"
  37874. },
  37875. "contactnum": {
  37876. "description": "联系电话",
  37877. "type": "string"
  37878. },
  37879. "countryid": {
  37880. "description": "国家",
  37881. "type": "integer"
  37882. },
  37883. "createtime": {
  37884. "description": "创建时间",
  37885. "type": "string"
  37886. },
  37887. "districtid": {
  37888. "description": "区",
  37889. "type": "integer"
  37890. },
  37891. "hasvideo": {
  37892. "description": "是否有视频 - 0:无 1:有",
  37893. "type": "integer"
  37894. },
  37895. "provinceid": {
  37896. "description": "省",
  37897. "type": "integer"
  37898. },
  37899. "remark": {
  37900. "description": "审核备注",
  37901. "type": "string"
  37902. },
  37903. "videourl": {
  37904. "description": "视频地址",
  37905. "type": "string"
  37906. },
  37907. "warehousecode": {
  37908. "description": "仓库代码",
  37909. "type": "string"
  37910. },
  37911. "warehousename": {
  37912. "description": "仓库名称",
  37913. "type": "string"
  37914. },
  37915. "warehousestatus": {
  37916. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  37917. "type": "integer"
  37918. },
  37919. "warehousetype": {
  37920. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  37921. "type": "integer"
  37922. }
  37923. }
  37924. },
  37925. "models.WrAverageTradePrice": {
  37926. "type": "object",
  37927. "properties": {
  37928. "averageprice": {
  37929. "description": "成交均价",
  37930. "type": "number"
  37931. },
  37932. "tradedate": {
  37933. "description": "交易日yyyymm",
  37934. "type": "string"
  37935. }
  37936. }
  37937. },
  37938. "models.WrBrandAndYears": {
  37939. "type": "object",
  37940. "properties": {
  37941. "brandlst": {
  37942. "description": "品牌列表",
  37943. "type": "array",
  37944. "items": {
  37945. "$ref": "#/definitions/models.DgFactoryItem"
  37946. }
  37947. },
  37948. "yearslst": {
  37949. "description": "年份列表",
  37950. "type": "array",
  37951. "items": {
  37952. "$ref": "#/definitions/models.DgFactoryItem"
  37953. }
  37954. }
  37955. }
  37956. },
  37957. "models.WrBsGoodsInfo": {
  37958. "type": "object",
  37959. "properties": {
  37960. "buyorsell": {
  37961. "description": "买卖方向 0-买 1-卖",
  37962. "type": "integer"
  37963. },
  37964. "goodsid": {
  37965. "description": "交易合约ID",
  37966. "type": "integer"
  37967. },
  37968. "lstitem": {
  37969. "description": "商品信息项",
  37970. "type": "array",
  37971. "items": {
  37972. "$ref": "#/definitions/models.WrTypeItem"
  37973. }
  37974. },
  37975. "lststep": {
  37976. "description": "履约规则",
  37977. "type": "array",
  37978. "items": {
  37979. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37980. }
  37981. }
  37982. }
  37983. },
  37984. "models.WrBuybackDetail": {
  37985. "type": "object",
  37986. "properties": {
  37987. "buybackamount": {
  37988. "description": "回购金额",
  37989. "type": "number"
  37990. },
  37991. "buybackqty": {
  37992. "description": "回购数量",
  37993. "type": "number"
  37994. },
  37995. "buybackreleasemargin": {
  37996. "description": "回购释放保证金",
  37997. "type": "number"
  37998. },
  37999. "buybacktime": {
  38000. "description": "回购时间",
  38001. "type": "string"
  38002. },
  38003. "errordesc": {
  38004. "description": "错误描述",
  38005. "type": "string"
  38006. },
  38007. "handlestatus": {
  38008. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  38009. "type": "integer"
  38010. },
  38011. "relatedwrid": {
  38012. "description": "关联仓单ID",
  38013. "type": "integer"
  38014. },
  38015. "scfcontractid": {
  38016. "description": "SCF合同ID",
  38017. "type": "string"
  38018. },
  38019. "scfwrbuybackid": {
  38020. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  38021. "type": "integer"
  38022. },
  38023. "tradedate": {
  38024. "description": "交易日(yyyyMMdd)",
  38025. "type": "string"
  38026. }
  38027. }
  38028. },
  38029. "models.WrClientAdSpaceConfig": {
  38030. "type": "object",
  38031. "properties": {
  38032. "adspaceid": {
  38033. "description": "广告位ID",
  38034. "type": "integer"
  38035. },
  38036. "adspacename": {
  38037. "description": "广告位名称",
  38038. "type": "string"
  38039. },
  38040. "adspacetype": {
  38041. "description": "广告位类型 - 1:固定广告位",
  38042. "type": "integer"
  38043. },
  38044. "areauserid": {
  38045. "description": "所属机构ID",
  38046. "type": "integer"
  38047. },
  38048. "createdate": {
  38049. "description": "创建时间",
  38050. "type": "string"
  38051. },
  38052. "imagepath": {
  38053. "description": "图片",
  38054. "type": "string"
  38055. },
  38056. "modifierid": {
  38057. "description": "操作人",
  38058. "type": "integer"
  38059. },
  38060. "recsize": {
  38061. "description": "推荐尺寸",
  38062. "type": "string"
  38063. },
  38064. "title": {
  38065. "description": "标题",
  38066. "type": "string"
  38067. },
  38068. "updatedate": {
  38069. "description": "更新时间",
  38070. "type": "string"
  38071. },
  38072. "urlcontent": {
  38073. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  38074. "type": "string"
  38075. },
  38076. "urltype": {
  38077. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  38078. "type": "integer"
  38079. }
  38080. }
  38081. },
  38082. "models.WrDeliveryAvalidHoldLB": {
  38083. "type": "object",
  38084. "properties": {
  38085. "accountid": {
  38086. "description": "资金账号",
  38087. "type": "integer"
  38088. },
  38089. "avalidqty": {
  38090. "description": "数量(可点选数量)",
  38091. "type": "number"
  38092. },
  38093. "deliverygoodsid": {
  38094. "description": "品种id",
  38095. "type": "integer"
  38096. },
  38097. "enumdicname": {
  38098. "description": "单位名称",
  38099. "type": "string"
  38100. },
  38101. "goodsid": {
  38102. "description": "x合约商品id",
  38103. "type": "integer"
  38104. },
  38105. "ladingbillid": {
  38106. "description": "提单id",
  38107. "type": "string"
  38108. },
  38109. "pgoodscode": {
  38110. "description": "p商品代码(点价合约)",
  38111. "type": "string"
  38112. },
  38113. "pgoodsid": {
  38114. "description": "p商品id(点价合约)",
  38115. "type": "integer"
  38116. },
  38117. "pgoodsname": {
  38118. "description": "p商品名称(点价合约)",
  38119. "type": "string"
  38120. },
  38121. "pricemove": {
  38122. "description": "升贴水",
  38123. "type": "number"
  38124. },
  38125. "subnum": {
  38126. "description": "提单子id",
  38127. "type": "integer"
  38128. },
  38129. "userid": {
  38130. "description": "用户id",
  38131. "type": "integer"
  38132. },
  38133. "username": {
  38134. "description": "仓单持有人",
  38135. "type": "string"
  38136. },
  38137. "warehousecode": {
  38138. "description": "仓库代码",
  38139. "type": "string"
  38140. },
  38141. "warehouseid": {
  38142. "description": "仓库id",
  38143. "type": "integer"
  38144. },
  38145. "warehousename": {
  38146. "description": "仓库名称",
  38147. "type": "string"
  38148. },
  38149. "wrfactortypeid": {
  38150. "description": "仓单要素id",
  38151. "type": "string"
  38152. },
  38153. "wrstandardcode": {
  38154. "description": "品代码",
  38155. "type": "string"
  38156. },
  38157. "wrstandardid": {
  38158. "description": "品类d",
  38159. "type": "integer"
  38160. },
  38161. "wrstandardname": {
  38162. "description": "品类名称",
  38163. "type": "string"
  38164. },
  38165. "wrtypename": {
  38166. "description": "商品",
  38167. "type": "string"
  38168. },
  38169. "xgoodscode": {
  38170. "description": "x合约代码",
  38171. "type": "string"
  38172. },
  38173. "xgoodsname": {
  38174. "description": "x合约名称",
  38175. "type": "string"
  38176. }
  38177. }
  38178. },
  38179. "models.WrDeliveryDetail": {
  38180. "type": "object",
  38181. "properties": {
  38182. "accountid": {
  38183. "description": "账号ID",
  38184. "type": "integer"
  38185. },
  38186. "averageprice": {
  38187. "description": "交割均价 = 交割金额 / 交割数量",
  38188. "type": "number"
  38189. },
  38190. "begindate": {
  38191. "description": "开始交易日(yyyymmdd)",
  38192. "type": "string"
  38193. },
  38194. "buyorsell": {
  38195. "description": "方向 - 0:买 1:卖",
  38196. "type": "integer"
  38197. },
  38198. "deliveryamount": {
  38199. "description": "货款金额(X总货款+P总货款)",
  38200. "type": "number"
  38201. },
  38202. "deliveryid": {
  38203. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  38204. "type": "string"
  38205. },
  38206. "deliveryorderid": {
  38207. "description": "申报单号",
  38208. "type": "string"
  38209. },
  38210. "deliverypricemove": {
  38211. "description": "升贴水(升贴水总额)",
  38212. "type": "number"
  38213. },
  38214. "deliveryqty": {
  38215. "description": "交收数量(点选数量)",
  38216. "type": "number"
  38217. },
  38218. "deliverystatus": {
  38219. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  38220. "type": "integer"
  38221. },
  38222. "deliverytime": {
  38223. "description": "交割时间",
  38224. "type": "string"
  38225. },
  38226. "deliverytotalamount": {
  38227. "description": "交收金额",
  38228. "type": "number"
  38229. },
  38230. "enddate": {
  38231. "description": "结束交易日(yyyymmdd)",
  38232. "type": "string"
  38233. },
  38234. "enumdicname": {
  38235. "description": "单位名称",
  38236. "type": "string"
  38237. },
  38238. "matchaccountid": {
  38239. "description": "对手账号ID",
  38240. "type": "integer"
  38241. },
  38242. "matchusername": {
  38243. "description": "对手方名称(仓单持有人)",
  38244. "type": "string"
  38245. },
  38246. "p1goodsremainamount": {
  38247. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38248. "type": "number"
  38249. },
  38250. "pdeliverycloseqty": {
  38251. "description": "p合约平仓数量",
  38252. "type": "number"
  38253. },
  38254. "pdeliveryprice": {
  38255. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38256. "type": "number"
  38257. },
  38258. "pgoodscode": {
  38259. "description": "商品代码",
  38260. "type": "string"
  38261. },
  38262. "pgoodsid": {
  38263. "description": "p点选合约id",
  38264. "type": "integer"
  38265. },
  38266. "pgoodsname": {
  38267. "description": "商品名称",
  38268. "type": "string"
  38269. },
  38270. "ppricemode": {
  38271. "description": "点价价格方式 - 1:商品价 2:固定值",
  38272. "type": "integer"
  38273. },
  38274. "tradedate": {
  38275. "description": "交易日(yyyymmdd)",
  38276. "type": "string"
  38277. },
  38278. "userid": {
  38279. "description": "用户id",
  38280. "type": "integer"
  38281. },
  38282. "username": {
  38283. "description": "用户名称",
  38284. "type": "string"
  38285. },
  38286. "warehousename": {
  38287. "description": "仓库名称",
  38288. "type": "string"
  38289. },
  38290. "wrfactortypeid": {
  38291. "description": "仓单要素类型ID",
  38292. "type": "string"
  38293. },
  38294. "wrtypename": {
  38295. "description": "商品",
  38296. "type": "string"
  38297. },
  38298. "xdeliverycloseqty": {
  38299. "description": "合约数量",
  38300. "type": "number"
  38301. },
  38302. "xgoodsamount": {
  38303. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  38304. "type": "number"
  38305. },
  38306. "xgoodscode": {
  38307. "description": "商品代码",
  38308. "type": "string"
  38309. },
  38310. "xgoodsid": {
  38311. "description": "x交易合约ID",
  38312. "type": "integer"
  38313. },
  38314. "xgoodsname": {
  38315. "description": "商品名称",
  38316. "type": "string"
  38317. }
  38318. }
  38319. },
  38320. "models.WrDeliveryGoodsSection": {
  38321. "type": "object",
  38322. "properties": {
  38323. "dglst": {
  38324. "description": "板块商品列表",
  38325. "type": "array",
  38326. "items": {
  38327. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  38328. }
  38329. },
  38330. "imagepath": {
  38331. "description": "图片地址",
  38332. "type": "string"
  38333. },
  38334. "orderindex": {
  38335. "description": "排序",
  38336. "type": "integer"
  38337. },
  38338. "sectionid": {
  38339. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  38340. "type": "integer"
  38341. },
  38342. "sectionname": {
  38343. "description": "版块名称",
  38344. "type": "string"
  38345. },
  38346. "sectiontype": {
  38347. "description": "版块类型 - 1:指数版块 2:普通版块",
  38348. "type": "integer"
  38349. }
  38350. }
  38351. },
  38352. "models.WrDeliveryGoodsSectionConfig": {
  38353. "type": "object",
  38354. "properties": {
  38355. "deliverygoodscode": {
  38356. "description": "现货商品代码",
  38357. "type": "string"
  38358. },
  38359. "deliverygoodsid": {
  38360. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38361. "type": "integer"
  38362. },
  38363. "deliverygoodsname": {
  38364. "description": "现货商品名称",
  38365. "type": "string"
  38366. },
  38367. "orderindex": {
  38368. "description": "排序",
  38369. "type": "integer"
  38370. }
  38371. }
  38372. },
  38373. "models.WrDraftUserInfo": {
  38374. "type": "object",
  38375. "properties": {
  38376. "address": {
  38377. "description": "地址",
  38378. "type": "string"
  38379. },
  38380. "attachment1": {
  38381. "description": "附件1",
  38382. "type": "string"
  38383. },
  38384. "attachment2": {
  38385. "description": "附件2",
  38386. "type": "string"
  38387. },
  38388. "attachment3": {
  38389. "description": "附件3",
  38390. "type": "string"
  38391. },
  38392. "attachment4": {
  38393. "description": "附件4",
  38394. "type": "string"
  38395. },
  38396. "attachment5": {
  38397. "description": "附件5",
  38398. "type": "string"
  38399. },
  38400. "bankaccount": {
  38401. "description": "银行帐号 (加密存储)",
  38402. "type": "string"
  38403. },
  38404. "bankaccountname": {
  38405. "description": "收款人名称",
  38406. "type": "string"
  38407. },
  38408. "bankcardfrontphotourl": {
  38409. "description": "银行卡正面照地址",
  38410. "type": "string"
  38411. },
  38412. "bankid": {
  38413. "description": "银行编码",
  38414. "type": "string"
  38415. },
  38416. "bankname": {
  38417. "description": "银行名称",
  38418. "type": "string"
  38419. },
  38420. "birthday": {
  38421. "description": "生日(个人:年月日)",
  38422. "type": "string"
  38423. },
  38424. "biznature": {
  38425. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38426. "type": "integer"
  38427. },
  38428. "bizscope": {
  38429. "description": "企业经营范围(企业)",
  38430. "type": "string"
  38431. },
  38432. "biztype": {
  38433. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  38434. "type": "integer"
  38435. },
  38436. "cardbackphotourl": {
  38437. "description": "证件背面图片地址",
  38438. "type": "string"
  38439. },
  38440. "cardfrontphotourl": {
  38441. "description": "证件正面图片地址",
  38442. "type": "string"
  38443. },
  38444. "cardnum": {
  38445. "description": "证件号码(加密存储)",
  38446. "type": "string"
  38447. },
  38448. "cardtypeid": {
  38449. "description": "证件类型ID",
  38450. "type": "integer"
  38451. },
  38452. "cityid": {
  38453. "description": "市",
  38454. "type": "integer"
  38455. },
  38456. "company": {
  38457. "description": "公司(个人)",
  38458. "type": "string"
  38459. },
  38460. "contactcardbackphotourl": {
  38461. "description": "联系人证件背面图片地址",
  38462. "type": "string"
  38463. },
  38464. "contactcardfrontphotourl": {
  38465. "description": "联系人证件正面图片地址",
  38466. "type": "string"
  38467. },
  38468. "contactname": {
  38469. "description": "联系人",
  38470. "type": "string"
  38471. },
  38472. "countryid": {
  38473. "description": "国家",
  38474. "type": "integer"
  38475. },
  38476. "createtime": {
  38477. "description": "创建时间",
  38478. "type": "string"
  38479. },
  38480. "creatorid": {
  38481. "description": "创建人",
  38482. "type": "integer"
  38483. },
  38484. "creditquota": {
  38485. "description": "授信额度(金瑞)",
  38486. "type": "number"
  38487. },
  38488. "customername": {
  38489. "description": "客户名称(企业名称)",
  38490. "type": "string"
  38491. },
  38492. "districtid": {
  38493. "description": "地区",
  38494. "type": "integer"
  38495. },
  38496. "email": {
  38497. "description": "邮件(加密存储)",
  38498. "type": "string"
  38499. },
  38500. "fax": {
  38501. "description": "传真(加密存储)",
  38502. "type": "string"
  38503. },
  38504. "halfbodyphotourl": {
  38505. "description": "半身照地址",
  38506. "type": "string"
  38507. },
  38508. "hasencrypt": {
  38509. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38510. "type": "integer"
  38511. },
  38512. "headurl": {
  38513. "description": "头像地址",
  38514. "type": "string"
  38515. },
  38516. "legalcardbackphotourl": {
  38517. "description": "法人身份证背面照地址",
  38518. "type": "string"
  38519. },
  38520. "legalcardfrontphotourl": {
  38521. "description": "法人身份证正面照地址",
  38522. "type": "string"
  38523. },
  38524. "legalpersonname": {
  38525. "description": "法人姓名(企业)",
  38526. "type": "string"
  38527. },
  38528. "mobile": {
  38529. "description": "手机号码(加密存储)",
  38530. "type": "string"
  38531. },
  38532. "mobile2": {
  38533. "description": "手机号码[明文-尚志]",
  38534. "type": "string"
  38535. },
  38536. "modifierid": {
  38537. "description": "修改人",
  38538. "type": "integer"
  38539. },
  38540. "modifiertime": {
  38541. "description": "修改时间",
  38542. "type": "string"
  38543. },
  38544. "needinvoice": {
  38545. "description": "是否需要发票 - 0:不需要 1:需要",
  38546. "type": "integer"
  38547. },
  38548. "nickname": {
  38549. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38550. "type": "string"
  38551. },
  38552. "openmode": {
  38553. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  38554. "type": "integer"
  38555. },
  38556. "otherurl": {
  38557. "description": "其它图片地址[使用分号分隔]",
  38558. "type": "string"
  38559. },
  38560. "postalcode": {
  38561. "description": "邮政编码",
  38562. "type": "string"
  38563. },
  38564. "provinceid": {
  38565. "description": "省",
  38566. "type": "integer"
  38567. },
  38568. "proxystatementurl": {
  38569. "description": "授权委托书",
  38570. "type": "string"
  38571. },
  38572. "qq": {
  38573. "description": "QQ(加密存储",
  38574. "type": "string"
  38575. },
  38576. "remark": {
  38577. "description": "备注",
  38578. "type": "string"
  38579. },
  38580. "sex": {
  38581. "description": "用户性别 0: 女 1: 男",
  38582. "type": "integer"
  38583. },
  38584. "signpdfurl": {
  38585. "description": "签约pdf文件",
  38586. "type": "string"
  38587. },
  38588. "taxpayernum": {
  38589. "description": "纳税人识别号",
  38590. "type": "string"
  38591. },
  38592. "telphone": {
  38593. "description": "联系电话(加密存储)",
  38594. "type": "string"
  38595. },
  38596. "userid": {
  38597. "description": "用户ID",
  38598. "type": "integer"
  38599. },
  38600. "userinfotype": {
  38601. "description": "用户信息类型 - 1:个人 2:企业",
  38602. "type": "integer"
  38603. },
  38604. "userstatus": {
  38605. "description": "用户状态 - 1:正常 2:注销",
  38606. "type": "integer"
  38607. },
  38608. "usertype": {
  38609. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  38610. "type": "integer"
  38611. },
  38612. "wechat": {
  38613. "description": "微信(加密存储)",
  38614. "type": "string"
  38615. },
  38616. "wskhinfo": {
  38617. "description": "开户申请信息(JSON)",
  38618. "type": "string"
  38619. }
  38620. }
  38621. },
  38622. "models.WrFAProductDetail": {
  38623. "type": "object",
  38624. "properties": {
  38625. "accountid": {
  38626. "description": "资金账号",
  38627. "type": "integer"
  38628. },
  38629. "areauserid": {
  38630. "description": "金融机构ID",
  38631. "type": "integer"
  38632. },
  38633. "financingdays": {
  38634. "description": "天数(天)",
  38635. "type": "integer"
  38636. },
  38637. "interestminlen": {
  38638. "description": "最小起息天数",
  38639. "type": "integer"
  38640. },
  38641. "interestrate": {
  38642. "description": "利率",
  38643. "type": "number"
  38644. },
  38645. "interestratemode": {
  38646. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38647. "type": "integer"
  38648. },
  38649. "interestsettlemode": {
  38650. "description": "结息方式 - 1:按日结息 3:按月结息",
  38651. "type": "integer"
  38652. },
  38653. "interestsettlevalue": {
  38654. "description": "结息方式值",
  38655. "type": "integer"
  38656. },
  38657. "isautoloan": {
  38658. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  38659. "type": "integer"
  38660. },
  38661. "loantag": {
  38662. "description": "放款标识: \"放款快\" 或者为空",
  38663. "type": "string"
  38664. },
  38665. "marginratio": {
  38666. "description": "保证金比率质押率 - [仓单质押]",
  38667. "type": "number"
  38668. },
  38669. "productdetailid": {
  38670. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  38671. "type": "integer"
  38672. },
  38673. "productid": {
  38674. "description": "金融产品ID",
  38675. "type": "integer"
  38676. },
  38677. "productname": {
  38678. "description": "产品名称",
  38679. "type": "string"
  38680. },
  38681. "updatetime": {
  38682. "description": "更新时间",
  38683. "type": "string"
  38684. },
  38685. "username": {
  38686. "description": "融出方",
  38687. "type": "string"
  38688. }
  38689. }
  38690. },
  38691. "models.WrFactorTypeInfo": {
  38692. "type": "object",
  38693. "properties": {
  38694. "deliverygoodscode": {
  38695. "description": "品种代码",
  38696. "type": "string"
  38697. },
  38698. "deliverygoodsname": {
  38699. "description": "品种名称",
  38700. "type": "string"
  38701. },
  38702. "dgfactoryitemid": {
  38703. "description": "选择项id",
  38704. "type": "integer"
  38705. },
  38706. "dgfactoryitemtypeid": {
  38707. "description": "要素选择项ID (1-仓库 2-品牌)",
  38708. "type": "integer"
  38709. },
  38710. "dgfactoryitemvalue": {
  38711. "description": "要素项值",
  38712. "type": "string"
  38713. },
  38714. "itemtypename": {
  38715. "description": "要素项名称",
  38716. "type": "string"
  38717. },
  38718. "optioncompare": {
  38719. "description": "选择比较串",
  38720. "type": "string"
  38721. },
  38722. "warehouseid": {
  38723. "description": "仓库id",
  38724. "type": "integer"
  38725. },
  38726. "wrfactortypeid": {
  38727. "description": "仓单要素ID",
  38728. "type": "string"
  38729. },
  38730. "wrfactortypename": {
  38731. "description": "要素名称",
  38732. "type": "string"
  38733. },
  38734. "wrfactortypename2": {
  38735. "description": "要素名称(不含仓库)",
  38736. "type": "string"
  38737. },
  38738. "wrstandardcode": {
  38739. "description": "品类代码",
  38740. "type": "string"
  38741. },
  38742. "wrstandardid": {
  38743. "description": "品类id",
  38744. "type": "integer"
  38745. },
  38746. "wrstandardname": {
  38747. "description": "品类名称",
  38748. "type": "string"
  38749. }
  38750. }
  38751. },
  38752. "models.WrFilterItem": {
  38753. "type": "object",
  38754. "properties": {
  38755. "itemcode": {
  38756. "description": "代码",
  38757. "type": "string"
  38758. },
  38759. "itemid": {
  38760. "description": "项id",
  38761. "type": "integer"
  38762. },
  38763. "itemname": {
  38764. "description": "名称",
  38765. "type": "string"
  38766. },
  38767. "itemtype": {
  38768. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  38769. "type": "integer"
  38770. }
  38771. }
  38772. },
  38773. "models.WrFinanceBuyApply": {
  38774. "type": "object",
  38775. "properties": {
  38776. "applydate": {
  38777. "description": "申请时间",
  38778. "type": "string"
  38779. },
  38780. "applystatus": {
  38781. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  38782. "type": "integer"
  38783. },
  38784. "applyuserid": {
  38785. "description": "申请人",
  38786. "type": "integer"
  38787. },
  38788. "auditdate": {
  38789. "description": "审核时间",
  38790. "type": "string"
  38791. },
  38792. "auditremark": {
  38793. "description": "审核备注",
  38794. "type": "string"
  38795. },
  38796. "audituserid": {
  38797. "description": "审核人",
  38798. "type": "integer"
  38799. },
  38800. "buyaccountid": {
  38801. "description": "买方资金账号",
  38802. "type": "integer"
  38803. },
  38804. "buyorsell": {
  38805. "description": "买卖 - 0:买 1:卖",
  38806. "type": "integer"
  38807. },
  38808. "buyuserid": {
  38809. "description": "买方用户ID",
  38810. "type": "integer"
  38811. },
  38812. "buyusername": {
  38813. "description": "买方名称",
  38814. "type": "string"
  38815. },
  38816. "buywrtradeorderid": {
  38817. "description": "融资方买委托单ID",
  38818. "type": "string"
  38819. },
  38820. "deliverygoodscode": {
  38821. "description": "品种代码",
  38822. "type": "string"
  38823. },
  38824. "deliverygoodsid": {
  38825. "description": "品种ID",
  38826. "type": "integer"
  38827. },
  38828. "deliverygoodsname": {
  38829. "description": "品种名称",
  38830. "type": "string"
  38831. },
  38832. "deliverymonth": {
  38833. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  38834. "type": "string"
  38835. },
  38836. "enumdicname": {
  38837. "description": "单位名称",
  38838. "type": "string"
  38839. },
  38840. "financeaccountid": {
  38841. "description": "融资方资金帐户ID",
  38842. "type": "integer"
  38843. },
  38844. "financeapplyid": {
  38845. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38846. "type": "string"
  38847. },
  38848. "financeareauserid": {
  38849. "description": "融资方用户ID",
  38850. "type": "string"
  38851. },
  38852. "financename": {
  38853. "description": "融出方名称",
  38854. "type": "string"
  38855. },
  38856. "financetype": {
  38857. "description": "融资类型 1-融资回购",
  38858. "type": "integer"
  38859. },
  38860. "financingdays": {
  38861. "description": "天数(天)",
  38862. "type": "integer"
  38863. },
  38864. "freezebuymargin": {
  38865. "description": "冻结融资保证金(买方)",
  38866. "type": "number"
  38867. },
  38868. "handleremark": {
  38869. "description": "处理备注",
  38870. "type": "string"
  38871. },
  38872. "handlestatus": {
  38873. "description": "处理状态",
  38874. "type": "integer"
  38875. },
  38876. "interestminlen": {
  38877. "description": "最小起息天数",
  38878. "type": "integer"
  38879. },
  38880. "interestrate": {
  38881. "description": "利率",
  38882. "type": "number"
  38883. },
  38884. "interestratemode": {
  38885. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38886. "type": "integer"
  38887. },
  38888. "interestsettlemode": {
  38889. "description": "结息方式 - 1:按日结息 3:按月结息",
  38890. "type": "integer"
  38891. },
  38892. "interestsettlevalue": {
  38893. "description": "结息方式值",
  38894. "type": "integer"
  38895. },
  38896. "isautoloan": {
  38897. "description": "是否自动放款 - 0:手动 1:自动",
  38898. "type": "integer"
  38899. },
  38900. "marginratio": {
  38901. "description": "保证金比率质押率 - [仓单质押]",
  38902. "type": "number"
  38903. },
  38904. "marketid": {
  38905. "description": "市场ID",
  38906. "type": "integer"
  38907. },
  38908. "minivalue": {
  38909. "description": "现货商品最小变动值",
  38910. "type": "integer"
  38911. },
  38912. "optioncompare": {
  38913. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38914. "type": "string"
  38915. },
  38916. "orderqty": {
  38917. "description": "委托数量(商品数量)",
  38918. "type": "number"
  38919. },
  38920. "productdetailid": {
  38921. "description": "产品组合ID",
  38922. "type": "integer"
  38923. },
  38924. "productid": {
  38925. "description": "金融产品ID",
  38926. "type": "integer"
  38927. },
  38928. "productname": {
  38929. "description": "产品名称",
  38930. "type": "string"
  38931. },
  38932. "remark": {
  38933. "description": "备注",
  38934. "type": "string"
  38935. },
  38936. "scfcontractid": {
  38937. "description": "仓单回购合同ID",
  38938. "type": "string"
  38939. },
  38940. "sellaccountid": {
  38941. "description": "卖方资金账号",
  38942. "type": "integer"
  38943. },
  38944. "selluserid": {
  38945. "description": "卖方用户ID",
  38946. "type": "integer"
  38947. },
  38948. "sellwrtradeorderid": {
  38949. "description": "卖方委托单ID",
  38950. "type": "string"
  38951. },
  38952. "tradeamount": {
  38953. "description": "成交金额(借款金额)",
  38954. "type": "number"
  38955. },
  38956. "tradedate": {
  38957. "description": "交易日(yyyyMMdd)",
  38958. "type": "string"
  38959. },
  38960. "tradeprice": {
  38961. "description": "成交价格",
  38962. "type": "number"
  38963. },
  38964. "warehouseid": {
  38965. "description": "仓库ID",
  38966. "type": "integer"
  38967. },
  38968. "warehousename": {
  38969. "description": "仓库名称",
  38970. "type": "string"
  38971. },
  38972. "wrfactortypeid": {
  38973. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38974. "type": "string"
  38975. },
  38976. "wrfactortypename": {
  38977. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38978. "type": "string"
  38979. },
  38980. "wrpricetype": {
  38981. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  38982. "type": "integer"
  38983. },
  38984. "wrstandardcode": {
  38985. "description": "现货商品代码",
  38986. "type": "string"
  38987. },
  38988. "wrstandardid": {
  38989. "description": "现货商品ID",
  38990. "type": "integer"
  38991. },
  38992. "wrstandardname": {
  38993. "description": "商品名称",
  38994. "type": "string"
  38995. },
  38996. "wrtypename": {
  38997. "description": "商品",
  38998. "type": "string"
  38999. }
  39000. }
  39001. },
  39002. "models.WrFriendApply": {
  39003. "type": "object",
  39004. "properties": {
  39005. "applicantid": {
  39006. "description": "申请人",
  39007. "type": "integer"
  39008. },
  39009. "applyname": {
  39010. "description": "申请人名称",
  39011. "type": "string"
  39012. },
  39013. "applysrc": {
  39014. "description": "申请来源 - 1:管理端 2:终端",
  39015. "type": "integer"
  39016. },
  39017. "applystatus": {
  39018. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  39019. "type": "integer"
  39020. },
  39021. "applytime": {
  39022. "description": "申请时间",
  39023. "type": "string"
  39024. },
  39025. "auditname": {
  39026. "description": "审核人名称",
  39027. "type": "string"
  39028. },
  39029. "auditorid": {
  39030. "description": "审核人",
  39031. "type": "integer"
  39032. },
  39033. "auditremark": {
  39034. "description": "审核备注",
  39035. "type": "string"
  39036. },
  39037. "auditsrc": {
  39038. "description": "审核来源 - 1:管理端 2:终端",
  39039. "type": "integer"
  39040. },
  39041. "audittime": {
  39042. "description": "审核时间",
  39043. "type": "string"
  39044. },
  39045. "friendapplyid": {
  39046. "description": "申请ID(SEQ_FRIENDAPPLY)",
  39047. "type": "string"
  39048. },
  39049. "friendname": {
  39050. "description": "好友名字(已脱敏)",
  39051. "type": "string"
  39052. },
  39053. "frienduserid": {
  39054. "description": "好友用户ID",
  39055. "type": "string"
  39056. },
  39057. "remark": {
  39058. "description": "备注",
  39059. "type": "string"
  39060. },
  39061. "userid": {
  39062. "description": "申请人用户ID",
  39063. "type": "integer"
  39064. }
  39065. }
  39066. },
  39067. "models.WrFtDeliveryGoods": {
  39068. "type": "object",
  39069. "properties": {
  39070. "deliverygoodscode": {
  39071. "description": "品种代码",
  39072. "type": "string"
  39073. },
  39074. "deliverygoodsid": {
  39075. "description": "品种ID",
  39076. "type": "integer"
  39077. },
  39078. "deliverygoodsname": {
  39079. "description": "品种名称",
  39080. "type": "string"
  39081. },
  39082. "wdlst": {
  39083. "description": "商品列表",
  39084. "type": "array",
  39085. "items": {
  39086. "$ref": "#/definitions/models.WrFtWrstandard"
  39087. }
  39088. }
  39089. }
  39090. },
  39091. "models.WrFtWrstandard": {
  39092. "type": "object",
  39093. "properties": {
  39094. "enumdicname": {
  39095. "description": "单位名称",
  39096. "type": "string"
  39097. },
  39098. "minivalue": {
  39099. "description": "最小变动值",
  39100. "type": "integer"
  39101. },
  39102. "wrstandardcode": {
  39103. "description": "现货商品代码",
  39104. "type": "string"
  39105. },
  39106. "wrstandardid": {
  39107. "description": "现货商品ID",
  39108. "type": "integer"
  39109. },
  39110. "wrstandardname": {
  39111. "description": "商品名称",
  39112. "type": "string"
  39113. }
  39114. }
  39115. },
  39116. "models.WrGoodsInfo": {
  39117. "type": "object",
  39118. "properties": {
  39119. "haswr": {
  39120. "description": "0:仓单预售 1:仓单贸易",
  39121. "type": "integer"
  39122. },
  39123. "lstitem": {
  39124. "description": "商品信息项",
  39125. "type": "array",
  39126. "items": {
  39127. "$ref": "#/definitions/models.WrTypeItem"
  39128. }
  39129. },
  39130. "lststep": {
  39131. "description": "履约规则",
  39132. "type": "array",
  39133. "items": {
  39134. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39135. }
  39136. },
  39137. "marketid": {
  39138. "description": "市场id",
  39139. "type": "integer"
  39140. }
  39141. }
  39142. },
  39143. "models.WrGoodsPerformanceStep": {
  39144. "type": "object",
  39145. "properties": {
  39146. "autoid": {
  39147. "description": "AutoID",
  39148. "type": "integer"
  39149. },
  39150. "isauto": {
  39151. "description": "是否自动 - 0:不自动 1:自动",
  39152. "type": "integer"
  39153. },
  39154. "remark": {
  39155. "description": "备注",
  39156. "type": "string"
  39157. },
  39158. "stepdate": {
  39159. "description": "天数信息(T+N)",
  39160. "type": "string"
  39161. },
  39162. "stepdays": {
  39163. "description": "距离上一步天数",
  39164. "type": "integer"
  39165. },
  39166. "stepindex": {
  39167. "description": "步骤序号",
  39168. "type": "integer"
  39169. },
  39170. "stepinfo": {
  39171. "description": "步骤信息(步骤名称+步骤值)",
  39172. "type": "string"
  39173. },
  39174. "steptypeid": {
  39175. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  39176. "type": "integer"
  39177. },
  39178. "steptypename": {
  39179. "description": "步骤名称",
  39180. "type": "string"
  39181. },
  39182. "stepvalue": {
  39183. "description": "步骤值",
  39184. "type": "number"
  39185. },
  39186. "templateid": {
  39187. "description": "履约计划模板ID",
  39188. "type": "integer"
  39189. }
  39190. }
  39191. },
  39192. "models.WrHoldLB": {
  39193. "type": "object",
  39194. "properties": {
  39195. "accountid": {
  39196. "description": "持有人帐户ID",
  39197. "type": "integer"
  39198. },
  39199. "bannerpicurl": {
  39200. "description": "Banner图",
  39201. "type": "string"
  39202. },
  39203. "createtime": {
  39204. "description": "创建时间(过户时间)",
  39205. "type": "string"
  39206. },
  39207. "deliverygoodscode": {
  39208. "description": "品种代码",
  39209. "type": "string"
  39210. },
  39211. "deliverygoodsid": {
  39212. "description": "品种ID",
  39213. "type": "integer"
  39214. },
  39215. "deliverygoodsname": {
  39216. "description": "品种名称",
  39217. "type": "string"
  39218. },
  39219. "enableqty": {
  39220. "description": "可用数量",
  39221. "type": "number"
  39222. },
  39223. "enumdicname": {
  39224. "description": "单位名称",
  39225. "type": "string"
  39226. },
  39227. "freezerqty": {
  39228. "description": "冻结数量",
  39229. "type": "number"
  39230. },
  39231. "ladingbillid": {
  39232. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39233. "type": "string"
  39234. },
  39235. "minivalue": {
  39236. "description": "现货商品最小变动值",
  39237. "type": "integer"
  39238. },
  39239. "optioncompare": {
  39240. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39241. "type": "string"
  39242. },
  39243. "parentsubnum": {
  39244. "description": "拆分父子单号",
  39245. "type": "integer"
  39246. },
  39247. "pledgeqty": {
  39248. "description": "质押数量",
  39249. "type": "number"
  39250. },
  39251. "qty": {
  39252. "description": "数量",
  39253. "type": "number"
  39254. },
  39255. "subnum": {
  39256. "description": "提单子单号",
  39257. "type": "integer"
  39258. },
  39259. "thumurls": {
  39260. "description": "缩略图",
  39261. "type": "string"
  39262. },
  39263. "tradedate": {
  39264. "description": "交易日(yyyyMMdd)",
  39265. "type": "string"
  39266. },
  39267. "userid": {
  39268. "description": "持有人ID",
  39269. "type": "integer"
  39270. },
  39271. "warehouseid": {
  39272. "description": "仓库ID",
  39273. "type": "integer"
  39274. },
  39275. "warehousename": {
  39276. "description": "仓库名称",
  39277. "type": "string"
  39278. },
  39279. "wrfactortypeid": {
  39280. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39281. "type": "string"
  39282. },
  39283. "wrfactortypename": {
  39284. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39285. "type": "string"
  39286. },
  39287. "wrholdeno": {
  39288. "description": "仓单编号",
  39289. "type": "string"
  39290. },
  39291. "wrid": {
  39292. "description": "仓单变更ID",
  39293. "type": "string"
  39294. },
  39295. "wrstandardcode": {
  39296. "description": "现货商品代码",
  39297. "type": "string"
  39298. },
  39299. "wrstandardid": {
  39300. "description": "现货商品ID",
  39301. "type": "integer"
  39302. },
  39303. "wrstandardname": {
  39304. "description": "商品名称",
  39305. "type": "string"
  39306. },
  39307. "wrtypename": {
  39308. "description": "商品",
  39309. "type": "string"
  39310. }
  39311. }
  39312. },
  39313. "models.WrMarketTradeConfig": {
  39314. "type": "object",
  39315. "properties": {
  39316. "basisdownratio": {
  39317. "description": "浮动价基差下限比例(仓单贸易)",
  39318. "type": "number"
  39319. },
  39320. "basisupratio": {
  39321. "description": "浮动价基差上限比例(仓单贸易)",
  39322. "type": "number"
  39323. },
  39324. "buychargealgorithm": {
  39325. "description": "买方手续费收取方式 1:比率 2:固定",
  39326. "type": "integer"
  39327. },
  39328. "buychargealgorithm2": {
  39329. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39330. "type": "integer"
  39331. },
  39332. "buychargealgorithmvalue": {
  39333. "description": "买方手续费设置值(交易所部分)",
  39334. "type": "number"
  39335. },
  39336. "buychargealgorithmvalue2": {
  39337. "description": "买方手续费设置值(会员部分)",
  39338. "type": "number"
  39339. },
  39340. "buychargealgorithmvalue3": {
  39341. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  39342. "type": "number"
  39343. },
  39344. "buychargealgorithmvalue4": {
  39345. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  39346. "type": "number"
  39347. },
  39348. "buyfirstmarginalgorithm": {
  39349. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  39350. "type": "integer"
  39351. },
  39352. "buyfirstmarginvalue": {
  39353. "description": "买方出价保证金设置值 - [竞拍]",
  39354. "type": "number"
  39355. },
  39356. "buymarginalgorithm": {
  39357. "description": "买方保证金方式 - 1:比率 2:固定",
  39358. "type": "integer"
  39359. },
  39360. "buymarginvalue": {
  39361. "description": "买方保证金设置值",
  39362. "type": "number"
  39363. },
  39364. "buyreleaseratio": {
  39365. "description": "买方释放比率[2:分步履约]",
  39366. "type": "number"
  39367. },
  39368. "executemode": {
  39369. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  39370. "type": "integer"
  39371. },
  39372. "executeside": {
  39373. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  39374. "type": "integer"
  39375. },
  39376. "failedchargealgorithm": {
  39377. "description": "流拍手续费收取方式 1:比率 2:固定",
  39378. "type": "integer"
  39379. },
  39380. "failedchargevalue": {
  39381. "description": "流拍手续费设置值",
  39382. "type": "number"
  39383. },
  39384. "failedchargevalue2": {
  39385. "description": "流拍卖方手续费设置值",
  39386. "type": "number"
  39387. },
  39388. "holddays": {
  39389. "description": "合同期限[2:分步履约]",
  39390. "type": "integer"
  39391. },
  39392. "listingmode": {
  39393. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39394. "type": "integer"
  39395. },
  39396. "marketid": {
  39397. "description": "市场ID-仓单贸易、竞拍、预售",
  39398. "type": "integer"
  39399. },
  39400. "minqty": {
  39401. "description": "最小执行量[2:分步履约]",
  39402. "type": "number"
  39403. },
  39404. "modifierid": {
  39405. "description": "修改人",
  39406. "type": "integer"
  39407. },
  39408. "nowrquotaflag": {
  39409. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  39410. "type": "integer"
  39411. },
  39412. "performancetempid": {
  39413. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39414. "type": "integer"
  39415. },
  39416. "performancetempid2": {
  39417. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39418. "type": "integer"
  39419. },
  39420. "performancetempid2s": {
  39421. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39422. "type": "string"
  39423. },
  39424. "performancetempids": {
  39425. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39426. "type": "string"
  39427. },
  39428. "performanceway": {
  39429. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  39430. "type": "integer"
  39431. },
  39432. "sellchargealgorithm": {
  39433. "description": "卖方手续费收取方式 1:比率 2:固定",
  39434. "type": "integer"
  39435. },
  39436. "sellchargealgorithm2": {
  39437. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39438. "type": "integer"
  39439. },
  39440. "sellchargealgorithmvalue": {
  39441. "description": "卖方手续费设置值(交易所部分)",
  39442. "type": "number"
  39443. },
  39444. "sellchargealgorithmvalue2": {
  39445. "description": "卖方手续费设置值(会员部分)",
  39446. "type": "number"
  39447. },
  39448. "sellchargealgorithmvalue3": {
  39449. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  39450. "type": "number"
  39451. },
  39452. "sellchargealgorithmvalue4": {
  39453. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  39454. "type": "number"
  39455. },
  39456. "sellmarginalgorithm": {
  39457. "description": "卖方保证金方式 - 1:比率 2:固定",
  39458. "type": "integer"
  39459. },
  39460. "sellmarginvalue": {
  39461. "description": "卖方保证金设置值",
  39462. "type": "number"
  39463. },
  39464. "sellmarginvalue2": {
  39465. "description": "卖方保证金设置值(无仓单)",
  39466. "type": "number"
  39467. },
  39468. "sellreleaseratio": {
  39469. "description": "卖方释放比率[2:分步履约]",
  39470. "type": "number"
  39471. },
  39472. "updatetime": {
  39473. "description": "更新时间",
  39474. "type": "string"
  39475. }
  39476. }
  39477. },
  39478. "models.WrOrderDetail": {
  39479. "type": "object",
  39480. "properties": {
  39481. "accountid": {
  39482. "description": "交易账号(资金账号)",
  39483. "type": "integer"
  39484. },
  39485. "allfriendsflag": {
  39486. "description": "是否全好友可见 - 0:否 1:是",
  39487. "type": "integer"
  39488. },
  39489. "amount": {
  39490. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  39491. "type": "number"
  39492. },
  39493. "bannerpicurl": {
  39494. "description": "Banner图",
  39495. "type": "string"
  39496. },
  39497. "begindate": {
  39498. "description": "开始交易日(yyyymmdd)",
  39499. "type": "string"
  39500. },
  39501. "buyorsell": {
  39502. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39503. "type": "integer"
  39504. },
  39505. "canbargain": {
  39506. "description": "是否可议价 - 0:不可 1:可",
  39507. "type": "integer"
  39508. },
  39509. "cancelqty": {
  39510. "description": "撤销数量",
  39511. "type": "number"
  39512. },
  39513. "canpart": {
  39514. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  39515. "type": "integer"
  39516. },
  39517. "delistminqty": {
  39518. "description": "起摘数量",
  39519. "type": "integer"
  39520. },
  39521. "deliverygoodscode": {
  39522. "description": "品种代码",
  39523. "type": "string"
  39524. },
  39525. "deliverygoodsid": {
  39526. "description": "品种ID",
  39527. "type": "integer"
  39528. },
  39529. "deliverygoodsname": {
  39530. "description": "品种名称",
  39531. "type": "string"
  39532. },
  39533. "deliverymonth": {
  39534. "description": "交收月",
  39535. "type": "string"
  39536. },
  39537. "enddate": {
  39538. "description": "结束交易日(yyyymmdd)",
  39539. "type": "string"
  39540. },
  39541. "enumdicname": {
  39542. "description": "单位名称",
  39543. "type": "string"
  39544. },
  39545. "fixedprice": {
  39546. "description": "固定价格 - [挂牌]",
  39547. "type": "number"
  39548. },
  39549. "freezecharge": {
  39550. "description": "冻结手续费",
  39551. "type": "number"
  39552. },
  39553. "freezemargin": {
  39554. "description": "冻结保证金(保证金)",
  39555. "type": "number"
  39556. },
  39557. "futupricemove": {
  39558. "description": "期货升贴水",
  39559. "type": "number"
  39560. },
  39561. "futushow": {
  39562. "description": "期货合约/升贴水",
  39563. "type": "string"
  39564. },
  39565. "goodscode": {
  39566. "description": "期货合约",
  39567. "type": "string"
  39568. },
  39569. "goodsid": {
  39570. "description": "期货商品id",
  39571. "type": "integer"
  39572. },
  39573. "goodsname": {
  39574. "description": "商品名称",
  39575. "type": "string"
  39576. },
  39577. "haswr": {
  39578. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39579. "type": "integer"
  39580. },
  39581. "isspecified": {
  39582. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  39583. "type": "integer"
  39584. },
  39585. "ladingbillid": {
  39586. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39587. "type": "string"
  39588. },
  39589. "marginvalue": {
  39590. "description": "保证金设置值(履约保证金)",
  39591. "type": "number"
  39592. },
  39593. "marketid": {
  39594. "description": "市场ID",
  39595. "type": "integer"
  39596. },
  39597. "matchusername": {
  39598. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  39599. "type": "string"
  39600. },
  39601. "minivalue": {
  39602. "description": "现货商品最小变动值",
  39603. "type": "integer"
  39604. },
  39605. "optioncompare": {
  39606. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39607. "type": "string"
  39608. },
  39609. "orderqty": {
  39610. "description": "委托数量",
  39611. "type": "number"
  39612. },
  39613. "ordertime": {
  39614. "description": "委托时间(挂牌时间)",
  39615. "type": "string"
  39616. },
  39617. "performancetemplateid": {
  39618. "description": "履约模板id",
  39619. "type": "integer"
  39620. },
  39621. "pricemove": {
  39622. "description": "升贴水(浮动价时填写) - [挂牌]",
  39623. "type": "number"
  39624. },
  39625. "taname": {
  39626. "description": "交易用户名称(资金账号名称)",
  39627. "type": "string"
  39628. },
  39629. "thumurls": {
  39630. "description": "缩略图",
  39631. "type": "string"
  39632. },
  39633. "tradedate": {
  39634. "description": "交易日(yyyyMMdd)",
  39635. "type": "string"
  39636. },
  39637. "tradeprice": {
  39638. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39639. "type": "number"
  39640. },
  39641. "tradeqty": {
  39642. "description": "成交数量",
  39643. "type": "number"
  39644. },
  39645. "userid": {
  39646. "description": "用户ID",
  39647. "type": "integer"
  39648. },
  39649. "validtime": {
  39650. "description": "挂牌有效期",
  39651. "type": "string"
  39652. },
  39653. "validtype": {
  39654. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39655. "type": "integer"
  39656. },
  39657. "warehouseid": {
  39658. "description": "仓库ID",
  39659. "type": "integer"
  39660. },
  39661. "warehousename": {
  39662. "description": "仓库名称",
  39663. "type": "string"
  39664. },
  39665. "wrfactortypeid": {
  39666. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39667. "type": "string"
  39668. },
  39669. "wrfactortypename": {
  39670. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39671. "type": "string"
  39672. },
  39673. "wrpricetype": {
  39674. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39675. "type": "integer"
  39676. },
  39677. "wrstandardcode": {
  39678. "description": "现货商品代码",
  39679. "type": "string"
  39680. },
  39681. "wrstandardid": {
  39682. "description": "现货商品ID",
  39683. "type": "integer"
  39684. },
  39685. "wrstandardname": {
  39686. "description": "商品名称",
  39687. "type": "string"
  39688. },
  39689. "wrtradeorderid": {
  39690. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39691. "type": "string"
  39692. },
  39693. "wrtradeorderstatus": {
  39694. "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:撤单解冻贷款失败",
  39695. "type": "integer"
  39696. },
  39697. "wrtradetype": {
  39698. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39699. "type": "integer"
  39700. },
  39701. "wrtypename": {
  39702. "description": "商品",
  39703. "type": "string"
  39704. }
  39705. }
  39706. },
  39707. "models.WrOrderQuote": {
  39708. "type": "object",
  39709. "properties": {
  39710. "bannerpicurl": {
  39711. "description": "Banner图",
  39712. "type": "string"
  39713. },
  39714. "buyprice": {
  39715. "description": "买价",
  39716. "type": "number"
  39717. },
  39718. "buypricemove": {
  39719. "description": "买升贴水(基差)",
  39720. "type": "number"
  39721. },
  39722. "buyqty": {
  39723. "description": "买量",
  39724. "type": "number"
  39725. },
  39726. "deliverygoodscode": {
  39727. "description": "品种代码",
  39728. "type": "string"
  39729. },
  39730. "deliverygoodsid": {
  39731. "description": "品种id",
  39732. "type": "integer"
  39733. },
  39734. "deliverygoodsname": {
  39735. "description": "品种名称",
  39736. "type": "string"
  39737. },
  39738. "deliverymonth": {
  39739. "description": "交收月",
  39740. "type": "string"
  39741. },
  39742. "enumdicname": {
  39743. "description": "单位名称",
  39744. "type": "string"
  39745. },
  39746. "goodscode": {
  39747. "description": "商品合约(浮动价列表才有)",
  39748. "type": "string"
  39749. },
  39750. "goodsid": {
  39751. "description": "商品id(浮动价列表才有)",
  39752. "type": "integer"
  39753. },
  39754. "minivalue": {
  39755. "description": "现货商品最小变动值",
  39756. "type": "integer"
  39757. },
  39758. "pictureurls": {
  39759. "description": "详情图片(逗号分隔)",
  39760. "type": "string"
  39761. },
  39762. "sellprice": {
  39763. "description": "卖价",
  39764. "type": "number"
  39765. },
  39766. "sellpricemove": {
  39767. "description": "卖升贴水(基差)",
  39768. "type": "number"
  39769. },
  39770. "sellqty": {
  39771. "description": "卖量",
  39772. "type": "number"
  39773. },
  39774. "thumurls": {
  39775. "description": "缩略图片(1:1)(逗号分隔)",
  39776. "type": "string"
  39777. },
  39778. "warehousecode": {
  39779. "description": "仓库代码",
  39780. "type": "string"
  39781. },
  39782. "warehouseid": {
  39783. "description": "仓库id",
  39784. "type": "integer"
  39785. },
  39786. "warehousename": {
  39787. "description": "仓库名称",
  39788. "type": "string"
  39789. },
  39790. "wrfactortypeid": {
  39791. "description": "仓单要素id",
  39792. "type": "string"
  39793. },
  39794. "wrfactortypename": {
  39795. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39796. "type": "string"
  39797. },
  39798. "wrgoodsname": {
  39799. "description": "商品(商品名称+仓库要素名称 拼接)",
  39800. "type": "string"
  39801. },
  39802. "wrstandardcode": {
  39803. "description": "商品代码",
  39804. "type": "string"
  39805. },
  39806. "wrstandardid": {
  39807. "description": "商品id",
  39808. "type": "integer"
  39809. },
  39810. "wrstandardname": {
  39811. "description": "商品名称",
  39812. "type": "string"
  39813. }
  39814. }
  39815. },
  39816. "models.WrOrderQuoteDetail": {
  39817. "type": "object",
  39818. "properties": {
  39819. "buyorsell": {
  39820. "description": "买卖 - 0:买 1:卖",
  39821. "type": "integer"
  39822. },
  39823. "delistminqty": {
  39824. "description": "起摘数量",
  39825. "type": "number"
  39826. },
  39827. "deliverymonth": {
  39828. "description": "交收月",
  39829. "type": "string"
  39830. },
  39831. "enumdicname": {
  39832. "description": "单位名称",
  39833. "type": "string"
  39834. },
  39835. "fixedprice": {
  39836. "description": "买(卖)价",
  39837. "type": "number"
  39838. },
  39839. "marketid": {
  39840. "description": "市场id",
  39841. "type": "integer"
  39842. },
  39843. "minivalue": {
  39844. "description": "现货商品最小变动值",
  39845. "type": "integer"
  39846. },
  39847. "orderqty": {
  39848. "description": "买(卖)量(=委托量-成交量)",
  39849. "type": "number"
  39850. },
  39851. "ordertime": {
  39852. "description": "委托时间",
  39853. "type": "string"
  39854. },
  39855. "pricemove": {
  39856. "description": "买(卖)升贴水- 基差",
  39857. "type": "number"
  39858. },
  39859. "userid": {
  39860. "description": "购买方(销售方)用户ID",
  39861. "type": "integer"
  39862. },
  39863. "username": {
  39864. "description": "购买方(销售方)",
  39865. "type": "string"
  39866. },
  39867. "wrtradeorderid": {
  39868. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39869. "type": "string"
  39870. }
  39871. }
  39872. },
  39873. "models.WrOutInApply": {
  39874. "type": "object",
  39875. "properties": {
  39876. "applyid": {
  39877. "description": "申请单id",
  39878. "type": "string"
  39879. },
  39880. "applystatus": {
  39881. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  39882. "type": "integer"
  39883. },
  39884. "applytime": {
  39885. "description": "申请时间",
  39886. "type": "string"
  39887. },
  39888. "applytype": {
  39889. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  39890. "type": "integer"
  39891. },
  39892. "bannerpicurl": {
  39893. "description": "Banner图",
  39894. "type": "string"
  39895. },
  39896. "begindate": {
  39897. "description": "开始交易日(yyyymmdd)",
  39898. "type": "string"
  39899. },
  39900. "deliverygoodscode": {
  39901. "description": "品种代码",
  39902. "type": "string"
  39903. },
  39904. "deliverygoodsid": {
  39905. "description": "品种ID",
  39906. "type": "integer"
  39907. },
  39908. "deliverygoodsname": {
  39909. "description": "品种名称",
  39910. "type": "string"
  39911. },
  39912. "enddate": {
  39913. "description": "结束交易日(yyyymmdd)",
  39914. "type": "string"
  39915. },
  39916. "enumdicname": {
  39917. "description": "单位名称",
  39918. "type": "string"
  39919. },
  39920. "expresscompany": {
  39921. "description": "物流公司",
  39922. "type": "string"
  39923. },
  39924. "expressnum": {
  39925. "description": "物流单号",
  39926. "type": "string"
  39927. },
  39928. "minivalue": {
  39929. "description": "现货商品最小变动值",
  39930. "type": "integer"
  39931. },
  39932. "optioncompare": {
  39933. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39934. "type": "string"
  39935. },
  39936. "qty": {
  39937. "description": "数量",
  39938. "type": "integer"
  39939. },
  39940. "userid": {
  39941. "description": "用户id",
  39942. "type": "integer"
  39943. },
  39944. "warehouseid": {
  39945. "description": "仓库ID",
  39946. "type": "integer"
  39947. },
  39948. "warehousename": {
  39949. "description": "仓库名称",
  39950. "type": "string"
  39951. },
  39952. "wrfactortypeid": {
  39953. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39954. "type": "string"
  39955. },
  39956. "wrfactortypename": {
  39957. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39958. "type": "string"
  39959. },
  39960. "wrstandardcode": {
  39961. "description": "现货商品代码",
  39962. "type": "string"
  39963. },
  39964. "wrstandardid": {
  39965. "description": "现货商品ID",
  39966. "type": "integer"
  39967. },
  39968. "wrstandardname": {
  39969. "description": "商品名称",
  39970. "type": "string"
  39971. },
  39972. "wrtypename": {
  39973. "description": "商品",
  39974. "type": "string"
  39975. }
  39976. }
  39977. },
  39978. "models.WrPerformancePlan": {
  39979. "type": "object",
  39980. "required": [
  39981. "userid"
  39982. ],
  39983. "properties": {
  39984. "activatemonth": {
  39985. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  39986. "type": "string"
  39987. },
  39988. "amount": {
  39989. "description": "履约金额(总金额)",
  39990. "type": "number"
  39991. },
  39992. "begindate": {
  39993. "description": "开始交易日(yyyymmdd)",
  39994. "type": "string"
  39995. },
  39996. "buyaccountid": {
  39997. "description": "买方账号",
  39998. "type": "integer"
  39999. },
  40000. "buyerfreezeamount": {
  40001. "description": "履约冻结(买履约)",
  40002. "type": "number"
  40003. },
  40004. "buyerfreezeamountremain": {
  40005. "description": "履约冻结剩余(买履约)",
  40006. "type": "number"
  40007. },
  40008. "buyorsell": {
  40009. "description": "买卖方向 0-买 1-卖",
  40010. "type": "integer"
  40011. },
  40012. "buypaidamount": {
  40013. "description": "买方已冻/已扣金额 (已付金额)",
  40014. "type": "number"
  40015. },
  40016. "buyusername": {
  40017. "description": "买方名字",
  40018. "type": "string"
  40019. },
  40020. "contractid": {
  40021. "description": "合同ID",
  40022. "type": "integer"
  40023. },
  40024. "createtime": {
  40025. "description": "创建时间",
  40026. "type": "string"
  40027. },
  40028. "creatorid": {
  40029. "description": "创建人",
  40030. "type": "integer"
  40031. },
  40032. "curstepdeadline": {
  40033. "description": "当前步骤到期时间",
  40034. "type": "string"
  40035. },
  40036. "curstepid": {
  40037. "description": "当前步骤ID",
  40038. "type": "string"
  40039. },
  40040. "curstepname": {
  40041. "description": "当前步骤名称",
  40042. "type": "string"
  40043. },
  40044. "deliverygoodscode": {
  40045. "description": "品种代码",
  40046. "type": "string"
  40047. },
  40048. "deliverygoodsid": {
  40049. "description": "品种ID",
  40050. "type": "integer"
  40051. },
  40052. "deliverygoodsname": {
  40053. "description": "品种名称",
  40054. "type": "string"
  40055. },
  40056. "enddate": {
  40057. "description": "结束交易日(yyyymmdd)",
  40058. "type": "string"
  40059. },
  40060. "enumdicname": {
  40061. "description": "单位名称",
  40062. "type": "string"
  40063. },
  40064. "expressfee": {
  40065. "description": "运费",
  40066. "type": "number"
  40067. },
  40068. "expressfeeconfirmed": {
  40069. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  40070. "type": "integer"
  40071. },
  40072. "hasovershort": {
  40073. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  40074. "type": "integer"
  40075. },
  40076. "haswr": {
  40077. "description": "类型 0-仓单预售 1-仓单贸易",
  40078. "type": "integer"
  40079. },
  40080. "marketid": {
  40081. "description": "市场ID",
  40082. "type": "integer"
  40083. },
  40084. "middleaccountid": {
  40085. "description": "中间商资金账号ID",
  40086. "type": "integer"
  40087. },
  40088. "middleuserid": {
  40089. "description": "中间商用户ID",
  40090. "type": "integer"
  40091. },
  40092. "minivalue": {
  40093. "description": "现货商品最小变动值",
  40094. "type": "integer"
  40095. },
  40096. "optioncompare": {
  40097. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40098. "type": "string"
  40099. },
  40100. "overshortamount": {
  40101. "description": "溢短金额",
  40102. "type": "number"
  40103. },
  40104. "overshortqty": {
  40105. "description": "溢短数量",
  40106. "type": "number"
  40107. },
  40108. "paymenttype": {
  40109. "description": "付款方式 - 1:冻结 2:扣款",
  40110. "type": "integer"
  40111. },
  40112. "performanceplanid": {
  40113. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  40114. "type": "string"
  40115. },
  40116. "performancestatus": {
  40117. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  40118. "type": "integer"
  40119. },
  40120. "performancetype": {
  40121. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  40122. "type": "integer"
  40123. },
  40124. "qty": {
  40125. "description": "履约数量",
  40126. "type": "number"
  40127. },
  40128. "relatedorderid": {
  40129. "description": "关联单号(履约类型的关联单号)",
  40130. "type": "string"
  40131. },
  40132. "remark": {
  40133. "description": "备注",
  40134. "type": "string"
  40135. },
  40136. "sellaccountid": {
  40137. "description": "卖方账号",
  40138. "type": "integer"
  40139. },
  40140. "sellerfreezeamount": {
  40141. "description": "履约冻结(卖履约)",
  40142. "type": "number"
  40143. },
  40144. "sellerfreezeamountremain": {
  40145. "description": "履约冻结剩余(卖履约)",
  40146. "type": "number"
  40147. },
  40148. "sellreceivedamount": {
  40149. "description": "卖方已收金额",
  40150. "type": "number"
  40151. },
  40152. "sellusername": {
  40153. "description": "卖方名字",
  40154. "type": "string"
  40155. },
  40156. "shipremark": {
  40157. "description": "发货备注[物流单号]",
  40158. "type": "string"
  40159. },
  40160. "starttime": {
  40161. "description": "开始时间",
  40162. "type": "string"
  40163. },
  40164. "steptypeid": {
  40165. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40166. "type": "integer"
  40167. },
  40168. "typename": {
  40169. "description": "履约类型 名称",
  40170. "type": "string"
  40171. },
  40172. "unpaidamount": {
  40173. "description": "剩余款(待支付金额)",
  40174. "type": "number"
  40175. },
  40176. "userid": {
  40177. "description": "用户id",
  40178. "type": "integer"
  40179. },
  40180. "warehouseid": {
  40181. "description": "仓库ID",
  40182. "type": "integer"
  40183. },
  40184. "warehousename": {
  40185. "description": "仓库名称",
  40186. "type": "string"
  40187. },
  40188. "wrfactortypeid": {
  40189. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40190. "type": "string"
  40191. },
  40192. "wrfactortypename": {
  40193. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40194. "type": "string"
  40195. },
  40196. "wrstandardcode": {
  40197. "description": "现货商品代码",
  40198. "type": "string"
  40199. },
  40200. "wrstandardid": {
  40201. "description": "现货商品ID",
  40202. "type": "integer"
  40203. },
  40204. "wrstandardname": {
  40205. "description": "商品名称",
  40206. "type": "string"
  40207. },
  40208. "wrtransferuserid": {
  40209. "description": "仓单受让用户",
  40210. "type": "integer"
  40211. },
  40212. "wrtypename": {
  40213. "description": "商品",
  40214. "type": "string"
  40215. }
  40216. }
  40217. },
  40218. "models.WrPerformancePlanStep": {
  40219. "type": "object",
  40220. "properties": {
  40221. "delaydays": {
  40222. "description": "延期申请天数",
  40223. "type": "integer"
  40224. },
  40225. "deliverygoodscode": {
  40226. "description": "品种代码",
  40227. "type": "string"
  40228. },
  40229. "deliverygoodsid": {
  40230. "description": "品种ID",
  40231. "type": "integer"
  40232. },
  40233. "deliverygoodsname": {
  40234. "description": "品种名称",
  40235. "type": "string"
  40236. },
  40237. "endtime": {
  40238. "description": "结束日期",
  40239. "type": "string"
  40240. },
  40241. "enumdicname": {
  40242. "description": "单位名称",
  40243. "type": "string"
  40244. },
  40245. "executeside": {
  40246. "description": "步骤执行方 - 1:买方 2:卖方",
  40247. "type": "integer"
  40248. },
  40249. "handlestatus": {
  40250. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  40251. "type": "integer"
  40252. },
  40253. "isauto": {
  40254. "description": "是否自动 - 0:不自动 1:自动",
  40255. "type": "integer"
  40256. },
  40257. "islastreceivestep": {
  40258. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  40259. "type": "integer"
  40260. },
  40261. "minivalue": {
  40262. "description": "现货商品最小变动值",
  40263. "type": "integer"
  40264. },
  40265. "optioncompare": {
  40266. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40267. "type": "string"
  40268. },
  40269. "overdays": {
  40270. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  40271. "type": "integer"
  40272. },
  40273. "performancestepid": {
  40274. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  40275. "type": "string"
  40276. },
  40277. "planid": {
  40278. "description": "所属履约计划ID",
  40279. "type": "string"
  40280. },
  40281. "realamount": {
  40282. "description": "实际完成金额",
  40283. "type": "number"
  40284. },
  40285. "relatedorderid": {
  40286. "description": "关联单号",
  40287. "type": "string"
  40288. },
  40289. "remaindays": {
  40290. "description": "剩余天数",
  40291. "type": "integer"
  40292. },
  40293. "remark": {
  40294. "description": "错误备注",
  40295. "type": "string"
  40296. },
  40297. "starttime": {
  40298. "description": "开始日期",
  40299. "type": "string"
  40300. },
  40301. "stepamount": {
  40302. "description": "步骤金额",
  40303. "type": "number"
  40304. },
  40305. "stepdays": {
  40306. "description": "距离上一步天数(分钟)",
  40307. "type": "integer"
  40308. },
  40309. "stepindex": {
  40310. "description": "步骤序号",
  40311. "type": "integer"
  40312. },
  40313. "steplanchtype": {
  40314. "description": "步骤启动类型 - 1:系统自动 2:手动",
  40315. "type": "integer"
  40316. },
  40317. "stepremark": {
  40318. "description": "步骤备注",
  40319. "type": "string"
  40320. },
  40321. "stepstatus": {
  40322. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  40323. "type": "integer"
  40324. },
  40325. "steptypeid": {
  40326. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40327. "type": "integer"
  40328. },
  40329. "steptypename": {
  40330. "description": "步骤名称",
  40331. "type": "string"
  40332. },
  40333. "stepvalue": {
  40334. "description": "步骤值",
  40335. "type": "number"
  40336. },
  40337. "warehouseid": {
  40338. "description": "仓库ID",
  40339. "type": "integer"
  40340. },
  40341. "warehousename": {
  40342. "description": "仓库名称",
  40343. "type": "string"
  40344. },
  40345. "wrfactortypeid": {
  40346. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40347. "type": "string"
  40348. },
  40349. "wrfactortypename": {
  40350. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40351. "type": "string"
  40352. },
  40353. "wrstandardcode": {
  40354. "description": "现货商品代码",
  40355. "type": "string"
  40356. },
  40357. "wrstandardid": {
  40358. "description": "现货商品ID",
  40359. "type": "integer"
  40360. },
  40361. "wrstandardname": {
  40362. "description": "商品名称",
  40363. "type": "string"
  40364. },
  40365. "wrtypename": {
  40366. "description": "商品",
  40367. "type": "string"
  40368. }
  40369. }
  40370. },
  40371. "models.WrPerformanceStepType": {
  40372. "type": "object",
  40373. "properties": {
  40374. "canauto": {
  40375. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  40376. "type": "integer"
  40377. },
  40378. "steptypeid": {
  40379. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  40380. "type": "integer"
  40381. },
  40382. "steptypename": {
  40383. "description": "步骤类型名称",
  40384. "type": "string"
  40385. }
  40386. }
  40387. },
  40388. "models.WrPerformanceTemplateEx": {
  40389. "type": "object",
  40390. "properties": {
  40391. "autoid": {
  40392. "description": "AutoID 模板id",
  40393. "type": "integer"
  40394. },
  40395. "createtime": {
  40396. "description": "创建时间",
  40397. "type": "string"
  40398. },
  40399. "creatorid": {
  40400. "description": "创建人",
  40401. "type": "integer"
  40402. },
  40403. "lstStep": {
  40404. "description": "步骤信息列表",
  40405. "type": "array",
  40406. "items": {
  40407. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40408. }
  40409. },
  40410. "paymenttype": {
  40411. "description": "支付方式 - 1:冻结 2:扣款",
  40412. "type": "integer"
  40413. },
  40414. "takemode": {
  40415. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  40416. "type": "integer"
  40417. },
  40418. "templatename": {
  40419. "description": "模板名称",
  40420. "type": "string"
  40421. },
  40422. "templatetype": {
  40423. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  40424. "type": "integer"
  40425. },
  40426. "userid": {
  40427. "description": "所属用户",
  40428. "type": "integer"
  40429. }
  40430. }
  40431. },
  40432. "models.WrPosition": {
  40433. "type": "object",
  40434. "properties": {
  40435. "accountid": {
  40436. "description": "帐户ID",
  40437. "type": "integer"
  40438. },
  40439. "buyexcuteqty": {
  40440. "description": "采购履约中数量",
  40441. "type": "number"
  40442. },
  40443. "creditcurqty": {
  40444. "description": "授信当前数量(预售仓单:预售当前量)",
  40445. "type": "number"
  40446. },
  40447. "creditenableqty": {
  40448. "description": "授信可用数量(预售仓单: 可用数量)",
  40449. "type": "number"
  40450. },
  40451. "creditfreezeqty": {
  40452. "description": "授信冻结数量(预售仓单: 当前数量)",
  40453. "type": "number"
  40454. },
  40455. "credittotalqty": {
  40456. "description": "授信总数量(预售仓单:预售总量)",
  40457. "type": "number"
  40458. },
  40459. "credittradeqty": {
  40460. "description": "授信成交数量(预售仓单:成交总量)",
  40461. "type": "number"
  40462. },
  40463. "deliverygoodscode": {
  40464. "description": "品种代码",
  40465. "type": "string"
  40466. },
  40467. "deliverygoodsid": {
  40468. "description": "品种ID",
  40469. "type": "integer"
  40470. },
  40471. "deliverygoodsname": {
  40472. "description": "品种名称",
  40473. "type": "string"
  40474. },
  40475. "enalbeqty": {
  40476. "description": "可用数量",
  40477. "type": "number"
  40478. },
  40479. "enumdicname": {
  40480. "description": "单位名称",
  40481. "type": "string"
  40482. },
  40483. "freezeqty": {
  40484. "description": "总冻结数量",
  40485. "type": "number"
  40486. },
  40487. "haswr": {
  40488. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40489. "type": "integer"
  40490. },
  40491. "minivalue": {
  40492. "description": "现货商品最小变动值",
  40493. "type": "integer"
  40494. },
  40495. "modifytime": {
  40496. "description": "修改时间(过户时间)",
  40497. "type": "string"
  40498. },
  40499. "optioncompare": {
  40500. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40501. "type": "string"
  40502. },
  40503. "pledgeqty": {
  40504. "description": "质押数量",
  40505. "type": "number"
  40506. },
  40507. "querytype": {
  40508. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  40509. "type": "integer"
  40510. },
  40511. "sellexcuteqty": {
  40512. "description": "销售履约中数量",
  40513. "type": "number"
  40514. },
  40515. "totalqty": {
  40516. "description": "总数量(库存数量)",
  40517. "type": "number"
  40518. },
  40519. "warehouseid": {
  40520. "description": "仓库ID",
  40521. "type": "integer"
  40522. },
  40523. "warehousename": {
  40524. "description": "仓库名称",
  40525. "type": "string"
  40526. },
  40527. "wrfactortypeid": {
  40528. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40529. "type": "string"
  40530. },
  40531. "wrfactortypename": {
  40532. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40533. "type": "string"
  40534. },
  40535. "wrpositionid": {
  40536. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40537. "type": "string"
  40538. },
  40539. "wrpositionno": {
  40540. "description": "仓单编号",
  40541. "type": "string"
  40542. },
  40543. "wrstandardcode": {
  40544. "description": "现货商品代码",
  40545. "type": "string"
  40546. },
  40547. "wrstandardid": {
  40548. "description": "现货商品ID",
  40549. "type": "integer"
  40550. },
  40551. "wrstandardname": {
  40552. "description": "商品名称",
  40553. "type": "string"
  40554. },
  40555. "wrtypename": {
  40556. "description": "商品",
  40557. "type": "string"
  40558. },
  40559. "wruserid": {
  40560. "description": "持有人ID",
  40561. "type": "integer"
  40562. }
  40563. }
  40564. },
  40565. "models.WrPreSaleInfo": {
  40566. "type": "object",
  40567. "properties": {
  40568. "bannerpicurl": {
  40569. "description": "Banner图",
  40570. "type": "string"
  40571. },
  40572. "baseqty": {
  40573. "description": "中签基数",
  40574. "type": "number"
  40575. },
  40576. "createtime": {
  40577. "description": "创建时间",
  40578. "type": "string"
  40579. },
  40580. "deliverygoodsid": {
  40581. "description": "现货品种ID",
  40582. "type": "integer"
  40583. },
  40584. "enddate": {
  40585. "description": "预售结束日期",
  40586. "type": "string"
  40587. },
  40588. "enumdicname": {
  40589. "description": "单位名称",
  40590. "type": "string"
  40591. },
  40592. "lotteryflag": {
  40593. "description": "摇号标识 - 0:未摇号 1:已摇号",
  40594. "type": "integer"
  40595. },
  40596. "lotteryqty": {
  40597. "description": "摇号总量",
  40598. "type": "number"
  40599. },
  40600. "luckyqty": {
  40601. "description": "已中签量",
  40602. "type": "number"
  40603. },
  40604. "marketid": {
  40605. "description": "市场ID",
  40606. "type": "integer"
  40607. },
  40608. "maxbuyqty": {
  40609. "description": "单人最大申购量",
  40610. "type": "number"
  40611. },
  40612. "maxluckyqty": {
  40613. "description": "单人最大中签量",
  40614. "type": "number"
  40615. },
  40616. "pictureurls": {
  40617. "description": "详情图片(逗号分隔)",
  40618. "type": "string"
  40619. },
  40620. "placeqty": {
  40621. "description": "已配售量",
  40622. "type": "number"
  40623. },
  40624. "presaleapplyid": {
  40625. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40626. "type": "string",
  40627. "example": "0"
  40628. },
  40629. "presaleqty": {
  40630. "description": "预售总量",
  40631. "type": "number"
  40632. },
  40633. "presalestatus": {
  40634. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  40635. "type": "integer"
  40636. },
  40637. "sellaccountid": {
  40638. "description": "发行方资金账户ID",
  40639. "type": "integer"
  40640. },
  40641. "selluserid": {
  40642. "description": "发行方用户ID",
  40643. "type": "integer"
  40644. },
  40645. "sellwrtradeorderid": {
  40646. "description": "发行方卖委托单ID",
  40647. "type": "string"
  40648. },
  40649. "startdate": {
  40650. "description": "预售开始日期",
  40651. "type": "string"
  40652. },
  40653. "takestartdate": {
  40654. "description": "提货开始日期",
  40655. "type": "string"
  40656. },
  40657. "thumurls": {
  40658. "description": "缩略图片(1:1)(逗号分隔)",
  40659. "type": "string"
  40660. },
  40661. "tradedate": {
  40662. "description": "交易日",
  40663. "type": "string"
  40664. },
  40665. "unitid": {
  40666. "description": "单位ID",
  40667. "type": "integer"
  40668. },
  40669. "unitprice": {
  40670. "description": "商品单价",
  40671. "type": "number"
  40672. },
  40673. "username": {
  40674. "description": "发行方用户名称",
  40675. "type": "string"
  40676. },
  40677. "warehousecode": {
  40678. "description": "仓库代码(仓库简称)",
  40679. "type": "string"
  40680. },
  40681. "warehouseid": {
  40682. "description": "仓库ID",
  40683. "type": "integer"
  40684. },
  40685. "warehousename": {
  40686. "description": "仓库名称",
  40687. "type": "string"
  40688. },
  40689. "wrfactortypeid": {
  40690. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  40691. "type": "string",
  40692. "example": "0"
  40693. },
  40694. "wrstandardid": {
  40695. "description": "现货商品ID",
  40696. "type": "integer"
  40697. },
  40698. "wrstandardname": {
  40699. "description": "现货商品名称",
  40700. "type": "string"
  40701. }
  40702. }
  40703. },
  40704. "models.WrQuoteOrderMyq": {
  40705. "type": "object",
  40706. "properties": {
  40707. "buyorsell": {
  40708. "description": "买卖 - 0:买 1:卖",
  40709. "type": "integer"
  40710. },
  40711. "canbargain": {
  40712. "description": "是否可议价 - 0:不可 1:可",
  40713. "type": "integer"
  40714. },
  40715. "canpart": {
  40716. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  40717. "type": "integer"
  40718. },
  40719. "delistminqty": {
  40720. "description": "起摘数量",
  40721. "type": "number"
  40722. },
  40723. "deliverygoodscode": {
  40724. "description": "品种代码",
  40725. "type": "string"
  40726. },
  40727. "deliverygoodsid": {
  40728. "description": "品种ID",
  40729. "type": "integer"
  40730. },
  40731. "deliverygoodsname": {
  40732. "description": "品种名称",
  40733. "type": "string"
  40734. },
  40735. "deliverymonth": {
  40736. "description": "交收月",
  40737. "type": "string"
  40738. },
  40739. "enumdicname": {
  40740. "description": "单位名称",
  40741. "type": "string"
  40742. },
  40743. "fixedprice": {
  40744. "description": "买(卖)价",
  40745. "type": "number"
  40746. },
  40747. "goodscode": {
  40748. "description": "商品合约代码",
  40749. "type": "string"
  40750. },
  40751. "marginflag": {
  40752. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  40753. "type": "integer"
  40754. },
  40755. "marginvalue": {
  40756. "description": "保证金设置值",
  40757. "type": "number"
  40758. },
  40759. "minivalue": {
  40760. "description": "现货商品最小变动值",
  40761. "type": "integer"
  40762. },
  40763. "orderqty": {
  40764. "description": "买(卖)量(=委托量-成交量)",
  40765. "type": "number"
  40766. },
  40767. "ordertime": {
  40768. "description": "委托时间",
  40769. "type": "string"
  40770. },
  40771. "performancetemplateid": {
  40772. "description": "履约模板id",
  40773. "type": "integer"
  40774. },
  40775. "pricemove": {
  40776. "description": "买(卖)升贴水- 基差",
  40777. "type": "number"
  40778. },
  40779. "templatename": {
  40780. "description": "履约模板名称",
  40781. "type": "string"
  40782. },
  40783. "userid": {
  40784. "description": "购买方(销售方)用户ID",
  40785. "type": "integer"
  40786. },
  40787. "username": {
  40788. "description": "购买方(销售方)",
  40789. "type": "string"
  40790. },
  40791. "validtime": {
  40792. "description": "有效期限",
  40793. "type": "string"
  40794. },
  40795. "validtype": {
  40796. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40797. "type": "integer"
  40798. },
  40799. "warehousename": {
  40800. "description": "仓库名称",
  40801. "type": "string"
  40802. },
  40803. "wrfactortypeid": {
  40804. "description": "仓单要素id",
  40805. "type": "string"
  40806. },
  40807. "wrstandardcode": {
  40808. "description": "现货商品代码",
  40809. "type": "string"
  40810. },
  40811. "wrstandardid": {
  40812. "description": "现货商品ID",
  40813. "type": "integer"
  40814. },
  40815. "wrstandardname": {
  40816. "description": "商品名称",
  40817. "type": "string"
  40818. },
  40819. "wrtradeorderid": {
  40820. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40821. "type": "string"
  40822. },
  40823. "wrtypename": {
  40824. "description": "商品",
  40825. "type": "string"
  40826. }
  40827. }
  40828. },
  40829. "models.WrReckonSpotGoodsTradeSum": {
  40830. "type": "object",
  40831. "properties": {
  40832. "begindate": {
  40833. "description": "开始日期(结果含开始日期) yyyymmdd",
  40834. "type": "string"
  40835. },
  40836. "enddate": {
  40837. "description": "结束日期(结果含结束日期) yyyymmdd",
  40838. "type": "string"
  40839. },
  40840. "istoday": {
  40841. "description": "是否当日",
  40842. "type": "boolean"
  40843. },
  40844. "marketid": {
  40845. "description": "市场ID",
  40846. "type": "integer"
  40847. },
  40848. "price": {
  40849. "description": "价格 = 日成交金额 / 日成交数量",
  40850. "type": "string"
  40851. },
  40852. "reckondate": {
  40853. "description": "日期 格式 yyyymmdd",
  40854. "type": "string"
  40855. },
  40856. "tradeamount": {
  40857. "description": "日成交金额(当日单方向成交金额)",
  40858. "type": "number"
  40859. },
  40860. "tradeqty": {
  40861. "description": "日成交数量(当日单方向成交数量)",
  40862. "type": "number"
  40863. },
  40864. "wrstandardid": {
  40865. "description": "现货商品ID",
  40866. "type": "integer"
  40867. }
  40868. }
  40869. },
  40870. "models.WrScfContract": {
  40871. "type": "object",
  40872. "properties": {
  40873. "borroweruserid": {
  40874. "description": "借款用户ID",
  40875. "type": "integer"
  40876. },
  40877. "buybackwrpositionqty": {
  40878. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  40879. "type": "number"
  40880. },
  40881. "closeinterest": {
  40882. "description": "已结利息 -\u003e 已结费用",
  40883. "type": "number"
  40884. },
  40885. "currisklevel": {
  40886. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  40887. "type": "integer"
  40888. },
  40889. "deadline": {
  40890. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  40891. "type": "string"
  40892. },
  40893. "deliverygoodscode": {
  40894. "description": "品种代码",
  40895. "type": "string"
  40896. },
  40897. "deliverygoodsid": {
  40898. "description": "品种ID",
  40899. "type": "integer"
  40900. },
  40901. "deliverygoodsname": {
  40902. "description": "品种名称",
  40903. "type": "string"
  40904. },
  40905. "enumdicname": {
  40906. "description": "单位名称",
  40907. "type": "string"
  40908. },
  40909. "financingdays": {
  40910. "description": "天数(天)",
  40911. "type": "integer"
  40912. },
  40913. "initmargin": {
  40914. "description": "保证金 - [仓单回购]",
  40915. "type": "number"
  40916. },
  40917. "interestamount": {
  40918. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  40919. "type": "number"
  40920. },
  40921. "interestdebt": {
  40922. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  40923. "type": "number"
  40924. },
  40925. "interestminlen": {
  40926. "description": "最小起息天数",
  40927. "type": "integer"
  40928. },
  40929. "interestrate": {
  40930. "description": "利率",
  40931. "type": "number"
  40932. },
  40933. "interestratemode": {
  40934. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40935. "type": "integer"
  40936. },
  40937. "interestsettlemode": {
  40938. "description": "结息方式 - 1:按日结息 3:按月结息",
  40939. "type": "integer"
  40940. },
  40941. "interestsettlevalue": {
  40942. "description": "结息方式值",
  40943. "type": "integer"
  40944. },
  40945. "isautoloan": {
  40946. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  40947. "type": "integer"
  40948. },
  40949. "lastcloseinterestday": {
  40950. "description": "最近结息日(yyyyMMdd)",
  40951. "type": "string"
  40952. },
  40953. "lenderamount": {
  40954. "description": "贷款金额 -\u003e 借款金额",
  40955. "type": "number"
  40956. },
  40957. "lenderuserid": {
  40958. "description": "贷款方用户ID -\u003e 融出方用户ID",
  40959. "type": "integer"
  40960. },
  40961. "lenderusername": {
  40962. "description": "融出方",
  40963. "type": "string"
  40964. },
  40965. "marginratio": {
  40966. "description": "保证金比率质押率 - [仓单质押]",
  40967. "type": "number"
  40968. },
  40969. "marketid": {
  40970. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  40971. "type": "integer"
  40972. },
  40973. "minivalue": {
  40974. "description": "现货商品最小变动值",
  40975. "type": "integer"
  40976. },
  40977. "optioncompare": {
  40978. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40979. "type": "string"
  40980. },
  40981. "pricemove": {
  40982. "description": "估值升贴水值",
  40983. "type": "number"
  40984. },
  40985. "productdetailid": {
  40986. "description": "产品组合ID",
  40987. "type": "integer"
  40988. },
  40989. "productid": {
  40990. "description": "金融产品ID",
  40991. "type": "integer"
  40992. },
  40993. "productname": {
  40994. "description": "产品名称",
  40995. "type": "string"
  40996. },
  40997. "remainamount": {
  40998. "description": "合同剩余金额 -\u003e 剩余金额",
  40999. "type": "number"
  41000. },
  41001. "remainwrpositionqty": {
  41002. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  41003. "type": "number"
  41004. },
  41005. "remark": {
  41006. "description": "备注",
  41007. "type": "string"
  41008. },
  41009. "scfcontractid": {
  41010. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  41011. "type": "string"
  41012. },
  41013. "scfcontractstatus": {
  41014. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  41015. "type": "integer"
  41016. },
  41017. "scfcontracttype": {
  41018. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  41019. "type": "integer"
  41020. },
  41021. "startinterestday": {
  41022. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  41023. "type": "string"
  41024. },
  41025. "totalinterest": {
  41026. "description": "已计利息 -\u003e 已计费用",
  41027. "type": "number"
  41028. },
  41029. "unpaidinterest": {
  41030. "description": "未结费用",
  41031. "type": "number"
  41032. },
  41033. "updatetime": {
  41034. "description": "更新时间",
  41035. "type": "string"
  41036. },
  41037. "warehouseid": {
  41038. "description": "仓库ID",
  41039. "type": "integer"
  41040. },
  41041. "warehousename": {
  41042. "description": "仓库名称",
  41043. "type": "string"
  41044. },
  41045. "wrfactortypeid": {
  41046. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41047. "type": "string"
  41048. },
  41049. "wrfactortypename": {
  41050. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41051. "type": "string"
  41052. },
  41053. "wrqty": {
  41054. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  41055. "type": "number"
  41056. },
  41057. "wrstandardcode": {
  41058. "description": "现货商品代码",
  41059. "type": "string"
  41060. },
  41061. "wrstandardid": {
  41062. "description": "现货商品ID",
  41063. "type": "integer"
  41064. },
  41065. "wrstandardname": {
  41066. "description": "商品名称",
  41067. "type": "string"
  41068. },
  41069. "wrtypename": {
  41070. "description": "商品",
  41071. "type": "string"
  41072. }
  41073. }
  41074. },
  41075. "models.WrScfContractInterest": {
  41076. "type": "object",
  41077. "properties": {
  41078. "closeinterest": {
  41079. "description": "已结利息",
  41080. "type": "number"
  41081. },
  41082. "closeintereststatus": {
  41083. "description": "结息状态 - 1:未结 2:已结",
  41084. "type": "integer"
  41085. },
  41086. "closetime": {
  41087. "description": "结息时间",
  41088. "type": "string"
  41089. },
  41090. "closetradedate": {
  41091. "description": "结息交易日",
  41092. "type": "string"
  41093. },
  41094. "creatorid": {
  41095. "description": "操作人ID",
  41096. "type": "integer"
  41097. },
  41098. "dayrate": {
  41099. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  41100. "type": "number"
  41101. },
  41102. "interest": {
  41103. "description": "利息",
  41104. "type": "number"
  41105. },
  41106. "interestamount": {
  41107. "description": "计息金额",
  41108. "type": "number"
  41109. },
  41110. "interestday": {
  41111. "description": "计息日(yyyyMMdd)",
  41112. "type": "string"
  41113. },
  41114. "scfcontractid": {
  41115. "description": "SCF合同ID",
  41116. "type": "string"
  41117. },
  41118. "scfcontractinterestid": {
  41119. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  41120. "type": "integer"
  41121. },
  41122. "updatetime": {
  41123. "description": "更新时间",
  41124. "type": "string"
  41125. }
  41126. }
  41127. },
  41128. "models.WrSearchUser": {
  41129. "type": "object",
  41130. "required": [
  41131. "username"
  41132. ],
  41133. "properties": {
  41134. "userid": {
  41135. "description": "用户ID",
  41136. "type": "integer"
  41137. },
  41138. "username": {
  41139. "description": "用户名称(已脱敏)",
  41140. "type": "string"
  41141. },
  41142. "username2": {
  41143. "description": "用户名称(未脱敏)",
  41144. "type": "string"
  41145. },
  41146. "usertype": {
  41147. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41148. "type": "integer"
  41149. }
  41150. }
  41151. },
  41152. "models.WrSiteColumnDetail": {
  41153. "type": "object",
  41154. "properties": {
  41155. "brief": {
  41156. "description": "简介",
  41157. "type": "string"
  41158. },
  41159. "context": {
  41160. "description": "内容",
  41161. "type": "string"
  41162. },
  41163. "coverimage": {
  41164. "description": "封面图片",
  41165. "type": "string"
  41166. },
  41167. "creaedate": {
  41168. "description": "创建时间",
  41169. "type": "string"
  41170. },
  41171. "id": {
  41172. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41173. "type": "integer"
  41174. },
  41175. "istop": {
  41176. "description": "是否置顶 - 0:不置 1:置顶",
  41177. "type": "integer"
  41178. },
  41179. "publishdate": {
  41180. "description": "发布日期",
  41181. "type": "string"
  41182. },
  41183. "title": {
  41184. "description": "标题",
  41185. "type": "string"
  41186. },
  41187. "updatedate": {
  41188. "description": "修改时间",
  41189. "type": "string"
  41190. }
  41191. }
  41192. },
  41193. "models.WrSpecialMatchOrder": {
  41194. "type": "object",
  41195. "properties": {
  41196. "amount": {
  41197. "description": "金额 = 数量 * 价格",
  41198. "type": "number"
  41199. },
  41200. "buyorsell": {
  41201. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41202. "type": "integer"
  41203. },
  41204. "cancelqty": {
  41205. "description": "撤销数量",
  41206. "type": "number"
  41207. },
  41208. "deliverygoodscode": {
  41209. "description": "品种代码",
  41210. "type": "string"
  41211. },
  41212. "deliverygoodsid": {
  41213. "description": "品种ID",
  41214. "type": "integer"
  41215. },
  41216. "deliverygoodsname": {
  41217. "description": "品种名称",
  41218. "type": "string"
  41219. },
  41220. "enumdicname": {
  41221. "description": "单位名称",
  41222. "type": "string"
  41223. },
  41224. "fixedprice": {
  41225. "description": "固定价格(价格)",
  41226. "type": "number"
  41227. },
  41228. "haswr": {
  41229. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41230. "type": "integer"
  41231. },
  41232. "isspecified": {
  41233. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  41234. "type": "integer"
  41235. },
  41236. "marketid": {
  41237. "description": "市场ID",
  41238. "type": "integer"
  41239. },
  41240. "matchuserid": {
  41241. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  41242. "type": "integer"
  41243. },
  41244. "matchusername": {
  41245. "description": "指定方",
  41246. "type": "string"
  41247. },
  41248. "minivalue": {
  41249. "description": "现货商品最小变动值",
  41250. "type": "integer"
  41251. },
  41252. "optioncompare": {
  41253. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41254. "type": "string"
  41255. },
  41256. "orderqty": {
  41257. "description": "委托数量",
  41258. "type": "number"
  41259. },
  41260. "ordertime": {
  41261. "description": "委托时间",
  41262. "type": "string"
  41263. },
  41264. "pricemove": {
  41265. "description": "升贴水(浮动价时填写) - [挂牌]",
  41266. "type": "number"
  41267. },
  41268. "tradedate": {
  41269. "description": "交易日(yyyyMMdd)",
  41270. "type": "string"
  41271. },
  41272. "tradeprice": {
  41273. "description": "成交价格",
  41274. "type": "number"
  41275. },
  41276. "tradeqty": {
  41277. "description": "成交数量",
  41278. "type": "number"
  41279. },
  41280. "userid": {
  41281. "description": "用户ID",
  41282. "type": "integer"
  41283. },
  41284. "username": {
  41285. "description": "发起方",
  41286. "type": "string"
  41287. },
  41288. "warehouseid": {
  41289. "description": "仓库ID",
  41290. "type": "integer"
  41291. },
  41292. "warehousename": {
  41293. "description": "仓库名称",
  41294. "type": "string"
  41295. },
  41296. "wrfactortypeid": {
  41297. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41298. "type": "string"
  41299. },
  41300. "wrfactortypename": {
  41301. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41302. "type": "string"
  41303. },
  41304. "wrpricetype": {
  41305. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41306. "type": "integer"
  41307. },
  41308. "wrstandardcode": {
  41309. "description": "现货商品代码",
  41310. "type": "string"
  41311. },
  41312. "wrstandardid": {
  41313. "description": "现货商品ID",
  41314. "type": "integer"
  41315. },
  41316. "wrstandardname": {
  41317. "description": "商品名称",
  41318. "type": "string"
  41319. },
  41320. "wrtradeorderid": {
  41321. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41322. "type": "string"
  41323. },
  41324. "wrtradeorderstatus": {
  41325. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  41326. "type": "integer"
  41327. },
  41328. "wrtradetype": {
  41329. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41330. "type": "integer"
  41331. },
  41332. "wrtypename": {
  41333. "description": "商品",
  41334. "type": "string"
  41335. }
  41336. }
  41337. },
  41338. "models.WrSpotGroupTradeSum": {
  41339. "type": "object",
  41340. "properties": {
  41341. "deliverygoodscode": {
  41342. "description": "现货品种代码",
  41343. "type": "string"
  41344. },
  41345. "deliverygoodsid": {
  41346. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41347. "type": "integer"
  41348. },
  41349. "deliverygoodsname": {
  41350. "description": "现货品种名称",
  41351. "type": "string"
  41352. },
  41353. "lastavgprice": {
  41354. "description": "上上个交易日价格(前2天价格)",
  41355. "type": "string"
  41356. },
  41357. "lastreckondate": {
  41358. "description": "上上个交易日(前2天交易日)",
  41359. "type": "string"
  41360. },
  41361. "reckondate": {
  41362. "description": "上个交易日(前1天交易日)",
  41363. "type": "string"
  41364. },
  41365. "todayavgprice": {
  41366. "description": "上个交易日价格(前1天价格)",
  41367. "type": "string"
  41368. },
  41369. "updown": {
  41370. "description": "涨跌",
  41371. "type": "string"
  41372. },
  41373. "updownratio": {
  41374. "description": "涨幅(已格式化, 直接显示即可)",
  41375. "type": "string"
  41376. }
  41377. }
  41378. },
  41379. "models.WrSpotGroupTradeSumDetail": {
  41380. "type": "object",
  41381. "properties": {
  41382. "deliverygoodsid": {
  41383. "description": "现货商品id",
  41384. "type": "integer"
  41385. },
  41386. "price": {
  41387. "description": "价格",
  41388. "type": "number"
  41389. },
  41390. "reckondate": {
  41391. "description": "日期(yyymmdd, 如:20211031)",
  41392. "type": "string"
  41393. }
  41394. }
  41395. },
  41396. "models.WrSpotGroupTradeSumEx": {
  41397. "type": "object",
  41398. "properties": {
  41399. "lst": {
  41400. "description": "指数列表",
  41401. "type": "array",
  41402. "items": {
  41403. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  41404. }
  41405. },
  41406. "prereckondate": {
  41407. "description": "上上个交易日(yyymmdd)",
  41408. "type": "string"
  41409. },
  41410. "reckondate": {
  41411. "description": "上个交易日(yyyymmdd)",
  41412. "type": "string"
  41413. }
  41414. }
  41415. },
  41416. "models.WrStandardFactoryItem": {
  41417. "type": "object",
  41418. "properties": {
  41419. "dgfactoryitemid": {
  41420. "description": "选择项id",
  41421. "type": "integer"
  41422. },
  41423. "dgfactoryitemvalue": {
  41424. "description": "要素项值",
  41425. "type": "string"
  41426. },
  41427. "warehouseid": {
  41428. "description": "仓库id",
  41429. "type": "integer"
  41430. }
  41431. }
  41432. },
  41433. "models.WrStandardFactoryItemEx": {
  41434. "type": "object",
  41435. "properties": {
  41436. "dgfactoryitemtypeid": {
  41437. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  41438. "type": "integer"
  41439. },
  41440. "itemlst": {
  41441. "description": "要素项列表",
  41442. "type": "array",
  41443. "items": {
  41444. "$ref": "#/definitions/models.WrStandardFactoryItem"
  41445. }
  41446. },
  41447. "itemtypename": {
  41448. "description": "要素项类型名称",
  41449. "type": "string"
  41450. },
  41451. "wrstandardid": {
  41452. "description": "品类",
  41453. "type": "integer"
  41454. }
  41455. }
  41456. },
  41457. "models.WrTradeDetail": {
  41458. "type": "object",
  41459. "properties": {
  41460. "accountid": {
  41461. "description": "资金账号",
  41462. "type": "integer"
  41463. },
  41464. "bannerpicurl": {
  41465. "description": "Banner图",
  41466. "type": "string"
  41467. },
  41468. "begindate": {
  41469. "description": "开始交易日(yyyymmdd)",
  41470. "type": "string"
  41471. },
  41472. "buyorsell": {
  41473. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41474. "type": "integer"
  41475. },
  41476. "chargevalue": {
  41477. "description": "手续费",
  41478. "type": "number"
  41479. },
  41480. "deliverygoodscode": {
  41481. "description": "品种代码",
  41482. "type": "string"
  41483. },
  41484. "deliverygoodsid": {
  41485. "description": "品种ID",
  41486. "type": "integer"
  41487. },
  41488. "deliverygoodsname": {
  41489. "description": "品种名称",
  41490. "type": "string"
  41491. },
  41492. "deliverymonth": {
  41493. "description": "交收月",
  41494. "type": "string"
  41495. },
  41496. "enddate": {
  41497. "description": "结束交易日(yyyymmdd)",
  41498. "type": "string"
  41499. },
  41500. "enumdicname": {
  41501. "description": "单位名称",
  41502. "type": "string"
  41503. },
  41504. "haswr": {
  41505. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41506. "type": "integer"
  41507. },
  41508. "marketid": {
  41509. "description": "市场ID",
  41510. "type": "integer"
  41511. },
  41512. "matchaccountid": {
  41513. "description": "对手账号",
  41514. "type": "integer"
  41515. },
  41516. "matchusername": {
  41517. "description": "对手方",
  41518. "type": "string"
  41519. },
  41520. "minivalue": {
  41521. "description": "现货商品最小变动值",
  41522. "type": "integer"
  41523. },
  41524. "optioncompare": {
  41525. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41526. "type": "string"
  41527. },
  41528. "thumurls": {
  41529. "description": "缩略图",
  41530. "type": "string"
  41531. },
  41532. "tradedate": {
  41533. "description": "交易日(yyyyMMdd)",
  41534. "type": "string"
  41535. },
  41536. "tradeprice": {
  41537. "description": "成交价格",
  41538. "type": "number"
  41539. },
  41540. "tradeqty": {
  41541. "description": "成交数量",
  41542. "type": "number"
  41543. },
  41544. "tradetime": {
  41545. "description": "成交时间",
  41546. "type": "string"
  41547. },
  41548. "userid": {
  41549. "description": "用户ID",
  41550. "type": "integer"
  41551. },
  41552. "warehouseid": {
  41553. "description": "仓库ID",
  41554. "type": "integer"
  41555. },
  41556. "warehousename": {
  41557. "description": "仓库名称",
  41558. "type": "string"
  41559. },
  41560. "wrfactortypeid": {
  41561. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41562. "type": "string"
  41563. },
  41564. "wrfactortypename": {
  41565. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41566. "type": "string"
  41567. },
  41568. "wrstandardcode": {
  41569. "description": "现货商品代码",
  41570. "type": "string"
  41571. },
  41572. "wrstandardid": {
  41573. "description": "现货商品ID",
  41574. "type": "integer"
  41575. },
  41576. "wrstandardname": {
  41577. "description": "商品名称",
  41578. "type": "string"
  41579. },
  41580. "wrtradedetailid": {
  41581. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41582. "type": "string"
  41583. },
  41584. "wrtradetype": {
  41585. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41586. "type": "integer"
  41587. },
  41588. "wrtypename": {
  41589. "description": "商品",
  41590. "type": "string"
  41591. }
  41592. }
  41593. },
  41594. "models.WrTradeOrderDetail": {
  41595. "type": "object",
  41596. "properties": {
  41597. "buyorsell": {
  41598. "description": "买卖方向 0-买 1-卖",
  41599. "type": "integer"
  41600. },
  41601. "goodsid": {
  41602. "description": "商品id",
  41603. "type": "integer"
  41604. },
  41605. "orderid": {
  41606. "description": "委托单号",
  41607. "type": "string"
  41608. },
  41609. "orderprice": {
  41610. "description": "委托价格",
  41611. "type": "number"
  41612. },
  41613. "orderqty": {
  41614. "description": "委托数量",
  41615. "type": "integer"
  41616. },
  41617. "userid": {
  41618. "description": "用户id",
  41619. "type": "integer"
  41620. },
  41621. "username": {
  41622. "description": "用户名称(已脱敏)",
  41623. "type": "string"
  41624. }
  41625. }
  41626. },
  41627. "models.WrTypeItem": {
  41628. "type": "object",
  41629. "properties": {
  41630. "name": {
  41631. "description": "名称",
  41632. "type": "string"
  41633. },
  41634. "value": {
  41635. "description": "值",
  41636. "type": "string"
  41637. }
  41638. }
  41639. },
  41640. "models.WrUserFriend": {
  41641. "type": "object",
  41642. "properties": {
  41643. "friendname": {
  41644. "description": "朋友名称(已脱敏)",
  41645. "type": "string"
  41646. },
  41647. "frienduserid": {
  41648. "description": "朋友id",
  41649. "type": "integer"
  41650. },
  41651. "isfriend": {
  41652. "description": "是否好友 0-不是 1-是",
  41653. "type": "integer"
  41654. },
  41655. "userid": {
  41656. "description": "用户id",
  41657. "type": "integer"
  41658. }
  41659. }
  41660. },
  41661. "models.WrUserReceiptInfo": {
  41662. "type": "object",
  41663. "properties": {
  41664. "address": {
  41665. "description": "地址[发票类型:企业]",
  41666. "type": "string"
  41667. },
  41668. "autoid": {
  41669. "description": "AutoID",
  41670. "type": "integer"
  41671. },
  41672. "contactinfo": {
  41673. "description": "联系方式",
  41674. "type": "string"
  41675. },
  41676. "idnum": {
  41677. "description": "身份证号码[发票类型:个人]",
  41678. "type": "string"
  41679. },
  41680. "isdefault": {
  41681. "description": "是否默认地址 - 0:否 1:是",
  41682. "type": "integer"
  41683. },
  41684. "receiptaccount": {
  41685. "description": "发票帐号[发票类型:企业]",
  41686. "type": "string"
  41687. },
  41688. "receiptbank": {
  41689. "description": "发票开户行[发票类型:企业]",
  41690. "type": "string"
  41691. },
  41692. "receipttype": {
  41693. "description": "发票类型 - 1:个人 2:企业",
  41694. "type": "integer"
  41695. },
  41696. "taxpayerid": {
  41697. "description": "纳税人识别号",
  41698. "type": "string"
  41699. },
  41700. "userid": {
  41701. "description": "用户ID",
  41702. "type": "integer"
  41703. },
  41704. "username": {
  41705. "description": "户名(个人姓名或企业名称)",
  41706. "type": "string"
  41707. }
  41708. }
  41709. },
  41710. "models.XHBRAND": {
  41711. "type": "object",
  41712. "properties": {
  41713. "brandid": {
  41714. "description": "品牌id",
  41715. "type": "integer"
  41716. },
  41717. "brandname": {
  41718. "description": "品牌名称",
  41719. "type": "string"
  41720. },
  41721. "isvalid": {
  41722. "description": "是否有效 0-无效 1-有效",
  41723. "type": "integer"
  41724. }
  41725. }
  41726. },
  41727. "models.XHDeliveryGoods": {
  41728. "type": "object",
  41729. "properties": {
  41730. "areauserid": {
  41731. "description": "所属机构",
  41732. "type": "integer"
  41733. },
  41734. "bdlst": {
  41735. "description": "品牌列表",
  41736. "type": "array",
  41737. "items": {
  41738. "$ref": "#/definitions/models.XHBRAND"
  41739. }
  41740. },
  41741. "deliverygoodscode": {
  41742. "description": "现货品种代码",
  41743. "type": "string"
  41744. },
  41745. "deliverygoodsid": {
  41746. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41747. "type": "integer"
  41748. },
  41749. "deliverygoodsname": {
  41750. "description": "现货品种名称",
  41751. "type": "string"
  41752. },
  41753. "dgstatus": {
  41754. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  41755. "type": "integer"
  41756. },
  41757. "filterSubEmpty": {
  41758. "description": "过滤下级为空的",
  41759. "type": "integer"
  41760. },
  41761. "isvalid": {
  41762. "description": "是否有效 - 0:无效 1:有效",
  41763. "type": "integer"
  41764. },
  41765. "remark": {
  41766. "description": "备注",
  41767. "type": "string"
  41768. },
  41769. "unitid": {
  41770. "description": "单位id(目前看,数据库中是空值)",
  41771. "type": "integer"
  41772. },
  41773. "wdlst": {
  41774. "description": "品类(现货商品)列表",
  41775. "type": "array",
  41776. "items": {
  41777. "$ref": "#/definitions/models.XHWrstandard"
  41778. }
  41779. }
  41780. }
  41781. },
  41782. "models.XHMiddleGoods": {
  41783. "type": "object",
  41784. "properties": {
  41785. "GPLST": {
  41786. "description": "期货品种列表",
  41787. "type": "array",
  41788. "items": {
  41789. "$ref": "#/definitions/models.TBGoodsGroup"
  41790. }
  41791. },
  41792. "convertratio": {
  41793. "description": "拆算系数",
  41794. "type": "number"
  41795. },
  41796. "costratio": {
  41797. "description": "成本权重",
  41798. "type": "number"
  41799. },
  41800. "deliverygoodsid": {
  41801. "description": "现货商品id",
  41802. "type": "integer"
  41803. },
  41804. "enumdicname": {
  41805. "description": "单位名称",
  41806. "type": "string"
  41807. },
  41808. "middlegoodscode": {
  41809. "description": "套保品种代码",
  41810. "type": "string"
  41811. },
  41812. "middlegoodsid": {
  41813. "description": "套保品种id",
  41814. "type": "integer"
  41815. },
  41816. "middlegoodsname": {
  41817. "description": "套保品种名称",
  41818. "type": "string"
  41819. },
  41820. "unitid": {
  41821. "description": "单位id",
  41822. "type": "integer"
  41823. }
  41824. }
  41825. },
  41826. "models.XHWrstandard": {
  41827. "type": "object",
  41828. "properties": {
  41829. "bannerpicurl": {
  41830. "description": "banner图",
  41831. "type": "string"
  41832. },
  41833. "deliverygoodsid": {
  41834. "description": "品种ID",
  41835. "type": "integer"
  41836. },
  41837. "enumdicname": {
  41838. "description": "单位名称",
  41839. "type": "string"
  41840. },
  41841. "mglst": {
  41842. "description": "套保品列表",
  41843. "type": "array",
  41844. "items": {
  41845. "$ref": "#/definitions/models.XHMiddleGoods"
  41846. }
  41847. },
  41848. "pictureurls": {
  41849. "description": "详情图片(逗号分隔)",
  41850. "type": "string"
  41851. },
  41852. "thumurls": {
  41853. "description": "缩略图片(1:1)(逗号分隔)",
  41854. "type": "string"
  41855. },
  41856. "unitid": {
  41857. "description": "单位id",
  41858. "type": "integer"
  41859. },
  41860. "vatrate": {
  41861. "description": "增值税率",
  41862. "type": "number"
  41863. },
  41864. "wrstandardcode": {
  41865. "description": "现货商品代码",
  41866. "type": "string"
  41867. },
  41868. "wrstandardid": {
  41869. "description": "现货商品ID(SEQ_WRSTANDARD)",
  41870. "type": "integer"
  41871. },
  41872. "wrstandardname": {
  41873. "description": "现货商品名称",
  41874. "type": "string"
  41875. }
  41876. }
  41877. },
  41878. "models.XhcpSellBackApplyEx": {
  41879. "type": "object",
  41880. "required": [
  41881. "userid"
  41882. ],
  41883. "properties": {
  41884. "applyremark": {
  41885. "description": "申请备注",
  41886. "type": "string"
  41887. },
  41888. "expirytype": {
  41889. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  41890. "type": "integer"
  41891. },
  41892. "goodsspec": {
  41893. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  41894. "type": "integer"
  41895. },
  41896. "holeflag": {
  41897. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  41898. "type": "integer"
  41899. },
  41900. "isunopened": {
  41901. "description": "是否原封 - 1:否 2:是",
  41902. "type": "integer"
  41903. },
  41904. "mpflag": {
  41905. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  41906. "type": "integer"
  41907. },
  41908. "openflag": {
  41909. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  41910. "type": "integer"
  41911. },
  41912. "phonenum": {
  41913. "description": "联系电话",
  41914. "type": "string"
  41915. },
  41916. "userid": {
  41917. "description": "所属用户ID",
  41918. "type": "integer"
  41919. },
  41920. "zpflag": {
  41921. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  41922. "type": "integer"
  41923. }
  41924. }
  41925. },
  41926. "models.Xhcpsellbackapply": {
  41927. "type": "object",
  41928. "required": [
  41929. "userid"
  41930. ],
  41931. "properties": {
  41932. "applyid": {
  41933. "description": "申请人",
  41934. "type": "integer"
  41935. },
  41936. "applyremark": {
  41937. "description": "申请备注",
  41938. "type": "string"
  41939. },
  41940. "applysrc": {
  41941. "description": "申请来源 - 1:管理端 2:终端",
  41942. "type": "integer"
  41943. },
  41944. "applystatus": {
  41945. "description": "申请状态 - 1:待确认 2:已处理",
  41946. "type": "integer"
  41947. },
  41948. "applytime": {
  41949. "description": "申请时间",
  41950. "type": "string"
  41951. },
  41952. "auditremark": {
  41953. "description": "审核备注",
  41954. "type": "string"
  41955. },
  41956. "auditsrc": {
  41957. "description": "审核来源 - 1:管理端 2:终端",
  41958. "type": "integer"
  41959. },
  41960. "expirytype": {
  41961. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  41962. "type": "integer"
  41963. },
  41964. "goodsspec": {
  41965. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  41966. "type": "integer"
  41967. },
  41968. "holeflag": {
  41969. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  41970. "type": "integer"
  41971. },
  41972. "isunopened": {
  41973. "description": "是否原封 - 1:否 2:是",
  41974. "type": "integer"
  41975. },
  41976. "mpflag": {
  41977. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  41978. "type": "integer"
  41979. },
  41980. "openflag": {
  41981. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  41982. "type": "integer"
  41983. },
  41984. "phonenum": {
  41985. "description": "联系电话",
  41986. "type": "string"
  41987. },
  41988. "sellbackapplyid": {
  41989. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  41990. "type": "string"
  41991. },
  41992. "userid": {
  41993. "description": "所属用户ID",
  41994. "type": "integer"
  41995. },
  41996. "zpflag": {
  41997. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  41998. "type": "integer"
  41999. }
  42000. }
  42001. },
  42002. "order.QueryHisTradeDetailRsp": {
  42003. "type": "object",
  42004. "required": [
  42005. "accountid",
  42006. "buyorsell",
  42007. "goodsid",
  42008. "histradedate",
  42009. "marketid",
  42010. "memberuserid",
  42011. "orderid",
  42012. "tradeamount",
  42013. "tradedate",
  42014. "tradeid",
  42015. "tradeprice",
  42016. "tradeqty",
  42017. "tradetime"
  42018. ],
  42019. "properties": {
  42020. "accountid": {
  42021. "description": "账户ID[报价币种]",
  42022. "type": "integer"
  42023. },
  42024. "advanceratio": {
  42025. "description": "首付比率",
  42026. "type": "number"
  42027. },
  42028. "buildtype": {
  42029. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42030. "type": "integer"
  42031. },
  42032. "buyorsell": {
  42033. "description": "方向 - 0:买 1:卖",
  42034. "type": "integer"
  42035. },
  42036. "charge": {
  42037. "description": "手续费",
  42038. "type": "number"
  42039. },
  42040. "closecharge": {
  42041. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42042. "type": "number"
  42043. },
  42044. "closeexchagechargevalue": {
  42045. "description": "平仓交易所手续费设置值",
  42046. "type": "number"
  42047. },
  42048. "closefeealgorithm": {
  42049. "description": "平仓手续费收取方式 1:比率 2:固定",
  42050. "type": "integer"
  42051. },
  42052. "closememberchargevalue": {
  42053. "description": "平仓会员手续费设置值",
  42054. "type": "number"
  42055. },
  42056. "closepl": {
  42057. "description": "平仓盈亏",
  42058. "type": "number"
  42059. },
  42060. "closepl2": {
  42061. "description": "平仓盈亏[逐笔]",
  42062. "type": "number"
  42063. },
  42064. "closeqty": {
  42065. "description": "平仓数量(先建后平操作 需要记录)",
  42066. "type": "number"
  42067. },
  42068. "creditamount": {
  42069. "description": "授信金额",
  42070. "type": "number"
  42071. },
  42072. "decimalplace": {
  42073. "description": "商品报价小数位",
  42074. "type": "integer"
  42075. },
  42076. "enumdicname": {
  42077. "description": "单位名称",
  42078. "type": "string"
  42079. },
  42080. "gcaccountid": {
  42081. "description": "账户ID[合约币种]",
  42082. "type": "integer"
  42083. },
  42084. "goodscode": {
  42085. "description": "商品代码",
  42086. "type": "string"
  42087. },
  42088. "goodsid": {
  42089. "description": "商品ID",
  42090. "type": "integer"
  42091. },
  42092. "goodsname": {
  42093. "description": "商品名称",
  42094. "type": "string"
  42095. },
  42096. "goodunitid": {
  42097. "description": "商品单位id",
  42098. "type": "integer"
  42099. },
  42100. "histradedate": {
  42101. "description": "历史交易日",
  42102. "type": "string"
  42103. },
  42104. "intclosepl": {
  42105. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42106. "type": "integer"
  42107. },
  42108. "isconfirmexercise": {
  42109. "description": "是否确认行权- 0:否 1:是",
  42110. "type": "integer"
  42111. },
  42112. "ismain": {
  42113. "description": "是否主单 - 0:不是 1:是",
  42114. "type": "integer"
  42115. },
  42116. "ispreexercise": {
  42117. "description": "是否预申报- 0:否 1:是",
  42118. "type": "integer"
  42119. },
  42120. "isreckoned": {
  42121. "description": "是否结算 - 0:未结算 1:已结算",
  42122. "type": "integer"
  42123. },
  42124. "isvaliddata": {
  42125. "description": "是否有效 - 0:无效 1:有效",
  42126. "type": "integer"
  42127. },
  42128. "listingselecttype": {
  42129. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42130. "type": "integer"
  42131. },
  42132. "marketid": {
  42133. "description": "市场ID",
  42134. "type": "integer"
  42135. },
  42136. "marketname": {
  42137. "description": "市场名称",
  42138. "type": "string"
  42139. },
  42140. "matchaccountid": {
  42141. "description": "对手账号id",
  42142. "type": "integer"
  42143. },
  42144. "memberuserid": {
  42145. "description": "会员id 个人投资者 需要填写",
  42146. "type": "integer"
  42147. },
  42148. "opencharge": {
  42149. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42150. "type": "number"
  42151. },
  42152. "openexchagechargevalue": {
  42153. "description": "建仓交易所手续费设置值",
  42154. "type": "number"
  42155. },
  42156. "openfeealgorithm": {
  42157. "description": "建仓手续费收取方式 1:比率 2:固定",
  42158. "type": "integer"
  42159. },
  42160. "openmemberchargevalue": {
  42161. "description": "建仓会员手续费设置值",
  42162. "type": "number"
  42163. },
  42164. "openqty": {
  42165. "description": "开仓数量(先建后平操作 需要记录)",
  42166. "type": "number"
  42167. },
  42168. "optiontype": {
  42169. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42170. "type": "integer"
  42171. },
  42172. "orderid": {
  42173. "description": "委托单号",
  42174. "type": "string"
  42175. },
  42176. "payamount": {
  42177. "description": "支付金额(付款金额)",
  42178. "type": "number"
  42179. },
  42180. "performanceplanid": {
  42181. "description": "履约计划ID[期权]",
  42182. "type": "integer"
  42183. },
  42184. "performancestatus": {
  42185. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42186. "type": "integer"
  42187. },
  42188. "preexerciseprice": {
  42189. "description": "预申报价格",
  42190. "type": "number"
  42191. },
  42192. "premium": {
  42193. "description": "权利金 - [持仓单的权利金]",
  42194. "type": "number"
  42195. },
  42196. "qtydecimalplace": {
  42197. "description": "商品报价小数位",
  42198. "type": "integer"
  42199. },
  42200. "recvamount": {
  42201. "description": "到账金额 = 成交金额 - 手续费",
  42202. "type": "number"
  42203. },
  42204. "relatedouttradeid": {
  42205. "description": "关联外部成交单ID",
  42206. "type": "integer"
  42207. },
  42208. "status": {
  42209. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42210. "type": "integer"
  42211. },
  42212. "totalamount": {
  42213. "description": "订单总额 = 成交金额 + 手续费",
  42214. "type": "number"
  42215. },
  42216. "tradeamount": {
  42217. "description": "成交金额[账户币种,用于所有权]",
  42218. "type": "number"
  42219. },
  42220. "tradedate": {
  42221. "description": "交易日(yyyyMMdd)",
  42222. "type": "string"
  42223. },
  42224. "tradeid": {
  42225. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42226. "type": "string"
  42227. },
  42228. "trademode": {
  42229. "description": "交易模式",
  42230. "type": "integer"
  42231. },
  42232. "tradeprice": {
  42233. "description": "成交价格",
  42234. "type": "number"
  42235. },
  42236. "tradeproperty": {
  42237. "description": "交易属性",
  42238. "type": "integer"
  42239. },
  42240. "tradeqty": {
  42241. "description": "成交数量",
  42242. "type": "number"
  42243. },
  42244. "tradetime": {
  42245. "description": "成交时间",
  42246. "type": "string"
  42247. },
  42248. "tradetype": {
  42249. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42250. "type": "integer"
  42251. }
  42252. }
  42253. },
  42254. "order.QueryHisTradeOrderDetailRsp": {
  42255. "type": "object",
  42256. "required": [
  42257. "accountid",
  42258. "buildtype",
  42259. "buyorsell",
  42260. "goodsid",
  42261. "histradedate",
  42262. "marketid",
  42263. "memberuserid",
  42264. "operatetype",
  42265. "orderid",
  42266. "orderqty",
  42267. "ordertime",
  42268. "pricemode",
  42269. "tradedate",
  42270. "validtype"
  42271. ],
  42272. "properties": {
  42273. "accountid": {
  42274. "description": "账户ID[报价币种]",
  42275. "type": "integer"
  42276. },
  42277. "buildtype": {
  42278. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42279. "type": "integer"
  42280. },
  42281. "buyorsell": {
  42282. "description": "买卖 - 0:买 1:卖",
  42283. "type": "integer"
  42284. },
  42285. "cancelorderid": {
  42286. "description": "撤单单号(撤单时填写)",
  42287. "type": "string"
  42288. },
  42289. "cancelqty": {
  42290. "description": "撤单数量",
  42291. "type": "number"
  42292. },
  42293. "clientordertime": {
  42294. "description": "客户端委托时间",
  42295. "type": "string"
  42296. },
  42297. "clientticket": {
  42298. "description": "客户端流水号",
  42299. "type": "string"
  42300. },
  42301. "clienttype": {
  42302. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42303. "type": "integer"
  42304. },
  42305. "closeexchagechargevalue": {
  42306. "description": "平仓交易所手续费设置值",
  42307. "type": "number"
  42308. },
  42309. "closefeealgorithm": {
  42310. "description": "平仓手续费收取方式 1:比率 2:固定",
  42311. "type": "integer"
  42312. },
  42313. "closefreezecharge": {
  42314. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42315. "type": "number"
  42316. },
  42317. "closememberchargevalue": {
  42318. "description": "平仓会员手续费设置值",
  42319. "type": "number"
  42320. },
  42321. "closeqty": {
  42322. "description": "平仓数量(先建后平操作 需要记录)",
  42323. "type": "number"
  42324. },
  42325. "closetradeqty": {
  42326. "description": "平仓成交数量(先建后平操作,需要记录)",
  42327. "type": "number"
  42328. },
  42329. "closeunfreezecharge": {
  42330. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42331. "type": "number"
  42332. },
  42333. "decimalplace": {
  42334. "description": "商品报价小数位",
  42335. "type": "integer"
  42336. },
  42337. "delistingtype": {
  42338. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42339. "type": "integer"
  42340. },
  42341. "enumdicname": {
  42342. "description": "单位名称",
  42343. "type": "string"
  42344. },
  42345. "freezecharge": {
  42346. "description": "冻结手续费",
  42347. "type": "number"
  42348. },
  42349. "freezemargin": {
  42350. "description": "冻结保证金(冻结交易金额)",
  42351. "type": "number"
  42352. },
  42353. "gcaccountid": {
  42354. "description": "账户ID[合约币种]",
  42355. "type": "integer"
  42356. },
  42357. "goodscode": {
  42358. "description": "商品代码",
  42359. "type": "string"
  42360. },
  42361. "goodsid": {
  42362. "description": "商品ID",
  42363. "type": "integer"
  42364. },
  42365. "goodsname": {
  42366. "description": "商品名称",
  42367. "type": "string"
  42368. },
  42369. "goodunitid": {
  42370. "description": "商品单位id",
  42371. "type": "integer"
  42372. },
  42373. "histradedate": {
  42374. "description": "历史交易日",
  42375. "type": "string"
  42376. },
  42377. "isconfirmexercise": {
  42378. "description": "是否确认行权- 0:否 1:是",
  42379. "type": "integer"
  42380. },
  42381. "ispreexercise": {
  42382. "description": "是否预申报- 0:否 1:是",
  42383. "type": "integer"
  42384. },
  42385. "isvaliddata": {
  42386. "description": "是否有效 - 0:无效 1:有效",
  42387. "type": "integer"
  42388. },
  42389. "listingselecttype": {
  42390. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42391. "type": "integer"
  42392. },
  42393. "marginalgorithm": {
  42394. "description": "保证金收取方式 1:比率 2:固定",
  42395. "type": "integer"
  42396. },
  42397. "marginvalue": {
  42398. "description": "即市保证金设置值",
  42399. "type": "number"
  42400. },
  42401. "marketid": {
  42402. "description": "市场ID",
  42403. "type": "integer"
  42404. },
  42405. "marketmaxsub": {
  42406. "description": "市价最大偏移范围",
  42407. "type": "number"
  42408. },
  42409. "marketname": {
  42410. "description": "市场名称",
  42411. "type": "string"
  42412. },
  42413. "memberuserid": {
  42414. "description": "所属会员UserID",
  42415. "type": "integer"
  42416. },
  42417. "openexchagechargevalue": {
  42418. "description": "建仓交易所手续费设置值",
  42419. "type": "number"
  42420. },
  42421. "openfeealgorithm": {
  42422. "description": "建仓手续费收取方式 1:比率 2:固定",
  42423. "type": "integer"
  42424. },
  42425. "openfreezecharge": {
  42426. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42427. "type": "number"
  42428. },
  42429. "openmemberchargevalue": {
  42430. "description": "建仓会员手续费设置值",
  42431. "type": "number"
  42432. },
  42433. "openqty": {
  42434. "description": "开仓数量(先建后平操作,需要记录)",
  42435. "type": "number"
  42436. },
  42437. "opentradeqty": {
  42438. "description": "开仓成交数量(先建后平操作,需要记录)",
  42439. "type": "number"
  42440. },
  42441. "openunfreezecharge": {
  42442. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42443. "type": "number"
  42444. },
  42445. "operatetype": {
  42446. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42447. "type": "integer"
  42448. },
  42449. "operatorid": {
  42450. "description": "登录账号(LoginID)",
  42451. "type": "integer"
  42452. },
  42453. "optiontype": {
  42454. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42455. "type": "integer"
  42456. },
  42457. "orderid": {
  42458. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42459. "type": "string"
  42460. },
  42461. "orderprice": {
  42462. "description": "委托价格",
  42463. "type": "number"
  42464. },
  42465. "orderqty": {
  42466. "description": "委托数量",
  42467. "type": "number"
  42468. },
  42469. "ordersrc": {
  42470. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42471. "type": "integer"
  42472. },
  42473. "orderstatus": {
  42474. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42475. "type": "integer"
  42476. },
  42477. "ordertime": {
  42478. "description": "委托时间",
  42479. "type": "string"
  42480. },
  42481. "preexerciseprice": {
  42482. "description": "预申报价格",
  42483. "type": "number"
  42484. },
  42485. "premium": {
  42486. "description": "权利金",
  42487. "type": "number"
  42488. },
  42489. "preorderid": {
  42490. "description": "关联预埋单号(止盈止损单时填写)",
  42491. "type": "string"
  42492. },
  42493. "pricemode": {
  42494. "description": "取价方式 - 1:市价 2: 限价",
  42495. "type": "integer"
  42496. },
  42497. "qtydecimalplace": {
  42498. "description": "成交量小数位",
  42499. "type": "integer"
  42500. },
  42501. "quoteid": {
  42502. "description": "报价单ID",
  42503. "type": "integer"
  42504. },
  42505. "relatedid": {
  42506. "description": "关联单号(交割单)",
  42507. "type": "string"
  42508. },
  42509. "retcode": {
  42510. "description": "错误代码",
  42511. "type": "integer"
  42512. },
  42513. "sessionid": {
  42514. "description": "会话ID",
  42515. "type": "integer"
  42516. },
  42517. "tradedate": {
  42518. "description": "交易日(yyyyMMdd)",
  42519. "type": "string"
  42520. },
  42521. "trademode": {
  42522. "description": "交易模式",
  42523. "type": "integer"
  42524. },
  42525. "tradeproperty": {
  42526. "description": "交易属性",
  42527. "type": "integer"
  42528. },
  42529. "tradeqty": {
  42530. "description": "成交数量",
  42531. "type": "number"
  42532. },
  42533. "unfreezecharge": {
  42534. "description": "解冻手续费",
  42535. "type": "number"
  42536. },
  42537. "unfreezemargin": {
  42538. "description": "解冻保证金",
  42539. "type": "number"
  42540. },
  42541. "updatetime": {
  42542. "description": "更新时间",
  42543. "type": "string"
  42544. },
  42545. "uuid": {
  42546. "description": "发起端唯一id",
  42547. "type": "string"
  42548. },
  42549. "validtime": {
  42550. "description": "有效期限",
  42551. "type": "string"
  42552. },
  42553. "validtype": {
  42554. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  42555. "type": "integer"
  42556. },
  42557. "volumetype": {
  42558. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  42559. "type": "integer"
  42560. }
  42561. }
  42562. },
  42563. "order.QueryTradeDetailRsp": {
  42564. "type": "object",
  42565. "required": [
  42566. "accountid",
  42567. "buyorsell",
  42568. "goodsid",
  42569. "marketid",
  42570. "memberuserid",
  42571. "orderid",
  42572. "tradeamount",
  42573. "tradedate",
  42574. "tradeid",
  42575. "tradeprice",
  42576. "tradeqty",
  42577. "tradetime"
  42578. ],
  42579. "properties": {
  42580. "accountid": {
  42581. "description": "账户ID[报价币种]",
  42582. "type": "integer"
  42583. },
  42584. "advanceratio": {
  42585. "description": "首付比率",
  42586. "type": "number"
  42587. },
  42588. "buildtype": {
  42589. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42590. "type": "integer"
  42591. },
  42592. "buyorsell": {
  42593. "description": "方向 - 0:买 1:卖",
  42594. "type": "integer"
  42595. },
  42596. "charge": {
  42597. "description": "手续费",
  42598. "type": "number"
  42599. },
  42600. "closecharge": {
  42601. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42602. "type": "number"
  42603. },
  42604. "closeexchagechargevalue": {
  42605. "description": "平仓交易所手续费设置值",
  42606. "type": "number"
  42607. },
  42608. "closefeealgorithm": {
  42609. "description": "平仓手续费收取方式 1:比率 2:固定",
  42610. "type": "integer"
  42611. },
  42612. "closememberchargevalue": {
  42613. "description": "平仓会员手续费设置值",
  42614. "type": "number"
  42615. },
  42616. "closepl": {
  42617. "description": "平仓盈亏",
  42618. "type": "number"
  42619. },
  42620. "closepl2": {
  42621. "description": "平仓盈亏[逐笔]",
  42622. "type": "number"
  42623. },
  42624. "closeqty": {
  42625. "description": "平仓数量(先建后平操作 需要记录)",
  42626. "type": "number"
  42627. },
  42628. "creditamount": {
  42629. "description": "授信金额",
  42630. "type": "number"
  42631. },
  42632. "decimalplace": {
  42633. "description": "商品报价小数位",
  42634. "type": "integer"
  42635. },
  42636. "enumdicname": {
  42637. "description": "单位名称",
  42638. "type": "string"
  42639. },
  42640. "gcaccountid": {
  42641. "description": "账户ID[合约币种]",
  42642. "type": "integer"
  42643. },
  42644. "goodscode": {
  42645. "description": "商品代码",
  42646. "type": "string"
  42647. },
  42648. "goodsid": {
  42649. "description": "商品ID",
  42650. "type": "integer"
  42651. },
  42652. "goodsname": {
  42653. "description": "商品名称",
  42654. "type": "string"
  42655. },
  42656. "goodunitid": {
  42657. "description": "商品单位id",
  42658. "type": "integer"
  42659. },
  42660. "intclosepl": {
  42661. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42662. "type": "integer"
  42663. },
  42664. "isconfirmexercise": {
  42665. "description": "是否确认行权- 0:否 1:是",
  42666. "type": "integer"
  42667. },
  42668. "ismain": {
  42669. "description": "是否主单 - 0:不是 1:是",
  42670. "type": "integer"
  42671. },
  42672. "ispreexercise": {
  42673. "description": "是否预申报- 0:否 1:是",
  42674. "type": "integer"
  42675. },
  42676. "isreckoned": {
  42677. "description": "是否结算 - 0:未结算 1:已结算",
  42678. "type": "integer"
  42679. },
  42680. "listingselecttype": {
  42681. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42682. "type": "integer"
  42683. },
  42684. "marketid": {
  42685. "description": "市场ID",
  42686. "type": "integer"
  42687. },
  42688. "marketname": {
  42689. "description": "市场名称",
  42690. "type": "string"
  42691. },
  42692. "matchaccountid": {
  42693. "description": "对手账号id",
  42694. "type": "integer"
  42695. },
  42696. "memberuserid": {
  42697. "description": "会员id 个人投资者 需要填写",
  42698. "type": "integer"
  42699. },
  42700. "opencharge": {
  42701. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42702. "type": "number"
  42703. },
  42704. "openexchagechargevalue": {
  42705. "description": "建仓交易所手续费设置值",
  42706. "type": "number"
  42707. },
  42708. "openfeealgorithm": {
  42709. "description": "建仓手续费收取方式 1:比率 2:固定",
  42710. "type": "integer"
  42711. },
  42712. "openmemberchargevalue": {
  42713. "description": "建仓会员手续费设置值",
  42714. "type": "number"
  42715. },
  42716. "openqty": {
  42717. "description": "开仓数量(先建后平操作 需要记录)",
  42718. "type": "number"
  42719. },
  42720. "optiontype": {
  42721. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42722. "type": "integer"
  42723. },
  42724. "orderid": {
  42725. "description": "委托单号",
  42726. "type": "string"
  42727. },
  42728. "payamount": {
  42729. "description": "支付金额(付款金额)",
  42730. "type": "number"
  42731. },
  42732. "performanceplanid": {
  42733. "description": "履约计划ID[期权]",
  42734. "type": "integer"
  42735. },
  42736. "performancestatus": {
  42737. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42738. "type": "integer"
  42739. },
  42740. "preexerciseprice": {
  42741. "description": "预申报价格",
  42742. "type": "number"
  42743. },
  42744. "premium": {
  42745. "description": "权利金 - [持仓单的权利金]",
  42746. "type": "number"
  42747. },
  42748. "qtydecimalplace": {
  42749. "description": "商品报价小数位",
  42750. "type": "integer"
  42751. },
  42752. "recvamount": {
  42753. "description": "到账金额 = 成交金额 - 手续费",
  42754. "type": "number"
  42755. },
  42756. "relatedouttradeid": {
  42757. "description": "关联外部成交单ID",
  42758. "type": "integer"
  42759. },
  42760. "status": {
  42761. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42762. "type": "integer"
  42763. },
  42764. "totalamount": {
  42765. "description": "订单总额 = 成交金额 + 手续费",
  42766. "type": "number"
  42767. },
  42768. "tradeamount": {
  42769. "description": "成交金额[账户币种,用于所有权]",
  42770. "type": "number"
  42771. },
  42772. "tradedate": {
  42773. "description": "交易日(yyyyMMdd)",
  42774. "type": "string"
  42775. },
  42776. "tradeid": {
  42777. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42778. "type": "string"
  42779. },
  42780. "trademode": {
  42781. "description": "交易模式",
  42782. "type": "integer"
  42783. },
  42784. "tradeprice": {
  42785. "description": "成交价格",
  42786. "type": "number"
  42787. },
  42788. "tradeproperty": {
  42789. "description": "交易属性",
  42790. "type": "integer"
  42791. },
  42792. "tradeqty": {
  42793. "description": "成交数量",
  42794. "type": "number"
  42795. },
  42796. "tradetime": {
  42797. "description": "成交时间",
  42798. "type": "string"
  42799. },
  42800. "tradetype": {
  42801. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42802. "type": "integer"
  42803. }
  42804. }
  42805. },
  42806. "order.QueryTradeOrderDetailRsp": {
  42807. "type": "object",
  42808. "required": [
  42809. "accountid",
  42810. "buildtype",
  42811. "buyorsell",
  42812. "goodsid",
  42813. "marketid",
  42814. "operatetype",
  42815. "orderqty",
  42816. "ordertime",
  42817. "pricemode",
  42818. "tradedate",
  42819. "validtype"
  42820. ],
  42821. "properties": {
  42822. "accountid": {
  42823. "description": "账户ID[报价币种]",
  42824. "type": "integer"
  42825. },
  42826. "buildtype": {
  42827. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42828. "type": "integer"
  42829. },
  42830. "buyorsell": {
  42831. "description": "买卖 - 0:买 1:卖",
  42832. "type": "integer"
  42833. },
  42834. "cancelorderid": {
  42835. "description": "撤单单号(撤单时填写)",
  42836. "type": "string"
  42837. },
  42838. "cancelqty": {
  42839. "description": "撤单数量",
  42840. "type": "number"
  42841. },
  42842. "clienttype": {
  42843. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42844. "type": "integer"
  42845. },
  42846. "closefreezecharge": {
  42847. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42848. "type": "number"
  42849. },
  42850. "closeqty": {
  42851. "description": "平仓数量(先建后平操作 需要记录)",
  42852. "type": "number"
  42853. },
  42854. "closetradeqty": {
  42855. "description": "平仓成交数量(先建后平操作,需要记录)",
  42856. "type": "number"
  42857. },
  42858. "closeunfreezecharge": {
  42859. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42860. "type": "number"
  42861. },
  42862. "decimalplace": {
  42863. "description": "商品报价小数位",
  42864. "type": "integer"
  42865. },
  42866. "delistingtype": {
  42867. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42868. "type": "integer"
  42869. },
  42870. "enableqty": {
  42871. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  42872. "type": "number"
  42873. },
  42874. "enumdicname": {
  42875. "description": "单位名称",
  42876. "type": "string"
  42877. },
  42878. "freezecharge": {
  42879. "description": "冻结手续费",
  42880. "type": "number"
  42881. },
  42882. "freezemargin": {
  42883. "description": "冻结保证金(冻结交易金额)",
  42884. "type": "number"
  42885. },
  42886. "goodscode": {
  42887. "description": "商品代码",
  42888. "type": "string"
  42889. },
  42890. "goodsid": {
  42891. "description": "商品ID",
  42892. "type": "integer"
  42893. },
  42894. "goodsname": {
  42895. "description": "商品名称",
  42896. "type": "string"
  42897. },
  42898. "goodunitid": {
  42899. "description": "商品单位id",
  42900. "type": "integer"
  42901. },
  42902. "listingselecttype": {
  42903. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42904. "type": "integer"
  42905. },
  42906. "marketid": {
  42907. "description": "市场ID",
  42908. "type": "integer"
  42909. },
  42910. "marketname": {
  42911. "description": "市场名称",
  42912. "type": "string"
  42913. },
  42914. "openfreezecharge": {
  42915. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42916. "type": "number"
  42917. },
  42918. "openqty": {
  42919. "description": "开仓数量(先建后平操作,需要记录)",
  42920. "type": "number"
  42921. },
  42922. "opentradeqty": {
  42923. "description": "开仓成交数量(先建后平操作,需要记录)",
  42924. "type": "number"
  42925. },
  42926. "openunfreezecharge": {
  42927. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42928. "type": "number"
  42929. },
  42930. "operatetype": {
  42931. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42932. "type": "integer"
  42933. },
  42934. "operatorid": {
  42935. "description": "登录账号(LoginID)",
  42936. "type": "integer"
  42937. },
  42938. "orderid": {
  42939. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42940. "type": "string"
  42941. },
  42942. "orderprice": {
  42943. "description": "委托价格",
  42944. "type": "number"
  42945. },
  42946. "orderqty": {
  42947. "description": "委托数量",
  42948. "type": "number"
  42949. },
  42950. "ordersrc": {
  42951. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42952. "type": "integer"
  42953. },
  42954. "orderstatus": {
  42955. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42956. "type": "integer"
  42957. },
  42958. "ordertime": {
  42959. "description": "委托时间",
  42960. "type": "string"
  42961. },
  42962. "preorderid": {
  42963. "description": "关联预埋单号(止盈止损单时填写)",
  42964. "type": "string"
  42965. },
  42966. "pricemode": {
  42967. "description": "取价方式 - 1:市价 2: 限价",
  42968. "type": "integer"
  42969. },
  42970. "qtydecimalplace": {
  42971. "description": "商品报价小数位",
  42972. "type": "integer"
  42973. },
  42974. "relatedid": {
  42975. "description": "关联单号(交割单)",
  42976. "type": "string"
  42977. },
  42978. "tradedate": {
  42979. "description": "交易日(yyyyMMdd)",
  42980. "type": "string"
  42981. },
  42982. "trademode": {
  42983. "description": "交易模式",
  42984. "type": "integer"
  42985. },
  42986. "tradeqty": {
  42987. "description": "成交数量",
  42988. "type": "number"
  42989. },
  42990. "unfreezecharge": {
  42991. "description": "解冻手续费",
  42992. "type": "number"
  42993. },
  42994. "unfreezemargin": {
  42995. "description": "解冻保证金",
  42996. "type": "number"
  42997. },
  42998. "validtime": {
  42999. "description": "有效期限",
  43000. "type": "string"
  43001. },
  43002. "validtype": {
  43003. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43004. "type": "integer"
  43005. },
  43006. "volumetype": {
  43007. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43008. "type": "integer"
  43009. }
  43010. }
  43011. },
  43012. "order.QueryTradePositionRsp": {
  43013. "type": "object",
  43014. "required": [
  43015. "goodsid"
  43016. ],
  43017. "properties": {
  43018. "accountid": {
  43019. "description": "资金账户",
  43020. "type": "integer"
  43021. },
  43022. "agreeunit": {
  43023. "description": "合约单位",
  43024. "type": "number"
  43025. },
  43026. "averageprice": {
  43027. "description": "持仓均价",
  43028. "type": "number"
  43029. },
  43030. "buyorsell": {
  43031. "description": "方向 - 0:买 1:卖",
  43032. "type": "integer"
  43033. },
  43034. "closetotalqty": {
  43035. "description": "平仓总数量",
  43036. "type": "number"
  43037. },
  43038. "curholderamount": {
  43039. "description": "当前持仓总金额[商品币种]",
  43040. "type": "number"
  43041. },
  43042. "curpositionqty": {
  43043. "description": "当前持仓总数量",
  43044. "type": "number"
  43045. },
  43046. "currencyid": {
  43047. "description": "报价货币ID",
  43048. "type": "integer"
  43049. },
  43050. "curtdposition": {
  43051. "description": "期末今日头寸",
  43052. "type": "number"
  43053. },
  43054. "decimalplace": {
  43055. "description": "报价小数位",
  43056. "type": "integer"
  43057. },
  43058. "enableqty": {
  43059. "description": "可用量",
  43060. "type": "number"
  43061. },
  43062. "fretdposition": {
  43063. "description": "冻结今日头寸",
  43064. "type": "number"
  43065. },
  43066. "frozenqty": {
  43067. "description": "持仓冻结数量",
  43068. "type": "number"
  43069. },
  43070. "goodscode": {
  43071. "description": "商品代码",
  43072. "type": "string"
  43073. },
  43074. "goodsid": {
  43075. "description": "商品Id",
  43076. "type": "integer"
  43077. },
  43078. "goodsname": {
  43079. "description": "商品名称",
  43080. "type": "string"
  43081. },
  43082. "goodunit": {
  43083. "description": "报价单位",
  43084. "type": "string"
  43085. },
  43086. "goodunitid": {
  43087. "description": "报价单位ID",
  43088. "type": "integer"
  43089. },
  43090. "holderamount": {
  43091. "description": "期初持仓总金额[商品币种]",
  43092. "type": "number"
  43093. },
  43094. "lastprice": {
  43095. "description": "最新价",
  43096. "type": "number"
  43097. },
  43098. "marketamount": {
  43099. "description": "市值",
  43100. "type": "number"
  43101. },
  43102. "marketid": {
  43103. "description": "所属市场ID",
  43104. "type": "integer"
  43105. },
  43106. "openreqqty": {
  43107. "description": "开仓申请数量(用于比较最大持仓数量)",
  43108. "type": "number"
  43109. },
  43110. "opentotalqty": {
  43111. "description": "开仓总数量",
  43112. "type": "number"
  43113. },
  43114. "otherfrozenqty": {
  43115. "description": "持仓其他冻结数量(交割冻结)",
  43116. "type": "number"
  43117. },
  43118. "positionpl": {
  43119. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  43120. "type": "number"
  43121. },
  43122. "positionplrate": {
  43123. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  43124. "type": "number"
  43125. },
  43126. "positionqty": {
  43127. "description": "期初持仓数量",
  43128. "type": "number"
  43129. },
  43130. "qtydecimalplace": {
  43131. "description": "成交量小数位",
  43132. "type": "integer"
  43133. },
  43134. "refgoodscode": {
  43135. "description": "参考商品代码",
  43136. "type": "string"
  43137. },
  43138. "refgoodsid": {
  43139. "description": "参考商品ID",
  43140. "type": "integer"
  43141. },
  43142. "tnqty": {
  43143. "description": "T+N冻结总量",
  43144. "type": "number"
  43145. },
  43146. "tnusedqty": {
  43147. "description": "T+N使用量(可以使用T+N的冻结数量)",
  43148. "type": "number"
  43149. },
  43150. "trademode": {
  43151. "description": "交易模式",
  43152. "type": "integer"
  43153. },
  43154. "tradeproperty": {
  43155. "description": "交易属性",
  43156. "type": "integer"
  43157. },
  43158. "usedmargin": {
  43159. "description": "占用保证金[商品币种]",
  43160. "type": "number"
  43161. }
  43162. }
  43163. },
  43164. "pb.GoodsMarginCfgStruct": {
  43165. "type": "object",
  43166. "properties": {
  43167. "CustomerTypeID": {
  43168. "description": "投资者客户类型",
  43169. "type": "integer"
  43170. },
  43171. "GoodsID": {
  43172. "description": "商品ID",
  43173. "type": "integer"
  43174. },
  43175. "IsDefault": {
  43176. "description": "是否默认标志位",
  43177. "type": "integer"
  43178. },
  43179. "LockMarginValue": {
  43180. "description": "锁仓保证金",
  43181. "type": "number"
  43182. },
  43183. "MarginAlgorithm": {
  43184. "description": "保证金计算方式",
  43185. "type": "integer"
  43186. },
  43187. "MarketMarginValue": {
  43188. "description": "即市保证金值",
  43189. "type": "number"
  43190. },
  43191. "RealMarginAlgorithm": {
  43192. "description": "实付保证金计算方式",
  43193. "type": "integer"
  43194. },
  43195. "RealMarginValue": {
  43196. "description": "实付比例",
  43197. "type": "number"
  43198. },
  43199. "ReckonMarginValue": {
  43200. "description": "结算保证金值",
  43201. "type": "number"
  43202. }
  43203. }
  43204. },
  43205. "quote.HistoryData": {
  43206. "type": "object",
  43207. "properties": {
  43208. "c": {
  43209. "description": "收盘价",
  43210. "type": "number"
  43211. },
  43212. "f": {
  43213. "description": "是否补充数据",
  43214. "type": "boolean"
  43215. },
  43216. "h": {
  43217. "description": "最高价",
  43218. "type": "number"
  43219. },
  43220. "hv": {
  43221. "description": "持仓量",
  43222. "type": "integer"
  43223. },
  43224. "l": {
  43225. "description": "最低价",
  43226. "type": "number"
  43227. },
  43228. "o": {
  43229. "description": "开盘价",
  43230. "type": "number"
  43231. },
  43232. "s": {
  43233. "description": "结算价,日线周期(包括)以上才有",
  43234. "type": "number"
  43235. },
  43236. "ts": {
  43237. "description": "时间",
  43238. "type": "string"
  43239. },
  43240. "tt": {
  43241. "description": "总金额",
  43242. "type": "number"
  43243. },
  43244. "tv": {
  43245. "description": "总量(成交量)",
  43246. "type": "integer"
  43247. }
  43248. }
  43249. },
  43250. "quote.HistoryTikData": {
  43251. "type": "object",
  43252. "properties": {
  43253. "AV": {
  43254. "description": "卖量",
  43255. "type": "integer"
  43256. },
  43257. "Ask": {
  43258. "description": "卖价",
  43259. "type": "number"
  43260. },
  43261. "BV": {
  43262. "description": "买量",
  43263. "type": "integer"
  43264. },
  43265. "Bid": {
  43266. "description": "买价",
  43267. "type": "number"
  43268. },
  43269. "HI": {
  43270. "description": "单笔持仓",
  43271. "type": "integer"
  43272. },
  43273. "HV": {
  43274. "description": "持仓量",
  43275. "type": "integer"
  43276. },
  43277. "PE": {
  43278. "description": "现价",
  43279. "type": "number"
  43280. },
  43281. "TDR": {
  43282. "description": "交易方向,0:买 1:卖",
  43283. "type": "integer"
  43284. },
  43285. "TK": {
  43286. "description": "交易类型",
  43287. "type": "integer"
  43288. },
  43289. "TS": {
  43290. "description": "行情时间文本",
  43291. "type": "string"
  43292. },
  43293. "TT": {
  43294. "description": "现金额",
  43295. "type": "number"
  43296. },
  43297. "Vol": {
  43298. "description": "现量",
  43299. "type": "integer"
  43300. }
  43301. }
  43302. },
  43303. "quote.QueryQuoteDayRsp": {
  43304. "type": "object",
  43305. "properties": {
  43306. "ask": {
  43307. "description": "卖1",
  43308. "type": "number"
  43309. },
  43310. "ask10": {
  43311. "description": "卖10",
  43312. "type": "number"
  43313. },
  43314. "ask2": {
  43315. "description": "卖2",
  43316. "type": "number"
  43317. },
  43318. "ask3": {
  43319. "description": "卖3",
  43320. "type": "number"
  43321. },
  43322. "ask4": {
  43323. "description": "卖4",
  43324. "type": "number"
  43325. },
  43326. "ask5": {
  43327. "description": "卖5",
  43328. "type": "number"
  43329. },
  43330. "ask6": {
  43331. "description": "卖6",
  43332. "type": "number"
  43333. },
  43334. "ask7": {
  43335. "description": "卖7",
  43336. "type": "number"
  43337. },
  43338. "ask8": {
  43339. "description": "卖8",
  43340. "type": "number"
  43341. },
  43342. "ask9": {
  43343. "description": "卖9",
  43344. "type": "number"
  43345. },
  43346. "askorderid": {
  43347. "description": "卖单号1",
  43348. "type": "integer"
  43349. },
  43350. "askorderid2": {
  43351. "description": "卖单号2",
  43352. "type": "integer"
  43353. },
  43354. "askorderid3": {
  43355. "description": "卖单号3",
  43356. "type": "integer"
  43357. },
  43358. "askorderid4": {
  43359. "description": "卖单号4",
  43360. "type": "integer"
  43361. },
  43362. "askorderid5": {
  43363. "description": "卖单号5",
  43364. "type": "integer"
  43365. },
  43366. "askordervolume": {
  43367. "description": "卖单量1",
  43368. "type": "integer"
  43369. },
  43370. "askordervolume10": {
  43371. "description": "卖单量10",
  43372. "type": "integer"
  43373. },
  43374. "askordervolume2": {
  43375. "description": "卖单量2",
  43376. "type": "integer"
  43377. },
  43378. "askordervolume3": {
  43379. "description": "卖单量3",
  43380. "type": "integer"
  43381. },
  43382. "askordervolume4": {
  43383. "description": "卖单量4",
  43384. "type": "integer"
  43385. },
  43386. "askordervolume5": {
  43387. "description": "卖单量5",
  43388. "type": "integer"
  43389. },
  43390. "askordervolume6": {
  43391. "description": "卖单量6",
  43392. "type": "integer"
  43393. },
  43394. "askordervolume7": {
  43395. "description": "卖单量7",
  43396. "type": "integer"
  43397. },
  43398. "askordervolume8": {
  43399. "description": "卖单量8",
  43400. "type": "integer"
  43401. },
  43402. "askordervolume9": {
  43403. "description": "卖单量9",
  43404. "type": "integer"
  43405. },
  43406. "askqueueinfo": {
  43407. "description": "大利市卖港股用",
  43408. "type": "string"
  43409. },
  43410. "askvolume": {
  43411. "description": "卖量1",
  43412. "type": "integer"
  43413. },
  43414. "askvolume10": {
  43415. "description": "卖量10",
  43416. "type": "integer"
  43417. },
  43418. "askvolume2": {
  43419. "description": "卖量2",
  43420. "type": "integer"
  43421. },
  43422. "askvolume3": {
  43423. "description": "卖量3",
  43424. "type": "integer"
  43425. },
  43426. "askvolume4": {
  43427. "description": "卖量4",
  43428. "type": "integer"
  43429. },
  43430. "askvolume5": {
  43431. "description": "卖量5",
  43432. "type": "integer"
  43433. },
  43434. "askvolume6": {
  43435. "description": "卖量6",
  43436. "type": "integer"
  43437. },
  43438. "askvolume7": {
  43439. "description": "卖量7",
  43440. "type": "integer"
  43441. },
  43442. "askvolume8": {
  43443. "description": "卖量8",
  43444. "type": "integer"
  43445. },
  43446. "askvolume9": {
  43447. "description": "卖量9",
  43448. "type": "integer"
  43449. },
  43450. "averageprice": {
  43451. "description": "均价",
  43452. "type": "number"
  43453. },
  43454. "bid": {
  43455. "description": "买1",
  43456. "type": "number"
  43457. },
  43458. "bid10": {
  43459. "description": "买10",
  43460. "type": "number"
  43461. },
  43462. "bid2": {
  43463. "description": "买2",
  43464. "type": "number"
  43465. },
  43466. "bid3": {
  43467. "description": "买3",
  43468. "type": "number"
  43469. },
  43470. "bid4": {
  43471. "description": "买4",
  43472. "type": "number"
  43473. },
  43474. "bid5": {
  43475. "description": "买5",
  43476. "type": "number"
  43477. },
  43478. "bid6": {
  43479. "description": "买6",
  43480. "type": "number"
  43481. },
  43482. "bid7": {
  43483. "description": "买7",
  43484. "type": "number"
  43485. },
  43486. "bid8": {
  43487. "description": "买8",
  43488. "type": "number"
  43489. },
  43490. "bid9": {
  43491. "description": "买9",
  43492. "type": "number"
  43493. },
  43494. "bidorderid": {
  43495. "description": "买单号1",
  43496. "type": "integer"
  43497. },
  43498. "bidorderid2": {
  43499. "description": "买单号2",
  43500. "type": "integer"
  43501. },
  43502. "bidorderid3": {
  43503. "description": "买单号3",
  43504. "type": "integer"
  43505. },
  43506. "bidorderid4": {
  43507. "description": "买单号4",
  43508. "type": "integer"
  43509. },
  43510. "bidorderid5": {
  43511. "description": "买单号5",
  43512. "type": "integer"
  43513. },
  43514. "bidordervolume": {
  43515. "description": "买单量1",
  43516. "type": "integer"
  43517. },
  43518. "bidordervolume10": {
  43519. "description": "买单量10",
  43520. "type": "integer"
  43521. },
  43522. "bidordervolume2": {
  43523. "description": "买单量2",
  43524. "type": "integer"
  43525. },
  43526. "bidordervolume3": {
  43527. "description": "买单量3",
  43528. "type": "integer"
  43529. },
  43530. "bidordervolume4": {
  43531. "description": "买单量4",
  43532. "type": "integer"
  43533. },
  43534. "bidordervolume5": {
  43535. "description": "买单量5",
  43536. "type": "integer"
  43537. },
  43538. "bidordervolume6": {
  43539. "description": "买单量6",
  43540. "type": "integer"
  43541. },
  43542. "bidordervolume7": {
  43543. "description": "买单量7",
  43544. "type": "integer"
  43545. },
  43546. "bidordervolume8": {
  43547. "description": "买单量8",
  43548. "type": "integer"
  43549. },
  43550. "bidordervolume9": {
  43551. "description": "买单量9",
  43552. "type": "integer"
  43553. },
  43554. "bidqueueinfo": {
  43555. "description": "大利市买港股用",
  43556. "type": "string"
  43557. },
  43558. "bidvolume": {
  43559. "description": "买量1",
  43560. "type": "integer"
  43561. },
  43562. "bidvolume10": {
  43563. "description": "买量10",
  43564. "type": "integer"
  43565. },
  43566. "bidvolume2": {
  43567. "description": "买量2",
  43568. "type": "integer"
  43569. },
  43570. "bidvolume3": {
  43571. "description": "买量3",
  43572. "type": "integer"
  43573. },
  43574. "bidvolume4": {
  43575. "description": "买量4",
  43576. "type": "integer"
  43577. },
  43578. "bidvolume5": {
  43579. "description": "买量5",
  43580. "type": "integer"
  43581. },
  43582. "bidvolume6": {
  43583. "description": "买量6",
  43584. "type": "integer"
  43585. },
  43586. "bidvolume7": {
  43587. "description": "买量7",
  43588. "type": "integer"
  43589. },
  43590. "bidvolume8": {
  43591. "description": "买量8",
  43592. "type": "integer"
  43593. },
  43594. "bidvolume9": {
  43595. "description": "买量9",
  43596. "type": "integer"
  43597. },
  43598. "calloptionpremiums": {
  43599. "description": "认购期权1",
  43600. "type": "integer"
  43601. },
  43602. "calloptionpremiums2": {
  43603. "description": "认购期权2",
  43604. "type": "integer"
  43605. },
  43606. "calloptionpremiums3": {
  43607. "description": "认购期权3",
  43608. "type": "integer"
  43609. },
  43610. "calloptionpremiums4": {
  43611. "description": "认购期权4",
  43612. "type": "integer"
  43613. },
  43614. "calloptionpremiums5": {
  43615. "description": "认购期权5",
  43616. "type": "integer"
  43617. },
  43618. "cleartime": {
  43619. "description": "清盘时间",
  43620. "type": "integer"
  43621. },
  43622. "exchangecode": {
  43623. "description": "交易所代码",
  43624. "type": "integer"
  43625. },
  43626. "exchangedate": {
  43627. "description": "交易日",
  43628. "type": "integer"
  43629. },
  43630. "goodscode": {
  43631. "description": "商品代码",
  43632. "type": "string"
  43633. },
  43634. "grepmarketprice": {
  43635. "description": "暗盘价 港股专用",
  43636. "type": "number"
  43637. },
  43638. "highest": {
  43639. "description": "最高价",
  43640. "type": "number"
  43641. },
  43642. "holdincrement": {
  43643. "description": "单笔持仓",
  43644. "type": "integer"
  43645. },
  43646. "holdvolume": {
  43647. "description": "持仓",
  43648. "type": "integer"
  43649. },
  43650. "iep": {
  43651. "description": "平衡价 港股专用",
  43652. "type": "number"
  43653. },
  43654. "iev": {
  43655. "description": "平衡量 港股专用",
  43656. "type": "number"
  43657. },
  43658. "inventory": {
  43659. "description": "库存",
  43660. "type": "integer"
  43661. },
  43662. "iscleared": {
  43663. "description": "是否清盘标志",
  43664. "type": "integer"
  43665. },
  43666. "issettled": {
  43667. "description": "是否结算标志",
  43668. "type": "integer"
  43669. },
  43670. "last": {
  43671. "description": "最新价",
  43672. "type": "number"
  43673. },
  43674. "lastlot": {
  43675. "description": "最新成交手数",
  43676. "type": "integer"
  43677. },
  43678. "lasttime": {
  43679. "description": "行情时间(只有现价变化行情时间才变化)",
  43680. "type": "string"
  43681. },
  43682. "lastturnover": {
  43683. "description": "最新成交金额",
  43684. "type": "number"
  43685. },
  43686. "lastvolume": {
  43687. "description": "最新成交量",
  43688. "type": "integer"
  43689. },
  43690. "limitdown": {
  43691. "description": "跌停价",
  43692. "type": "number"
  43693. },
  43694. "limitup": {
  43695. "description": "涨停价",
  43696. "type": "number"
  43697. },
  43698. "lowest": {
  43699. "description": "最低价",
  43700. "type": "number"
  43701. },
  43702. "nontotalholdervolume": {
  43703. "description": "非交易持仓量",
  43704. "type": "integer"
  43705. },
  43706. "nontotallot": {
  43707. "description": "非交易总手数",
  43708. "type": "integer"
  43709. },
  43710. "nontotalturnover": {
  43711. "description": "非交易总金额",
  43712. "type": "integer"
  43713. },
  43714. "nontotalvolume": {
  43715. "description": "非交易总量",
  43716. "type": "integer"
  43717. },
  43718. "opened": {
  43719. "description": "开盘价",
  43720. "type": "number"
  43721. },
  43722. "opentime": {
  43723. "description": "开盘时间",
  43724. "type": "string"
  43725. },
  43726. "orderid": {
  43727. "description": "序号",
  43728. "type": "integer"
  43729. },
  43730. "preclose": {
  43731. "description": "昨收",
  43732. "type": "number"
  43733. },
  43734. "preholdvolume": {
  43735. "description": "昨持仓",
  43736. "type": "integer"
  43737. },
  43738. "presettle": {
  43739. "description": "昨结价",
  43740. "type": "number"
  43741. },
  43742. "publictradetype": {
  43743. "description": "公共交易标志类型 港股专用",
  43744. "type": "string"
  43745. },
  43746. "putoptionpremiums": {
  43747. "description": "认沽期权1",
  43748. "type": "integer"
  43749. },
  43750. "putoptionpremiums2": {
  43751. "description": "认沽期权2",
  43752. "type": "integer"
  43753. },
  43754. "putoptionpremiums3": {
  43755. "description": "认沽期权3",
  43756. "type": "integer"
  43757. },
  43758. "putoptionpremiums4": {
  43759. "description": "认沽期权4",
  43760. "type": "integer"
  43761. },
  43762. "putoptionpremiums5": {
  43763. "description": "认沽期权5",
  43764. "type": "integer"
  43765. },
  43766. "settle": {
  43767. "description": "结算价",
  43768. "type": "number"
  43769. },
  43770. "strikeprice": {
  43771. "description": "发行价",
  43772. "type": "number"
  43773. },
  43774. "totalaskvolume": {
  43775. "description": "内盘",
  43776. "type": "integer"
  43777. },
  43778. "totalbidvolume": {
  43779. "description": "外盘",
  43780. "type": "integer"
  43781. },
  43782. "totallot": {
  43783. "description": "总手数",
  43784. "type": "integer"
  43785. },
  43786. "totalturnover": {
  43787. "description": "总金额",
  43788. "type": "number"
  43789. },
  43790. "totalvolume": {
  43791. "description": "总量",
  43792. "type": "integer"
  43793. },
  43794. "utclasttime": {
  43795. "description": "utc的行情时间",
  43796. "type": "string"
  43797. }
  43798. }
  43799. },
  43800. "quote.QueryTSDataRsp": {
  43801. "type": "object",
  43802. "properties": {
  43803. "Count": {
  43804. "description": "交易日应有数据个数",
  43805. "type": "integer"
  43806. },
  43807. "decimalPlace": {
  43808. "description": "小数位",
  43809. "type": "integer"
  43810. },
  43811. "endTime": {
  43812. "description": "结束时间",
  43813. "type": "string"
  43814. },
  43815. "goodsCode": {
  43816. "description": "商品代码",
  43817. "type": "string"
  43818. },
  43819. "historyDatas": {
  43820. "description": "历史数据",
  43821. "type": "array",
  43822. "items": {
  43823. "$ref": "#/definitions/quote.HistoryData"
  43824. }
  43825. },
  43826. "outGoodsCode": {
  43827. "description": "外部商品代码",
  43828. "type": "string"
  43829. },
  43830. "preSettle": {
  43831. "description": "昨结价",
  43832. "type": "number"
  43833. },
  43834. "runSteps": {
  43835. "description": "交易日开休市计划",
  43836. "type": "array",
  43837. "items": {
  43838. "$ref": "#/definitions/quote.TSDataRunStep"
  43839. }
  43840. },
  43841. "startTime": {
  43842. "description": "开始时间",
  43843. "type": "string"
  43844. },
  43845. "tradeDate": {
  43846. "description": "交易日",
  43847. "type": "string"
  43848. }
  43849. }
  43850. },
  43851. "quote.TSDataRunStep": {
  43852. "type": "object",
  43853. "properties": {
  43854. "end": {
  43855. "description": "真实结束时间",
  43856. "type": "string"
  43857. },
  43858. "endflag": {
  43859. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  43860. "type": "integer"
  43861. },
  43862. "endtime": {
  43863. "description": "结束时间(HH:mm)",
  43864. "type": "string"
  43865. },
  43866. "endweekday": {
  43867. "description": "结束周几",
  43868. "type": "integer"
  43869. },
  43870. "groupid": {
  43871. "description": "分组ID",
  43872. "type": "integer"
  43873. },
  43874. "runstep": {
  43875. "description": "运行阶段 - 2:连续交易",
  43876. "type": "integer"
  43877. },
  43878. "sectionid": {
  43879. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  43880. "type": "integer"
  43881. },
  43882. "start": {
  43883. "description": "真实开始时间",
  43884. "type": "string"
  43885. },
  43886. "startflag": {
  43887. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  43888. "type": "integer"
  43889. },
  43890. "starttime": {
  43891. "description": "起始时间(HH:mm)",
  43892. "type": "string"
  43893. },
  43894. "startweekday": {
  43895. "description": "起始周几",
  43896. "type": "integer"
  43897. },
  43898. "tradeweekday": {
  43899. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  43900. "type": "integer"
  43901. }
  43902. }
  43903. },
  43904. "szdz.QueryConvertLogRsp": {
  43905. "type": "object",
  43906. "required": [
  43907. "logid"
  43908. ],
  43909. "properties": {
  43910. "accountid": {
  43911. "description": "资金账户ID",
  43912. "type": "integer"
  43913. },
  43914. "clientticket": {
  43915. "description": "客户端流水号",
  43916. "type": "string"
  43917. },
  43918. "converttype": {
  43919. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  43920. "type": "integer"
  43921. },
  43922. "createtime": {
  43923. "description": "记账时间",
  43924. "type": "string"
  43925. },
  43926. "daymaxvalue": {
  43927. "description": "配置当日最大转入限制",
  43928. "type": "number"
  43929. },
  43930. "daymaxvalue2": {
  43931. "description": "配置当日最大转入限制(转入)",
  43932. "type": "number"
  43933. },
  43934. "goodscode": {
  43935. "description": "商品代码",
  43936. "type": "string"
  43937. },
  43938. "goodsname": {
  43939. "description": "商品名称",
  43940. "type": "string"
  43941. },
  43942. "handlestatus": {
  43943. "description": "处理状态",
  43944. "type": "integer"
  43945. },
  43946. "innergoodsid": {
  43947. "description": "内部商品ID",
  43948. "type": "integer"
  43949. },
  43950. "inratio": {
  43951. "description": "配置转入比值",
  43952. "type": "integer"
  43953. },
  43954. "invalue": {
  43955. "description": "目标值",
  43956. "type": "number"
  43957. },
  43958. "logid": {
  43959. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43960. "type": "integer"
  43961. },
  43962. "mobile": {
  43963. "description": "手机号码(加密存储)",
  43964. "type": "string"
  43965. },
  43966. "outergoodscode": {
  43967. "description": "外部商品代码[JD\\PD]",
  43968. "type": "string"
  43969. },
  43970. "outratio": {
  43971. "description": "配置转出比值",
  43972. "type": "integer"
  43973. },
  43974. "outvalue": {
  43975. "description": "源值",
  43976. "type": "number"
  43977. },
  43978. "pddecimalplace": {
  43979. "description": "PD小数位",
  43980. "type": "integer"
  43981. },
  43982. "qty": {
  43983. "description": "数量",
  43984. "type": "string"
  43985. },
  43986. "remark": {
  43987. "description": "备注",
  43988. "type": "string"
  43989. },
  43990. "sessionid": {
  43991. "description": "会话ID",
  43992. "type": "integer"
  43993. },
  43994. "timemaxvalue": {
  43995. "description": "配置单次最大转入限制",
  43996. "type": "number"
  43997. },
  43998. "timemaxvalue2": {
  43999. "description": "配置单次最大转入限制(转入)",
  44000. "type": "number"
  44001. },
  44002. "timeminvalue": {
  44003. "description": "配置单次最小数量限制",
  44004. "type": "number"
  44005. },
  44006. "timeminvalue2": {
  44007. "description": "配置单次最小数量限制(转入)",
  44008. "type": "number"
  44009. },
  44010. "tradedate": {
  44011. "description": "交易日(yyyyMMdd)",
  44012. "type": "string"
  44013. },
  44014. "userid": {
  44015. "description": "用户ID",
  44016. "type": "integer"
  44017. }
  44018. }
  44019. },
  44020. "szdz.QueryGoodsPickupRsp": {
  44021. "type": "object",
  44022. "required": [
  44023. "takeorderid"
  44024. ],
  44025. "properties": {
  44026. "accountid": {
  44027. "description": "账户ID",
  44028. "type": "integer"
  44029. },
  44030. "address": {
  44031. "description": "提货人详细地址",
  44032. "type": "string"
  44033. },
  44034. "auditer": {
  44035. "description": "审核人",
  44036. "type": "integer"
  44037. },
  44038. "audittime": {
  44039. "description": "审核时间",
  44040. "type": "string"
  44041. },
  44042. "cardnum": {
  44043. "description": "提货人证件号码",
  44044. "type": "string"
  44045. },
  44046. "cardtypeid": {
  44047. "description": "提货人证件类型",
  44048. "type": "integer"
  44049. },
  44050. "checkremark": {
  44051. "description": "审核备注",
  44052. "type": "string"
  44053. },
  44054. "goodscode": {
  44055. "description": "商品代码",
  44056. "type": "string"
  44057. },
  44058. "goodsid": {
  44059. "description": "商品ID",
  44060. "type": "integer"
  44061. },
  44062. "goodsname": {
  44063. "description": "商品名称",
  44064. "type": "string"
  44065. },
  44066. "handlestatus": {
  44067. "description": "处理状态",
  44068. "type": "integer"
  44069. },
  44070. "marketid": {
  44071. "description": "市场ID",
  44072. "type": "integer"
  44073. },
  44074. "phonenum": {
  44075. "description": "提货人联系方式",
  44076. "type": "string"
  44077. },
  44078. "qty": {
  44079. "description": "提货数量",
  44080. "type": "number"
  44081. },
  44082. "recivername": {
  44083. "description": "提货人姓名",
  44084. "type": "string"
  44085. },
  44086. "reqtime": {
  44087. "description": "更新时间",
  44088. "type": "string"
  44089. },
  44090. "takemode": {
  44091. "description": "提货方式 - 2:自提 3:配送",
  44092. "type": "integer"
  44093. },
  44094. "takeorderid": {
  44095. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  44096. "type": "string"
  44097. },
  44098. "takeorderstatus": {
  44099. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  44100. "type": "integer"
  44101. },
  44102. "takeremark": {
  44103. "description": "提货备注",
  44104. "type": "string"
  44105. },
  44106. "tradedate": {
  44107. "description": "交易日(yyyyMMdd)",
  44108. "type": "string"
  44109. },
  44110. "userid": {
  44111. "description": "用户ID",
  44112. "type": "integer"
  44113. }
  44114. }
  44115. },
  44116. "szdz.QueryRecieptOrderRsp": {
  44117. "type": "object",
  44118. "required": [
  44119. "ordertime"
  44120. ],
  44121. "properties": {
  44122. "accountName": {
  44123. "description": "所属账号名称(已脱敏)",
  44124. "type": "string"
  44125. },
  44126. "accountid": {
  44127. "description": "资金账号",
  44128. "type": "integer"
  44129. },
  44130. "buyorsell": {
  44131. "description": "方向 - 0:买 1:卖",
  44132. "type": "integer"
  44133. },
  44134. "enableqty": {
  44135. "description": "可摘数量",
  44136. "type": "integer"
  44137. },
  44138. "goodscode": {
  44139. "description": "商品代码",
  44140. "type": "string"
  44141. },
  44142. "goodsid": {
  44143. "description": "商品ID",
  44144. "type": "integer"
  44145. },
  44146. "goodsname": {
  44147. "description": "商品名称",
  44148. "type": "string"
  44149. },
  44150. "orderid": {
  44151. "description": "委托单号",
  44152. "type": "string"
  44153. },
  44154. "orderprice": {
  44155. "description": "委托价格",
  44156. "type": "number"
  44157. },
  44158. "ordertime": {
  44159. "description": "委托时间",
  44160. "type": "string"
  44161. },
  44162. "tradedate": {
  44163. "description": "交易日(yyyyMMdd)",
  44164. "type": "string"
  44165. }
  44166. }
  44167. },
  44168. "szdz.QuerySZDZTradePositionRsp": {
  44169. "type": "object",
  44170. "properties": {
  44171. "accountid": {
  44172. "description": "账号Id",
  44173. "type": "integer"
  44174. },
  44175. "agreeunit": {
  44176. "description": "合约单位",
  44177. "type": "number"
  44178. },
  44179. "averageprice": {
  44180. "description": "持仓均价",
  44181. "type": "number"
  44182. },
  44183. "buyorsell": {
  44184. "description": "方向 - 0:买 1:卖",
  44185. "type": "integer"
  44186. },
  44187. "closetotalqty": {
  44188. "description": "平仓总数量",
  44189. "type": "integer"
  44190. },
  44191. "curholderamount": {
  44192. "description": "当前持仓总金额",
  44193. "type": "number"
  44194. },
  44195. "curpositionqty": {
  44196. "description": "当前持仓总数量",
  44197. "type": "integer"
  44198. },
  44199. "currencyid": {
  44200. "description": "报价货币ID",
  44201. "type": "integer"
  44202. },
  44203. "curtdposition": {
  44204. "description": "期末今日头寸",
  44205. "type": "integer"
  44206. },
  44207. "decimalplace": {
  44208. "description": "报价小数位",
  44209. "type": "integer"
  44210. },
  44211. "enableqty": {
  44212. "description": "可用量",
  44213. "type": "integer"
  44214. },
  44215. "fretdposition": {
  44216. "description": "冻结今日头寸",
  44217. "type": "integer"
  44218. },
  44219. "frozenqty": {
  44220. "description": "持仓冻结数量",
  44221. "type": "integer"
  44222. },
  44223. "goodscode": {
  44224. "description": "商品代码(内部)",
  44225. "type": "string"
  44226. },
  44227. "goodsid": {
  44228. "description": "商品Id",
  44229. "type": "integer"
  44230. },
  44231. "goodsname": {
  44232. "description": "商品名称",
  44233. "type": "string"
  44234. },
  44235. "goodunit": {
  44236. "description": "报价单位",
  44237. "type": "string"
  44238. },
  44239. "goodunitid": {
  44240. "description": "报价单位ID",
  44241. "type": "integer"
  44242. },
  44243. "holderamount": {
  44244. "description": "期初持仓总金额",
  44245. "type": "number"
  44246. },
  44247. "marketid": {
  44248. "description": "市场ID",
  44249. "type": "integer"
  44250. },
  44251. "openreqqty": {
  44252. "description": "开仓申请数量",
  44253. "type": "integer"
  44254. },
  44255. "opentotalqty": {
  44256. "description": "开仓总数量",
  44257. "type": "integer"
  44258. },
  44259. "otherfrozenqty": {
  44260. "description": "持仓其他冻结数量(交割冻结)",
  44261. "type": "integer"
  44262. },
  44263. "positionqty": {
  44264. "description": "期初持仓数量",
  44265. "type": "integer"
  44266. },
  44267. "szdz3freezqty": {
  44268. "description": "尚志大宗转换冻结总数量",
  44269. "type": "integer"
  44270. },
  44271. "tnqty": {
  44272. "description": "T+N冻结总量",
  44273. "type": "integer"
  44274. },
  44275. "tnusedqty": {
  44276. "description": "T+N使用量",
  44277. "type": "integer"
  44278. },
  44279. "trademode": {
  44280. "description": "交易模式",
  44281. "type": "integer"
  44282. },
  44283. "usedmargin": {
  44284. "description": "占用保证金",
  44285. "type": "number"
  44286. }
  44287. }
  44288. },
  44289. "taaccount.QueryAmountLogRsp": {
  44290. "type": "object",
  44291. "required": [
  44292. "accountid",
  44293. "amount",
  44294. "amountadjusttype",
  44295. "autoid",
  44296. "balance",
  44297. "createtime",
  44298. "currentbalance",
  44299. "operatetype"
  44300. ],
  44301. "properties": {
  44302. "OPERATETYPENAME": {
  44303. "description": "资金操作类型名称",
  44304. "type": "string"
  44305. },
  44306. "accountid": {
  44307. "description": "资金账户ID",
  44308. "type": "integer"
  44309. },
  44310. "agoodscode": {
  44311. "description": "竞拍商品代码",
  44312. "type": "string"
  44313. },
  44314. "agoodsname": {
  44315. "description": "竞拍商品名称",
  44316. "type": "string"
  44317. },
  44318. "amount": {
  44319. "description": "资金金额",
  44320. "type": "number"
  44321. },
  44322. "amountadjusttype": {
  44323. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44324. "type": "integer"
  44325. },
  44326. "autoid": {
  44327. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44328. "type": "integer"
  44329. },
  44330. "balance": {
  44331. "description": "期初余额",
  44332. "type": "number"
  44333. },
  44334. "businesscode": {
  44335. "description": "业务编号",
  44336. "type": "integer"
  44337. },
  44338. "createtime": {
  44339. "description": "发生时间",
  44340. "type": "string"
  44341. },
  44342. "currencyid": {
  44343. "description": "币种ID",
  44344. "type": "integer"
  44345. },
  44346. "currentbalance": {
  44347. "description": "期末余额(变动后金额)",
  44348. "type": "number"
  44349. },
  44350. "dgoodscode": {
  44351. "description": "交割商品代码",
  44352. "type": "string"
  44353. },
  44354. "dgoodsname": {
  44355. "description": "交割商品名称",
  44356. "type": "string"
  44357. },
  44358. "goodscode": {
  44359. "description": "商品代码",
  44360. "type": "string"
  44361. },
  44362. "goodsid": {
  44363. "description": "商品ID",
  44364. "type": "integer"
  44365. },
  44366. "goodsname": {
  44367. "description": "商品名称",
  44368. "type": "string"
  44369. },
  44370. "marketid": {
  44371. "description": "市场ID",
  44372. "type": "integer"
  44373. },
  44374. "marketname": {
  44375. "description": "市场名称",
  44376. "type": "string"
  44377. },
  44378. "moneyticket": {
  44379. "description": "资金流水号:银行端流水号",
  44380. "type": "integer"
  44381. },
  44382. "operatetype": {
  44383. "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:营销收款",
  44384. "type": "integer"
  44385. },
  44386. "relationorderid": {
  44387. "description": "关联单号",
  44388. "type": "string"
  44389. },
  44390. "remark": {
  44391. "description": "备注",
  44392. "type": "string"
  44393. },
  44394. "trademode": {
  44395. "description": "交易模式",
  44396. "type": "integer"
  44397. }
  44398. }
  44399. },
  44400. "taaccount.QueryHisAmountLogRsp": {
  44401. "type": "object",
  44402. "required": [
  44403. "accountid",
  44404. "amount",
  44405. "amountadjusttype",
  44406. "autoid",
  44407. "balance",
  44408. "createtime",
  44409. "currentbalance",
  44410. "histradedate",
  44411. "operatetype"
  44412. ],
  44413. "properties": {
  44414. "OPERATETYPENAME": {
  44415. "description": "资金操作类型名称",
  44416. "type": "string"
  44417. },
  44418. "accountid": {
  44419. "description": "资金账户ID",
  44420. "type": "integer"
  44421. },
  44422. "agoodscode": {
  44423. "description": "竞拍商品代码",
  44424. "type": "string"
  44425. },
  44426. "agoodsname": {
  44427. "description": "竞拍商品名称",
  44428. "type": "string"
  44429. },
  44430. "amount": {
  44431. "description": "资金金额",
  44432. "type": "number"
  44433. },
  44434. "amountadjusttype": {
  44435. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44436. "type": "integer"
  44437. },
  44438. "autoid": {
  44439. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44440. "type": "integer"
  44441. },
  44442. "balance": {
  44443. "description": "期初余额",
  44444. "type": "number"
  44445. },
  44446. "businesscode": {
  44447. "description": "业务编号",
  44448. "type": "integer"
  44449. },
  44450. "createtime": {
  44451. "description": "发生时间",
  44452. "type": "string"
  44453. },
  44454. "currencyid": {
  44455. "description": "币种ID",
  44456. "type": "integer"
  44457. },
  44458. "currentbalance": {
  44459. "description": "期末余额(变动后金额)",
  44460. "type": "number"
  44461. },
  44462. "dgoodscode": {
  44463. "description": "交割商品代码",
  44464. "type": "string"
  44465. },
  44466. "dgoodsname": {
  44467. "description": "交割商品名称",
  44468. "type": "string"
  44469. },
  44470. "goodscode": {
  44471. "description": "商品代码",
  44472. "type": "string"
  44473. },
  44474. "goodsid": {
  44475. "description": "商品ID",
  44476. "type": "integer"
  44477. },
  44478. "goodsname": {
  44479. "description": "商品名称",
  44480. "type": "string"
  44481. },
  44482. "histradedate": {
  44483. "description": "历史交易日",
  44484. "type": "string"
  44485. },
  44486. "isvaliddata": {
  44487. "description": "是否有效 - 0:无效 1:有效",
  44488. "type": "integer"
  44489. },
  44490. "marketid": {
  44491. "description": "市场ID",
  44492. "type": "integer"
  44493. },
  44494. "marketname": {
  44495. "description": "市场名称",
  44496. "type": "string"
  44497. },
  44498. "moneyticket": {
  44499. "description": "资金流水号:银行端流水号",
  44500. "type": "integer"
  44501. },
  44502. "operatetype": {
  44503. "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:营销收款",
  44504. "type": "integer"
  44505. },
  44506. "relationorderid": {
  44507. "description": "关联单号",
  44508. "type": "string"
  44509. },
  44510. "remark": {
  44511. "description": "备注",
  44512. "type": "string"
  44513. },
  44514. "trademode": {
  44515. "description": "交易模式",
  44516. "type": "integer"
  44517. }
  44518. }
  44519. },
  44520. "trade.QueryRecieptOrderRsp": {
  44521. "type": "object",
  44522. "required": [
  44523. "ordertime"
  44524. ],
  44525. "properties": {
  44526. "accountName": {
  44527. "description": "所属账号名称(已脱敏)",
  44528. "type": "string"
  44529. },
  44530. "accountid": {
  44531. "description": "资金账号",
  44532. "type": "integer"
  44533. },
  44534. "buyorsell": {
  44535. "description": "方向 - 0:买 1:卖",
  44536. "type": "integer"
  44537. },
  44538. "enableqty": {
  44539. "description": "可摘数量",
  44540. "type": "integer"
  44541. },
  44542. "goodscode": {
  44543. "description": "商品代码",
  44544. "type": "string"
  44545. },
  44546. "goodsid": {
  44547. "description": "商品ID",
  44548. "type": "integer"
  44549. },
  44550. "goodsname": {
  44551. "description": "商品名称",
  44552. "type": "string"
  44553. },
  44554. "orderid": {
  44555. "description": "委托单号",
  44556. "type": "string"
  44557. },
  44558. "orderprice": {
  44559. "description": "委托价格",
  44560. "type": "number"
  44561. },
  44562. "ordertime": {
  44563. "description": "委托时间",
  44564. "type": "string"
  44565. },
  44566. "tradedate": {
  44567. "description": "交易日(yyyyMMdd)",
  44568. "type": "string"
  44569. }
  44570. }
  44571. },
  44572. "user.LoginQueryRsp": {
  44573. "type": "object",
  44574. "properties": {
  44575. "areaRoles": {
  44576. "description": "所属角色信息",
  44577. "type": "array",
  44578. "items": {
  44579. "$ref": "#/definitions/models.Arearole"
  44580. }
  44581. },
  44582. "externalExchanges": {
  44583. "description": "外部交易所",
  44584. "type": "array",
  44585. "items": {
  44586. "$ref": "#/definitions/models.Externalexchange"
  44587. }
  44588. },
  44589. "goodsgroups": {
  44590. "description": "商品组",
  44591. "type": "array",
  44592. "items": {
  44593. "$ref": "#/definitions/models.Goodsgroup"
  44594. }
  44595. },
  44596. "loginAccount": {
  44597. "description": "登录账号",
  44598. "$ref": "#/definitions/models.Loginaccount"
  44599. },
  44600. "markets": {
  44601. "description": "市场",
  44602. "type": "array",
  44603. "items": {
  44604. "$ref": "#/definitions/models.Market"
  44605. }
  44606. },
  44607. "systemParams": {
  44608. "description": "系统参数",
  44609. "type": "array",
  44610. "items": {
  44611. "$ref": "#/definitions/models.Systemparam"
  44612. }
  44613. },
  44614. "userAccount": {
  44615. "description": "用户账号",
  44616. "$ref": "#/definitions/models.Useraccount"
  44617. },
  44618. "userInfo": {
  44619. "description": "用户信息",
  44620. "$ref": "#/definitions/models.Userinfo"
  44621. },
  44622. "username": {
  44623. "description": "用户姓名",
  44624. "type": "string"
  44625. }
  44626. }
  44627. }
  44628. },
  44629. "securityDefinitions": {
  44630. "ApiKeyAuth": {
  44631. "type": "apiKey",
  44632. "name": "Authorization",
  44633. "in": "header"
  44634. }
  44635. }
  44636. }`
  44637. type swaggerInfo struct {
  44638. Version string
  44639. Host string
  44640. BasePath string
  44641. Schemes []string
  44642. Title string
  44643. Description string
  44644. }
  44645. // SwaggerInfo holds exported Swagger Info so clients can modify it
  44646. var SwaggerInfo = swaggerInfo{
  44647. Version: "1.0",
  44648. Host: "",
  44649. BasePath: "/api",
  44650. Schemes: []string{},
  44651. Title: "MTP2.0 查询服务 API",
  44652. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  44653. }
  44654. type s struct{}
  44655. func (s *s) ReadDoc() string {
  44656. sInfo := SwaggerInfo
  44657. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  44658. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  44659. "marshal": func(v interface{}) string {
  44660. a, _ := json.Marshal(v)
  44661. return string(a)
  44662. },
  44663. }).Parse(doc)
  44664. if err != nil {
  44665. return doc
  44666. }
  44667. var tpl bytes.Buffer
  44668. if err := t.Execute(&tpl, sInfo); err != nil {
  44669. return doc
  44670. }
  44671. return tpl.String()
  44672. }
  44673. func init() {
  44674. swag.Register(swag.Name, &s{})
  44675. }