docs.go 1.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643
  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. "curqty": {
  18575. "description": "当前持仓",
  18576. "type": "integer"
  18577. },
  18578. "diffhedgeqty": {
  18579. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18580. "type": "number"
  18581. },
  18582. "diffqty": {
  18583. "description": "持仓变动量=当前持仓-昨日持仓",
  18584. "type": "integer"
  18585. },
  18586. "goodscode": {
  18587. "description": "商品代码",
  18588. "type": "string"
  18589. },
  18590. "goodsid": {
  18591. "description": "商品id",
  18592. "type": "integer"
  18593. },
  18594. "goodsname": {
  18595. "description": "商品名称",
  18596. "type": "string"
  18597. },
  18598. "hedgeaccountcode": {
  18599. "description": "对冲账号(只有外部账号才有值)",
  18600. "type": "string"
  18601. },
  18602. "middlegoodsid": {
  18603. "description": "套保商品id",
  18604. "type": "integer"
  18605. },
  18606. "ydqty": {
  18607. "description": "昨日持仓",
  18608. "type": "integer"
  18609. }
  18610. }
  18611. },
  18612. "ermcp.RealtimeExposureRsp": {
  18613. "type": "object",
  18614. "properties": {
  18615. "AreaUserID": {
  18616. "description": "所属机构",
  18617. "type": "integer"
  18618. },
  18619. "BuyFutureQty": {
  18620. "description": "买入期货数量",
  18621. "type": "number"
  18622. },
  18623. "BuyPlanQty": {
  18624. "description": "采购计划数量",
  18625. "type": "number"
  18626. },
  18627. "BuyPricedQty": {
  18628. "description": "采购合同已定价数量",
  18629. "type": "number"
  18630. },
  18631. "MiddleGoodsCode": {
  18632. "description": "套保品种代码",
  18633. "type": "string"
  18634. },
  18635. "MiddleGoodsHedgeRatio": {
  18636. "description": "套保比例",
  18637. "type": "number"
  18638. },
  18639. "MiddleGoodsID": {
  18640. "description": "套保品种",
  18641. "type": "integer"
  18642. },
  18643. "MiddleGoodsName": {
  18644. "description": "套保品种名称",
  18645. "type": "string"
  18646. },
  18647. "NeedHedgeExposoure": {
  18648. "description": "应套保敞口(套保敞口)",
  18649. "type": "number"
  18650. },
  18651. "NeedHedgeRatio": {
  18652. "description": "应套保敞口比例",
  18653. "type": "number"
  18654. },
  18655. "OriBuyFutureQty": {
  18656. "description": "期初买入期货数量",
  18657. "type": "number"
  18658. },
  18659. "OriBuyPlanQty": {
  18660. "description": "期初采购计划数量",
  18661. "type": "number"
  18662. },
  18663. "OriBuyPricedQty": {
  18664. "description": "期初采购合同已定价数量",
  18665. "type": "number"
  18666. },
  18667. "OriSellFutureQty": {
  18668. "description": "期初卖出期货数量",
  18669. "type": "number"
  18670. },
  18671. "OriSellPlanQty": {
  18672. "description": "期初销售计划数量",
  18673. "type": "number"
  18674. },
  18675. "OriSellPricedQty": {
  18676. "description": "期初销售合同已定价数量",
  18677. "type": "number"
  18678. },
  18679. "OriTotalSpotQty": {
  18680. "description": "期初现货总量",
  18681. "type": "number"
  18682. },
  18683. "SellFutureQty": {
  18684. "description": "卖出期货数量",
  18685. "type": "number"
  18686. },
  18687. "SellPlanQty": {
  18688. "description": "销售计划数量",
  18689. "type": "number"
  18690. },
  18691. "SellPricedQty": {
  18692. "description": "销售合同已定价数量",
  18693. "type": "number"
  18694. },
  18695. "TotalExposure": {
  18696. "description": "总敞口 平安:净敞口",
  18697. "type": "number"
  18698. },
  18699. "TotalFutureQty": {
  18700. "description": "期货总量 平安:保值净持仓量",
  18701. "type": "number"
  18702. },
  18703. "TotalHedgeRatio": {
  18704. "description": "敞口比例",
  18705. "type": "number"
  18706. },
  18707. "TotalNeedHedgeQty": {
  18708. "description": "应套保总量(现货应套保总量)",
  18709. "type": "number"
  18710. },
  18711. "TotalSpotQty": {
  18712. "description": "现货总量 平安:采销定价净值",
  18713. "type": "number"
  18714. },
  18715. "arbitrageqty": {
  18716. "description": "套利量",
  18717. "type": "number"
  18718. },
  18719. "diffArbitrageQty": {
  18720. "description": "套利变动量",
  18721. "type": "number"
  18722. },
  18723. "diffExposoureQty": {
  18724. "description": "变动量(套保敞口)",
  18725. "type": "number"
  18726. },
  18727. "diffFutuQty": {
  18728. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  18729. "type": "number"
  18730. },
  18731. "diffHedgeQty": {
  18732. "description": "套保变动量",
  18733. "type": "number"
  18734. },
  18735. "diffQty": {
  18736. "description": "变动量(总敞口) 平安:净敞口今日变动",
  18737. "type": "number"
  18738. },
  18739. "diffSpotHedgeQty": {
  18740. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  18741. "type": "number"
  18742. },
  18743. "diffSpotQty": {
  18744. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  18745. "type": "number"
  18746. },
  18747. "enumdicname": {
  18748. "description": "单位名称",
  18749. "type": "string"
  18750. },
  18751. "hedgeqty": {
  18752. "description": "套保量",
  18753. "type": "number"
  18754. },
  18755. "needarbitrageqty": {
  18756. "description": "应套利量",
  18757. "type": "number"
  18758. },
  18759. "needarbitrageratio": {
  18760. "description": "套利比例",
  18761. "type": "number"
  18762. },
  18763. "needhedgeqty": {
  18764. "description": "应套保量",
  18765. "type": "number"
  18766. },
  18767. "oriarbitrageqty": {
  18768. "description": "期初套利量",
  18769. "type": "number"
  18770. },
  18771. "orihedgeqty": {
  18772. "description": "期初套保量",
  18773. "type": "number"
  18774. },
  18775. "orineedhedgeexposoure": {
  18776. "description": "期初套保敞口",
  18777. "type": "number"
  18778. },
  18779. "oritotalexposure": {
  18780. "description": "期初总敞口",
  18781. "type": "number"
  18782. },
  18783. "oritotalfutureqty": {
  18784. "description": "期初期货总量",
  18785. "type": "number"
  18786. },
  18787. "oritotalneedhedgeqty": {
  18788. "description": "期初现货应套保量",
  18789. "type": "number"
  18790. }
  18791. }
  18792. },
  18793. "erms2.QueryArbitrageStrategyRsp": {
  18794. "type": "object",
  18795. "required": [
  18796. "asapplyid"
  18797. ],
  18798. "properties": {
  18799. "applybasis": {
  18800. "description": "申请基差",
  18801. "type": "number"
  18802. },
  18803. "asapplyid": {
  18804. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  18805. "type": "string"
  18806. },
  18807. "asname": {
  18808. "description": "策略名称",
  18809. "type": "string"
  18810. },
  18811. "asno": {
  18812. "description": "策略编号",
  18813. "type": "string"
  18814. },
  18815. "basischangepl": {
  18816. "description": "基差变动损益[结算更新]",
  18817. "type": "number"
  18818. },
  18819. "biztype": {
  18820. "description": "业务类型 - 1:正向套利 -1:反向套利",
  18821. "type": "integer"
  18822. },
  18823. "closetradedate": {
  18824. "description": "完结交易日(yyyyMMdd)",
  18825. "type": "string"
  18826. },
  18827. "curbasis": {
  18828. "description": "当前基差[结算更新]",
  18829. "type": "number"
  18830. },
  18831. "deliverygoodsid": {
  18832. "description": "现货品种ID",
  18833. "type": "integer"
  18834. },
  18835. "futureavgprice": {
  18836. "description": "期货建仓均价",
  18837. "type": "number"
  18838. },
  18839. "futurecloseamount": {
  18840. "description": "期货平仓金额",
  18841. "type": "number"
  18842. },
  18843. "futurecloseqty": {
  18844. "description": "期货平仓数量",
  18845. "type": "number"
  18846. },
  18847. "futureopenamount": {
  18848. "description": "期货开仓金额",
  18849. "type": "number"
  18850. },
  18851. "futureopenqty": {
  18852. "description": "期货开仓数量",
  18853. "type": "number"
  18854. },
  18855. "futurepl": {
  18856. "description": "期货总盈亏[结算更新]",
  18857. "type": "number"
  18858. },
  18859. "futureqty": {
  18860. "description": "期货持仓数量",
  18861. "type": "number"
  18862. },
  18863. "futurequote": {
  18864. "description": "期货额度",
  18865. "type": "number"
  18866. },
  18867. "goodsgroupid": {
  18868. "description": "期货品种ID",
  18869. "type": "integer"
  18870. },
  18871. "marketid": {
  18872. "description": "市场ID",
  18873. "type": "integer"
  18874. },
  18875. "netexposure": {
  18876. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  18877. "type": "number"
  18878. },
  18879. "netexposurepl": {
  18880. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  18881. "type": "number"
  18882. },
  18883. "netexposurerate": {
  18884. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  18885. "type": "number"
  18886. },
  18887. "openbasis": {
  18888. "description": "建仓基差",
  18889. "type": "number"
  18890. },
  18891. "pricedspotqty": {
  18892. "description": "已定价现货数量",
  18893. "type": "number"
  18894. },
  18895. "pricedspotqtynotax": {
  18896. "description": "已定价现货不含税数量",
  18897. "type": "number"
  18898. },
  18899. "remark": {
  18900. "description": "备注",
  18901. "type": "string"
  18902. },
  18903. "spotavgprice": {
  18904. "description": "现货均价",
  18905. "type": "number"
  18906. },
  18907. "spotbuyamount": {
  18908. "description": "现货采购金额",
  18909. "type": "number"
  18910. },
  18911. "spotbuyqty": {
  18912. "description": "现货采购数量",
  18913. "type": "number"
  18914. },
  18915. "spotpl": {
  18916. "description": "现货总盈亏[结算更新]",
  18917. "type": "number"
  18918. },
  18919. "spotquota": {
  18920. "description": "现货额度",
  18921. "type": "number"
  18922. },
  18923. "spotsellamount": {
  18924. "description": "现货销售金额",
  18925. "type": "number"
  18926. },
  18927. "spotsellqty": {
  18928. "description": "现货销售数量",
  18929. "type": "number"
  18930. },
  18931. "spotusedquota": {
  18932. "description": "现货占用资金",
  18933. "type": "number"
  18934. },
  18935. "strategystatus": {
  18936. "description": "策略状态 - 0:未结束 1:已结束",
  18937. "type": "integer"
  18938. },
  18939. "totalpl": {
  18940. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  18941. "type": "number"
  18942. },
  18943. "tradedate": {
  18944. "description": "交易日(yyyyMMdd)",
  18945. "type": "string"
  18946. },
  18947. "updatetime": {
  18948. "description": "更新时间",
  18949. "type": "string"
  18950. },
  18951. "usedquota": {
  18952. "description": "已占用资金",
  18953. "type": "number"
  18954. },
  18955. "userid": {
  18956. "description": "所属机构",
  18957. "type": "integer"
  18958. }
  18959. }
  18960. },
  18961. "erms2.QueryInnerTradeDetailRsp": {
  18962. "type": "object",
  18963. "required": [
  18964. "asapplyid",
  18965. "buyorsell",
  18966. "goodscode",
  18967. "goodsgroupid",
  18968. "goodsgroupname",
  18969. "goodsname",
  18970. "tradeid"
  18971. ],
  18972. "properties": {
  18973. "accountid": {
  18974. "description": "账号ID",
  18975. "type": "integer"
  18976. },
  18977. "agreeunit": {
  18978. "description": "合约单位",
  18979. "type": "number"
  18980. },
  18981. "asapplyid": {
  18982. "description": "策略申请ID",
  18983. "type": "integer"
  18984. },
  18985. "asname": {
  18986. "description": "策略名称",
  18987. "type": "string"
  18988. },
  18989. "asno": {
  18990. "description": "策略编号",
  18991. "type": "string"
  18992. },
  18993. "buyorsell": {
  18994. "description": "方向 - 0:买 1:卖",
  18995. "type": "integer"
  18996. },
  18997. "channelbuildtype": {
  18998. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18999. "type": "integer"
  19000. },
  19001. "closetype": {
  19002. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19003. "type": "integer"
  19004. },
  19005. "decimalplace": {
  19006. "description": "报价小数位",
  19007. "type": "integer"
  19008. },
  19009. "detailtype": {
  19010. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19011. "type": "integer"
  19012. },
  19013. "exexchangecode": {
  19014. "description": "外部交易所代码",
  19015. "type": "string"
  19016. },
  19017. "exexchangename": {
  19018. "description": "外部交易所名称",
  19019. "type": "string"
  19020. },
  19021. "goodscode": {
  19022. "description": "商品代码(合约)",
  19023. "type": "string"
  19024. },
  19025. "goodsgroupid": {
  19026. "description": "商品组ID(品种ID)",
  19027. "type": "integer"
  19028. },
  19029. "goodsgroupname": {
  19030. "description": "商品组名称(品种)",
  19031. "type": "string"
  19032. },
  19033. "goodsid": {
  19034. "description": "商品ID",
  19035. "type": "integer"
  19036. },
  19037. "goodsname": {
  19038. "description": "商品名称(合约)",
  19039. "type": "string"
  19040. },
  19041. "goodunit": {
  19042. "description": "报价单位",
  19043. "type": "string"
  19044. },
  19045. "marketid": {
  19046. "description": "市场ID",
  19047. "type": "integer"
  19048. },
  19049. "orderid": {
  19050. "description": "委托单号",
  19051. "type": "string"
  19052. },
  19053. "outgoodscode": {
  19054. "description": "商品代码(外部)",
  19055. "type": "string"
  19056. },
  19057. "relatedouttradeid": {
  19058. "description": "关联外部成交单ID",
  19059. "type": "string"
  19060. },
  19061. "remark": {
  19062. "description": "备注",
  19063. "type": "string"
  19064. },
  19065. "spotcontractid": {
  19066. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19067. "type": "integer"
  19068. },
  19069. "spotcontractno": {
  19070. "description": "现货合同编号",
  19071. "type": "string"
  19072. },
  19073. "tradeid": {
  19074. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19075. "type": "string"
  19076. },
  19077. "tradeprice": {
  19078. "description": "成交价格",
  19079. "type": "number"
  19080. },
  19081. "tradeqty": {
  19082. "description": "成交数量",
  19083. "type": "integer"
  19084. },
  19085. "tradetime": {
  19086. "description": "成交时间",
  19087. "type": "string"
  19088. },
  19089. "updatetime": {
  19090. "description": "更新时间",
  19091. "type": "string"
  19092. }
  19093. }
  19094. },
  19095. "erms2.QuerySpotContractRsp": {
  19096. "type": "object",
  19097. "required": [
  19098. "spotcontractid"
  19099. ],
  19100. "properties": {
  19101. "accountid": {
  19102. "description": "资金账户ID",
  19103. "type": "integer"
  19104. },
  19105. "areauserid": {
  19106. "description": "所属机构",
  19107. "type": "integer"
  19108. },
  19109. "closedate": {
  19110. "description": "终止日期",
  19111. "type": "string"
  19112. },
  19113. "closeremark": {
  19114. "description": "结束备注",
  19115. "type": "string"
  19116. },
  19117. "closetradedate": {
  19118. "description": "完结交易日(yyyyMMdd)",
  19119. "type": "string"
  19120. },
  19121. "closetype": {
  19122. "description": "终止类型 - 1:违约 2:提前终止",
  19123. "type": "integer"
  19124. },
  19125. "contractamount": {
  19126. "description": "合同金额",
  19127. "type": "number"
  19128. },
  19129. "contractattachment": {
  19130. "description": "合同附件",
  19131. "type": "string"
  19132. },
  19133. "contractno": {
  19134. "description": "现货合同编号",
  19135. "type": "string"
  19136. },
  19137. "contractqty": {
  19138. "description": "合同数量(数值) (用于计算)",
  19139. "type": "number"
  19140. },
  19141. "contractqtychar": {
  19142. "description": "合同数量\\已订价数量 (用于显示)",
  19143. "type": "string"
  19144. },
  19145. "contractstatus": {
  19146. "description": "合同状态 - 0:未结束 1:已结束",
  19147. "type": "integer"
  19148. },
  19149. "contracttype": {
  19150. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19151. "type": "integer"
  19152. },
  19153. "customeraccountid": {
  19154. "description": "客户资金账户ID",
  19155. "type": "integer"
  19156. },
  19157. "customeruserid": {
  19158. "description": "客户ID",
  19159. "type": "integer"
  19160. },
  19161. "deliverygoodsdesc": {
  19162. "description": "品种说明",
  19163. "type": "string"
  19164. },
  19165. "deliverygoodsid": {
  19166. "description": "现货品种ID",
  19167. "type": "integer"
  19168. },
  19169. "handlestatus": {
  19170. "description": "处理状态",
  19171. "type": "integer"
  19172. },
  19173. "invoiceatt": {
  19174. "description": "发票附件",
  19175. "type": "string"
  19176. },
  19177. "invoicedatetime": {
  19178. "description": "开收票更新时间",
  19179. "type": "string"
  19180. },
  19181. "invoiceopentime": {
  19182. "description": "开票时间",
  19183. "type": "string"
  19184. },
  19185. "invoiceremark": {
  19186. "description": "发票备注",
  19187. "type": "string"
  19188. },
  19189. "invoicestatus": {
  19190. "description": "开收票状态 - 0:未开票 1:已开票",
  19191. "type": "integer"
  19192. },
  19193. "lastdate": {
  19194. "description": "交货时间",
  19195. "type": "string"
  19196. },
  19197. "marketid": {
  19198. "description": "市场ID",
  19199. "type": "integer"
  19200. },
  19201. "paydatetime": {
  19202. "description": "收付款更新时间",
  19203. "type": "string"
  19204. },
  19205. "payremark": {
  19206. "description": "收付款备注",
  19207. "type": "string"
  19208. },
  19209. "paystatus": {
  19210. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19211. "type": "integer"
  19212. },
  19213. "positionqty": {
  19214. "description": "头寸数量 - 合同数量去小数部分",
  19215. "type": "integer"
  19216. },
  19217. "producttype": {
  19218. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19219. "type": "integer"
  19220. },
  19221. "relatedqty": {
  19222. "description": "已关联数量",
  19223. "type": "number"
  19224. },
  19225. "relatedstatus": {
  19226. "description": "关联完结状态 - 0:未结束 1:已结束",
  19227. "type": "integer"
  19228. },
  19229. "remark": {
  19230. "description": "备注",
  19231. "type": "string"
  19232. },
  19233. "signdate": {
  19234. "description": "签订日期",
  19235. "type": "string"
  19236. },
  19237. "spotcontractid": {
  19238. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19239. "type": "string"
  19240. },
  19241. "spotdatetime": {
  19242. "description": "收发货更新时间",
  19243. "type": "string"
  19244. },
  19245. "spotprice": {
  19246. "description": "价格",
  19247. "type": "number"
  19248. },
  19249. "spotremark": {
  19250. "description": "收发货备注",
  19251. "type": "string"
  19252. },
  19253. "spotstatus": {
  19254. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19255. "type": "integer"
  19256. },
  19257. "tradedate": {
  19258. "description": "交易日(yyyyMMdd)",
  19259. "type": "string"
  19260. },
  19261. "userid": {
  19262. "description": "业务员用户ID",
  19263. "type": "integer"
  19264. },
  19265. "warehouseid": {
  19266. "description": "仓库ID",
  19267. "type": "integer"
  19268. },
  19269. "wrfactortypeid": {
  19270. "description": "仓单要素类型ID",
  19271. "type": "integer"
  19272. },
  19273. "wrstandardid": {
  19274. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19275. "type": "integer"
  19276. }
  19277. }
  19278. },
  19279. "erms3.AddErms2ASApplyReq": {
  19280. "type": "object",
  19281. "required": [
  19282. "asapplyid"
  19283. ],
  19284. "properties": {
  19285. "applybasis": {
  19286. "description": "申请基差",
  19287. "type": "number"
  19288. },
  19289. "applystatus": {
  19290. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19291. "type": "integer"
  19292. },
  19293. "asapplyid": {
  19294. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19295. "type": "integer"
  19296. },
  19297. "asname": {
  19298. "description": "策略名称",
  19299. "type": "string"
  19300. },
  19301. "asno": {
  19302. "description": "策略编号",
  19303. "type": "string"
  19304. },
  19305. "auditid": {
  19306. "description": "审核人",
  19307. "type": "integer"
  19308. },
  19309. "auditremark": {
  19310. "description": "审核备注",
  19311. "type": "string"
  19312. },
  19313. "audittime": {
  19314. "description": "审核时间",
  19315. "type": "string"
  19316. },
  19317. "biztype": {
  19318. "description": "业务类型 - 1:正向套利 2:反向套利",
  19319. "type": "integer"
  19320. },
  19321. "createtime": {
  19322. "description": "创建时间",
  19323. "type": "string"
  19324. },
  19325. "creatorid": {
  19326. "description": "创建人",
  19327. "type": "integer"
  19328. },
  19329. "deliverygoodsid": {
  19330. "description": "现货品种ID",
  19331. "type": "integer"
  19332. },
  19333. "futurequote": {
  19334. "description": "期货额度",
  19335. "type": "number"
  19336. },
  19337. "goodsgroupid": {
  19338. "description": "期货品种ID",
  19339. "type": "integer"
  19340. },
  19341. "marketid": {
  19342. "description": "市场ID",
  19343. "type": "integer"
  19344. },
  19345. "remark": {
  19346. "description": "备注",
  19347. "type": "string"
  19348. },
  19349. "spotquota": {
  19350. "description": "现货额度",
  19351. "type": "number"
  19352. },
  19353. "tradedate": {
  19354. "description": "交易日(yyyyMMdd)",
  19355. "type": "string"
  19356. },
  19357. "userid": {
  19358. "description": "所属机构",
  19359. "type": "integer"
  19360. }
  19361. }
  19362. },
  19363. "erms3.AddErms2SpotTradeApplyReq": {
  19364. "type": "object",
  19365. "required": [
  19366. "spottradeid"
  19367. ],
  19368. "properties": {
  19369. "applyjsondetail": {
  19370. "description": "申请明细(JSON)",
  19371. "type": "string"
  19372. },
  19373. "applystatus": {
  19374. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19375. "type": "integer"
  19376. },
  19377. "areauserid": {
  19378. "description": "所属机构",
  19379. "type": "integer"
  19380. },
  19381. "auditid": {
  19382. "description": "审核人",
  19383. "type": "integer"
  19384. },
  19385. "auditremark": {
  19386. "description": "审核备注",
  19387. "type": "string"
  19388. },
  19389. "audittime": {
  19390. "description": "审核时间",
  19391. "type": "string"
  19392. },
  19393. "createtime": {
  19394. "description": "创建时间",
  19395. "type": "string"
  19396. },
  19397. "creatorid": {
  19398. "description": "创建人",
  19399. "type": "integer"
  19400. },
  19401. "deliverygoodsid": {
  19402. "description": "现货品种ID",
  19403. "type": "integer"
  19404. },
  19405. "futureaccountid": {
  19406. "description": "期货资金账户",
  19407. "type": "integer"
  19408. },
  19409. "goodsgroupid": {
  19410. "description": "期货品种",
  19411. "type": "integer"
  19412. },
  19413. "marketid": {
  19414. "description": "市场ID",
  19415. "type": "integer"
  19416. },
  19417. "remark": {
  19418. "description": "备注",
  19419. "type": "string"
  19420. },
  19421. "spotaccountid": {
  19422. "description": "现货资金账户",
  19423. "type": "integer"
  19424. },
  19425. "spottradeid": {
  19426. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19427. "type": "integer"
  19428. },
  19429. "spottradename": {
  19430. "description": "业务名称",
  19431. "type": "string"
  19432. },
  19433. "spottradeno": {
  19434. "description": "业务编号",
  19435. "type": "string"
  19436. },
  19437. "tradedate": {
  19438. "description": "交易日(yyyyMMdd)",
  19439. "type": "string"
  19440. },
  19441. "wrstandardid": {
  19442. "description": "仓单标准ID",
  19443. "type": "integer"
  19444. }
  19445. }
  19446. },
  19447. "erms3.AddSpotContractApplyReq": {
  19448. "type": "object",
  19449. "required": [
  19450. "accountid",
  19451. "areauserid",
  19452. "contractno",
  19453. "contracttype",
  19454. "customeraccountid",
  19455. "customeruserid",
  19456. "details",
  19457. "orimargin",
  19458. "signdate"
  19459. ],
  19460. "properties": {
  19461. "accountid": {
  19462. "description": "资金账户ID",
  19463. "type": "integer"
  19464. },
  19465. "areauserid": {
  19466. "description": "所属机构",
  19467. "type": "integer"
  19468. },
  19469. "contractattachment": {
  19470. "description": "合同附件",
  19471. "type": "string"
  19472. },
  19473. "contractno": {
  19474. "description": "现货合同编号",
  19475. "type": "string"
  19476. },
  19477. "contracttype": {
  19478. "description": "现货合同类型 - 1:采购 -1:销售",
  19479. "type": "integer"
  19480. },
  19481. "creatorid": {
  19482. "description": "申请人",
  19483. "type": "integer"
  19484. },
  19485. "customeraccountid": {
  19486. "description": "客户资金账户ID",
  19487. "type": "integer"
  19488. },
  19489. "customeruserid": {
  19490. "description": "客户ID",
  19491. "type": "integer"
  19492. },
  19493. "details": {
  19494. "description": "明细",
  19495. "type": "array",
  19496. "items": {
  19497. "$ref": "#/definitions/erms3.SoptContractDetail"
  19498. }
  19499. },
  19500. "orimargin": {
  19501. "description": "初始保证金",
  19502. "type": "number"
  19503. },
  19504. "remark": {
  19505. "description": "备注",
  19506. "type": "string"
  19507. },
  19508. "signdate": {
  19509. "description": "签订日期",
  19510. "type": "string"
  19511. }
  19512. }
  19513. },
  19514. "erms3.AddSpotContractApplyRsp": {
  19515. "type": "object",
  19516. "required": [
  19517. "contractno"
  19518. ],
  19519. "properties": {
  19520. "contractno": {
  19521. "description": "现货合同编号",
  19522. "type": "string"
  19523. },
  19524. "spotcontractid": {
  19525. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19526. "type": "integer"
  19527. }
  19528. }
  19529. },
  19530. "erms3.AddUserInfoApplyReq": {
  19531. "type": "object",
  19532. "required": [
  19533. "userid"
  19534. ],
  19535. "properties": {
  19536. "accountid": {
  19537. "description": "交易系统帐号Id (加密存储)",
  19538. "type": "integer"
  19539. },
  19540. "areacode": {
  19541. "description": "机构代码",
  19542. "type": "string"
  19543. },
  19544. "areaid": {
  19545. "description": "机构Id",
  19546. "type": "integer"
  19547. },
  19548. "attachment1": {
  19549. "description": "附件1",
  19550. "type": "string"
  19551. },
  19552. "attachment2": {
  19553. "description": "附件2",
  19554. "type": "string"
  19555. },
  19556. "attachment3": {
  19557. "description": "附件3",
  19558. "type": "string"
  19559. },
  19560. "attachment4": {
  19561. "description": "附件4",
  19562. "type": "string"
  19563. },
  19564. "attachment5": {
  19565. "description": "附件5",
  19566. "type": "string"
  19567. },
  19568. "auditedby": {
  19569. "description": "审核人",
  19570. "type": "string"
  19571. },
  19572. "auditime": {
  19573. "description": "审核时间",
  19574. "type": "string"
  19575. },
  19576. "auditsrc": {
  19577. "description": "审核来源 - 1:管理端 2:终端",
  19578. "type": "integer"
  19579. },
  19580. "bankaccount": {
  19581. "description": "银行帐号 (加密存储)",
  19582. "type": "string"
  19583. },
  19584. "bankaccountname": {
  19585. "description": "收款人名称",
  19586. "type": "string"
  19587. },
  19588. "bankcardbackphotourl": {
  19589. "description": "银行卡背面照地址",
  19590. "type": "string"
  19591. },
  19592. "bankcardfrontphotourl": {
  19593. "description": "银行卡正面照地址",
  19594. "type": "string"
  19595. },
  19596. "bankid": {
  19597. "description": "银行编码",
  19598. "type": "string"
  19599. },
  19600. "bankname": {
  19601. "description": "银行名称",
  19602. "type": "string"
  19603. },
  19604. "bankpictureurl": {
  19605. "description": "银行卡正面地址",
  19606. "type": "string"
  19607. },
  19608. "biznature": {
  19609. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19610. "type": "integer"
  19611. },
  19612. "bizscope": {
  19613. "description": "企业经营范围(企业)",
  19614. "type": "string"
  19615. },
  19616. "biztype": {
  19617. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19618. "type": "integer"
  19619. },
  19620. "brokerid": {
  19621. "description": "经纪人ID(加密存储)",
  19622. "type": "string"
  19623. },
  19624. "cardaddress": {
  19625. "description": "证件地址 (加密存储)",
  19626. "type": "string"
  19627. },
  19628. "cardbackphotourl": {
  19629. "description": "背面证件照地址",
  19630. "type": "string"
  19631. },
  19632. "cardfrontphotourl": {
  19633. "description": "正面证件照地址",
  19634. "type": "string"
  19635. },
  19636. "cardnum": {
  19637. "description": "证件号码 (加密存储)",
  19638. "type": "string"
  19639. },
  19640. "cardtype": {
  19641. "description": "证件类型",
  19642. "type": "integer"
  19643. },
  19644. "cityid": {
  19645. "description": "市",
  19646. "type": "integer"
  19647. },
  19648. "company": {
  19649. "description": "公司(个人)",
  19650. "type": "string"
  19651. },
  19652. "contactcardbackphotourl": {
  19653. "description": "联系人证件背面图片地址",
  19654. "type": "string"
  19655. },
  19656. "contactcardfrontphotourl": {
  19657. "description": "联系人证件正面图片地址",
  19658. "type": "string"
  19659. },
  19660. "contactname": {
  19661. "description": "联系人",
  19662. "type": "string"
  19663. },
  19664. "countryid": {
  19665. "description": "国家",
  19666. "type": "integer"
  19667. },
  19668. "createtime": {
  19669. "description": "开户申请时间",
  19670. "type": "string"
  19671. },
  19672. "cusbankid": {
  19673. "description": "签约类型",
  19674. "type": "string"
  19675. },
  19676. "cusbankname": {
  19677. "description": "签约类型名称",
  19678. "type": "string"
  19679. },
  19680. "customername": {
  19681. "description": "客户名称(企业名称)",
  19682. "type": "string"
  19683. },
  19684. "districtid": {
  19685. "description": "地区",
  19686. "type": "integer"
  19687. },
  19688. "email": {
  19689. "description": "Email地址(加密存储)",
  19690. "type": "string"
  19691. },
  19692. "halfbodyphotourl": {
  19693. "description": "半身照地址",
  19694. "type": "string"
  19695. },
  19696. "headurl": {
  19697. "description": "头像地址",
  19698. "type": "string"
  19699. },
  19700. "ipaddress": {
  19701. "description": "IP地址",
  19702. "type": "string"
  19703. },
  19704. "isvalidate": {
  19705. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19706. "type": "string"
  19707. },
  19708. "legalcardbackphotourl": {
  19709. "description": "法人身份证背面照地址",
  19710. "type": "string"
  19711. },
  19712. "legalcardfrontphotourl": {
  19713. "description": "法人身份证正面照地址",
  19714. "type": "string"
  19715. },
  19716. "legalpersonname": {
  19717. "description": "法人姓名(企业)",
  19718. "type": "string"
  19719. },
  19720. "logincode": {
  19721. "description": "登录帐号 (加密存储)",
  19722. "type": "string"
  19723. },
  19724. "memberareaid": {
  19725. "description": "所属会员ID",
  19726. "type": "integer"
  19727. },
  19728. "mobile2": {
  19729. "description": "手机号码[明文-尚志]",
  19730. "type": "string"
  19731. },
  19732. "mobilephone": {
  19733. "description": "手机号码 (加密存储)",
  19734. "type": "string"
  19735. },
  19736. "modifiedby": {
  19737. "description": "修改人帐号",
  19738. "type": "integer"
  19739. },
  19740. "modifiedtime": {
  19741. "description": "修改时间",
  19742. "type": "string"
  19743. },
  19744. "nickname": {
  19745. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19746. "type": "string"
  19747. },
  19748. "openmode": {
  19749. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19750. "type": "integer"
  19751. },
  19752. "otherurl": {
  19753. "description": "其它图片地址[使用分号分隔]",
  19754. "type": "string"
  19755. },
  19756. "postalcode": {
  19757. "description": "邮政编码",
  19758. "type": "string"
  19759. },
  19760. "provinceid": {
  19761. "description": "省",
  19762. "type": "integer"
  19763. },
  19764. "proxystatementurl": {
  19765. "description": "授权委托书",
  19766. "type": "string"
  19767. },
  19768. "qq": {
  19769. "description": "QQ(加密存储",
  19770. "type": "string"
  19771. },
  19772. "referral": {
  19773. "description": "推荐人编码",
  19774. "type": "string"
  19775. },
  19776. "remark": {
  19777. "description": "备注",
  19778. "type": "string"
  19779. },
  19780. "removebeforestatus": {
  19781. "description": "REMOVEBEFORESTATUS",
  19782. "type": "integer"
  19783. },
  19784. "sex": {
  19785. "description": "性别 - 0:女 1:男",
  19786. "type": "integer"
  19787. },
  19788. "signedstatus": {
  19789. "description": "账户一号签签约状态",
  19790. "type": "integer"
  19791. },
  19792. "signpdfurl": {
  19793. "description": "签约pdf文件",
  19794. "type": "string"
  19795. },
  19796. "subbranch": {
  19797. "description": "开户支行",
  19798. "type": "string"
  19799. },
  19800. "taxpayernum": {
  19801. "description": "纳税人识别号",
  19802. "type": "string"
  19803. },
  19804. "telphone": {
  19805. "description": "联系电话(加密存储)",
  19806. "type": "string"
  19807. },
  19808. "userid": {
  19809. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19810. "type": "integer"
  19811. },
  19812. "userinfotype": {
  19813. "description": "用户信息类型 - 1:个人 2:企业",
  19814. "type": "integer"
  19815. },
  19816. "username": {
  19817. "description": "用户姓名",
  19818. "type": "string"
  19819. },
  19820. "userstate": {
  19821. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19822. "type": "integer"
  19823. },
  19824. "usertype": {
  19825. "description": "用户类型 - 1:投资者 2:机构",
  19826. "type": "integer"
  19827. },
  19828. "videourl": {
  19829. "description": "视频地址",
  19830. "type": "string"
  19831. },
  19832. "wechat": {
  19833. "description": "微信号 (加密存储)",
  19834. "type": "string"
  19835. }
  19836. }
  19837. },
  19838. "erms3.CustomerInfo": {
  19839. "type": "object",
  19840. "required": [
  19841. "userid"
  19842. ],
  19843. "properties": {
  19844. "accountids": {
  19845. "description": "资金账户ID列表",
  19846. "type": "array",
  19847. "items": {
  19848. "type": "integer"
  19849. }
  19850. },
  19851. "customername": {
  19852. "description": "名称(企业名称)",
  19853. "type": "string"
  19854. },
  19855. "mobile": {
  19856. "description": "手机号码",
  19857. "type": "string"
  19858. },
  19859. "userid": {
  19860. "description": "用户ID",
  19861. "type": "integer"
  19862. }
  19863. }
  19864. },
  19865. "erms3.ModifyUserInfoApplyReq": {
  19866. "type": "object",
  19867. "required": [
  19868. "userid"
  19869. ],
  19870. "properties": {
  19871. "accountid": {
  19872. "description": "交易系统帐号Id (加密存储)",
  19873. "type": "integer"
  19874. },
  19875. "areacode": {
  19876. "description": "机构代码",
  19877. "type": "string"
  19878. },
  19879. "areaid": {
  19880. "description": "机构Id",
  19881. "type": "integer"
  19882. },
  19883. "attachment1": {
  19884. "description": "附件1",
  19885. "type": "string"
  19886. },
  19887. "attachment2": {
  19888. "description": "附件2",
  19889. "type": "string"
  19890. },
  19891. "attachment3": {
  19892. "description": "附件3",
  19893. "type": "string"
  19894. },
  19895. "attachment4": {
  19896. "description": "附件4",
  19897. "type": "string"
  19898. },
  19899. "attachment5": {
  19900. "description": "附件5",
  19901. "type": "string"
  19902. },
  19903. "auditedby": {
  19904. "description": "审核人",
  19905. "type": "string"
  19906. },
  19907. "auditime": {
  19908. "description": "审核时间",
  19909. "type": "string"
  19910. },
  19911. "auditsrc": {
  19912. "description": "审核来源 - 1:管理端 2:终端",
  19913. "type": "integer"
  19914. },
  19915. "bankaccount": {
  19916. "description": "银行帐号 (加密存储)",
  19917. "type": "string"
  19918. },
  19919. "bankaccountname": {
  19920. "description": "收款人名称",
  19921. "type": "string"
  19922. },
  19923. "bankcardbackphotourl": {
  19924. "description": "银行卡背面照地址",
  19925. "type": "string"
  19926. },
  19927. "bankcardfrontphotourl": {
  19928. "description": "银行卡正面照地址",
  19929. "type": "string"
  19930. },
  19931. "bankid": {
  19932. "description": "银行编码",
  19933. "type": "string"
  19934. },
  19935. "bankname": {
  19936. "description": "银行名称",
  19937. "type": "string"
  19938. },
  19939. "bankpictureurl": {
  19940. "description": "银行卡正面地址",
  19941. "type": "string"
  19942. },
  19943. "biznature": {
  19944. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19945. "type": "integer"
  19946. },
  19947. "bizscope": {
  19948. "description": "企业经营范围(企业)",
  19949. "type": "string"
  19950. },
  19951. "biztype": {
  19952. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19953. "type": "integer"
  19954. },
  19955. "brokerid": {
  19956. "description": "经纪人ID(加密存储)",
  19957. "type": "string"
  19958. },
  19959. "cardaddress": {
  19960. "description": "证件地址 (加密存储)",
  19961. "type": "string"
  19962. },
  19963. "cardbackphotourl": {
  19964. "description": "背面证件照地址",
  19965. "type": "string"
  19966. },
  19967. "cardfrontphotourl": {
  19968. "description": "正面证件照地址",
  19969. "type": "string"
  19970. },
  19971. "cardnum": {
  19972. "description": "证件号码 (加密存储)",
  19973. "type": "string"
  19974. },
  19975. "cardtype": {
  19976. "description": "证件类型",
  19977. "type": "integer"
  19978. },
  19979. "cityid": {
  19980. "description": "市",
  19981. "type": "integer"
  19982. },
  19983. "company": {
  19984. "description": "公司(个人)",
  19985. "type": "string"
  19986. },
  19987. "contactcardbackphotourl": {
  19988. "description": "联系人证件背面图片地址",
  19989. "type": "string"
  19990. },
  19991. "contactcardfrontphotourl": {
  19992. "description": "联系人证件正面图片地址",
  19993. "type": "string"
  19994. },
  19995. "contactname": {
  19996. "description": "联系人",
  19997. "type": "string"
  19998. },
  19999. "countryid": {
  20000. "description": "国家",
  20001. "type": "integer"
  20002. },
  20003. "createtime": {
  20004. "description": "开户申请时间",
  20005. "type": "string"
  20006. },
  20007. "cusbankid": {
  20008. "description": "签约类型",
  20009. "type": "string"
  20010. },
  20011. "cusbankname": {
  20012. "description": "签约类型名称",
  20013. "type": "string"
  20014. },
  20015. "customername": {
  20016. "description": "客户名称(企业名称)",
  20017. "type": "string"
  20018. },
  20019. "districtid": {
  20020. "description": "地区",
  20021. "type": "integer"
  20022. },
  20023. "email": {
  20024. "description": "Email地址(加密存储)",
  20025. "type": "string"
  20026. },
  20027. "halfbodyphotourl": {
  20028. "description": "半身照地址",
  20029. "type": "string"
  20030. },
  20031. "headurl": {
  20032. "description": "头像地址",
  20033. "type": "string"
  20034. },
  20035. "ipaddress": {
  20036. "description": "IP地址",
  20037. "type": "string"
  20038. },
  20039. "isvalidate": {
  20040. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20041. "type": "string"
  20042. },
  20043. "legalcardbackphotourl": {
  20044. "description": "法人身份证背面照地址",
  20045. "type": "string"
  20046. },
  20047. "legalcardfrontphotourl": {
  20048. "description": "法人身份证正面照地址",
  20049. "type": "string"
  20050. },
  20051. "legalpersonname": {
  20052. "description": "法人姓名(企业)",
  20053. "type": "string"
  20054. },
  20055. "logincode": {
  20056. "description": "登录帐号 (加密存储)",
  20057. "type": "string"
  20058. },
  20059. "memberareaid": {
  20060. "description": "所属会员ID",
  20061. "type": "integer"
  20062. },
  20063. "mobile2": {
  20064. "description": "手机号码[明文-尚志]",
  20065. "type": "string"
  20066. },
  20067. "mobilephone": {
  20068. "description": "手机号码 (加密存储)",
  20069. "type": "string"
  20070. },
  20071. "modifiedby": {
  20072. "description": "修改人帐号",
  20073. "type": "integer"
  20074. },
  20075. "modifiedtime": {
  20076. "description": "修改时间",
  20077. "type": "string"
  20078. },
  20079. "nickname": {
  20080. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20081. "type": "string"
  20082. },
  20083. "openmode": {
  20084. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20085. "type": "integer"
  20086. },
  20087. "otherurl": {
  20088. "description": "其它图片地址[使用分号分隔]",
  20089. "type": "string"
  20090. },
  20091. "postalcode": {
  20092. "description": "邮政编码",
  20093. "type": "string"
  20094. },
  20095. "provinceid": {
  20096. "description": "省",
  20097. "type": "integer"
  20098. },
  20099. "proxystatementurl": {
  20100. "description": "授权委托书",
  20101. "type": "string"
  20102. },
  20103. "qq": {
  20104. "description": "QQ(加密存储",
  20105. "type": "string"
  20106. },
  20107. "referral": {
  20108. "description": "推荐人编码",
  20109. "type": "string"
  20110. },
  20111. "remark": {
  20112. "description": "备注",
  20113. "type": "string"
  20114. },
  20115. "removebeforestatus": {
  20116. "description": "REMOVEBEFORESTATUS",
  20117. "type": "integer"
  20118. },
  20119. "sex": {
  20120. "description": "性别 - 0:女 1:男",
  20121. "type": "integer"
  20122. },
  20123. "signedstatus": {
  20124. "description": "账户一号签签约状态",
  20125. "type": "integer"
  20126. },
  20127. "signpdfurl": {
  20128. "description": "签约pdf文件",
  20129. "type": "string"
  20130. },
  20131. "subbranch": {
  20132. "description": "开户支行",
  20133. "type": "string"
  20134. },
  20135. "taxpayernum": {
  20136. "description": "纳税人识别号",
  20137. "type": "string"
  20138. },
  20139. "telphone": {
  20140. "description": "联系电话(加密存储)",
  20141. "type": "string"
  20142. },
  20143. "userid": {
  20144. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20145. "type": "integer"
  20146. },
  20147. "userinfotype": {
  20148. "description": "用户信息类型 - 1:个人 2:企业",
  20149. "type": "integer"
  20150. },
  20151. "username": {
  20152. "description": "用户姓名",
  20153. "type": "string"
  20154. },
  20155. "userstate": {
  20156. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20157. "type": "integer"
  20158. },
  20159. "usertype": {
  20160. "description": "用户类型 - 1:投资者 2:机构",
  20161. "type": "integer"
  20162. },
  20163. "videourl": {
  20164. "description": "视频地址",
  20165. "type": "string"
  20166. },
  20167. "wechat": {
  20168. "description": "微信号 (加密存储)",
  20169. "type": "string"
  20170. }
  20171. }
  20172. },
  20173. "erms3.QryAuditContractRsp": {
  20174. "type": "object",
  20175. "required": [
  20176. "matchcustomername",
  20177. "spotcontractid"
  20178. ],
  20179. "properties": {
  20180. "accountid": {
  20181. "description": "交易员ID",
  20182. "type": "string"
  20183. },
  20184. "applystatus": {
  20185. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20186. "type": "integer"
  20187. },
  20188. "curdeliveryqty": {
  20189. "description": "未交收量",
  20190. "type": "integer"
  20191. },
  20192. "customername": {
  20193. "description": "采购方ID",
  20194. "type": "string"
  20195. },
  20196. "deliverygoodsid": {
  20197. "description": "品种ID",
  20198. "type": "string"
  20199. },
  20200. "deliveryqty": {
  20201. "description": "交收量",
  20202. "type": "integer"
  20203. },
  20204. "enumdicname": {
  20205. "description": "单位名称",
  20206. "type": "string"
  20207. },
  20208. "matchaccountid": {
  20209. "description": "业务员ID",
  20210. "type": "string"
  20211. },
  20212. "matchcustomername": {
  20213. "description": "销售方ID",
  20214. "type": "string"
  20215. },
  20216. "pricedqty": {
  20217. "description": "定价量",
  20218. "type": "number"
  20219. },
  20220. "signdate": {
  20221. "description": "签订日期",
  20222. "type": "string"
  20223. },
  20224. "spotcontractid": {
  20225. "description": "合同ID",
  20226. "type": "string"
  20227. },
  20228. "totaldqty": {
  20229. "description": "合同量",
  20230. "type": "number"
  20231. },
  20232. "unpricedqty": {
  20233. "description": "未定价量",
  20234. "type": "number"
  20235. },
  20236. "wrstandardname": {
  20237. "description": "商品名称",
  20238. "type": "string"
  20239. }
  20240. }
  20241. },
  20242. "erms3.QryPendingBizRsp": {
  20243. "type": "object",
  20244. "properties": {
  20245. "accountid": {
  20246. "description": "现货账户",
  20247. "type": "string"
  20248. },
  20249. "areaname": {
  20250. "description": "所属部门",
  20251. "type": "string"
  20252. },
  20253. "bizid": {
  20254. "description": "业务ID",
  20255. "type": "string"
  20256. },
  20257. "bizname": {
  20258. "description": "业务名称",
  20259. "type": "string"
  20260. },
  20261. "status": {
  20262. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20263. "type": "integer"
  20264. },
  20265. "type": {
  20266. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20267. "type": "integer"
  20268. }
  20269. }
  20270. },
  20271. "erms3.QueryBusinessInfoRsp": {
  20272. "type": "object",
  20273. "properties": {
  20274. "businessid": {
  20275. "description": "业务ID.",
  20276. "type": "integer"
  20277. },
  20278. "buyamount": {
  20279. "description": "采购额.",
  20280. "type": "number"
  20281. },
  20282. "buyqty": {
  20283. "description": "采购量.",
  20284. "type": "string"
  20285. },
  20286. "futurepl": {
  20287. "description": "期货盈亏.",
  20288. "type": "number"
  20289. },
  20290. "futureqty": {
  20291. "description": "期货敞口.",
  20292. "type": "string"
  20293. },
  20294. "goodsid": {
  20295. "description": "商品名称/商品代码.",
  20296. "type": "string"
  20297. },
  20298. "hedgingqty": {
  20299. "description": "套保量.",
  20300. "type": "string"
  20301. },
  20302. "sellamount": {
  20303. "description": "销售额.",
  20304. "type": "number"
  20305. },
  20306. "sellqty": {
  20307. "description": "销售量.",
  20308. "type": "string"
  20309. },
  20310. "spotmarketvalue": {
  20311. "description": "现货市值.",
  20312. "type": "number"
  20313. },
  20314. "spotpl": {
  20315. "description": "浮动权益.",
  20316. "type": "number"
  20317. },
  20318. "spotqty": {
  20319. "description": "现货量.",
  20320. "type": "string"
  20321. },
  20322. "statu": {
  20323. "description": "状态,0-未结束 1-已结束.",
  20324. "type": "integer"
  20325. },
  20326. "totalpl": {
  20327. "description": "总盈亏.",
  20328. "type": "number"
  20329. },
  20330. "totalqty": {
  20331. "description": "总敞口.",
  20332. "type": "string"
  20333. },
  20334. "type": {
  20335. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20336. "type": "integer"
  20337. }
  20338. }
  20339. },
  20340. "erms3.QuerySpotContractAppleFormRsp": {
  20341. "type": "object",
  20342. "properties": {
  20343. "goodses": {
  20344. "description": "合约列表",
  20345. "type": "array",
  20346. "items": {
  20347. "$ref": "#/definitions/models.GoodsIDAndName"
  20348. }
  20349. },
  20350. "oppositeusers": {
  20351. "description": "对方账号列表",
  20352. "type": "array",
  20353. "items": {
  20354. "$ref": "#/definitions/erms3.CustomerInfo"
  20355. }
  20356. },
  20357. "ouruser": {
  20358. "description": "我方账号",
  20359. "$ref": "#/definitions/erms3.CustomerInfo"
  20360. },
  20361. "warehouseinfos": {
  20362. "description": "仓库信息列表",
  20363. "type": "array",
  20364. "items": {
  20365. "$ref": "#/definitions/models.Warehouseinfo"
  20366. }
  20367. },
  20368. "wrstandards": {
  20369. "description": "仓单标准列表",
  20370. "type": "array",
  20371. "items": {
  20372. "$ref": "#/definitions/models.WRStandardInfo"
  20373. }
  20374. }
  20375. }
  20376. },
  20377. "erms3.QuerySpotContractInfoRsp": {
  20378. "type": "object",
  20379. "properties": {
  20380. "accountid": {
  20381. "description": "表示交易员ID.",
  20382. "type": "integer"
  20383. },
  20384. "curdeliveryqty": {
  20385. "description": "表示未交收量.",
  20386. "type": "number"
  20387. },
  20388. "customername": {
  20389. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20390. "type": "string"
  20391. },
  20392. "deliverygoodsid": {
  20393. "description": "表示品种ID.",
  20394. "type": "string"
  20395. },
  20396. "deliveryqty": {
  20397. "description": "表示交收量.",
  20398. "type": "number"
  20399. },
  20400. "matchaccountid": {
  20401. "description": "表示业务员ID.",
  20402. "type": "integer"
  20403. },
  20404. "matchcustomername": {
  20405. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20406. "type": "string"
  20407. },
  20408. "priceqty": {
  20409. "description": "表示定价量.",
  20410. "type": "number"
  20411. },
  20412. "relatedbizid": {
  20413. "description": "表示业务ID.",
  20414. "type": "string"
  20415. },
  20416. "signdate": {
  20417. "description": "表示签订日期.",
  20418. "type": "string"
  20419. },
  20420. "spotcontractid": {
  20421. "description": "合同ID",
  20422. "type": "string"
  20423. },
  20424. "status": {
  20425. "description": "表示状态,0-履约中 1-已完成.",
  20426. "type": "integer"
  20427. },
  20428. "totalqty": {
  20429. "description": "表示合同量.",
  20430. "type": "number"
  20431. },
  20432. "unpricedqty": {
  20433. "description": "表示未定价量.",
  20434. "type": "number"
  20435. },
  20436. "wrstandardname": {
  20437. "description": "表示商品ID.",
  20438. "type": "string"
  20439. }
  20440. }
  20441. },
  20442. "erms3.QueryUserInfoAppliesRsp": {
  20443. "type": "object",
  20444. "required": [
  20445. "userid"
  20446. ],
  20447. "properties": {
  20448. "biznature": {
  20449. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20450. "type": "integer"
  20451. },
  20452. "contactname": {
  20453. "description": "联系人",
  20454. "type": "string"
  20455. },
  20456. "createtime": {
  20457. "description": "开户申请时间",
  20458. "type": "string"
  20459. },
  20460. "userid": {
  20461. "description": "用户ID(自增ID)",
  20462. "type": "integer"
  20463. },
  20464. "userinfotype": {
  20465. "description": "用户信息类型 - 1:个人 2:企业",
  20466. "type": "integer"
  20467. },
  20468. "username": {
  20469. "description": "用户姓名",
  20470. "type": "string"
  20471. },
  20472. "userstate": {
  20473. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20474. "type": "integer"
  20475. }
  20476. }
  20477. },
  20478. "erms3.QueryUserInfosRsp": {
  20479. "type": "object",
  20480. "required": [
  20481. "userid"
  20482. ],
  20483. "properties": {
  20484. "biznature": {
  20485. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20486. "type": "integer"
  20487. },
  20488. "contactname": {
  20489. "description": "联系人",
  20490. "type": "string"
  20491. },
  20492. "customername": {
  20493. "description": "客户名称(企业名称)",
  20494. "type": "string"
  20495. },
  20496. "userid": {
  20497. "description": "用户ID",
  20498. "type": "integer"
  20499. },
  20500. "userinfotype": {
  20501. "description": "用户信息类型 - 1:个人 2:企业",
  20502. "type": "integer"
  20503. },
  20504. "userstatus": {
  20505. "description": "用户状态 - 1:正常 2:注销",
  20506. "type": "integer"
  20507. }
  20508. }
  20509. },
  20510. "erms3.SoptContractDetail": {
  20511. "type": "object",
  20512. "required": [
  20513. "deliverygoodsid",
  20514. "producttype",
  20515. "unitname",
  20516. "warehouseid",
  20517. "wrstandardid",
  20518. "wrstandardname"
  20519. ],
  20520. "properties": {
  20521. "deliverygoodsdesc": {
  20522. "description": "现货品种说明",
  20523. "type": "string"
  20524. },
  20525. "deliverygoodsid": {
  20526. "description": "现货品种ID",
  20527. "type": "integer"
  20528. },
  20529. "deliverygoodsname": {
  20530. "description": "现货品种名称",
  20531. "type": "string"
  20532. },
  20533. "pointdesc": {
  20534. "description": "点价描述",
  20535. "type": "string"
  20536. },
  20537. "producttype": {
  20538. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20539. "type": "integer"
  20540. },
  20541. "producttypename": {
  20542. "description": "产品类型名称",
  20543. "type": "string"
  20544. },
  20545. "spotPointOrderVoList": {
  20546. "description": "点价列表",
  20547. "type": "array",
  20548. "items": {
  20549. "$ref": "#/definitions/erms3.SpotPointOrder"
  20550. }
  20551. },
  20552. "spotPriceOrderList": {
  20553. "description": "定价列表",
  20554. "type": "array",
  20555. "items": {
  20556. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20557. }
  20558. },
  20559. "unitname": {
  20560. "description": "单位名称",
  20561. "type": "string"
  20562. },
  20563. "warehouseid": {
  20564. "description": "仓库ID",
  20565. "type": "integer"
  20566. },
  20567. "warehousename": {
  20568. "description": "仓库名称",
  20569. "type": "string"
  20570. },
  20571. "wrstandardid": {
  20572. "description": "交易标的ID",
  20573. "type": "integer"
  20574. },
  20575. "wrstandardname": {
  20576. "description": "交易标的名称",
  20577. "type": "string"
  20578. }
  20579. }
  20580. },
  20581. "erms3.SpotPointOrder": {
  20582. "type": "object",
  20583. "required": [
  20584. "basic",
  20585. "goodsid",
  20586. "qty"
  20587. ],
  20588. "properties": {
  20589. "basic": {
  20590. "description": "基差",
  20591. "type": "number"
  20592. },
  20593. "deliveryenddate": {
  20594. "description": "交收结束日期",
  20595. "type": "string"
  20596. },
  20597. "deliverystartdate": {
  20598. "description": "交收开始日期",
  20599. "type": "string"
  20600. },
  20601. "enddate": {
  20602. "description": "点价结束日期",
  20603. "type": "string"
  20604. },
  20605. "goodsid": {
  20606. "description": "商品ID",
  20607. "type": "integer"
  20608. },
  20609. "goodsname": {
  20610. "description": "商品名称",
  20611. "type": "string"
  20612. },
  20613. "qty": {
  20614. "description": "数量",
  20615. "type": "number"
  20616. },
  20617. "startdate": {
  20618. "description": "点价开始日期",
  20619. "type": "string"
  20620. }
  20621. }
  20622. },
  20623. "erms3.SpotPriceOrder": {
  20624. "type": "object",
  20625. "required": [
  20626. "amount",
  20627. "price",
  20628. "qty"
  20629. ],
  20630. "properties": {
  20631. "amount": {
  20632. "description": "金额",
  20633. "type": "number"
  20634. },
  20635. "deliveryenddate": {
  20636. "description": "交收结束日期",
  20637. "type": "string"
  20638. },
  20639. "deliverystartdate": {
  20640. "description": "交收开始日期",
  20641. "type": "string"
  20642. },
  20643. "price": {
  20644. "description": "价格",
  20645. "type": "number"
  20646. },
  20647. "qty": {
  20648. "description": "数量",
  20649. "type": "number"
  20650. }
  20651. }
  20652. },
  20653. "hsby.GetHsbyMyCountRsp": {
  20654. "type": "object",
  20655. "properties": {
  20656. "myCouponCount": {
  20657. "description": "我的优惠卷数量",
  20658. "type": "integer"
  20659. },
  20660. "myOrderDetailListingCount": {
  20661. "description": "我的订单求购中数量",
  20662. "type": "integer"
  20663. },
  20664. "myOrderDetailPreCount": {
  20665. "description": "我的订单抢购中数量",
  20666. "type": "integer"
  20667. },
  20668. "myPackageUnReceiveCount": {
  20669. "description": "我的包裹待收货数量",
  20670. "type": "integer"
  20671. },
  20672. "myPackageUnSendCount": {
  20673. "description": "我的包裹待发货数量",
  20674. "type": "integer"
  20675. },
  20676. "myPayOrderCount": {
  20677. "description": "我的订单待付款数量",
  20678. "type": "integer"
  20679. }
  20680. }
  20681. },
  20682. "hsby.QueryProvincesAndCitiesRsp": {
  20683. "type": "object",
  20684. "properties": {
  20685. "cities": {
  20686. "description": "市",
  20687. "type": "array",
  20688. "items": {
  20689. "$ref": "#/definitions/models.Division"
  20690. }
  20691. },
  20692. "province": {
  20693. "description": "省",
  20694. "$ref": "#/definitions/models.Division"
  20695. }
  20696. }
  20697. },
  20698. "models.Arearole": {
  20699. "type": "object",
  20700. "required": [
  20701. "roletype",
  20702. "userid"
  20703. ],
  20704. "properties": {
  20705. "createtime": {
  20706. "description": "创建时间",
  20707. "type": "string"
  20708. },
  20709. "creatorid": {
  20710. "description": "创建人ID",
  20711. "type": "integer"
  20712. },
  20713. "fromuserid": {
  20714. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20715. "type": "integer"
  20716. },
  20717. "isreturnscore": {
  20718. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20719. "type": "integer"
  20720. },
  20721. "modifierid": {
  20722. "description": "修改人ID",
  20723. "type": "integer"
  20724. },
  20725. "modifytime": {
  20726. "description": "修改时间",
  20727. "type": "string"
  20728. },
  20729. "orgtype": {
  20730. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  20731. "type": "integer"
  20732. },
  20733. "outuserid": {
  20734. "description": "外部账户[场外期权做市商]",
  20735. "type": "string"
  20736. },
  20737. "parentuserid": {
  20738. "description": "上级组织机构(组织机构)",
  20739. "type": "integer"
  20740. },
  20741. "roletype": {
  20742. "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:门店",
  20743. "type": "integer"
  20744. },
  20745. "rootuserid": {
  20746. "description": "顶级组织机构用户ID(组织机构)",
  20747. "type": "integer"
  20748. },
  20749. "shoppassword": {
  20750. "description": "商城店铺登陆密码(商城店铺角色使用)",
  20751. "type": "string"
  20752. },
  20753. "sublevelpath": {
  20754. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  20755. "type": "string"
  20756. },
  20757. "suborgtype": {
  20758. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20759. "type": "integer"
  20760. },
  20761. "tradeaccountid": {
  20762. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  20763. "type": "integer"
  20764. },
  20765. "transurl": {
  20766. "description": "物流地址(物流机构)",
  20767. "type": "string"
  20768. },
  20769. "userid": {
  20770. "description": "机构用户ID其他做市关系,都设置为 1",
  20771. "type": "integer"
  20772. }
  20773. }
  20774. },
  20775. "models.Clientfixedadconfig": {
  20776. "type": "object",
  20777. "required": [
  20778. "adsort",
  20779. "adtype"
  20780. ],
  20781. "properties": {
  20782. "adsort": {
  20783. "description": "排序",
  20784. "type": "integer"
  20785. },
  20786. "adtype": {
  20787. "description": "广告位类型 - 1:新品抢购(HSBY)",
  20788. "type": "integer"
  20789. },
  20790. "areauserid": {
  20791. "description": "所属机构ID",
  20792. "type": "integer"
  20793. },
  20794. "createdate": {
  20795. "description": "创建时间",
  20796. "type": "string"
  20797. },
  20798. "creatorid": {
  20799. "description": "创建人",
  20800. "type": "integer"
  20801. },
  20802. "imagepath": {
  20803. "description": "图片",
  20804. "type": "string"
  20805. },
  20806. "isshow": {
  20807. "description": "是否展示 - 0:不展示 1:展示",
  20808. "type": "integer"
  20809. },
  20810. "modifierid": {
  20811. "description": "操作人",
  20812. "type": "integer"
  20813. },
  20814. "recsize": {
  20815. "description": "推荐尺寸",
  20816. "type": "string"
  20817. },
  20818. "title": {
  20819. "description": "标题",
  20820. "type": "string"
  20821. },
  20822. "updatedate": {
  20823. "description": "更新时间",
  20824. "type": "string"
  20825. },
  20826. "urlcontent": {
  20827. "description": "链接(地址或商品ID)",
  20828. "type": "string"
  20829. },
  20830. "urltype": {
  20831. "description": "链接类型 - 1:直接地址 2:商品ID",
  20832. "type": "integer"
  20833. }
  20834. }
  20835. },
  20836. "models.DgFactoryItem": {
  20837. "type": "object",
  20838. "properties": {
  20839. "dgfactoryitemid": {
  20840. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  20841. "type": "integer"
  20842. },
  20843. "dgfactoryitemtypeid": {
  20844. "description": "要素项类型",
  20845. "type": "integer"
  20846. },
  20847. "dgfactoryitemvalue": {
  20848. "description": "要素项值(类型为仓库时填写仓库名称)",
  20849. "type": "string"
  20850. },
  20851. "orderindex": {
  20852. "description": "顺序",
  20853. "type": "integer"
  20854. }
  20855. }
  20856. },
  20857. "models.Division": {
  20858. "type": "object",
  20859. "required": [
  20860. "autoid",
  20861. "divisioncode"
  20862. ],
  20863. "properties": {
  20864. "autoid": {
  20865. "description": "自增ID",
  20866. "type": "integer"
  20867. },
  20868. "divisioncode": {
  20869. "description": "行政代码",
  20870. "type": "string"
  20871. },
  20872. "divisionlevel": {
  20873. "description": "行政级别",
  20874. "type": "string"
  20875. },
  20876. "divisionname": {
  20877. "description": "行政名称",
  20878. "type": "string"
  20879. },
  20880. "modifierid": {
  20881. "description": "修改人",
  20882. "type": "integer"
  20883. },
  20884. "modifytime": {
  20885. "description": "修改时间",
  20886. "type": "string"
  20887. },
  20888. "parentcode": {
  20889. "description": "上级行政代码",
  20890. "type": "string"
  20891. },
  20892. "pathname": {
  20893. "description": "路径名称",
  20894. "type": "string"
  20895. },
  20896. "postcode": {
  20897. "description": "邮政编码",
  20898. "type": "string"
  20899. },
  20900. "separablename": {
  20901. "description": "可拆分的全称",
  20902. "type": "string"
  20903. },
  20904. "shortcode": {
  20905. "description": "地区简码",
  20906. "type": "string"
  20907. }
  20908. }
  20909. },
  20910. "models.Enumdicitem": {
  20911. "type": "object",
  20912. "required": [
  20913. "autoid",
  20914. "enumdiccode",
  20915. "enumdicid",
  20916. "enumitemname"
  20917. ],
  20918. "properties": {
  20919. "autoid": {
  20920. "description": "自增ID",
  20921. "type": "integer"
  20922. },
  20923. "bankmappedvalue": {
  20924. "description": "银行服务对应值",
  20925. "type": "string"
  20926. },
  20927. "enumdiccode": {
  20928. "description": "所属枚举代码",
  20929. "type": "string"
  20930. },
  20931. "enumdicid": {
  20932. "description": "所属枚举ID",
  20933. "type": "integer"
  20934. },
  20935. "enumdicname": {
  20936. "description": "枚举项名称",
  20937. "type": "string"
  20938. },
  20939. "enumitemname": {
  20940. "description": "枚举项值",
  20941. "type": "integer"
  20942. },
  20943. "enumitemstatus": {
  20944. "description": "枚举项状态 - 1.启用 2.不启用",
  20945. "type": "integer"
  20946. },
  20947. "enumitemvalue": {
  20948. "description": "通用值 - [币种通用简写]",
  20949. "type": "string"
  20950. },
  20951. "param1": {
  20952. "description": "参数1[币种:币种小数位]",
  20953. "type": "string"
  20954. },
  20955. "param2": {
  20956. "description": "参数1[币种:币种显示单位]",
  20957. "type": "string"
  20958. },
  20959. "remark": {
  20960. "description": "备注",
  20961. "type": "string"
  20962. }
  20963. }
  20964. },
  20965. "models.Ermcp2AreaExposure": {
  20966. "type": "object",
  20967. "properties": {
  20968. "areauserid": {
  20969. "description": "所属机构",
  20970. "type": "integer"
  20971. },
  20972. "enumdicname": {
  20973. "description": "单位",
  20974. "type": "string"
  20975. },
  20976. "futureqty": {
  20977. "description": "期货套期量",
  20978. "type": "number"
  20979. },
  20980. "goodsunitid": {
  20981. "description": "单位ID",
  20982. "type": "integer"
  20983. },
  20984. "hedgedspotexposure": {
  20985. "description": "被套期现货敞口量",
  20986. "type": "number"
  20987. },
  20988. "hedgedspratio": {
  20989. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  20990. "type": "number"
  20991. },
  20992. "hedgedtotalexposure": {
  20993. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  20994. "type": "number"
  20995. },
  20996. "hedgeplanqty": {
  20997. "description": "套期计划量",
  20998. "type": "number"
  20999. },
  21000. "hedgespotqty": {
  21001. "description": "被套期现货量",
  21002. "type": "number"
  21003. },
  21004. "middlegoodsid": {
  21005. "description": "套保品种",
  21006. "type": "integer"
  21007. },
  21008. "middlegoodsname": {
  21009. "description": "套保品种名称",
  21010. "type": "string"
  21011. },
  21012. "orifutureqty": {
  21013. "description": "期初期货套期量",
  21014. "type": "number"
  21015. },
  21016. "orihedgedspotexposure": {
  21017. "description": "期初被套期现货敞口量",
  21018. "type": "number"
  21019. },
  21020. "orihedgedtotalexposure": {
  21021. "description": "期初套期敞口量",
  21022. "type": "number"
  21023. },
  21024. "orihedgeplanqty": {
  21025. "description": "期初套期计划量",
  21026. "type": "number"
  21027. },
  21028. "orihedgespotqty": {
  21029. "description": "期初被套期现货量",
  21030. "type": "number"
  21031. },
  21032. "orispotexposure": {
  21033. "description": "期初现货敞口量",
  21034. "type": "number"
  21035. },
  21036. "orispotqty": {
  21037. "description": "期初现货总量",
  21038. "type": "number"
  21039. },
  21040. "oritotalexposure": {
  21041. "description": "期初总敞口量",
  21042. "type": "number"
  21043. },
  21044. "spotexposure": {
  21045. "description": "现货敞口量",
  21046. "type": "number"
  21047. },
  21048. "spotqty": {
  21049. "description": "现货总量",
  21050. "type": "number"
  21051. },
  21052. "spratio": {
  21053. "description": "总期现比例 = 期货套期量/现货敞口量",
  21054. "type": "number"
  21055. },
  21056. "totalexposure": {
  21057. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21058. "type": "number"
  21059. },
  21060. "updatetime": {
  21061. "description": "更新时间 --DATE",
  21062. "type": "string"
  21063. }
  21064. }
  21065. },
  21066. "models.Ermcp2hedgeditem": {
  21067. "type": "object",
  21068. "properties": {
  21069. "accountname": {
  21070. "description": "套期主体",
  21071. "type": "string"
  21072. },
  21073. "applyid": {
  21074. "description": "申请人",
  21075. "type": "integer"
  21076. },
  21077. "applysrc": {
  21078. "description": "申请来源 - 1:管理端 2:终端",
  21079. "type": "integer"
  21080. },
  21081. "areauserid": {
  21082. "description": "企业ID",
  21083. "type": "integer"
  21084. },
  21085. "auditid": {
  21086. "description": "审核人",
  21087. "type": "integer"
  21088. },
  21089. "auditremark": {
  21090. "description": "审核备注",
  21091. "type": "string"
  21092. },
  21093. "auditsrc": {
  21094. "description": "审核来源 - 1:管理端 2:终端",
  21095. "type": "integer"
  21096. },
  21097. "audittime": {
  21098. "description": "审核时间",
  21099. "type": "string"
  21100. },
  21101. "audittradedate": {
  21102. "description": "审核交易日(yyyyMMdd)",
  21103. "type": "string"
  21104. },
  21105. "createtime": {
  21106. "description": "申请时间",
  21107. "type": "string"
  21108. },
  21109. "curprice": {
  21110. "description": "当前市场价",
  21111. "type": "number"
  21112. },
  21113. "curstock": {
  21114. "description": "期末库存量 = 采购总量 - 销售总量",
  21115. "type": "number"
  21116. },
  21117. "deliverygoodsid": {
  21118. "description": "现货品种ID",
  21119. "type": "integer"
  21120. },
  21121. "enddate": {
  21122. "description": "完成日期",
  21123. "type": "string"
  21124. },
  21125. "endtradedate": {
  21126. "description": "完成交易日",
  21127. "type": "string"
  21128. },
  21129. "enumdicname": {
  21130. "description": "单位",
  21131. "type": "string"
  21132. },
  21133. "exeamount": {
  21134. "description": "执行市价总额",
  21135. "type": "number"
  21136. },
  21137. "exeavgprice": {
  21138. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21139. "type": "number"
  21140. },
  21141. "execontractamount": {
  21142. "description": "执行定价总额",
  21143. "type": "number"
  21144. },
  21145. "exeqty": {
  21146. "description": "执行现货量",
  21147. "type": "number"
  21148. },
  21149. "exerestamount": {
  21150. "description": "执行剩余市价总额【现货贸易】",
  21151. "type": "number"
  21152. },
  21153. "futurefloatpl": {
  21154. "description": "期货浮动损益",
  21155. "type": "number"
  21156. },
  21157. "futurehedgepl": {
  21158. "description": "期货实际损益",
  21159. "type": "number"
  21160. },
  21161. "futurehedgeplchange": {
  21162. "description": "期货实际损益变动",
  21163. "type": "number"
  21164. },
  21165. "futurepl": {
  21166. "description": "期货套期损益",
  21167. "type": "number"
  21168. },
  21169. "futureplchange": {
  21170. "description": "期货套期损益变动",
  21171. "type": "number"
  21172. },
  21173. "hedgeamount": {
  21174. "description": "套期市价总额",
  21175. "type": "number"
  21176. },
  21177. "hedgecontractamount": {
  21178. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21179. "type": "number"
  21180. },
  21181. "hedgeditemid": {
  21182. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21183. "type": "string"
  21184. },
  21185. "hedgeditemname": {
  21186. "description": "项目名称",
  21187. "type": "string"
  21188. },
  21189. "hedgeditemnum": {
  21190. "description": "项目编号",
  21191. "type": "string"
  21192. },
  21193. "hedgeditemstatus": {
  21194. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21195. "type": "integer"
  21196. },
  21197. "hedgedtype": {
  21198. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21199. "type": "integer"
  21200. },
  21201. "hedgeqty": {
  21202. "description": "套期现货量",
  21203. "type": "number"
  21204. },
  21205. "hedgerate": {
  21206. "description": "套保比率",
  21207. "type": "number"
  21208. },
  21209. "hedgerestamount": {
  21210. "description": "套期剩余市价总额【现货贸易】",
  21211. "type": "number"
  21212. },
  21213. "hedgesumpl": {
  21214. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21215. "type": "number"
  21216. },
  21217. "middlegoodslist": {
  21218. "description": "套期商品列表",
  21219. "type": "array",
  21220. "items": {
  21221. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21222. }
  21223. },
  21224. "oriavgprice": {
  21225. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21226. "type": "number"
  21227. },
  21228. "orifuturehedgepl": {
  21229. "description": "期初期货实际损益",
  21230. "type": "number"
  21231. },
  21232. "orifuturepl": {
  21233. "description": "期初期货套期损益",
  21234. "type": "number"
  21235. },
  21236. "orispothedgepl": {
  21237. "description": "期初现货实际损益",
  21238. "type": "number"
  21239. },
  21240. "orispotpl": {
  21241. "description": "期初现货套期损益",
  21242. "type": "number"
  21243. },
  21244. "planenddate": {
  21245. "description": "计划结束日期",
  21246. "type": "string"
  21247. },
  21248. "planstartdate": {
  21249. "description": "计划开始日期",
  21250. "type": "string"
  21251. },
  21252. "remark": {
  21253. "description": "备注",
  21254. "type": "string"
  21255. },
  21256. "spotbookamount": {
  21257. "description": "现货账面总额",
  21258. "type": "number"
  21259. },
  21260. "spotfloatpl": {
  21261. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21262. "type": "number"
  21263. },
  21264. "spothedgepl": {
  21265. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21266. "type": "number"
  21267. },
  21268. "spothedgeplchange": {
  21269. "description": "现货实际损益变动",
  21270. "type": "number"
  21271. },
  21272. "spotpl": {
  21273. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21274. "type": "number"
  21275. },
  21276. "spotplchange": {
  21277. "description": "现货套期损益变动",
  21278. "type": "number"
  21279. },
  21280. "spottradepl": {
  21281. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21282. "type": "number"
  21283. },
  21284. "sumobspl": {
  21285. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21286. "type": "number"
  21287. },
  21288. "tradeuserid": {
  21289. "description": "交易用户ID",
  21290. "type": "integer"
  21291. },
  21292. "unexeqty": {
  21293. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21294. "type": "number"
  21295. },
  21296. "updatetime": {
  21297. "description": "更新时间",
  21298. "type": "string"
  21299. },
  21300. "vatpl": {
  21301. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21302. "type": "number"
  21303. },
  21304. "vatrate": {
  21305. "description": "增值税",
  21306. "type": "number"
  21307. },
  21308. "wrstandardid": {
  21309. "description": "现货商品ID",
  21310. "type": "integer"
  21311. },
  21312. "wrstandardname": {
  21313. "description": "商品名称",
  21314. "type": "string"
  21315. }
  21316. }
  21317. },
  21318. "models.Ermcp2hedgeditemsDetail": {
  21319. "type": "object",
  21320. "properties": {
  21321. "accountname": {
  21322. "description": "套期主体",
  21323. "type": "string"
  21324. },
  21325. "areauserid": {
  21326. "description": "企业ID",
  21327. "type": "integer"
  21328. },
  21329. "createtime": {
  21330. "description": "创建时间",
  21331. "type": "string"
  21332. },
  21333. "customeruserid": {
  21334. "description": "对手方 【3:采购合同 4:销售合同】",
  21335. "type": "integer"
  21336. },
  21337. "deliverygoodsid": {
  21338. "description": "现货品种ID",
  21339. "type": "integer"
  21340. },
  21341. "enumdicname": {
  21342. "description": "单位",
  21343. "type": "string"
  21344. },
  21345. "hedgeditemid": {
  21346. "description": "被套期项目ID",
  21347. "type": "string"
  21348. },
  21349. "hedgeditemspotid": {
  21350. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21351. "type": "string"
  21352. },
  21353. "hedgedtype": {
  21354. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21355. "type": "integer"
  21356. },
  21357. "hedgeplanno": {
  21358. "description": "计划编号",
  21359. "type": "string"
  21360. },
  21361. "oriavgprice": {
  21362. "description": "期初市场价[当初市场价]",
  21363. "type": "number"
  21364. },
  21365. "relatedamount": {
  21366. "description": "市价总额 = 关联数量 * 期初市场价",
  21367. "type": "number"
  21368. },
  21369. "relatedhedgeplanid": {
  21370. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21371. "type": "integer"
  21372. },
  21373. "relatedqty": {
  21374. "description": "[期间变化量]关联数量",
  21375. "type": "number"
  21376. },
  21377. "relatedspotcontractid": {
  21378. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21379. "type": "integer"
  21380. },
  21381. "relatedtype": {
  21382. "description": "关联类型 - 1:套期关联 2:执行关联",
  21383. "type": "integer"
  21384. },
  21385. "spotgoodsbrandid": {
  21386. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21387. "type": "integer"
  21388. },
  21389. "spotpricedamount": {
  21390. "description": "定价总额",
  21391. "type": "number"
  21392. },
  21393. "spotpricedavgprice": {
  21394. "description": "现货均价 = 定价总额 / 关联数量",
  21395. "type": "number"
  21396. },
  21397. "spottype": {
  21398. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21399. "type": "integer"
  21400. },
  21401. "tradeuserid": {
  21402. "description": "交易用户ID",
  21403. "type": "integer"
  21404. },
  21405. "unexeqty": {
  21406. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21407. "type": "number"
  21408. },
  21409. "wrstandardid": {
  21410. "description": "现货商品ID",
  21411. "type": "integer"
  21412. },
  21413. "wrstandardname": {
  21414. "description": "现货商品",
  21415. "type": "string"
  21416. }
  21417. }
  21418. },
  21419. "models.Ermcp2hedgeditemspot": {
  21420. "type": "object",
  21421. "required": [
  21422. "hedgeditemid"
  21423. ],
  21424. "properties": {
  21425. "areauserid": {
  21426. "description": "企业ID",
  21427. "type": "integer"
  21428. },
  21429. "createtime": {
  21430. "description": "创建时间",
  21431. "type": "string"
  21432. },
  21433. "customeruserid": {
  21434. "description": "对手方 【3:采购合同 4:销售合同】",
  21435. "type": "integer"
  21436. },
  21437. "deliverygoodsid": {
  21438. "description": "现货品种ID",
  21439. "type": "integer"
  21440. },
  21441. "enumdicname": {
  21442. "description": "单位",
  21443. "type": "string"
  21444. },
  21445. "hedgeditemid": {
  21446. "description": "被套期项目ID",
  21447. "type": "string"
  21448. },
  21449. "hedgeditemspotid": {
  21450. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21451. "type": "string"
  21452. },
  21453. "hedgedtype": {
  21454. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21455. "type": "integer"
  21456. },
  21457. "hedgeplanno": {
  21458. "description": "计划编号",
  21459. "type": "string"
  21460. },
  21461. "oriavgprice": {
  21462. "description": "期初市场价[当初市场价]",
  21463. "type": "number"
  21464. },
  21465. "relatedamount": {
  21466. "description": "市价总额 = 关联数量 * 期初市场价",
  21467. "type": "number"
  21468. },
  21469. "relatedhedgeplanid": {
  21470. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21471. "type": "integer"
  21472. },
  21473. "relatedqty": {
  21474. "description": "关联数量[数量]",
  21475. "type": "number"
  21476. },
  21477. "relatedspotcontractid": {
  21478. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21479. "type": "integer"
  21480. },
  21481. "relatedtype": {
  21482. "description": "关联类型 - 1:套期关联 2:执行关联",
  21483. "type": "integer"
  21484. },
  21485. "spotgoodsbrandid": {
  21486. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21487. "type": "integer"
  21488. },
  21489. "spotpricedamount": {
  21490. "description": "定价总额",
  21491. "type": "number"
  21492. },
  21493. "spotpricedavgprice": {
  21494. "description": "现货均价 = 定价总额 / 关联数量",
  21495. "type": "number"
  21496. },
  21497. "spottype": {
  21498. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21499. "type": "integer"
  21500. },
  21501. "tradeuserid": {
  21502. "description": "交易用户ID",
  21503. "type": "integer"
  21504. },
  21505. "wrstandardid": {
  21506. "description": "现货商品ID",
  21507. "type": "integer"
  21508. },
  21509. "wrstandardname": {
  21510. "description": "现货商品",
  21511. "type": "string"
  21512. }
  21513. }
  21514. },
  21515. "models.Ermcp2hedgeditemspotDetail": {
  21516. "type": "object",
  21517. "required": [
  21518. "hedgeditemid"
  21519. ],
  21520. "properties": {
  21521. "accountname": {
  21522. "description": "对手方",
  21523. "type": "string"
  21524. },
  21525. "areauserid": {
  21526. "description": "企业ID",
  21527. "type": "integer"
  21528. },
  21529. "brandname": {
  21530. "description": "品牌",
  21531. "type": "string"
  21532. },
  21533. "contractno": {
  21534. "description": "合同编号",
  21535. "type": "string"
  21536. },
  21537. "createtime": {
  21538. "description": "创建时间",
  21539. "type": "string"
  21540. },
  21541. "customeruserid": {
  21542. "description": "对手方 【3:采购合同 4:销售合同】",
  21543. "type": "integer"
  21544. },
  21545. "deliverygoodsid": {
  21546. "description": "现货品种ID",
  21547. "type": "integer"
  21548. },
  21549. "enumdicname": {
  21550. "description": "单位",
  21551. "type": "string"
  21552. },
  21553. "hedgeditemid": {
  21554. "description": "被套期项目ID",
  21555. "type": "string"
  21556. },
  21557. "hedgeditemspotid": {
  21558. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21559. "type": "string"
  21560. },
  21561. "hedgedtype": {
  21562. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21563. "type": "integer"
  21564. },
  21565. "oriavgprice": {
  21566. "description": "期初市场价[当初市场价]",
  21567. "type": "number"
  21568. },
  21569. "relatedamount": {
  21570. "description": "市价总额 = 关联数量 * 期初市场价",
  21571. "type": "number"
  21572. },
  21573. "relatedhedgeplanid": {
  21574. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21575. "type": "integer"
  21576. },
  21577. "relatedqty": {
  21578. "description": "关联数量[数量]",
  21579. "type": "number"
  21580. },
  21581. "relatedspotcontractid": {
  21582. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21583. "type": "integer"
  21584. },
  21585. "relatedtype": {
  21586. "description": "关联类型 - 1:套期关联 2:执行关联",
  21587. "type": "integer"
  21588. },
  21589. "spotgoodsbrandid": {
  21590. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21591. "type": "integer"
  21592. },
  21593. "spotpricedamount": {
  21594. "description": "定价总额[金额]",
  21595. "type": "number"
  21596. },
  21597. "spotpricedavgprice": {
  21598. "description": "现货均价 = 定价总额 / 关联数量",
  21599. "type": "number"
  21600. },
  21601. "spottype": {
  21602. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21603. "type": "integer"
  21604. },
  21605. "tradeuserid": {
  21606. "description": "交易用户ID",
  21607. "type": "integer"
  21608. },
  21609. "wrstandardid": {
  21610. "description": "现货商品ID",
  21611. "type": "integer"
  21612. },
  21613. "wrstandardname": {
  21614. "description": "现货商品",
  21615. "type": "string"
  21616. }
  21617. }
  21618. },
  21619. "models.Ermcp2himiddlegoods": {
  21620. "type": "object",
  21621. "required": [
  21622. "hedgeditemid",
  21623. "middlegoodsid"
  21624. ],
  21625. "properties": {
  21626. "futurehedgeqty": {
  21627. "description": "期货持仓套期量",
  21628. "type": "number"
  21629. },
  21630. "hedgeditemid": {
  21631. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21632. "type": "integer"
  21633. },
  21634. "hiexpsoure": {
  21635. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  21636. "type": "number"
  21637. },
  21638. "middlegoodscode": {
  21639. "description": "套保商品代码",
  21640. "type": "string"
  21641. },
  21642. "middlegoodsid": {
  21643. "description": "套保品种ID",
  21644. "type": "integer"
  21645. },
  21646. "middlegoodsname": {
  21647. "description": "套保商品名称",
  21648. "type": "string"
  21649. },
  21650. "unexehedgeqty": {
  21651. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  21652. "type": "number"
  21653. }
  21654. }
  21655. },
  21656. "models.Ermcp2stockspotchangelog": {
  21657. "type": "object",
  21658. "properties": {
  21659. "accountname": {
  21660. "description": "套期主体",
  21661. "type": "string"
  21662. },
  21663. "aftervalue": {
  21664. "description": "现货量",
  21665. "type": "number"
  21666. },
  21667. "beforevalue": {
  21668. "description": "变更前现货量",
  21669. "type": "number"
  21670. },
  21671. "contracttype": {
  21672. "description": "现货合同类型 - 1:采购 -1:销售",
  21673. "type": "integer"
  21674. },
  21675. "createtime": {
  21676. "description": "创建时间",
  21677. "type": "string"
  21678. },
  21679. "customerusername": {
  21680. "description": "对手方",
  21681. "type": "string"
  21682. },
  21683. "deliverygoodsid": {
  21684. "description": "现货品种ID",
  21685. "type": "integer"
  21686. },
  21687. "exetype": {
  21688. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  21689. "type": "integer"
  21690. },
  21691. "logid": {
  21692. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  21693. "type": "integer"
  21694. },
  21695. "logvalue": {
  21696. "description": "现货量变更值",
  21697. "type": "number"
  21698. },
  21699. "middlegoodschange": {
  21700. "description": "套期商品变化量 = LogValue * 折算系数* (1/(1+增值税))",
  21701. "type": "number"
  21702. },
  21703. "operatelogtype": {
  21704. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  21705. "type": "integer"
  21706. },
  21707. "relatedid": {
  21708. "description": "现货合同ID",
  21709. "type": "integer"
  21710. },
  21711. "spotgoodsbrandid": {
  21712. "description": "现货品牌ID",
  21713. "type": "integer"
  21714. },
  21715. "tradedate": {
  21716. "description": "交易日(yyyyMMdd)",
  21717. "type": "string"
  21718. },
  21719. "userid": {
  21720. "description": "机构ID",
  21721. "type": "integer"
  21722. },
  21723. "warehouseinfoid": {
  21724. "description": "仓库ID",
  21725. "type": "integer"
  21726. },
  21727. "wrfactortypeid": {
  21728. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21729. "type": "integer"
  21730. },
  21731. "wrstandardid": {
  21732. "description": "现货商品ID",
  21733. "type": "integer"
  21734. },
  21735. "wrstandardname": {
  21736. "description": "商品名称 LogValue * 折算系数* (1/(1+增值税))",
  21737. "type": "string"
  21738. }
  21739. }
  21740. },
  21741. "models.Ermcp3AreaSpot": {
  21742. "type": "object",
  21743. "properties": {
  21744. "areauserid": {
  21745. "description": "所属机构",
  21746. "type": "integer"
  21747. },
  21748. "convertratio": {
  21749. "description": "套保系数",
  21750. "type": "number"
  21751. },
  21752. "decreaseqty": {
  21753. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  21754. "type": "number"
  21755. },
  21756. "enumdicname": {
  21757. "description": "单位名称",
  21758. "type": "string"
  21759. },
  21760. "increaseqty": {
  21761. "description": "增加数量=销售计划数量+采购已定价数量",
  21762. "type": "number"
  21763. },
  21764. "oritoalspotqty": {
  21765. "description": "昨日数量",
  21766. "type": "number"
  21767. },
  21768. "totalspotqty": {
  21769. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  21770. "type": "number"
  21771. },
  21772. "unitid": {
  21773. "description": "现货商品单位id",
  21774. "type": "integer"
  21775. },
  21776. "updatetime": {
  21777. "description": "更新时间",
  21778. "type": "string"
  21779. },
  21780. "wrstandardcode": {
  21781. "description": "现货商品代码",
  21782. "type": "string"
  21783. },
  21784. "wrstandardid": {
  21785. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21786. "type": "integer"
  21787. },
  21788. "wrstandardname": {
  21789. "description": "现货商品名称",
  21790. "type": "string"
  21791. }
  21792. }
  21793. },
  21794. "models.Ermcp3AreaSpotDetail": {
  21795. "type": "object",
  21796. "properties": {
  21797. "contracttype": {
  21798. "description": "合同类型 1-采购 -1-销售",
  21799. "type": "integer"
  21800. },
  21801. "createtime": {
  21802. "description": "创建时间",
  21803. "type": "string"
  21804. },
  21805. "enumdicname": {
  21806. "description": "现货商品单位名称",
  21807. "type": "string"
  21808. },
  21809. "logtype": {
  21810. "description": "记录类型 1-套保 2-现货合同",
  21811. "type": "integer"
  21812. },
  21813. "qty": {
  21814. "description": "数量",
  21815. "type": "number"
  21816. },
  21817. "recordname": {
  21818. "description": "类型名称",
  21819. "type": "string"
  21820. },
  21821. "relatedid": {
  21822. "description": "套保计划ID/现货合同ID",
  21823. "type": "string"
  21824. },
  21825. "relatedno": {
  21826. "description": "编号",
  21827. "type": "string"
  21828. },
  21829. "strtime": {
  21830. "description": "时间",
  21831. "type": "string"
  21832. },
  21833. "wrstandardcode": {
  21834. "description": "现货商品代码",
  21835. "type": "string"
  21836. },
  21837. "wrstandardid": {
  21838. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21839. "type": "integer"
  21840. },
  21841. "wrstandardname": {
  21842. "description": "现货商品名称",
  21843. "type": "string"
  21844. }
  21845. }
  21846. },
  21847. "models.Ermcp3AreaSpotPLReport": {
  21848. "type": "object",
  21849. "properties": {
  21850. "accountid": {
  21851. "description": "期货账户ID (作废, 默认为0)",
  21852. "type": "integer"
  21853. },
  21854. "accountname": {
  21855. "description": "机构名称",
  21856. "type": "string"
  21857. },
  21858. "actualpl": {
  21859. "description": "现货损益",
  21860. "type": "number"
  21861. },
  21862. "areauserid": {
  21863. "description": "所属机构\\交易用户ID",
  21864. "type": "integer"
  21865. },
  21866. "begindate": {
  21867. "description": "开始交易日",
  21868. "type": "string"
  21869. },
  21870. "biztype": {
  21871. "description": "业务类型 - 1:套保 2:套利",
  21872. "type": "integer"
  21873. },
  21874. "brandname": {
  21875. "description": "品牌名称",
  21876. "type": "string"
  21877. },
  21878. "curamount": {
  21879. "description": "期末额",
  21880. "type": "number"
  21881. },
  21882. "curaverageprice": {
  21883. "description": "期末均价",
  21884. "type": "number"
  21885. },
  21886. "curbuyamount": {
  21887. "description": "期末采购总额",
  21888. "type": "number"
  21889. },
  21890. "curbuyqty": {
  21891. "description": "期末采购总量",
  21892. "type": "number"
  21893. },
  21894. "curmarketvalue": {
  21895. "description": "参考市值(期末市值)",
  21896. "type": "number"
  21897. },
  21898. "curqty": {
  21899. "description": "期末量",
  21900. "type": "number"
  21901. },
  21902. "currencyid": {
  21903. "description": "结算币种ID【原值】",
  21904. "type": "integer"
  21905. },
  21906. "currencyname": {
  21907. "description": "币种名称",
  21908. "type": "string"
  21909. },
  21910. "cursellamount": {
  21911. "description": "期末销售总额",
  21912. "type": "number"
  21913. },
  21914. "cursellqty": {
  21915. "description": "期末销售总量",
  21916. "type": "number"
  21917. },
  21918. "curspotprice": {
  21919. "description": "参考市价(最新价)",
  21920. "type": "number"
  21921. },
  21922. "cycletime": {
  21923. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21924. "type": "string"
  21925. },
  21926. "cycletype": {
  21927. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21928. "type": "integer"
  21929. },
  21930. "deliverygoodscode": {
  21931. "description": "现货品种代码",
  21932. "type": "string"
  21933. },
  21934. "deliverygoodsid": {
  21935. "description": "现货品种ID",
  21936. "type": "integer"
  21937. },
  21938. "deliverygoodsname": {
  21939. "description": "现货品种名称",
  21940. "type": "string"
  21941. },
  21942. "enddate": {
  21943. "description": "结束交易日",
  21944. "type": "string"
  21945. },
  21946. "enumdicname": {
  21947. "description": "现货品种单位名称(作废)",
  21948. "type": "string"
  21949. },
  21950. "floatpl": {
  21951. "description": "浮动损益",
  21952. "type": "number"
  21953. },
  21954. "goodsunitid": {
  21955. "description": "现货品种单位id(作废)",
  21956. "type": "integer"
  21957. },
  21958. "oriamount": {
  21959. "description": "期初额",
  21960. "type": "number"
  21961. },
  21962. "oriaverageprice": {
  21963. "description": "期初均价",
  21964. "type": "number"
  21965. },
  21966. "oribuyamount": {
  21967. "description": "期初采购总额",
  21968. "type": "number"
  21969. },
  21970. "oribuyqty": {
  21971. "description": "期初采购总量",
  21972. "type": "number"
  21973. },
  21974. "oriqty": {
  21975. "description": "期初量",
  21976. "type": "number"
  21977. },
  21978. "orisellamount": {
  21979. "description": "期初销售总额",
  21980. "type": "number"
  21981. },
  21982. "orisellqty": {
  21983. "description": "期初销售总量",
  21984. "type": "number"
  21985. },
  21986. "reckondate": {
  21987. "description": "日照时期(yyyyMMdd)",
  21988. "type": "string"
  21989. },
  21990. "spotgoodsbrandid": {
  21991. "description": "现货品牌ID",
  21992. "type": "integer"
  21993. },
  21994. "todaybuyamount": {
  21995. "description": "今日采购额(今采购额)",
  21996. "type": "number"
  21997. },
  21998. "todaybuyaverageprice": {
  21999. "description": "今日采购均价",
  22000. "type": "number"
  22001. },
  22002. "todaybuyqty": {
  22003. "description": "今日采购量(今采购量)",
  22004. "type": "number"
  22005. },
  22006. "todayinqty": {
  22007. "description": "今日入库量(今入库量)",
  22008. "type": "number"
  22009. },
  22010. "todayoutqty": {
  22011. "description": "今日出库量(今出库量)",
  22012. "type": "number"
  22013. },
  22014. "todaysellamount": {
  22015. "description": "今日销售额(今销售额)",
  22016. "type": "number"
  22017. },
  22018. "todaysellaverageprice": {
  22019. "description": "今日销售均价",
  22020. "type": "number"
  22021. },
  22022. "todaysellqty": {
  22023. "description": "今日销售量(今销售量)",
  22024. "type": "number"
  22025. },
  22026. "unitid": {
  22027. "description": "品类单位id",
  22028. "type": "integer"
  22029. },
  22030. "unitidname": {
  22031. "description": "品类单位名称",
  22032. "type": "string"
  22033. },
  22034. "updatetime": {
  22035. "description": "更新时间",
  22036. "type": "string"
  22037. },
  22038. "wrfactortypeid": {
  22039. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22040. "type": "integer"
  22041. },
  22042. "wrstandardcode": {
  22043. "description": "现货商品(品类)代码",
  22044. "type": "string"
  22045. },
  22046. "wrstandardid": {
  22047. "description": "现货品类ID",
  22048. "type": "integer"
  22049. },
  22050. "wrstandardname": {
  22051. "description": "现货商品(品类)名称",
  22052. "type": "string"
  22053. }
  22054. }
  22055. },
  22056. "models.Ermcp3AreaStock": {
  22057. "type": "object",
  22058. "required": [
  22059. "userid"
  22060. ],
  22061. "properties": {
  22062. "brandname": {
  22063. "description": "品牌名称",
  22064. "type": "string"
  22065. },
  22066. "curstock": {
  22067. "description": "期末库存量(今日量)",
  22068. "type": "number"
  22069. },
  22070. "deliverygoodscode": {
  22071. "description": "现货品种代码",
  22072. "type": "string"
  22073. },
  22074. "deliverygoodsid": {
  22075. "description": "现货品种id",
  22076. "type": "integer"
  22077. },
  22078. "deliverygoodsname": {
  22079. "description": "现货品种名称",
  22080. "type": "string"
  22081. },
  22082. "enumdicname": {
  22083. "description": "单位名称",
  22084. "type": "string"
  22085. },
  22086. "goodsunitid": {
  22087. "description": "现货商品单位id",
  22088. "type": "integer"
  22089. },
  22090. "oristock": {
  22091. "description": "期初库存量(昨日量)",
  22092. "type": "number"
  22093. },
  22094. "spotgoodsbrandid": {
  22095. "description": "现货品牌ID",
  22096. "type": "integer"
  22097. },
  22098. "todaybuyinqty": {
  22099. "description": "今日采购入库量",
  22100. "type": "number"
  22101. },
  22102. "todayproduceinqty": {
  22103. "description": "今日生产入库量",
  22104. "type": "number"
  22105. },
  22106. "todayproduceoutqty": {
  22107. "description": "今日生产出库量",
  22108. "type": "number"
  22109. },
  22110. "todayselloutqty": {
  22111. "description": "今日销售出库量",
  22112. "type": "number"
  22113. },
  22114. "unitid": {
  22115. "description": "单位id",
  22116. "type": "integer"
  22117. },
  22118. "updatetime": {
  22119. "description": "更新时间",
  22120. "type": "string"
  22121. },
  22122. "userid": {
  22123. "description": "机构ID",
  22124. "type": "integer"
  22125. },
  22126. "username": {
  22127. "description": "机构名称",
  22128. "type": "string"
  22129. },
  22130. "warehousecode": {
  22131. "description": "仓库代码",
  22132. "type": "string"
  22133. },
  22134. "warehouseinfoid": {
  22135. "description": "仓库ID",
  22136. "type": "string"
  22137. },
  22138. "warehousename": {
  22139. "description": "仓库名称",
  22140. "type": "string"
  22141. },
  22142. "warehousetype": {
  22143. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22144. "type": "integer"
  22145. },
  22146. "wrstandardcode": {
  22147. "description": "品类代码",
  22148. "type": "string"
  22149. },
  22150. "wrstandardid": {
  22151. "description": "品类ID",
  22152. "type": "string"
  22153. },
  22154. "wrstandardname": {
  22155. "description": "品类名称",
  22156. "type": "string"
  22157. }
  22158. }
  22159. },
  22160. "models.Ermcp3AreaStockApply": {
  22161. "type": "object",
  22162. "properties": {
  22163. "applyid": {
  22164. "description": "申请人",
  22165. "type": "integer"
  22166. },
  22167. "applyname": {
  22168. "description": "申请人名称",
  22169. "type": "string"
  22170. },
  22171. "applyremark": {
  22172. "description": "申请备注",
  22173. "type": "string"
  22174. },
  22175. "applysrc": {
  22176. "description": "申请来源 - 1:管理端 2:终端",
  22177. "type": "integer"
  22178. },
  22179. "applystatus": {
  22180. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22181. "type": "integer"
  22182. },
  22183. "applytime": {
  22184. "description": "申请时间",
  22185. "type": "string"
  22186. },
  22187. "auditid": {
  22188. "description": "审核人",
  22189. "type": "integer"
  22190. },
  22191. "auditname": {
  22192. "description": "审核人名称",
  22193. "type": "string"
  22194. },
  22195. "auditremark": {
  22196. "description": "审核备注",
  22197. "type": "string"
  22198. },
  22199. "auditsrc": {
  22200. "description": "审核来源 - 1:管理端 2:终端",
  22201. "type": "integer"
  22202. },
  22203. "audittime": {
  22204. "description": "审核时间",
  22205. "type": "string"
  22206. },
  22207. "audittradedate": {
  22208. "description": "审核交易日(yyyyMMdd)",
  22209. "type": "string"
  22210. },
  22211. "brandname": {
  22212. "description": "品牌名称",
  22213. "type": "string"
  22214. },
  22215. "buynickname": {
  22216. "description": "采购方昵称",
  22217. "type": "string"
  22218. },
  22219. "buyuserid": {
  22220. "description": "采购方userid",
  22221. "type": "integer"
  22222. },
  22223. "buyusername": {
  22224. "description": "采购方名称",
  22225. "type": "string"
  22226. },
  22227. "contractno": {
  22228. "description": "合同编号",
  22229. "type": "string"
  22230. },
  22231. "contractqty": {
  22232. "description": "合同量",
  22233. "type": "number"
  22234. },
  22235. "contracttype": {
  22236. "description": "现货合同类型 - 1:采购 -1:销售",
  22237. "type": "integer"
  22238. },
  22239. "deliverygoodscode": {
  22240. "description": "现货品种代码",
  22241. "type": "string"
  22242. },
  22243. "deliverygoodsid": {
  22244. "description": "现货品种id",
  22245. "type": "integer"
  22246. },
  22247. "deliverygoodsname": {
  22248. "description": "现货品种名称",
  22249. "type": "string"
  22250. },
  22251. "detailjson": {
  22252. "description": "明细数据",
  22253. "type": "string"
  22254. },
  22255. "enumdicname": {
  22256. "description": "现货商品单位名称",
  22257. "type": "string"
  22258. },
  22259. "inoutapplyid": {
  22260. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22261. "type": "string"
  22262. },
  22263. "inouttype": {
  22264. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22265. "type": "integer"
  22266. },
  22267. "pricetype": {
  22268. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22269. "type": "integer"
  22270. },
  22271. "qty": {
  22272. "description": "数量",
  22273. "type": "number"
  22274. },
  22275. "sellnickname": {
  22276. "description": "销售方昵称",
  22277. "type": "string"
  22278. },
  22279. "selluserid": {
  22280. "description": "销售方userid",
  22281. "type": "integer"
  22282. },
  22283. "sellusername": {
  22284. "description": "销售方名称",
  22285. "type": "string"
  22286. },
  22287. "spotcontractid": {
  22288. "description": "关联现货合同ID",
  22289. "type": "string"
  22290. },
  22291. "spotgoodsbrandid": {
  22292. "description": "现货品牌ID",
  22293. "type": "integer"
  22294. },
  22295. "unitid": {
  22296. "description": "单位id",
  22297. "type": "integer"
  22298. },
  22299. "userid": {
  22300. "description": "机构ID",
  22301. "type": "integer"
  22302. },
  22303. "warehousecode": {
  22304. "description": "仓库代码",
  22305. "type": "string"
  22306. },
  22307. "warehouseinfoid": {
  22308. "description": "现货仓库ID",
  22309. "type": "string"
  22310. },
  22311. "warehousename": {
  22312. "description": "仓库名称",
  22313. "type": "string"
  22314. },
  22315. "warehousetype": {
  22316. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22317. "type": "integer"
  22318. },
  22319. "wrstandardcode": {
  22320. "description": "品类代码",
  22321. "type": "string"
  22322. },
  22323. "wrstandardid": {
  22324. "description": "品类ID",
  22325. "type": "integer"
  22326. },
  22327. "wrstandardname": {
  22328. "description": "品类名称",
  22329. "type": "string"
  22330. }
  22331. }
  22332. },
  22333. "models.Ermcp3AreaStockApplySum": {
  22334. "type": "object",
  22335. "properties": {
  22336. "brandname": {
  22337. "description": "品牌名称",
  22338. "type": "string"
  22339. },
  22340. "inouttype": {
  22341. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22342. "type": "integer"
  22343. },
  22344. "spotcontractid": {
  22345. "description": "关联现货合同ID",
  22346. "type": "string"
  22347. },
  22348. "spotgoodsbrandid": {
  22349. "description": "品牌id",
  22350. "type": "integer"
  22351. },
  22352. "totalqty": {
  22353. "description": "总数量",
  22354. "type": "number"
  22355. },
  22356. "wrstandardid": {
  22357. "description": "品类id",
  22358. "type": "integer"
  22359. },
  22360. "wrstandardname": {
  22361. "description": "品类名称",
  22362. "type": "string"
  22363. }
  22364. }
  22365. },
  22366. "models.Ermcp3AreaStockReportEx": {
  22367. "type": "object",
  22368. "properties": {
  22369. "begindate": {
  22370. "description": "开始交易日",
  22371. "type": "string"
  22372. },
  22373. "brandname": {
  22374. "description": "品牌名称",
  22375. "type": "string"
  22376. },
  22377. "curstock": {
  22378. "description": "期末库存量",
  22379. "type": "number"
  22380. },
  22381. "cycletime": {
  22382. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22383. "type": "string"
  22384. },
  22385. "cycletype": {
  22386. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22387. "type": "integer"
  22388. },
  22389. "deliverygoodscode": {
  22390. "description": "现货品种代码",
  22391. "type": "string"
  22392. },
  22393. "deliverygoodsid": {
  22394. "description": "现货品种id",
  22395. "type": "integer"
  22396. },
  22397. "deliverygoodsname": {
  22398. "description": "现货品种名称",
  22399. "type": "string"
  22400. },
  22401. "diffqty": {
  22402. "description": "库存变化量 = 期末 - 期初",
  22403. "type": "number"
  22404. },
  22405. "enddate": {
  22406. "description": "结束交易日",
  22407. "type": "string"
  22408. },
  22409. "enumdicname": {
  22410. "description": "单位名称",
  22411. "type": "string"
  22412. },
  22413. "goodsunitid": {
  22414. "description": "现货单位id",
  22415. "type": "integer"
  22416. },
  22417. "oristock": {
  22418. "description": "期初库存量",
  22419. "type": "number"
  22420. },
  22421. "reckondate": {
  22422. "description": "日照时期(yyyyMMdd)",
  22423. "type": "string"
  22424. },
  22425. "spotgoodsbrandid": {
  22426. "description": "现货品牌ID",
  22427. "type": "integer"
  22428. },
  22429. "todaybuyinqty": {
  22430. "description": "今采购入库量",
  22431. "type": "number"
  22432. },
  22433. "todayproduceinqty": {
  22434. "description": "今内部入库量",
  22435. "type": "number"
  22436. },
  22437. "todayproduceoutqty": {
  22438. "description": "今内部出库量",
  22439. "type": "number"
  22440. },
  22441. "todayselloutqty": {
  22442. "description": "今销售出库量",
  22443. "type": "number"
  22444. },
  22445. "unbuyinqty": {
  22446. "description": "采购未入库量(数据库未找到相关字段?)",
  22447. "type": "number"
  22448. },
  22449. "unitid": {
  22450. "description": "品类单位id",
  22451. "type": "integer"
  22452. },
  22453. "unselloutqty": {
  22454. "description": "销售未出库量(数据库未找到相关字段?)",
  22455. "type": "number"
  22456. },
  22457. "updatetime": {
  22458. "description": "更新时间",
  22459. "type": "string"
  22460. },
  22461. "userid": {
  22462. "description": "机构ID",
  22463. "type": "integer"
  22464. },
  22465. "username": {
  22466. "description": "机构名称",
  22467. "type": "string"
  22468. },
  22469. "warehousecode": {
  22470. "description": "仓库代码",
  22471. "type": "string"
  22472. },
  22473. "warehouseinfoid": {
  22474. "description": "仓库ID",
  22475. "type": "string"
  22476. },
  22477. "warehousename": {
  22478. "description": "仓库名称",
  22479. "type": "string"
  22480. },
  22481. "warehousetype": {
  22482. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22483. "type": "integer"
  22484. },
  22485. "wrstandardcode": {
  22486. "description": "品类代码",
  22487. "type": "string"
  22488. },
  22489. "wrstandardid": {
  22490. "description": "品类ID",
  22491. "type": "integer"
  22492. },
  22493. "wrstandardname": {
  22494. "description": "品类名称",
  22495. "type": "string"
  22496. }
  22497. }
  22498. },
  22499. "models.Ermcp3ArealSumPL": {
  22500. "type": "object",
  22501. "properties": {
  22502. "accountname": {
  22503. "description": "机构名称",
  22504. "type": "string"
  22505. },
  22506. "areauserid": {
  22507. "description": "所属机构\\交易用户ID",
  22508. "type": "integer"
  22509. },
  22510. "begindate": {
  22511. "description": "开始交易日",
  22512. "type": "string"
  22513. },
  22514. "currencyid": {
  22515. "description": "结算币种ID",
  22516. "type": "integer"
  22517. },
  22518. "currencyname": {
  22519. "description": "币种名称",
  22520. "type": "string"
  22521. },
  22522. "cycletime": {
  22523. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22524. "type": "string"
  22525. },
  22526. "cycletype": {
  22527. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22528. "type": "integer"
  22529. },
  22530. "enddate": {
  22531. "description": "结束交易日",
  22532. "type": "string"
  22533. },
  22534. "enumdicname": {
  22535. "description": "单位名称(套保品种)",
  22536. "type": "string"
  22537. },
  22538. "futureactualpl": {
  22539. "description": "期货损益",
  22540. "type": "number"
  22541. },
  22542. "futurefloatpl": {
  22543. "description": "期货浮动损益",
  22544. "type": "number"
  22545. },
  22546. "futurespotratio": {
  22547. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  22548. "type": "number"
  22549. },
  22550. "goodsunitid": {
  22551. "description": "套保品种单位id",
  22552. "type": "integer"
  22553. },
  22554. "hedgeexposurepl": {
  22555. "description": "套保敞口损益",
  22556. "type": "number"
  22557. },
  22558. "middlegoodscode": {
  22559. "description": "套保品种代码",
  22560. "type": "string"
  22561. },
  22562. "middlegoodsid": {
  22563. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  22564. "type": "integer"
  22565. },
  22566. "middlegoodsname": {
  22567. "description": "套保品种名称",
  22568. "type": "string"
  22569. },
  22570. "reckondate": {
  22571. "description": "日照时期(yyyyMMdd)",
  22572. "type": "string"
  22573. },
  22574. "spotactualpl": {
  22575. "description": "现货损益",
  22576. "type": "number"
  22577. },
  22578. "spotfloatpl": {
  22579. "description": "现货浮动损益",
  22580. "type": "number"
  22581. },
  22582. "sumactualpl": {
  22583. "description": "实际损益 = (ActualPL + FutureActualPL)",
  22584. "type": "number"
  22585. },
  22586. "sumpl": {
  22587. "description": "总敞口损益 | 汇总损益",
  22588. "type": "number"
  22589. },
  22590. "totalfutureqty": {
  22591. "description": "期货头寸总量",
  22592. "type": "number"
  22593. },
  22594. "totalneedhedgeqty": {
  22595. "description": "应套保总量",
  22596. "type": "number"
  22597. },
  22598. "totalspotqty": {
  22599. "description": "现货头寸总量",
  22600. "type": "number"
  22601. },
  22602. "updatetime": {
  22603. "description": "更新时间",
  22604. "type": "string"
  22605. }
  22606. }
  22607. },
  22608. "models.Ermcp3Brand": {
  22609. "type": "object",
  22610. "properties": {
  22611. "areauserid": {
  22612. "description": "用户id",
  22613. "type": "integer"
  22614. },
  22615. "brandid": {
  22616. "description": "品牌id",
  22617. "type": "integer"
  22618. },
  22619. "brandname": {
  22620. "description": "品牌名称",
  22621. "type": "string"
  22622. },
  22623. "deliverygoodsid": {
  22624. "description": "品种ID",
  22625. "type": "integer"
  22626. },
  22627. "isvalid": {
  22628. "description": "是否有效",
  22629. "type": "integer"
  22630. }
  22631. }
  22632. },
  22633. "models.Ermcp3Contract": {
  22634. "type": "object",
  22635. "properties": {
  22636. "accountid": {
  22637. "description": "期货账户id",
  22638. "type": "string"
  22639. },
  22640. "amount": {
  22641. "description": "金额 [1:一口价、3:暂定价]",
  22642. "type": "number"
  22643. },
  22644. "attachment": {
  22645. "description": "附件",
  22646. "type": "string"
  22647. },
  22648. "auditremark": {
  22649. "description": "审核意见",
  22650. "type": "string"
  22651. },
  22652. "audittime": {
  22653. "description": "审核时间",
  22654. "type": "string"
  22655. },
  22656. "biztype": {
  22657. "description": "业务类型 1-套保 2-套利",
  22658. "type": "integer"
  22659. },
  22660. "brandname": {
  22661. "description": "品牌名称",
  22662. "type": "string"
  22663. },
  22664. "buynickname": {
  22665. "description": "销售方昵称",
  22666. "type": "string"
  22667. },
  22668. "buyuserid": {
  22669. "description": "采购方ID",
  22670. "type": "integer"
  22671. },
  22672. "buyusername": {
  22673. "description": "采购方名称",
  22674. "type": "string"
  22675. },
  22676. "contracctstatus": {
  22677. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22678. "type": "integer"
  22679. },
  22680. "contractmargin": {
  22681. "description": "合同保证金",
  22682. "type": "number"
  22683. },
  22684. "contractno": {
  22685. "description": "现货合同编号",
  22686. "type": "string"
  22687. },
  22688. "contracttype": {
  22689. "description": "现货合同类型 - 1:采购 -1:销售",
  22690. "type": "integer"
  22691. },
  22692. "convertfactor": {
  22693. "description": "标仓系数(品类)",
  22694. "type": "number"
  22695. },
  22696. "createtime": {
  22697. "description": "创建时间",
  22698. "type": "string"
  22699. },
  22700. "currencyid": {
  22701. "description": "币种id",
  22702. "type": "integer"
  22703. },
  22704. "currencyname": {
  22705. "description": "币种名称",
  22706. "type": "string"
  22707. },
  22708. "deliveryenddate": {
  22709. "description": "交收期(结束)",
  22710. "type": "string"
  22711. },
  22712. "deliverygoodscode": {
  22713. "description": "现货品种代码",
  22714. "type": "string"
  22715. },
  22716. "deliverygoodsid": {
  22717. "description": "现货品种ID",
  22718. "type": "integer"
  22719. },
  22720. "deliverygoodsname": {
  22721. "description": "现货品种名称",
  22722. "type": "string"
  22723. },
  22724. "deliverystartdate": {
  22725. "description": "交收期(开始)",
  22726. "type": "string"
  22727. },
  22728. "enddate": {
  22729. "description": "点价结束日期 [2:点价 3:暂定价]",
  22730. "type": "string"
  22731. },
  22732. "enumdicname": {
  22733. "description": "单位名称",
  22734. "type": "string"
  22735. },
  22736. "goodscode": {
  22737. "description": "点价合约代码",
  22738. "type": "string"
  22739. },
  22740. "goodsid": {
  22741. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  22742. "type": "integer"
  22743. },
  22744. "goodsname": {
  22745. "description": "点价商品名称",
  22746. "type": "string"
  22747. },
  22748. "margin": {
  22749. "description": "当前保证金",
  22750. "type": "number"
  22751. },
  22752. "meruserid": {
  22753. "description": "跟单员id",
  22754. "type": "integer"
  22755. },
  22756. "meruserlogincode": {
  22757. "description": "跟单员登录代码",
  22758. "type": "string"
  22759. },
  22760. "merusername": {
  22761. "description": "跟单员名称",
  22762. "type": "string"
  22763. },
  22764. "pointdesc": {
  22765. "description": "点价备注",
  22766. "type": "string"
  22767. },
  22768. "price": {
  22769. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  22770. "type": "number"
  22771. },
  22772. "pricemove": {
  22773. "description": "升贴水 [2:点价 3:暂定价]",
  22774. "type": "number"
  22775. },
  22776. "pricetype": {
  22777. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22778. "type": "integer"
  22779. },
  22780. "producttype": {
  22781. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22782. "type": "integer"
  22783. },
  22784. "qty": {
  22785. "description": "数量",
  22786. "type": "number"
  22787. },
  22788. "remark": {
  22789. "description": "备注",
  22790. "type": "string"
  22791. },
  22792. "saleuserid": {
  22793. "description": "业务员id",
  22794. "type": "integer"
  22795. },
  22796. "saleuserlogincode": {
  22797. "description": "业务员登录代码",
  22798. "type": "string"
  22799. },
  22800. "saleusername": {
  22801. "description": "业务员名称",
  22802. "type": "string"
  22803. },
  22804. "sellnickname": {
  22805. "description": "采购方昵称",
  22806. "type": "string"
  22807. },
  22808. "selluserid": {
  22809. "description": "销售方ID",
  22810. "type": "integer"
  22811. },
  22812. "sellusername": {
  22813. "description": "销售方名称",
  22814. "type": "string"
  22815. },
  22816. "spotcontractid": {
  22817. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22818. "type": "string"
  22819. },
  22820. "spotgoodsbrandid": {
  22821. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22822. "type": "integer"
  22823. },
  22824. "spotgoodsdesc": {
  22825. "description": "商品型号",
  22826. "type": "string"
  22827. },
  22828. "startdate": {
  22829. "description": "点价开始日期 [2:点价 3:暂定价]",
  22830. "type": "string"
  22831. },
  22832. "subjectid": {
  22833. "description": "交易主体ID",
  22834. "type": "integer"
  22835. },
  22836. "subjectname": {
  22837. "description": "交易主体名称",
  22838. "type": "string"
  22839. },
  22840. "tradeuserid": {
  22841. "description": "交易员id",
  22842. "type": "integer"
  22843. },
  22844. "tradeuserlogincode": {
  22845. "description": "交易员登录代码",
  22846. "type": "string"
  22847. },
  22848. "tradeusername": {
  22849. "description": "交易员名称",
  22850. "type": "string"
  22851. },
  22852. "unitid": {
  22853. "description": "单位id(取品类上的单位id)",
  22854. "type": "integer"
  22855. },
  22856. "updatetime": {
  22857. "description": "更新时间",
  22858. "type": "string"
  22859. },
  22860. "userid": {
  22861. "description": "所属机构ID",
  22862. "type": "integer"
  22863. },
  22864. "vatrate": {
  22865. "description": "增值税率",
  22866. "type": "number"
  22867. },
  22868. "wrstandardcode": {
  22869. "description": "品类代码",
  22870. "type": "string"
  22871. },
  22872. "wrstandardid": {
  22873. "description": "品类ID",
  22874. "type": "integer"
  22875. },
  22876. "wrstandardname": {
  22877. "description": "品类名称",
  22878. "type": "string"
  22879. }
  22880. }
  22881. },
  22882. "models.Ermcp3ContractMiddleGoodsCfg": {
  22883. "type": "object",
  22884. "properties": {
  22885. "agreeunit": {
  22886. "description": "合约乘数",
  22887. "type": "number"
  22888. },
  22889. "convertratio": {
  22890. "description": "期货品种系数",
  22891. "type": "number"
  22892. },
  22893. "covertqty": {
  22894. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  22895. "type": "integer"
  22896. },
  22897. "middlegoodsid": {
  22898. "description": "套保品种ID",
  22899. "type": "integer"
  22900. },
  22901. "middlegoodspricedqty3": {
  22902. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22903. "type": "string",
  22904. "example": "0"
  22905. },
  22906. "pendingpricedqty": {
  22907. "description": "待点价量",
  22908. "type": "string",
  22909. "example": "0"
  22910. },
  22911. "relatedmiddlegoodsqty": {
  22912. "description": "已关联量(套保品种-期货)",
  22913. "type": "string",
  22914. "example": "0"
  22915. },
  22916. "spotcontractid": {
  22917. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22918. "type": "string"
  22919. }
  22920. }
  22921. },
  22922. "models.Ermcp3ExposureContractDetail": {
  22923. "type": "object",
  22924. "properties": {
  22925. "biztype": {
  22926. "description": "业务类型 1-套保 2-套利",
  22927. "type": "integer"
  22928. },
  22929. "brandname": {
  22930. "description": "品牌名称",
  22931. "type": "string"
  22932. },
  22933. "buyuserid": {
  22934. "description": "采购方id",
  22935. "type": "integer"
  22936. },
  22937. "buyusername": {
  22938. "description": "采购方名称",
  22939. "type": "string"
  22940. },
  22941. "contractno": {
  22942. "description": "合同编号",
  22943. "type": "string"
  22944. },
  22945. "contracttype": {
  22946. "description": "现货合同类型 - 1:采购 -1:销售",
  22947. "type": "integer"
  22948. },
  22949. "convertfactor": {
  22950. "description": "标仓系数",
  22951. "type": "number"
  22952. },
  22953. "convertratio": {
  22954. "description": "折算系数(套保品种)",
  22955. "type": "number"
  22956. },
  22957. "curqty": {
  22958. "description": "今定价量",
  22959. "type": "number"
  22960. },
  22961. "deliverygoodscode": {
  22962. "description": "现货品种代码",
  22963. "type": "string"
  22964. },
  22965. "deliverygoodsid": {
  22966. "description": "现货品种id",
  22967. "type": "integer"
  22968. },
  22969. "deliverygoodsname": {
  22970. "description": "现货品种名称",
  22971. "type": "string"
  22972. },
  22973. "diffhedgeqty": {
  22974. "description": "套保变动量",
  22975. "type": "number"
  22976. },
  22977. "diffneedhedgeqty": {
  22978. "description": "应套保变动量",
  22979. "type": "number"
  22980. },
  22981. "diffqty": {
  22982. "description": "套保品种今变动量",
  22983. "type": "number"
  22984. },
  22985. "enumdicname": {
  22986. "description": "单位名称",
  22987. "type": "string"
  22988. },
  22989. "mgunitname": {
  22990. "description": "套保品种单位名称",
  22991. "type": "string"
  22992. },
  22993. "middlegoodscode": {
  22994. "description": "套保品种代码",
  22995. "type": "string"
  22996. },
  22997. "middlegoodsid": {
  22998. "description": "套保品种id",
  22999. "type": "integer"
  23000. },
  23001. "middlegoodsname": {
  23002. "description": "套保品种名称",
  23003. "type": "string"
  23004. },
  23005. "needarbitrageratio": {
  23006. "description": "应套利比例",
  23007. "type": "number"
  23008. },
  23009. "needhedgeratio": {
  23010. "description": "应套保比例",
  23011. "type": "number"
  23012. },
  23013. "pricedqty": {
  23014. "description": "已定价量",
  23015. "type": "number"
  23016. },
  23017. "qty": {
  23018. "description": "合同量",
  23019. "type": "number"
  23020. },
  23021. "reckondate": {
  23022. "description": "交易日(reckondate)",
  23023. "type": "string"
  23024. },
  23025. "selluserid": {
  23026. "description": "销售方id",
  23027. "type": "integer"
  23028. },
  23029. "sellusername": {
  23030. "description": "销售方名称",
  23031. "type": "string"
  23032. },
  23033. "spotcontractid": {
  23034. "description": "合同id",
  23035. "type": "string"
  23036. },
  23037. "todaypricedqty": {
  23038. "description": "今定价量",
  23039. "type": "number"
  23040. },
  23041. "tradedate": {
  23042. "description": "交易日",
  23043. "type": "string"
  23044. },
  23045. "unitid": {
  23046. "description": "品类单位id",
  23047. "type": "integer"
  23048. },
  23049. "userid": {
  23050. "description": "机构id",
  23051. "type": "integer"
  23052. },
  23053. "username": {
  23054. "description": "交易用户",
  23055. "type": "string"
  23056. },
  23057. "wrstandardcode": {
  23058. "description": "现货商品代码",
  23059. "type": "string"
  23060. },
  23061. "wrstandardid": {
  23062. "description": "现货商品id",
  23063. "type": "integer"
  23064. },
  23065. "wrstandardname": {
  23066. "description": "现货商品名称",
  23067. "type": "string"
  23068. }
  23069. }
  23070. },
  23071. "models.Ermcp3ExposureDetail": {
  23072. "type": "object",
  23073. "properties": {
  23074. "areauserid": {
  23075. "description": "机构ID",
  23076. "type": "integer"
  23077. },
  23078. "changeQty": {
  23079. "description": "套保变动量",
  23080. "type": "number"
  23081. },
  23082. "contracttype": {
  23083. "description": "现货合同类型 - 1:采购 -1:销售",
  23084. "type": "integer"
  23085. },
  23086. "convertfactor": {
  23087. "description": "标仓系数",
  23088. "type": "number"
  23089. },
  23090. "convertratio": {
  23091. "description": "折算系数",
  23092. "type": "number"
  23093. },
  23094. "createtime": {
  23095. "description": "时间",
  23096. "type": "string"
  23097. },
  23098. "enumdicname": {
  23099. "description": "现货商品单位名称",
  23100. "type": "string"
  23101. },
  23102. "logtype": {
  23103. "description": "类型 - 1:套保计划 2:现货合同",
  23104. "type": "integer"
  23105. },
  23106. "mgunitid": {
  23107. "description": "套保品种单位id",
  23108. "type": "integer"
  23109. },
  23110. "mgunitidname": {
  23111. "description": "套保品种单位名称",
  23112. "type": "string"
  23113. },
  23114. "middlegoodsId": {
  23115. "description": "套保商品id",
  23116. "type": "integer"
  23117. },
  23118. "middlegoodscode": {
  23119. "description": "套保商品代码",
  23120. "type": "string"
  23121. },
  23122. "middlegoodsname": {
  23123. "description": "套保商品名称",
  23124. "type": "string"
  23125. },
  23126. "qty": {
  23127. "description": "数量",
  23128. "type": "number"
  23129. },
  23130. "relateNo": {
  23131. "description": "现货合同/套保计划编号",
  23132. "type": "string"
  23133. },
  23134. "unitid": {
  23135. "description": "现货商品单位id",
  23136. "type": "integer"
  23137. },
  23138. "wrstandardcode": {
  23139. "description": "现货商品代码",
  23140. "type": "string"
  23141. },
  23142. "wrstandardid": {
  23143. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23144. "type": "integer"
  23145. },
  23146. "wrstandardname": {
  23147. "description": "现货商品名称",
  23148. "type": "string"
  23149. }
  23150. }
  23151. },
  23152. "models.Ermcp3ExposureFutuDetail": {
  23153. "type": "object",
  23154. "properties": {
  23155. "accountid": {
  23156. "description": "交易账户id",
  23157. "type": "integer"
  23158. },
  23159. "accountname": {
  23160. "description": "交易账户",
  23161. "type": "string"
  23162. },
  23163. "begindate": {
  23164. "description": "开始交易日",
  23165. "type": "string"
  23166. },
  23167. "buyorsell": {
  23168. "description": "方向 0-买 1-卖",
  23169. "type": "integer"
  23170. },
  23171. "diffmgqty": {
  23172. "description": "套保品种今变化量",
  23173. "type": "number"
  23174. },
  23175. "diffneedqty": {
  23176. "description": "应套保总量变化量",
  23177. "type": "number"
  23178. },
  23179. "difftradeqty": {
  23180. "description": "交易品种今变化量",
  23181. "type": "number"
  23182. },
  23183. "enddate": {
  23184. "description": "结束交易日",
  23185. "type": "string"
  23186. },
  23187. "enumdicname": {
  23188. "description": "单位名称",
  23189. "type": "string"
  23190. },
  23191. "goodscode": {
  23192. "description": "商品代码",
  23193. "type": "string"
  23194. },
  23195. "goodsid": {
  23196. "description": "商品id",
  23197. "type": "integer"
  23198. },
  23199. "goodsname": {
  23200. "description": "商品名称",
  23201. "type": "string"
  23202. },
  23203. "holdqty": {
  23204. "description": "期末持仓量",
  23205. "type": "number"
  23206. },
  23207. "middlegoodscode": {
  23208. "description": "套保商品代码",
  23209. "type": "string"
  23210. },
  23211. "middlegoodsid": {
  23212. "description": "套保商品id",
  23213. "type": "integer"
  23214. },
  23215. "middlegoodsname": {
  23216. "description": "套保商品名称",
  23217. "type": "string"
  23218. },
  23219. "oriholdqty": {
  23220. "description": "期初持仓量",
  23221. "type": "number"
  23222. },
  23223. "reckondate": {
  23224. "description": "交易日(RECKONDATE)",
  23225. "type": "string"
  23226. },
  23227. "todaycloseqty": {
  23228. "description": "今平仓量",
  23229. "type": "number"
  23230. },
  23231. "todayopenqty": {
  23232. "description": "今开仓量",
  23233. "type": "number"
  23234. },
  23235. "tradedate": {
  23236. "description": "交易日(RECKONDATE)",
  23237. "type": "string"
  23238. },
  23239. "username": {
  23240. "description": "用户名称(交易用户)",
  23241. "type": "string"
  23242. }
  23243. }
  23244. },
  23245. "models.Ermcp3ExposureHedgeplanDetail": {
  23246. "type": "object",
  23247. "properties": {
  23248. "biztype": {
  23249. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23250. "type": "integer"
  23251. },
  23252. "changqty": {
  23253. "description": "应套保总量变化量",
  23254. "type": "number"
  23255. },
  23256. "contracttype": {
  23257. "description": "计划类型 - 1:采购 -1:销售",
  23258. "type": "integer"
  23259. },
  23260. "convertratio": {
  23261. "description": "折算系数(套保品种)",
  23262. "type": "number"
  23263. },
  23264. "deliverygoodscode": {
  23265. "description": "现货商品代码",
  23266. "type": "string"
  23267. },
  23268. "deliverygoodsid": {
  23269. "description": "现货商品id",
  23270. "type": "integer"
  23271. },
  23272. "deliverygoodsname": {
  23273. "description": "现货商吕名称",
  23274. "type": "string"
  23275. },
  23276. "dgunitid": {
  23277. "description": "现货商品单位id",
  23278. "type": "integer"
  23279. },
  23280. "dgunitidname": {
  23281. "description": "单位名称(现货商品)",
  23282. "type": "string"
  23283. },
  23284. "diffqty": {
  23285. "description": "套保品种今变动量",
  23286. "type": "number"
  23287. },
  23288. "enumdicname": {
  23289. "description": "单位名称(品类)",
  23290. "type": "string"
  23291. },
  23292. "hedgeplanid": {
  23293. "description": "套保计划id",
  23294. "type": "string"
  23295. },
  23296. "hedgeplanno": {
  23297. "description": "套保计划名称",
  23298. "type": "string"
  23299. },
  23300. "hedgeplanstatus": {
  23301. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23302. "type": "integer"
  23303. },
  23304. "mgunitidname": {
  23305. "description": "单位名称(套保商品)",
  23306. "type": "string"
  23307. },
  23308. "middlegoodscode": {
  23309. "description": "套保品种代码",
  23310. "type": "string"
  23311. },
  23312. "middlegoodsid": {
  23313. "description": "套保品种id",
  23314. "type": "integer"
  23315. },
  23316. "middlegoodsname": {
  23317. "description": "套保品种名称",
  23318. "type": "string"
  23319. },
  23320. "needarbitrageratio": {
  23321. "description": "应套利比例",
  23322. "type": "number"
  23323. },
  23324. "needhedgeratio": {
  23325. "description": "应套保比例",
  23326. "type": "number"
  23327. },
  23328. "pricedqty": {
  23329. "description": "已定价量",
  23330. "type": "number"
  23331. },
  23332. "qty": {
  23333. "description": "合同量",
  23334. "type": "number"
  23335. },
  23336. "reckondate": {
  23337. "description": "交易日(reckondate)",
  23338. "type": "string"
  23339. },
  23340. "tradedate": {
  23341. "description": "交易日(登记日)",
  23342. "type": "string"
  23343. },
  23344. "unitid": {
  23345. "description": "品类单位id",
  23346. "type": "integer"
  23347. },
  23348. "userid": {
  23349. "description": "机构id",
  23350. "type": "integer"
  23351. },
  23352. "wrstandardcode": {
  23353. "description": "品类代码",
  23354. "type": "string"
  23355. },
  23356. "wrstandardid": {
  23357. "description": "品类id",
  23358. "type": "integer"
  23359. },
  23360. "wrstandardname": {
  23361. "description": "品类名称",
  23362. "type": "string"
  23363. }
  23364. }
  23365. },
  23366. "models.Ermcp3ExposureParamChLog": {
  23367. "type": "object",
  23368. "properties": {
  23369. "accountid": {
  23370. "description": "期货账户ID (作废, 默认为0)",
  23371. "type": "integer"
  23372. },
  23373. "aftervalue": {
  23374. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23375. "type": "number"
  23376. },
  23377. "areauserid": {
  23378. "description": "所属机构\\交易用户ID",
  23379. "type": "integer"
  23380. },
  23381. "beforevalue": {
  23382. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23383. "type": "number"
  23384. },
  23385. "begindate": {
  23386. "description": "开始交易日",
  23387. "type": "string"
  23388. },
  23389. "changelogtype": {
  23390. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23391. "type": "integer"
  23392. },
  23393. "curvalue": {
  23394. "description": "当前套保\\套利量(套保总量|套利总量)",
  23395. "type": "number"
  23396. },
  23397. "diffvalue": {
  23398. "description": "应套保总量变化量",
  23399. "type": "number"
  23400. },
  23401. "enddate": {
  23402. "description": "结束交易日",
  23403. "type": "string"
  23404. },
  23405. "logdatetime": {
  23406. "description": "流水日期",
  23407. "type": "string"
  23408. },
  23409. "logid": {
  23410. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23411. "type": "string"
  23412. },
  23413. "middlegoodscode": {
  23414. "description": "套保品种代码",
  23415. "type": "string"
  23416. },
  23417. "middlegoodsid": {
  23418. "description": "套保品种",
  23419. "type": "integer"
  23420. },
  23421. "middlegoodsname": {
  23422. "description": "套保品种名称",
  23423. "type": "string"
  23424. },
  23425. "paramaftervalue": {
  23426. "description": "参数变更后(调整后参数值)",
  23427. "type": "number"
  23428. },
  23429. "parambeforevalue": {
  23430. "description": "参数变更前(调整前参数值)",
  23431. "type": "number"
  23432. },
  23433. "reckondate": {
  23434. "description": "交易日(reckondate)",
  23435. "type": "string"
  23436. },
  23437. "tradedate": {
  23438. "description": "交易日(yyyyMMdd)",
  23439. "type": "string"
  23440. }
  23441. }
  23442. },
  23443. "models.Ermcp3ExpourseReport": {
  23444. "type": "object",
  23445. "properties": {
  23446. "accountid": {
  23447. "description": "期货账户ID (作废, 默认为0)",
  23448. "type": "integer"
  23449. },
  23450. "accountname": {
  23451. "description": "机构名称",
  23452. "type": "string"
  23453. },
  23454. "arbitrageqty": {
  23455. "description": "套利量",
  23456. "type": "number"
  23457. },
  23458. "areauserid": {
  23459. "description": "所属机构\\交易用户ID",
  23460. "type": "integer"
  23461. },
  23462. "begindate": {
  23463. "description": "开始交易日",
  23464. "type": "string"
  23465. },
  23466. "buyfutureqty": {
  23467. "description": "买入期货数量",
  23468. "type": "number"
  23469. },
  23470. "buyplanqty": {
  23471. "description": "采购计划数量",
  23472. "type": "number"
  23473. },
  23474. "buypricedqty": {
  23475. "description": "采购合同已定价数量",
  23476. "type": "number"
  23477. },
  23478. "cycletime": {
  23479. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23480. "type": "string"
  23481. },
  23482. "cycletype": {
  23483. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23484. "type": "integer"
  23485. },
  23486. "diffexposure": {
  23487. "description": "变动量(套保敞口)",
  23488. "type": "number"
  23489. },
  23490. "difffutuqty": {
  23491. "description": "变动量(期货)",
  23492. "type": "number"
  23493. },
  23494. "diffhedgeqty": {
  23495. "description": "变动量(现货应套保总量)",
  23496. "type": "number"
  23497. },
  23498. "diffmgqtya": {
  23499. "description": "套保变动量",
  23500. "type": "number"
  23501. },
  23502. "diffmgqtyb": {
  23503. "description": "套利变动量",
  23504. "type": "number"
  23505. },
  23506. "diffneedqty": {
  23507. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23508. "type": "number"
  23509. },
  23510. "diffqty": {
  23511. "description": "变动量(总敞口)",
  23512. "type": "number"
  23513. },
  23514. "diffspotqty": {
  23515. "description": "变动量(现货) | 除税变动量",
  23516. "type": "number"
  23517. },
  23518. "enddate": {
  23519. "description": "结束交易日",
  23520. "type": "string"
  23521. },
  23522. "enumdicname": {
  23523. "description": "单位名称",
  23524. "type": "string"
  23525. },
  23526. "hedgeqty": {
  23527. "description": "套保量",
  23528. "type": "number"
  23529. },
  23530. "mgneedhedgeratio": {
  23531. "description": "套保比例(套保品的)",
  23532. "type": "number"
  23533. },
  23534. "middlegoodsid": {
  23535. "description": "套保品种ID",
  23536. "type": "integer"
  23537. },
  23538. "middlegoodsname": {
  23539. "description": "套保商品名称",
  23540. "type": "string"
  23541. },
  23542. "middlgoodscode": {
  23543. "description": "套保商品代码",
  23544. "type": "string"
  23545. },
  23546. "needarbitrageqty": {
  23547. "description": "应套利量",
  23548. "type": "number"
  23549. },
  23550. "needarbitrageratio": {
  23551. "description": "套利比例(套保品的)",
  23552. "type": "number"
  23553. },
  23554. "needhedgeexposoure": {
  23555. "description": "应套保敞口(套保敞口)",
  23556. "type": "number"
  23557. },
  23558. "needhedgeqty": {
  23559. "description": "应套保量",
  23560. "type": "number"
  23561. },
  23562. "needhedgeratio": {
  23563. "description": "应套保敞口比例",
  23564. "type": "number"
  23565. },
  23566. "needqty": {
  23567. "description": "应套总量 = 应套保量 + 应套利量",
  23568. "type": "number"
  23569. },
  23570. "oriarbitrageqty": {
  23571. "description": "期初套利量",
  23572. "type": "number"
  23573. },
  23574. "oribuyfutureqty": {
  23575. "description": "期初买入期货数量",
  23576. "type": "number"
  23577. },
  23578. "oribuyplanqty": {
  23579. "description": "期初采购计划数量",
  23580. "type": "number"
  23581. },
  23582. "oribuypricedqty": {
  23583. "description": "期初采购合同已定价数量",
  23584. "type": "number"
  23585. },
  23586. "orihedgeqty": {
  23587. "description": "期初套保量",
  23588. "type": "number"
  23589. },
  23590. "orineedarbitrageqty": {
  23591. "description": "期初应套利量",
  23592. "type": "number"
  23593. },
  23594. "orineedhedgeexposoure": {
  23595. "description": "期初应套保敞口",
  23596. "type": "number"
  23597. },
  23598. "orineedhedgeqty": {
  23599. "description": "期初应套保量",
  23600. "type": "number"
  23601. },
  23602. "orisellfutureqty": {
  23603. "description": "期初卖出期货数量",
  23604. "type": "number"
  23605. },
  23606. "orisellplanqty": {
  23607. "description": "期初销售计划数量",
  23608. "type": "number"
  23609. },
  23610. "orisellpricedqty": {
  23611. "description": "期初销售合同已定价数量",
  23612. "type": "number"
  23613. },
  23614. "oritotalexposure": {
  23615. "description": "期初实时总敞口",
  23616. "type": "number"
  23617. },
  23618. "oritotalfutureqty": {
  23619. "description": "期初期货头寸总量",
  23620. "type": "number"
  23621. },
  23622. "oritotalneedhedgeqty": {
  23623. "description": "期初应套保总量",
  23624. "type": "number"
  23625. },
  23626. "oritotalspotqty": {
  23627. "description": "期初现货头寸总量",
  23628. "type": "number"
  23629. },
  23630. "reckondate": {
  23631. "description": "日照时期(yyyyMMdd)",
  23632. "type": "string"
  23633. },
  23634. "sellfutureqty": {
  23635. "description": "卖出期货数量",
  23636. "type": "number"
  23637. },
  23638. "sellplanqty": {
  23639. "description": "销售计划数量",
  23640. "type": "number"
  23641. },
  23642. "sellpricedqty": {
  23643. "description": "销售合同已定价数量",
  23644. "type": "number"
  23645. },
  23646. "totalexposure": {
  23647. "description": "实时总敞口(总敞口)",
  23648. "type": "number"
  23649. },
  23650. "totalfutureqty": {
  23651. "description": "期货头寸总量(期货总量)",
  23652. "type": "number"
  23653. },
  23654. "totalhedgeratio": {
  23655. "description": "敞口比例",
  23656. "type": "number"
  23657. },
  23658. "totalneedhedgeqty": {
  23659. "description": "应套保总量(现货应套保总量)",
  23660. "type": "number"
  23661. },
  23662. "totalspotqty": {
  23663. "description": "现货头寸总量 | 除税总量",
  23664. "type": "number"
  23665. },
  23666. "unitid": {
  23667. "description": "单位id",
  23668. "type": "integer"
  23669. },
  23670. "updatetime": {
  23671. "description": "更新时间",
  23672. "type": "string"
  23673. }
  23674. }
  23675. },
  23676. "models.Ermcp3FinanceReport": {
  23677. "type": "object",
  23678. "properties": {
  23679. "accountname": {
  23680. "description": "机构名称",
  23681. "type": "string"
  23682. },
  23683. "areauserid": {
  23684. "description": "所属机构\\交易用户ID",
  23685. "type": "integer"
  23686. },
  23687. "begindate": {
  23688. "description": "开始交易日",
  23689. "type": "string"
  23690. },
  23691. "biztype": {
  23692. "description": "业务类型 - 1:套保 2:套利",
  23693. "type": "integer"
  23694. },
  23695. "brandname": {
  23696. "description": "品牌名称",
  23697. "type": "string"
  23698. },
  23699. "buypreinvoicedamount": {
  23700. "description": "采购预收票额(预收票额)",
  23701. "type": "number"
  23702. },
  23703. "buyprepaidamount": {
  23704. "description": "采购预付款额(预付货款额)",
  23705. "type": "number"
  23706. },
  23707. "buytodayinvoiceamount": {
  23708. "description": "采购今收票额(今收票额)",
  23709. "type": "number"
  23710. },
  23711. "buytodayrefundamount": {
  23712. "description": "采购今收退款额(今收退款额)",
  23713. "type": "number"
  23714. },
  23715. "buytodaysettleamount": {
  23716. "description": "采购今付款额(今付货款额)",
  23717. "type": "number"
  23718. },
  23719. "buyuninvoicedamount": {
  23720. "description": "采购应收票额(应收票额)",
  23721. "type": "number"
  23722. },
  23723. "buyunpaidamount": {
  23724. "description": "采购应付款额(应付货款额)",
  23725. "type": "number"
  23726. },
  23727. "currencyid": {
  23728. "description": "结算币种ID",
  23729. "type": "integer"
  23730. },
  23731. "currencyname": {
  23732. "description": "币种名称",
  23733. "type": "string"
  23734. },
  23735. "cycletime": {
  23736. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23737. "type": "string"
  23738. },
  23739. "cycletype": {
  23740. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23741. "type": "integer"
  23742. },
  23743. "deliverygoodscode": {
  23744. "description": "现货品种代码",
  23745. "type": "string"
  23746. },
  23747. "deliverygoodsid": {
  23748. "description": "现货品种ID",
  23749. "type": "integer"
  23750. },
  23751. "deliverygoodsname": {
  23752. "description": "现货品种名称",
  23753. "type": "string"
  23754. },
  23755. "enddate": {
  23756. "description": "结束交易日",
  23757. "type": "string"
  23758. },
  23759. "reckondate": {
  23760. "description": "日照时期(yyyyMMdd)",
  23761. "type": "string"
  23762. },
  23763. "sellpreinvoicedamount": {
  23764. "description": "销售预开票额(预开票额)",
  23765. "type": "number"
  23766. },
  23767. "sellprepaidamount": {
  23768. "description": "销售预收款额(预收货款额)",
  23769. "type": "number"
  23770. },
  23771. "selltodayinvoiceamount": {
  23772. "description": "销售今开票额(今开票额)",
  23773. "type": "number"
  23774. },
  23775. "selltodayrefundamount": {
  23776. "description": "销售今付退款额(今付退款额)",
  23777. "type": "number"
  23778. },
  23779. "selltodaysettleamount": {
  23780. "description": "销售今收款额(今收货款额)",
  23781. "type": "number"
  23782. },
  23783. "selluninvoicedamount": {
  23784. "description": "销售应开票额(应开票额)",
  23785. "type": "number"
  23786. },
  23787. "sellunpaidamount": {
  23788. "description": "销售应收款额(应收货款额)",
  23789. "type": "number"
  23790. },
  23791. "spotgoodsbrandid": {
  23792. "description": "现货品牌ID",
  23793. "type": "integer"
  23794. },
  23795. "todaypaysum": {
  23796. "description": "今付款合计",
  23797. "type": "number"
  23798. },
  23799. "todayreceivesum": {
  23800. "description": "今收款合计",
  23801. "type": "number"
  23802. },
  23803. "updatetime": {
  23804. "description": "更新时间",
  23805. "type": "string"
  23806. },
  23807. "wrfactortypeid": {
  23808. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23809. "type": "integer"
  23810. },
  23811. "wrstandardcode": {
  23812. "description": "品类代码",
  23813. "type": "string"
  23814. },
  23815. "wrstandardid": {
  23816. "description": "现货商品ID",
  23817. "type": "integer"
  23818. },
  23819. "wrstandardname": {
  23820. "description": "品类名称",
  23821. "type": "string"
  23822. }
  23823. }
  23824. },
  23825. "models.Ermcp3GoodsGroup": {
  23826. "type": "object",
  23827. "required": [
  23828. "areauserid"
  23829. ],
  23830. "properties": {
  23831. "agreeunit": {
  23832. "description": "合约单位",
  23833. "type": "number"
  23834. },
  23835. "areauserid": {
  23836. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  23837. "type": "integer"
  23838. },
  23839. "canshort": {
  23840. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  23841. "type": "integer"
  23842. },
  23843. "closepricemode": {
  23844. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23845. "type": "integer"
  23846. },
  23847. "createtime": {
  23848. "description": "创建时间",
  23849. "type": "string"
  23850. },
  23851. "creatorid": {
  23852. "description": "创建人",
  23853. "type": "integer"
  23854. },
  23855. "currencyid": {
  23856. "description": "报价货币ID",
  23857. "type": "integer"
  23858. },
  23859. "decimalplace": {
  23860. "description": "报价小数位",
  23861. "type": "integer"
  23862. },
  23863. "enumdicname": {
  23864. "description": "单位名称",
  23865. "type": "string"
  23866. },
  23867. "exchangefullname": {
  23868. "description": "交易所全称",
  23869. "type": "string"
  23870. },
  23871. "excludecfg": {
  23872. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  23873. "type": "integer"
  23874. },
  23875. "exexchangecode": {
  23876. "description": "交易所代码",
  23877. "type": "string"
  23878. },
  23879. "exexchangeid": {
  23880. "description": "外部交易所ID[通道交易]",
  23881. "type": "integer"
  23882. },
  23883. "exexchangename": {
  23884. "description": "交易所名称",
  23885. "type": "string"
  23886. },
  23887. "goodsgroupid": {
  23888. "description": "商品组ID(自增ID)",
  23889. "type": "integer"
  23890. },
  23891. "goodsgroupname": {
  23892. "description": "商品组名称",
  23893. "type": "string"
  23894. },
  23895. "goodsgroupstatus": {
  23896. "description": "商品组状态 - 1:正常 2:注销",
  23897. "type": "integer"
  23898. },
  23899. "goodunitid": {
  23900. "description": "报价单位ID",
  23901. "type": "integer"
  23902. },
  23903. "groupcategroyid": {
  23904. "description": "品种分类ID",
  23905. "type": "integer"
  23906. },
  23907. "innerdealmode": {
  23908. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  23909. "type": "integer"
  23910. },
  23911. "marketid": {
  23912. "description": "所属市场ID",
  23913. "type": "integer"
  23914. },
  23915. "modifierid": {
  23916. "description": "修改人",
  23917. "type": "integer"
  23918. },
  23919. "modifytime": {
  23920. "description": "修改时间",
  23921. "type": "string"
  23922. },
  23923. "outerdealmode": {
  23924. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  23925. "type": "integer"
  23926. },
  23927. "outergroupcode": {
  23928. "description": "外部商品组代码[通道交易]",
  23929. "type": "string"
  23930. },
  23931. "quoteminunit": {
  23932. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23933. "type": "integer"
  23934. },
  23935. "quotesourcegroupid": {
  23936. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  23937. "type": "integer"
  23938. },
  23939. "syncgoodsqty": {
  23940. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  23941. "type": "integer"
  23942. }
  23943. }
  23944. },
  23945. "models.Ermcp3HPMiddleGoods": {
  23946. "type": "object",
  23947. "properties": {
  23948. "biztype": {
  23949. "description": "业务类型 1:套保 2:套利",
  23950. "type": "integer"
  23951. },
  23952. "contracttype": {
  23953. "description": "合同类型 1:采购 -1:销售",
  23954. "type": "integer"
  23955. },
  23956. "convertratio": {
  23957. "description": "折算系数",
  23958. "type": "number"
  23959. },
  23960. "customername": {
  23961. "description": "对手手名称",
  23962. "type": "string"
  23963. },
  23964. "customeruserid": {
  23965. "description": "对手id",
  23966. "type": "integer"
  23967. },
  23968. "enumdicname": {
  23969. "description": "现货单位名称",
  23970. "type": "string"
  23971. },
  23972. "hedgeplanid": {
  23973. "description": "计划id",
  23974. "type": "string"
  23975. },
  23976. "hedgeplanno": {
  23977. "description": "计划编号",
  23978. "type": "string"
  23979. },
  23980. "middlegoodsid": {
  23981. "description": "套保品种ID",
  23982. "type": "integer"
  23983. },
  23984. "middlegoodsplanqty3": {
  23985. "description": "应套保计划量",
  23986. "type": "number"
  23987. },
  23988. "needhedgeratio": {
  23989. "description": "套保比例",
  23990. "type": "number"
  23991. },
  23992. "pricedqty": {
  23993. "description": "已定价量",
  23994. "type": "number"
  23995. },
  23996. "relatedmiddlegoodsqty": {
  23997. "description": "已关联量(套保品种)(期货)",
  23998. "type": "number"
  23999. },
  24000. "unitid": {
  24001. "description": "现货单位id",
  24002. "type": "integer"
  24003. },
  24004. "userid": {
  24005. "description": "用户id",
  24006. "type": "integer"
  24007. },
  24008. "vatrate": {
  24009. "description": "增值税率",
  24010. "type": "number"
  24011. },
  24012. "wrstandardcode": {
  24013. "description": "现货商品代码",
  24014. "type": "string"
  24015. },
  24016. "wrstandardid": {
  24017. "description": "现货商品id",
  24018. "type": "integer"
  24019. },
  24020. "wrstandardname": {
  24021. "description": "现货商品名称",
  24022. "type": "string"
  24023. }
  24024. }
  24025. },
  24026. "models.Ermcp3HedgePlan": {
  24027. "type": "object",
  24028. "properties": {
  24029. "accountid": {
  24030. "description": "资金账号",
  24031. "type": "integer"
  24032. },
  24033. "areauserid": {
  24034. "description": "用户ID",
  24035. "type": "integer"
  24036. },
  24037. "auditid": {
  24038. "description": "审核id",
  24039. "type": "integer"
  24040. },
  24041. "auditname": {
  24042. "description": "审核人名称",
  24043. "type": "string"
  24044. },
  24045. "auditremark": {
  24046. "description": "审核备注",
  24047. "type": "string"
  24048. },
  24049. "auditsrc": {
  24050. "description": "审核来源 1-管理端 2-终端",
  24051. "type": "integer"
  24052. },
  24053. "audittime": {
  24054. "description": "审核时间",
  24055. "type": "string"
  24056. },
  24057. "contracttype": {
  24058. "description": "计划类型 - 1:采购 -1:销售",
  24059. "type": "integer"
  24060. },
  24061. "convertfactor": {
  24062. "description": "标仓系数",
  24063. "type": "number"
  24064. },
  24065. "createtime": {
  24066. "description": "创建时间",
  24067. "type": "string"
  24068. },
  24069. "currencyid": {
  24070. "description": "币种id",
  24071. "type": "integer"
  24072. },
  24073. "currencyname": {
  24074. "description": "币种名称",
  24075. "type": "string"
  24076. },
  24077. "deliverygoodscode": {
  24078. "description": "现货品种代码",
  24079. "type": "string"
  24080. },
  24081. "deliverygoodsid": {
  24082. "description": "现货品种ID",
  24083. "type": "integer"
  24084. },
  24085. "deliverygoodsname": {
  24086. "description": "现货品种名称",
  24087. "type": "string"
  24088. },
  24089. "enumdicname": {
  24090. "description": "单位名称(现货商品)",
  24091. "type": "string"
  24092. },
  24093. "hedgeplanid": {
  24094. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24095. "type": "string"
  24096. },
  24097. "hedgeplanno": {
  24098. "description": "套保计划编号(名称)",
  24099. "type": "string"
  24100. },
  24101. "hedgeplanstatus": {
  24102. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24103. "type": "integer"
  24104. },
  24105. "planqty": {
  24106. "description": "计划数量",
  24107. "type": "number"
  24108. },
  24109. "plantime": {
  24110. "description": "计划时间",
  24111. "type": "string"
  24112. },
  24113. "producttype": {
  24114. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24115. "type": "integer"
  24116. },
  24117. "remark": {
  24118. "description": "备注",
  24119. "type": "string"
  24120. },
  24121. "spotgoodsdesc": {
  24122. "description": "商品型号",
  24123. "type": "string"
  24124. },
  24125. "taaccountname": {
  24126. "description": "资金账号名称",
  24127. "type": "string"
  24128. },
  24129. "tradeuserid": {
  24130. "description": "交易用户id",
  24131. "type": "integer"
  24132. },
  24133. "tradeusername": {
  24134. "description": "交易用户名称",
  24135. "type": "string"
  24136. },
  24137. "unitid": {
  24138. "description": "单位id(现货商品)",
  24139. "type": "integer"
  24140. },
  24141. "updatetime": {
  24142. "description": "更新时间",
  24143. "type": "string"
  24144. },
  24145. "vatrate": {
  24146. "description": "增值税率",
  24147. "type": "number"
  24148. },
  24149. "wrstandardcode": {
  24150. "description": "品类代码",
  24151. "type": "string"
  24152. },
  24153. "wrstandardid": {
  24154. "description": "品类id",
  24155. "type": "integer"
  24156. },
  24157. "wrstandardname": {
  24158. "description": "品类名称",
  24159. "type": "string"
  24160. },
  24161. "wrunitid": {
  24162. "description": "品类单位id",
  24163. "type": "integer"
  24164. },
  24165. "wrunitidame": {
  24166. "description": "品类单位名称",
  24167. "type": "string"
  24168. }
  24169. }
  24170. },
  24171. "models.Ermcp3InnerTradeLink": {
  24172. "type": "object",
  24173. "properties": {
  24174. "accountid": {
  24175. "description": "期货账号代码 | 资金账号ID",
  24176. "type": "integer"
  24177. },
  24178. "buyorsell": {
  24179. "description": "方向 - 0:买 1:卖",
  24180. "type": "integer"
  24181. },
  24182. "channelbuildtype": {
  24183. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24184. "type": "integer"
  24185. },
  24186. "currencyid": {
  24187. "description": "币种id",
  24188. "type": "integer"
  24189. },
  24190. "currencyname": {
  24191. "description": "结算币种 名称",
  24192. "type": "string"
  24193. },
  24194. "goodscode": {
  24195. "description": "商品代码",
  24196. "type": "string"
  24197. },
  24198. "goodsid": {
  24199. "description": "商品ID",
  24200. "type": "integer"
  24201. },
  24202. "goodsname": {
  24203. "description": "商品名称",
  24204. "type": "string"
  24205. },
  24206. "outtradeid": {
  24207. "description": "外部成交单号",
  24208. "type": "string"
  24209. },
  24210. "taname": {
  24211. "description": "期货账户名称",
  24212. "type": "string"
  24213. },
  24214. "tradeid": {
  24215. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24216. "type": "string"
  24217. },
  24218. "tradeprice": {
  24219. "description": "成交价格",
  24220. "type": "number"
  24221. },
  24222. "tradeqty": {
  24223. "description": "期货成交数量",
  24224. "type": "integer"
  24225. },
  24226. "tradetime": {
  24227. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24228. "type": "string"
  24229. },
  24230. "username": {
  24231. "description": "用户名称",
  24232. "type": "string"
  24233. }
  24234. }
  24235. },
  24236. "models.Ermcp3OutTradeLink": {
  24237. "type": "object",
  24238. "properties": {
  24239. "buyorsell": {
  24240. "description": "买卖方向 - 0:买 1:卖",
  24241. "type": "integer"
  24242. },
  24243. "channelbuildtype": {
  24244. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24245. "type": "integer"
  24246. },
  24247. "currencyname": {
  24248. "description": "币种名称",
  24249. "type": "string"
  24250. },
  24251. "exexchangecode": {
  24252. "description": "交易所代码",
  24253. "type": "string"
  24254. },
  24255. "exexchangename": {
  24256. "description": "交易所名称",
  24257. "type": "string"
  24258. },
  24259. "goodscode": {
  24260. "description": "合约代码",
  24261. "type": "string"
  24262. },
  24263. "goodsid": {
  24264. "description": "合约id",
  24265. "type": "integer"
  24266. },
  24267. "goodsname": {
  24268. "description": "合约名称",
  24269. "type": "string"
  24270. },
  24271. "hasinnerorder": {
  24272. "description": "是否有内部单关联 - 0:无 1:有",
  24273. "type": "integer"
  24274. },
  24275. "hedgeaccountcode": {
  24276. "description": "外部账号 | 对冲账号",
  24277. "type": "string"
  24278. },
  24279. "outtradeid": {
  24280. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24281. "type": "string"
  24282. },
  24283. "tradeprice": {
  24284. "description": "成交价格",
  24285. "type": "number"
  24286. },
  24287. "tradeqty": {
  24288. "description": "成交数量",
  24289. "type": "integer"
  24290. },
  24291. "tradetime": {
  24292. "description": "成交时间",
  24293. "type": "string"
  24294. }
  24295. }
  24296. },
  24297. "models.Ermcp3PaAreaAuditCfg": {
  24298. "type": "object",
  24299. "properties": {
  24300. "areauserid": {
  24301. "description": "用户ID",
  24302. "type": "integer"
  24303. },
  24304. "buyinauditflag": {
  24305. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24306. "type": "integer"
  24307. },
  24308. "costratioauditflag": {
  24309. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24310. "type": "integer"
  24311. },
  24312. "customerauditflag": {
  24313. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24314. "type": "integer"
  24315. },
  24316. "deliveryauditflag": {
  24317. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24318. "type": "integer"
  24319. },
  24320. "invoiceauditflag": {
  24321. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24322. "type": "integer"
  24323. },
  24324. "mgneedhedgeratioauditflag": {
  24325. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24326. "type": "integer"
  24327. },
  24328. "moneyauditflag": {
  24329. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24330. "type": "integer"
  24331. },
  24332. "operatorid": {
  24333. "description": "操作人",
  24334. "type": "integer"
  24335. },
  24336. "operatorsrc": {
  24337. "description": "操作来源 - 1:管理端 2:终端",
  24338. "type": "integer"
  24339. },
  24340. "pointpriceauditflag": {
  24341. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24342. "type": "integer"
  24343. },
  24344. "produceinauditflag": {
  24345. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24346. "type": "integer"
  24347. },
  24348. "produceoutauditflag": {
  24349. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24350. "type": "integer"
  24351. },
  24352. "selloutauditflag": {
  24353. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24354. "type": "integer"
  24355. },
  24356. "sgconvertratioauditflag": {
  24357. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24358. "type": "integer"
  24359. },
  24360. "sgvtaratioauditflag": {
  24361. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24362. "type": "integer"
  24363. },
  24364. "spotcontractauditflag": {
  24365. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24366. "type": "integer"
  24367. },
  24368. "updatetime": {
  24369. "description": "更新时间",
  24370. "type": "string"
  24371. }
  24372. }
  24373. },
  24374. "models.Ermcp3PaAreaSubject": {
  24375. "type": "object",
  24376. "properties": {
  24377. "areauserid": {
  24378. "description": "所属机构",
  24379. "type": "integer"
  24380. },
  24381. "canmodify": {
  24382. "description": "是否可修改 - 0:否 1:是",
  24383. "type": "integer"
  24384. },
  24385. "createtime": {
  24386. "description": "创建时间",
  24387. "type": "string"
  24388. },
  24389. "creatorid": {
  24390. "description": "创建人ID",
  24391. "type": "string"
  24392. },
  24393. "creatorsrc": {
  24394. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24395. "type": "integer"
  24396. },
  24397. "modifierid": {
  24398. "description": "修改人",
  24399. "type": "string"
  24400. },
  24401. "modifiersrc": {
  24402. "description": "修改人来源 - 1:管理端 2:终端",
  24403. "type": "integer"
  24404. },
  24405. "modifytime": {
  24406. "description": "修改时间",
  24407. "type": "string"
  24408. },
  24409. "parentsubjectid": {
  24410. "description": "上级主体ID",
  24411. "type": "string"
  24412. },
  24413. "remark": {
  24414. "description": "备注",
  24415. "type": "string"
  24416. },
  24417. "subjectid": {
  24418. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24419. "type": "integer"
  24420. },
  24421. "subjectname": {
  24422. "description": "主体名称",
  24423. "type": "string"
  24424. },
  24425. "subjectstatus": {
  24426. "description": "主体状态 - 1:正常 2: 停用",
  24427. "type": "integer"
  24428. },
  24429. "subjecttype": {
  24430. "description": "主体类型 - 1:交易主体 2:业务部门",
  24431. "type": "integer"
  24432. }
  24433. }
  24434. },
  24435. "models.Ermcp3PaTradeLink": {
  24436. "type": "object",
  24437. "properties": {
  24438. "accountid": {
  24439. "description": "期货账户代码 | 账号ID",
  24440. "type": "integer"
  24441. },
  24442. "agreeunit": {
  24443. "description": "合约乘数",
  24444. "type": "number"
  24445. },
  24446. "buyorsell": {
  24447. "description": "方向 - 0:买 1:卖",
  24448. "type": "integer"
  24449. },
  24450. "channelbuildtype": {
  24451. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24452. "type": "integer"
  24453. },
  24454. "charge": {
  24455. "description": "手续费",
  24456. "type": "number"
  24457. },
  24458. "closepl": {
  24459. "description": "平仓盈亏",
  24460. "type": "number"
  24461. },
  24462. "closetype": {
  24463. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24464. "type": "integer"
  24465. },
  24466. "convertratio": {
  24467. "description": "折算系数",
  24468. "type": "number"
  24469. },
  24470. "enumdicname": {
  24471. "description": "单位名称",
  24472. "type": "string"
  24473. },
  24474. "executeprice": {
  24475. "description": "执行价 [期权]",
  24476. "type": "integer"
  24477. },
  24478. "goodscode": {
  24479. "description": "合约代码",
  24480. "type": "string"
  24481. },
  24482. "goodsgroupid": {
  24483. "description": "对冲品种ID[期货合约商品组ID]",
  24484. "type": "integer"
  24485. },
  24486. "goodsid": {
  24487. "description": "商品ID",
  24488. "type": "integer"
  24489. },
  24490. "goodsname": {
  24491. "description": "合约名称",
  24492. "type": "string"
  24493. },
  24494. "goodunitid": {
  24495. "description": "单位id",
  24496. "type": "integer"
  24497. },
  24498. "hedgeflag": {
  24499. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24500. "type": "integer"
  24501. },
  24502. "marketid": {
  24503. "description": "市场ID",
  24504. "type": "integer"
  24505. },
  24506. "middlegoodsid": {
  24507. "description": "套保品种ID",
  24508. "type": "integer"
  24509. },
  24510. "middlegoodsqty": {
  24511. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  24512. "type": "number"
  24513. },
  24514. "optioncode": {
  24515. "description": "期权代码 [期权]",
  24516. "type": "string"
  24517. },
  24518. "ordertype": {
  24519. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  24520. "type": "integer"
  24521. },
  24522. "ordertypename": {
  24523. "description": "订单类型",
  24524. "type": "string"
  24525. },
  24526. "parentaccountid": {
  24527. "description": "所属母账户",
  24528. "type": "integer"
  24529. },
  24530. "premium": {
  24531. "description": "权利金 [期权]",
  24532. "type": "number"
  24533. },
  24534. "relatedlot": {
  24535. "description": "已关联数量(已关联数量手) | db:关联手数",
  24536. "type": "number"
  24537. },
  24538. "relatedouttradeid": {
  24539. "description": "关联外部成交单ID",
  24540. "type": "string"
  24541. },
  24542. "relatedqty": {
  24543. "description": "关联数量",
  24544. "type": "number"
  24545. },
  24546. "spotcontractid": {
  24547. "description": "现货合同ID [4:套期保值\\10\\11]",
  24548. "type": "string"
  24549. },
  24550. "taname": {
  24551. "description": "期货账户名称",
  24552. "type": "string"
  24553. },
  24554. "tradeamount": {
  24555. "description": "成交金额(账户)",
  24556. "type": "number"
  24557. },
  24558. "tradedate": {
  24559. "description": "交易日(yyyyMMdd)",
  24560. "type": "string"
  24561. },
  24562. "tradeid": {
  24563. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24564. "type": "string"
  24565. },
  24566. "tradelot": {
  24567. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  24568. "type": "integer"
  24569. },
  24570. "tradeprice": {
  24571. "description": "成交价格",
  24572. "type": "number"
  24573. },
  24574. "tradetime": {
  24575. "description": "时间 | db:成交时间",
  24576. "type": "string"
  24577. },
  24578. "tradetype": {
  24579. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  24580. "type": "integer"
  24581. },
  24582. "userid": {
  24583. "description": "所属机构 - 所属母账户的UserID",
  24584. "type": "string"
  24585. },
  24586. "username": {
  24587. "description": "用户名称",
  24588. "type": "string"
  24589. }
  24590. }
  24591. },
  24592. "models.Ermcp3ParamChangeApp": {
  24593. "type": "object",
  24594. "properties": {
  24595. "aftervalue": {
  24596. "description": "变更后",
  24597. "type": "number"
  24598. },
  24599. "applicationid": {
  24600. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  24601. "type": "string"
  24602. },
  24603. "applyid": {
  24604. "description": "申请人",
  24605. "type": "string"
  24606. },
  24607. "applyname": {
  24608. "description": "申请人名称(代码)",
  24609. "type": "string"
  24610. },
  24611. "applyremark": {
  24612. "description": "申请备注",
  24613. "type": "string"
  24614. },
  24615. "applysrc": {
  24616. "description": "申请来源 - 1:管理端 2:终端",
  24617. "type": "integer"
  24618. },
  24619. "applystatus": {
  24620. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24621. "type": "integer"
  24622. },
  24623. "applytime": {
  24624. "description": "申请时间",
  24625. "type": "string"
  24626. },
  24627. "areauserid": {
  24628. "description": "所属机构用户ID",
  24629. "type": "integer"
  24630. },
  24631. "auditid": {
  24632. "description": "审核人",
  24633. "type": "string"
  24634. },
  24635. "auditname": {
  24636. "description": "审核人名称(代码)",
  24637. "type": "string"
  24638. },
  24639. "auditremark": {
  24640. "description": "审核备注",
  24641. "type": "string"
  24642. },
  24643. "auditsrc": {
  24644. "description": "审核来源 - 1:管理端 2:终端",
  24645. "type": "integer"
  24646. },
  24647. "audittime": {
  24648. "description": "审核时间",
  24649. "type": "string"
  24650. },
  24651. "audittradedate": {
  24652. "description": "审核交易日(yyyyMMdd)",
  24653. "type": "string"
  24654. },
  24655. "beforevalue": {
  24656. "description": "变更前",
  24657. "type": "number"
  24658. },
  24659. "deliverygoodscode": {
  24660. "description": "品种代码",
  24661. "type": "string"
  24662. },
  24663. "deliverygoodsid": {
  24664. "description": "品种id",
  24665. "type": "integer"
  24666. },
  24667. "deliverygoodsname": {
  24668. "description": "品种名称",
  24669. "type": "string"
  24670. },
  24671. "middlegoodscode": {
  24672. "description": "套保品种代码",
  24673. "type": "string"
  24674. },
  24675. "middlegoodsid": {
  24676. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  24677. "type": "integer"
  24678. },
  24679. "middlegoodsname": {
  24680. "description": "套保品种名称",
  24681. "type": "string"
  24682. },
  24683. "operatetype": {
  24684. "description": "操作类型 - 1:新增 2:修改",
  24685. "type": "integer"
  24686. },
  24687. "paramchangetype": {
  24688. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  24689. "type": "integer"
  24690. },
  24691. "wrstandardcode": {
  24692. "description": "现货商品代码",
  24693. "type": "string"
  24694. },
  24695. "wrstandardid": {
  24696. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  24697. "type": "integer"
  24698. },
  24699. "wrstandardname": {
  24700. "description": "现货商品名称",
  24701. "type": "string"
  24702. }
  24703. }
  24704. },
  24705. "models.Ermcp3RootUserAccount": {
  24706. "type": "object",
  24707. "properties": {
  24708. "accountname": {
  24709. "description": "账户名称(机构名称)",
  24710. "type": "string"
  24711. },
  24712. "accountstatus": {
  24713. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24714. "type": "integer"
  24715. },
  24716. "applysrc": {
  24717. "description": "申请来源 - 1:管理端 2:终端",
  24718. "type": "integer"
  24719. },
  24720. "auditremark": {
  24721. "description": "审核备注",
  24722. "type": "string"
  24723. },
  24724. "auditsrc": {
  24725. "description": "审核来源 - 1:管理端 2:终端",
  24726. "type": "integer"
  24727. },
  24728. "audittime": {
  24729. "description": "审核时间",
  24730. "type": "string"
  24731. },
  24732. "audituserid": {
  24733. "description": "审核人",
  24734. "type": "integer"
  24735. },
  24736. "broker": {
  24737. "description": "所属经纪人ID",
  24738. "type": "integer"
  24739. },
  24740. "canceltime": {
  24741. "description": "销户时间",
  24742. "type": "string"
  24743. },
  24744. "canceluserid": {
  24745. "description": "销户人",
  24746. "type": "integer"
  24747. },
  24748. "canrecommend": {
  24749. "description": "是否可推荐 - 0:不可 1;可",
  24750. "type": "integer"
  24751. },
  24752. "createtime": {
  24753. "description": "创建时间",
  24754. "type": "string"
  24755. },
  24756. "creatorid": {
  24757. "description": "创建人",
  24758. "type": "integer"
  24759. },
  24760. "hasauth": {
  24761. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  24762. "type": "integer"
  24763. },
  24764. "isanonymous": {
  24765. "description": "是否匿名下单 - 0:否 1:是",
  24766. "type": "integer"
  24767. },
  24768. "maxinvestornum": {
  24769. "description": "最大用户数(经纪会员下投资者个数)",
  24770. "type": "integer"
  24771. },
  24772. "memberuserid": {
  24773. "description": "所属会员ID",
  24774. "type": "integer"
  24775. },
  24776. "modifierid": {
  24777. "description": "修改人",
  24778. "type": "integer"
  24779. },
  24780. "modifyremark": {
  24781. "description": "变更备注",
  24782. "type": "string"
  24783. },
  24784. "modifystatus": {
  24785. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  24786. "type": "integer"
  24787. },
  24788. "modifytime": {
  24789. "description": "修改时间",
  24790. "type": "string"
  24791. },
  24792. "nickname": {
  24793. "description": "昵称",
  24794. "type": "string"
  24795. },
  24796. "parenttopuser": {
  24797. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24798. "type": "string"
  24799. },
  24800. "parentuserid": {
  24801. "description": "所属机构ID",
  24802. "type": "integer"
  24803. },
  24804. "reckonaccountid": {
  24805. "description": "默认结算资金账号ID(机构分润使用) 作废",
  24806. "type": "integer"
  24807. },
  24808. "refercount": {
  24809. "description": "推荐总人数",
  24810. "type": "integer"
  24811. },
  24812. "refereeuserid": {
  24813. "description": "推荐人ID",
  24814. "type": "integer"
  24815. },
  24816. "refernum": {
  24817. "description": "推荐码",
  24818. "type": "string"
  24819. },
  24820. "rootuserid": {
  24821. "description": "根用户ID",
  24822. "type": "integer"
  24823. },
  24824. "subaccountlevel": {
  24825. "description": "子账户层数",
  24826. "type": "integer"
  24827. },
  24828. "subarealevelpath": {
  24829. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24830. "type": "string"
  24831. },
  24832. "userid": {
  24833. "description": "用户ID",
  24834. "type": "integer"
  24835. },
  24836. "usertype": {
  24837. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24838. "type": "integer"
  24839. }
  24840. }
  24841. },
  24842. "models.Ermcp3SCMiddleGoods": {
  24843. "type": "object",
  24844. "properties": {
  24845. "biztype": {
  24846. "description": "业务类型 1:套保 2:套利",
  24847. "type": "integer"
  24848. },
  24849. "contractno": {
  24850. "description": "合同编号",
  24851. "type": "string"
  24852. },
  24853. "contracttype": {
  24854. "description": "合同类型 1:采购 -1:销售",
  24855. "type": "integer"
  24856. },
  24857. "convertratio": {
  24858. "description": "折算系数",
  24859. "type": "number"
  24860. },
  24861. "customername": {
  24862. "description": "对手手名称",
  24863. "type": "string"
  24864. },
  24865. "customeruserid": {
  24866. "description": "对手id",
  24867. "type": "integer"
  24868. },
  24869. "deliverygoodscode": {
  24870. "description": "现货品种代码",
  24871. "type": "string"
  24872. },
  24873. "deliverygoodsid": {
  24874. "description": "现货品种ID",
  24875. "type": "integer"
  24876. },
  24877. "deliverygoodsname": {
  24878. "description": "现货品种名称",
  24879. "type": "string"
  24880. },
  24881. "enumdicname": {
  24882. "description": "现货单位名称",
  24883. "type": "string"
  24884. },
  24885. "middlegoodsid": {
  24886. "description": "套保品种ID",
  24887. "type": "integer"
  24888. },
  24889. "middlegoodspricedqty3": {
  24890. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  24891. "type": "number"
  24892. },
  24893. "needhedgeratio": {
  24894. "description": "套保比例",
  24895. "type": "number"
  24896. },
  24897. "pricedqty": {
  24898. "description": "已定价量",
  24899. "type": "number"
  24900. },
  24901. "relatedmiddlegoodsqty": {
  24902. "description": "已关联量(套保品种)(期货)",
  24903. "type": "number"
  24904. },
  24905. "spotcontractid": {
  24906. "description": "合同编号",
  24907. "type": "string"
  24908. },
  24909. "unitid": {
  24910. "description": "现货单位id",
  24911. "type": "integer"
  24912. },
  24913. "userid": {
  24914. "description": "用户id",
  24915. "type": "integer"
  24916. },
  24917. "vatrate": {
  24918. "description": "增值税率",
  24919. "type": "number"
  24920. },
  24921. "wrstandardcode": {
  24922. "description": "现货商品代码",
  24923. "type": "string"
  24924. },
  24925. "wrstandardid": {
  24926. "description": "现货商品id",
  24927. "type": "integer"
  24928. },
  24929. "wrstandardname": {
  24930. "description": "现货商品名称",
  24931. "type": "string"
  24932. }
  24933. }
  24934. },
  24935. "models.Ermcp3SCMiddleGoodsReport": {
  24936. "type": "object",
  24937. "properties": {
  24938. "begindate": {
  24939. "description": "开始交易日",
  24940. "type": "string"
  24941. },
  24942. "contractno": {
  24943. "description": "合同编号",
  24944. "type": "string"
  24945. },
  24946. "contracttype": {
  24947. "description": "合同类型 1:采购 -1:销售",
  24948. "type": "integer"
  24949. },
  24950. "convertratio": {
  24951. "description": "折算系数",
  24952. "type": "number"
  24953. },
  24954. "cycletime": {
  24955. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24956. "type": "string"
  24957. },
  24958. "cycletype": {
  24959. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24960. "type": "integer"
  24961. },
  24962. "deliverygoodscode": {
  24963. "description": "品种代码",
  24964. "type": "string"
  24965. },
  24966. "deliverygoodsid": {
  24967. "description": "现货品种ID",
  24968. "type": "integer"
  24969. },
  24970. "deliverygoodsname": {
  24971. "description": "品种名称",
  24972. "type": "string"
  24973. },
  24974. "diffprice": {
  24975. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  24976. "type": "number"
  24977. },
  24978. "diffqty": {
  24979. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  24980. "type": "number"
  24981. },
  24982. "enddate": {
  24983. "description": "结束交易日",
  24984. "type": "string"
  24985. },
  24986. "hedgeplanqty": {
  24987. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  24988. "type": "number"
  24989. },
  24990. "matchname": {
  24991. "description": "交易对手方(个人:用户名称 企业:简称)",
  24992. "type": "string"
  24993. },
  24994. "matchnickname": {
  24995. "description": "交易对手方昵称",
  24996. "type": "string"
  24997. },
  24998. "middlegoodscode": {
  24999. "description": "套保品种代码",
  25000. "type": "string"
  25001. },
  25002. "middlegoodsid": {
  25003. "description": "套保品种ID",
  25004. "type": "integer"
  25005. },
  25006. "middlegoodsname": {
  25007. "description": "套保品种名称",
  25008. "type": "string"
  25009. },
  25010. "middlegoodspricedqty": {
  25011. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  25012. "type": "number"
  25013. },
  25014. "middlegoodspricedqty2": {
  25015. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  25016. "type": "number"
  25017. },
  25018. "middlegoodspricedqty3": {
  25019. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25020. "type": "number"
  25021. },
  25022. "needhedgeratio": {
  25023. "description": "套保系数",
  25024. "type": "number"
  25025. },
  25026. "pricedamount": {
  25027. "description": "已定价额(现货)",
  25028. "type": "number"
  25029. },
  25030. "pricedamount2": {
  25031. "description": "已定价额(现货-基价额)",
  25032. "type": "number"
  25033. },
  25034. "pricedqty": {
  25035. "description": "已定价量(现货)",
  25036. "type": "number"
  25037. },
  25038. "reckondate": {
  25039. "description": "日照时期(yyyyMMdd)",
  25040. "type": "string"
  25041. },
  25042. "relatedmiddlegoodsamount": {
  25043. "description": "已关联额(期货)",
  25044. "type": "number"
  25045. },
  25046. "relatedmiddlegoodsqty": {
  25047. "description": "已关联量(套保品种)(期货)",
  25048. "type": "number"
  25049. },
  25050. "spotcontractid": {
  25051. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25052. "type": "string"
  25053. },
  25054. "todayavgfutuprice": {
  25055. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  25056. "type": "number"
  25057. },
  25058. "todayavgprice": {
  25059. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  25060. "type": "number"
  25061. },
  25062. "todayavgprice2": {
  25063. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  25064. "type": "number"
  25065. },
  25066. "todaypricedamount": {
  25067. "description": "今日定价额(现货)",
  25068. "type": "number"
  25069. },
  25070. "todaypricedamount2": {
  25071. "description": "今日定价额(现货-基价额)",
  25072. "type": "number"
  25073. },
  25074. "todaypricedqty": {
  25075. "description": "今日定价量(现货)",
  25076. "type": "number"
  25077. },
  25078. "todayrelatedfutureqty": {
  25079. "description": "今日关联量(期货)",
  25080. "type": "number"
  25081. },
  25082. "todayrelatedmiddlegoodsamount": {
  25083. "description": "今日关联额(期货)",
  25084. "type": "number"
  25085. },
  25086. "todayrelatedmiddlegoodsqty": {
  25087. "description": "今日关联量(套保品-期货)",
  25088. "type": "number"
  25089. },
  25090. "updatetime": {
  25091. "description": "更新时间",
  25092. "type": "string"
  25093. },
  25094. "userid": {
  25095. "description": "合同所属用户id",
  25096. "type": "integer"
  25097. },
  25098. "vatrate": {
  25099. "description": "增值税率",
  25100. "type": "number"
  25101. },
  25102. "wrstandardcode": {
  25103. "description": "商品(品类) 代码",
  25104. "type": "string"
  25105. },
  25106. "wrstandardid": {
  25107. "description": "现货商品ID",
  25108. "type": "integer"
  25109. },
  25110. "wrstandardname": {
  25111. "description": "商品(品类) 名称",
  25112. "type": "string"
  25113. }
  25114. }
  25115. },
  25116. "models.Ermcp3SellBuyContract": {
  25117. "type": "object",
  25118. "properties": {
  25119. "accountid": {
  25120. "description": "期货账户id",
  25121. "type": "string"
  25122. },
  25123. "accountname": {
  25124. "description": "账户名称",
  25125. "type": "string"
  25126. },
  25127. "attachment": {
  25128. "description": "附件",
  25129. "type": "string"
  25130. },
  25131. "audittime": {
  25132. "description": "审核时间",
  25133. "type": "string"
  25134. },
  25135. "bizsubjectid": {
  25136. "description": "归属业务部门ID - SubjectID",
  25137. "type": "integer"
  25138. },
  25139. "biztype": {
  25140. "description": "业务类型 1-套保 2-套利",
  25141. "type": "integer"
  25142. },
  25143. "brandname": {
  25144. "description": "品牌名称",
  25145. "type": "string"
  25146. },
  25147. "contracctstatus": {
  25148. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25149. "type": "integer"
  25150. },
  25151. "contractmargin": {
  25152. "description": "合同保证金",
  25153. "type": "number"
  25154. },
  25155. "contractno": {
  25156. "description": "合同编号",
  25157. "type": "string"
  25158. },
  25159. "contracttype": {
  25160. "description": "合同类型 1-采购, -1-销售",
  25161. "type": "integer"
  25162. },
  25163. "convertfactor": {
  25164. "description": "标仓系数(品类)",
  25165. "type": "number"
  25166. },
  25167. "createtime": {
  25168. "description": "创建时间",
  25169. "type": "string"
  25170. },
  25171. "currencyid": {
  25172. "description": "币种id",
  25173. "type": "integer"
  25174. },
  25175. "currencyname": {
  25176. "description": "币种名称",
  25177. "type": "string"
  25178. },
  25179. "daikaiamount": {
  25180. "description": "应收(开)票额 | 未收票额",
  25181. "type": "number"
  25182. },
  25183. "deliveryenddate": {
  25184. "description": "交割结束日",
  25185. "type": "string"
  25186. },
  25187. "deliverygoodscode": {
  25188. "description": "现货品种代码",
  25189. "type": "string"
  25190. },
  25191. "deliverygoodsid": {
  25192. "description": "现货商品ID",
  25193. "type": "integer"
  25194. },
  25195. "deliverygoodsname": {
  25196. "description": "现货品种名称",
  25197. "type": "string"
  25198. },
  25199. "deliverystartdate": {
  25200. "description": "交割开始日",
  25201. "type": "string"
  25202. },
  25203. "enddate": {
  25204. "description": "点价结束日",
  25205. "type": "string"
  25206. },
  25207. "enumdicname": {
  25208. "description": "单位名称",
  25209. "type": "string"
  25210. },
  25211. "goodscode": {
  25212. "description": "点价商品代码",
  25213. "type": "string"
  25214. },
  25215. "goodsgroupid": {
  25216. "description": "点价商品组id",
  25217. "type": "integer"
  25218. },
  25219. "goodsid": {
  25220. "description": "点价商品ID",
  25221. "type": "integer"
  25222. },
  25223. "goodsname": {
  25224. "description": "点价商品名称",
  25225. "type": "string"
  25226. },
  25227. "invoiceamount": {
  25228. "description": "已开票额",
  25229. "type": "number"
  25230. },
  25231. "loanamount": {
  25232. "description": "贷款总额=已定价额+调整金额",
  25233. "type": "number"
  25234. },
  25235. "margin": {
  25236. "description": "保证金",
  25237. "type": "number"
  25238. },
  25239. "meruserid": {
  25240. "description": "跟单员id",
  25241. "type": "integer"
  25242. },
  25243. "meruserlogincode": {
  25244. "description": "跟单员登录代码",
  25245. "type": "string"
  25246. },
  25247. "merusername": {
  25248. "description": "跟单员名称",
  25249. "type": "string"
  25250. },
  25251. "nickname": {
  25252. "description": "账户昵称",
  25253. "type": "string"
  25254. },
  25255. "orireckonrealqty": {
  25256. "description": "应交收量",
  25257. "type": "number"
  25258. },
  25259. "payamount": {
  25260. "description": "已收付额(收款或付款)",
  25261. "type": "number"
  25262. },
  25263. "preinvoiceamount": {
  25264. "description": "预收(开)票额",
  25265. "type": "number"
  25266. },
  25267. "prepayamount": {
  25268. "description": "预收付额",
  25269. "type": "number"
  25270. },
  25271. "price": {
  25272. "description": "价格",
  25273. "type": "number"
  25274. },
  25275. "pricedamount": {
  25276. "description": "已定价额",
  25277. "type": "number"
  25278. },
  25279. "pricedavg": {
  25280. "description": "已点均价",
  25281. "type": "number"
  25282. },
  25283. "pricedqty": {
  25284. "description": "已定价量",
  25285. "type": "number"
  25286. },
  25287. "pricemove": {
  25288. "description": "升贴水",
  25289. "type": "number"
  25290. },
  25291. "pricetype": {
  25292. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25293. "type": "integer"
  25294. },
  25295. "producttype": {
  25296. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25297. "type": "integer"
  25298. },
  25299. "qty": {
  25300. "description": "合同量",
  25301. "type": "number"
  25302. },
  25303. "reckonadjustamount": {
  25304. "description": "调整金额",
  25305. "type": "number"
  25306. },
  25307. "reckonedamount": {
  25308. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25309. "type": "number"
  25310. },
  25311. "reckonotheramount": {
  25312. "description": "其它费用",
  25313. "type": "number"
  25314. },
  25315. "reckonrealqty": {
  25316. "description": "已交收量",
  25317. "type": "number"
  25318. },
  25319. "remark": {
  25320. "description": "备注",
  25321. "type": "string"
  25322. },
  25323. "saleuserid": {
  25324. "description": "业务员id",
  25325. "type": "integer"
  25326. },
  25327. "saleuserlogincode": {
  25328. "description": "业务员登录代码",
  25329. "type": "string"
  25330. },
  25331. "saleusername": {
  25332. "description": "业务员名称",
  25333. "type": "string"
  25334. },
  25335. "spotcontractid": {
  25336. "description": "合同ID",
  25337. "type": "string"
  25338. },
  25339. "spotgoodsbrandid": {
  25340. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25341. "type": "integer"
  25342. },
  25343. "spotgoodsdesc": {
  25344. "description": "商品型号(商品规格)",
  25345. "type": "string"
  25346. },
  25347. "startdate": {
  25348. "description": "点价开始日",
  25349. "type": "string"
  25350. },
  25351. "subjectid": {
  25352. "description": "交易主体ID",
  25353. "type": "integer"
  25354. },
  25355. "subjectname": {
  25356. "description": "交易主体名称",
  25357. "type": "string"
  25358. },
  25359. "totalamount": {
  25360. "description": "合计总额",
  25361. "type": "number"
  25362. },
  25363. "tradeuserid": {
  25364. "description": "交易员id",
  25365. "type": "integer"
  25366. },
  25367. "tradeuserlogincode": {
  25368. "description": "交易员登录代码",
  25369. "type": "string"
  25370. },
  25371. "tradeusername": {
  25372. "description": "交易员名称",
  25373. "type": "string"
  25374. },
  25375. "unpayamount": {
  25376. "description": "应收付款额(应支付或应收款) | 未付款额",
  25377. "type": "number"
  25378. },
  25379. "unpricedqty": {
  25380. "description": "未定价量",
  25381. "type": "number"
  25382. },
  25383. "unsureqty": {
  25384. "description": "未确定量 | 未交收量",
  25385. "type": "number"
  25386. },
  25387. "userid": {
  25388. "description": "机构ID",
  25389. "type": "integer"
  25390. },
  25391. "vatrate": {
  25392. "description": "增值税率",
  25393. "type": "number"
  25394. },
  25395. "wrstandardcode": {
  25396. "description": "品类代码",
  25397. "type": "string"
  25398. },
  25399. "wrstandardid": {
  25400. "description": "品类ID",
  25401. "type": "integer"
  25402. },
  25403. "wrstandardname": {
  25404. "description": "品类名称",
  25405. "type": "string"
  25406. }
  25407. }
  25408. },
  25409. "models.Ermcp3SpotGoodsPrice": {
  25410. "type": "object",
  25411. "properties": {
  25412. "areauserid": {
  25413. "description": "所属机构id",
  25414. "type": "integer"
  25415. },
  25416. "brandname": {
  25417. "description": "品牌名称",
  25418. "type": "string"
  25419. },
  25420. "currencyid": {
  25421. "description": "报价货币ID",
  25422. "type": "integer"
  25423. },
  25424. "currencyname": {
  25425. "description": "币种名称",
  25426. "type": "string"
  25427. },
  25428. "deliverygoodscode": {
  25429. "description": "现货商品代码",
  25430. "type": "string"
  25431. },
  25432. "deliverygoodsid": {
  25433. "description": "现货商品id",
  25434. "type": "integer"
  25435. },
  25436. "deliverygoodsname": {
  25437. "description": "现货商品名称",
  25438. "type": "string"
  25439. },
  25440. "enumdicname": {
  25441. "description": "现货商品单位名称",
  25442. "type": "string"
  25443. },
  25444. "gbenumdicname": {
  25445. "description": "品类单位名称",
  25446. "type": "string"
  25447. },
  25448. "gmunitid": {
  25449. "description": "品类单位id",
  25450. "type": "integer"
  25451. },
  25452. "isvalid": {
  25453. "description": "是否有效 - 0:无效 1:有效",
  25454. "type": "integer"
  25455. },
  25456. "operateid": {
  25457. "description": "最后操作人",
  25458. "type": "integer"
  25459. },
  25460. "operatesrc": {
  25461. "description": "最后操作来源 - 1:管理端 2:终端",
  25462. "type": "integer"
  25463. },
  25464. "operatetime": {
  25465. "description": "最后操作时间",
  25466. "type": "string"
  25467. },
  25468. "operatorname": {
  25469. "description": "操作人名称",
  25470. "type": "string"
  25471. },
  25472. "spotgoodsbrandid": {
  25473. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25474. "type": "integer"
  25475. },
  25476. "spotgoodsprice": {
  25477. "description": "现货价格",
  25478. "type": "number"
  25479. },
  25480. "tradedate": {
  25481. "description": "交易日(yyyyMMdd)",
  25482. "type": "string"
  25483. },
  25484. "unitid": {
  25485. "description": "现货商品单位id",
  25486. "type": "integer"
  25487. },
  25488. "wrstandardcode": {
  25489. "description": "品类代码",
  25490. "type": "string"
  25491. },
  25492. "wrstandardid": {
  25493. "description": "现货品类ID(通用则为0)",
  25494. "type": "integer"
  25495. },
  25496. "wrstandardname": {
  25497. "description": "品类名称",
  25498. "type": "string"
  25499. }
  25500. }
  25501. },
  25502. "models.Ermcp3SpotGoodsPriceLog": {
  25503. "type": "object",
  25504. "properties": {
  25505. "areauserid": {
  25506. "description": "所属机构id",
  25507. "type": "integer"
  25508. },
  25509. "brandname": {
  25510. "description": "品牌名称",
  25511. "type": "string"
  25512. },
  25513. "currencyid": {
  25514. "description": "报价货币ID",
  25515. "type": "integer"
  25516. },
  25517. "deliverygoodscode": {
  25518. "description": "现货商品代码",
  25519. "type": "string"
  25520. },
  25521. "deliverygoodsid": {
  25522. "description": "现货商品id",
  25523. "type": "integer"
  25524. },
  25525. "deliverygoodsname": {
  25526. "description": "现货商品名称",
  25527. "type": "string"
  25528. },
  25529. "enumdicname": {
  25530. "description": "现货商品单位名称",
  25531. "type": "string"
  25532. },
  25533. "gbenumdicname": {
  25534. "description": "品类单位名称",
  25535. "type": "string"
  25536. },
  25537. "gmunitid": {
  25538. "description": "品类单位id",
  25539. "type": "integer"
  25540. },
  25541. "logid": {
  25542. "description": "日志id",
  25543. "type": "integer"
  25544. },
  25545. "operateid": {
  25546. "description": "最后操作人",
  25547. "type": "integer"
  25548. },
  25549. "operatesrc": {
  25550. "description": "最后操作来源 - 1:管理端 2:终端",
  25551. "type": "integer"
  25552. },
  25553. "operatetime": {
  25554. "description": "最后操作时间",
  25555. "type": "string"
  25556. },
  25557. "operatorname": {
  25558. "description": "操作人名称",
  25559. "type": "string"
  25560. },
  25561. "spotgoodsbrandid": {
  25562. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25563. "type": "integer"
  25564. },
  25565. "spotgoodsprice": {
  25566. "description": "现货价格",
  25567. "type": "number"
  25568. },
  25569. "tradedate": {
  25570. "description": "交易日(yyyyMMdd)",
  25571. "type": "string"
  25572. },
  25573. "unitid": {
  25574. "description": "现货商品单位id",
  25575. "type": "integer"
  25576. },
  25577. "wrstandardcode": {
  25578. "description": "品类代码",
  25579. "type": "string"
  25580. },
  25581. "wrstandardid": {
  25582. "description": "现货品类ID(通用则为0)",
  25583. "type": "integer"
  25584. },
  25585. "wrstandardname": {
  25586. "description": "品类名称",
  25587. "type": "string"
  25588. }
  25589. }
  25590. },
  25591. "models.Ermcp3SubTaaccount": {
  25592. "type": "object",
  25593. "properties": {
  25594. "accountid": {
  25595. "description": "资金账户ID",
  25596. "type": "integer"
  25597. },
  25598. "parentaccountcode": {
  25599. "description": "所属根账号代码(母账号代码)",
  25600. "type": "string"
  25601. },
  25602. "parentaccountid": {
  25603. "description": "所属根账号(母账号)",
  25604. "type": "integer"
  25605. },
  25606. "taname": {
  25607. "description": "资金账号名称",
  25608. "type": "string"
  25609. },
  25610. "tradestatus": {
  25611. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  25612. "type": "integer"
  25613. },
  25614. "username": {
  25615. "description": "交易用户",
  25616. "type": "string"
  25617. }
  25618. }
  25619. },
  25620. "models.Ermcp3TaFutuReDataReport": {
  25621. "type": "object",
  25622. "properties": {
  25623. "accountid": {
  25624. "description": "交易账户",
  25625. "type": "integer"
  25626. },
  25627. "accountname": {
  25628. "description": "交易账号名称",
  25629. "type": "string"
  25630. },
  25631. "agreeunit": {
  25632. "description": "商品合约单位",
  25633. "type": "number"
  25634. },
  25635. "begindate": {
  25636. "description": "开始交易日",
  25637. "type": "string"
  25638. },
  25639. "buyorsell": {
  25640. "description": "持仓方向",
  25641. "type": "integer"
  25642. },
  25643. "charge": {
  25644. "description": "手续费",
  25645. "type": "number"
  25646. },
  25647. "closeavgprice": {
  25648. "description": "平仓均价",
  25649. "type": "number"
  25650. },
  25651. "closepl": {
  25652. "description": "平仓损益",
  25653. "type": "number"
  25654. },
  25655. "currencyid": {
  25656. "description": "结算币种ID",
  25657. "type": "integer"
  25658. },
  25659. "currencyname": {
  25660. "description": "币种名称",
  25661. "type": "string"
  25662. },
  25663. "cycletime": {
  25664. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25665. "type": "string"
  25666. },
  25667. "cycletype": {
  25668. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25669. "type": "integer"
  25670. },
  25671. "enddate": {
  25672. "description": "结束交易日",
  25673. "type": "string"
  25674. },
  25675. "enumdicname": {
  25676. "description": "单位名称",
  25677. "type": "string"
  25678. },
  25679. "floatpl": {
  25680. "description": "浮动损益",
  25681. "type": "number"
  25682. },
  25683. "goodscode": {
  25684. "description": "交易合约代码",
  25685. "type": "string"
  25686. },
  25687. "goodsgroupid": {
  25688. "description": "交易品种",
  25689. "type": "integer"
  25690. },
  25691. "goodsgroupname": {
  25692. "description": "交易品种名称",
  25693. "type": "string"
  25694. },
  25695. "goodsgroupspotqty": {
  25696. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  25697. "type": "number"
  25698. },
  25699. "goodsid": {
  25700. "description": "交易合约",
  25701. "type": "integer"
  25702. },
  25703. "goodsname": {
  25704. "description": "交易合约名称",
  25705. "type": "string"
  25706. },
  25707. "goodunitid": {
  25708. "description": "交易合约单位id",
  25709. "type": "integer"
  25710. },
  25711. "holdamount": {
  25712. "description": "期末持仓额",
  25713. "type": "number"
  25714. },
  25715. "holdqty": {
  25716. "description": "期末持仓量",
  25717. "type": "number"
  25718. },
  25719. "lastholdamount": {
  25720. "description": "当前持仓额",
  25721. "type": "number"
  25722. },
  25723. "lastprice": {
  25724. "description": "最新价",
  25725. "type": "number"
  25726. },
  25727. "middlegoodsid": {
  25728. "description": "套保品种id",
  25729. "type": "integer"
  25730. },
  25731. "middlegoodsname": {
  25732. "description": "套保商品名称",
  25733. "type": "string"
  25734. },
  25735. "middlegoodsqty": {
  25736. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  25737. "type": "number"
  25738. },
  25739. "middlgoodscode": {
  25740. "description": "套保商品代码",
  25741. "type": "string"
  25742. },
  25743. "openamount": {
  25744. "description": "期末开仓额",
  25745. "type": "number"
  25746. },
  25747. "openavgprice": {
  25748. "description": "开仓均价",
  25749. "type": "number"
  25750. },
  25751. "oriholdamount": {
  25752. "description": "期初持仓额",
  25753. "type": "number"
  25754. },
  25755. "oriholdqty": {
  25756. "description": "期初持仓量",
  25757. "type": "number"
  25758. },
  25759. "oriopenamount": {
  25760. "description": "期初开仓额",
  25761. "type": "number"
  25762. },
  25763. "outergroupcode": {
  25764. "description": "交易品种代码",
  25765. "type": "string"
  25766. },
  25767. "qtydecimalplace": {
  25768. "description": "成交量小数位",
  25769. "type": "integer"
  25770. },
  25771. "reckondate": {
  25772. "description": "日照时期(yyyyMMdd)",
  25773. "type": "string"
  25774. },
  25775. "reckonholdamount": {
  25776. "description": "结算持仓额",
  25777. "type": "number"
  25778. },
  25779. "reckonpl": {
  25780. "description": "结算损益",
  25781. "type": "number"
  25782. },
  25783. "reckonpl2": {
  25784. "description": "结算逐笔盈亏",
  25785. "type": "number"
  25786. },
  25787. "reckonprice": {
  25788. "description": "结算价",
  25789. "type": "number"
  25790. },
  25791. "relateduserid": {
  25792. "description": "账户关联用户ID",
  25793. "type": "integer"
  25794. },
  25795. "todaycloseamount": {
  25796. "description": "今平仓额",
  25797. "type": "number"
  25798. },
  25799. "todaycloseqty": {
  25800. "description": "今平仓量",
  25801. "type": "number"
  25802. },
  25803. "todaygoodsgroupspotqty": {
  25804. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  25805. "type": "number"
  25806. },
  25807. "todaymiddlegoodsqty": {
  25808. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  25809. "type": "number"
  25810. },
  25811. "todayopenamount": {
  25812. "description": "今开仓额",
  25813. "type": "number"
  25814. },
  25815. "todayopenqty": {
  25816. "description": "今开仓量",
  25817. "type": "number"
  25818. },
  25819. "userid": {
  25820. "description": "账户所属用户ID",
  25821. "type": "integer"
  25822. }
  25823. }
  25824. },
  25825. "models.Ermcp3TradeLinkDetail": {
  25826. "type": "object",
  25827. "properties": {
  25828. "accountid": {
  25829. "description": "资金账号",
  25830. "type": "integer"
  25831. },
  25832. "agreeunit": {
  25833. "description": "合约乘数",
  25834. "type": "number"
  25835. },
  25836. "areauserid": {
  25837. "description": "所属机构",
  25838. "type": "string"
  25839. },
  25840. "bizsubjectid": {
  25841. "description": "归属业务部门ID - SubjectID",
  25842. "type": "string"
  25843. },
  25844. "buyorsell": {
  25845. "description": "方向 - 0:买 1:卖",
  25846. "type": "integer"
  25847. },
  25848. "channelbuildtype": {
  25849. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25850. "type": "integer"
  25851. },
  25852. "contractno": {
  25853. "description": "现货编号 (合同编号)",
  25854. "type": "string"
  25855. },
  25856. "convertratio": {
  25857. "description": "折算系数",
  25858. "type": "number"
  25859. },
  25860. "createtime": {
  25861. "description": "关联时间 | 创建时间",
  25862. "type": "string"
  25863. },
  25864. "creatorid": {
  25865. "description": "创建人ID",
  25866. "type": "string"
  25867. },
  25868. "creatorsrc": {
  25869. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25870. "type": "integer"
  25871. },
  25872. "enumdicname": {
  25873. "description": "单位名称",
  25874. "type": "string"
  25875. },
  25876. "goodscode": {
  25877. "description": "合约代码",
  25878. "type": "string"
  25879. },
  25880. "goodsgroupid": {
  25881. "description": "对冲品种ID[期货合约商品组ID]",
  25882. "type": "integer"
  25883. },
  25884. "goodsid": {
  25885. "description": "商品ID",
  25886. "type": "integer"
  25887. },
  25888. "goodsname": {
  25889. "description": "合约名称",
  25890. "type": "string"
  25891. },
  25892. "hedgeflag": {
  25893. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25894. "type": "integer"
  25895. },
  25896. "linkdetailid": {
  25897. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  25898. "type": "string"
  25899. },
  25900. "linkstatus": {
  25901. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  25902. "type": "integer"
  25903. },
  25904. "middlegoodscode": {
  25905. "description": "套保品种代码",
  25906. "type": "string"
  25907. },
  25908. "middlegoodsid": {
  25909. "description": "套保品种ID",
  25910. "type": "integer"
  25911. },
  25912. "middlegoodsname": {
  25913. "description": "套保品种名称",
  25914. "type": "string"
  25915. },
  25916. "relatedlot": {
  25917. "description": "关联手数",
  25918. "type": "number"
  25919. },
  25920. "relatedmode": {
  25921. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  25922. "type": "integer"
  25923. },
  25924. "relatedqty": {
  25925. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  25926. "type": "number"
  25927. },
  25928. "retcode": {
  25929. "description": "返回码",
  25930. "type": "integer"
  25931. },
  25932. "saleuserid": {
  25933. "description": "业务员ID",
  25934. "type": "string"
  25935. },
  25936. "spotcontractid": {
  25937. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  25938. "type": "string"
  25939. },
  25940. "taname": {
  25941. "description": "期货账户",
  25942. "type": "string"
  25943. },
  25944. "tradedate": {
  25945. "description": "关联交易日(yyyyMMdd)",
  25946. "type": "string"
  25947. },
  25948. "tradeid": {
  25949. "description": "期货订单号 | 内部成交单ID",
  25950. "type": "string"
  25951. },
  25952. "tradelot": {
  25953. "description": "成交数量 | 成交手数",
  25954. "type": "integer"
  25955. },
  25956. "tradeprice": {
  25957. "description": "成交价格",
  25958. "type": "number"
  25959. },
  25960. "tradetime": {
  25961. "description": "期货成交时间",
  25962. "type": "string"
  25963. },
  25964. "tradetradedate": {
  25965. "description": "成交交易日(yyyyMMdd)",
  25966. "type": "string"
  25967. },
  25968. "username": {
  25969. "description": "用户名称",
  25970. "type": "string"
  25971. }
  25972. }
  25973. },
  25974. "models.Ermcp3Wrstandard": {
  25975. "type": "object",
  25976. "properties": {
  25977. "areauserid": {
  25978. "description": "所属机构",
  25979. "type": "integer"
  25980. },
  25981. "cantrade": {
  25982. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  25983. "type": "integer"
  25984. },
  25985. "convertfactor": {
  25986. "description": "标仓系数",
  25987. "type": "number"
  25988. },
  25989. "createtime": {
  25990. "description": "创建时间",
  25991. "type": "string"
  25992. },
  25993. "creatorid": {
  25994. "description": "创建人",
  25995. "type": "integer"
  25996. },
  25997. "deliverygoodsid": {
  25998. "description": "现货品种ID",
  25999. "type": "integer"
  26000. },
  26001. "enumdicname": {
  26002. "description": "品类单位名称",
  26003. "type": "string"
  26004. },
  26005. "isvalid": {
  26006. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26007. "type": "integer"
  26008. },
  26009. "minivalue": {
  26010. "description": "最小变动值",
  26011. "type": "integer"
  26012. },
  26013. "minivaluedp": {
  26014. "description": "最小变动值小数位",
  26015. "type": "integer"
  26016. },
  26017. "realminivalue": {
  26018. "description": "实际最小变动值",
  26019. "type": "integer"
  26020. },
  26021. "realminivaluedp": {
  26022. "description": "实际最小变动值小数位",
  26023. "type": "integer"
  26024. },
  26025. "remark": {
  26026. "description": "备注",
  26027. "type": "string"
  26028. },
  26029. "unitid": {
  26030. "description": "品类单位ID",
  26031. "type": "integer"
  26032. },
  26033. "updatetime": {
  26034. "description": "更新时间",
  26035. "type": "string"
  26036. },
  26037. "wrstandardcode": {
  26038. "description": "品类代码",
  26039. "type": "string"
  26040. },
  26041. "wrstandardid": {
  26042. "description": "品类ID(SEQ_WRSTANDARD)",
  26043. "type": "integer"
  26044. },
  26045. "wrstandardname": {
  26046. "description": "品类名称",
  26047. "type": "string"
  26048. }
  26049. }
  26050. },
  26051. "models.Ermcp8EnableHedgeditem": {
  26052. "type": "object",
  26053. "properties": {
  26054. "accountname": {
  26055. "description": "套期主体",
  26056. "type": "string"
  26057. },
  26058. "hedgeditemid": {
  26059. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26060. "type": "integer"
  26061. },
  26062. "hedgeditemname": {
  26063. "description": "项目名称",
  26064. "type": "string"
  26065. },
  26066. "hedgeditemnum": {
  26067. "description": "项目编号",
  26068. "type": "string"
  26069. },
  26070. "hedgedtype": {
  26071. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26072. "type": "integer"
  26073. },
  26074. "planenddate": {
  26075. "description": "计划结束日期",
  26076. "type": "string"
  26077. },
  26078. "planstartdate": {
  26079. "description": "计划开始日期",
  26080. "type": "string"
  26081. }
  26082. }
  26083. },
  26084. "models.Ermcp8HedgeditemReport": {
  26085. "type": "object",
  26086. "properties": {
  26087. "accountname": {
  26088. "description": "套期主体",
  26089. "type": "string"
  26090. },
  26091. "areauserid": {
  26092. "description": "企业ID",
  26093. "type": "integer"
  26094. },
  26095. "curprice": {
  26096. "description": "[当日现货市场价]当前市场价",
  26097. "type": "number"
  26098. },
  26099. "enumdicname": {
  26100. "description": "单位",
  26101. "type": "string"
  26102. },
  26103. "exeamount": {
  26104. "description": "[执行现货金额]执行市价总额",
  26105. "type": "number"
  26106. },
  26107. "exeavgprice": {
  26108. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26109. "type": "number"
  26110. },
  26111. "exeqty": {
  26112. "description": "[执行数量]执行现货量",
  26113. "type": "number"
  26114. },
  26115. "futurehedgepl": {
  26116. "description": "期货实际损益",
  26117. "type": "number"
  26118. },
  26119. "futurehedgeplchange": {
  26120. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26121. "type": "number"
  26122. },
  26123. "futurepl": {
  26124. "description": "期货套期损益",
  26125. "type": "number"
  26126. },
  26127. "futureplchange": {
  26128. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26129. "type": "number"
  26130. },
  26131. "hedgeamount": {
  26132. "description": "[套期现货金额]套期市价总额",
  26133. "type": "number"
  26134. },
  26135. "hedgeditemnum": {
  26136. "description": "项目编号,模糊查询",
  26137. "type": "string"
  26138. },
  26139. "hedgeditemstatus": {
  26140. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26141. "type": "integer"
  26142. },
  26143. "hedgedtype": {
  26144. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26145. "type": "integer"
  26146. },
  26147. "hedgeqty": {
  26148. "description": "[套期数量]套期现货量",
  26149. "type": "number"
  26150. },
  26151. "oriavgprice": {
  26152. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26153. "type": "number"
  26154. },
  26155. "orifuturehedgepl": {
  26156. "description": "期初期货实际损益",
  26157. "type": "number"
  26158. },
  26159. "orifuturepl": {
  26160. "description": "期初期货套期损益",
  26161. "type": "number"
  26162. },
  26163. "orispothedgepl": {
  26164. "description": "期初现货实际损益",
  26165. "type": "number"
  26166. },
  26167. "orispotpl": {
  26168. "description": "期初现货套期损益",
  26169. "type": "number"
  26170. },
  26171. "planenddate": {
  26172. "description": "计划结束日期",
  26173. "type": "string"
  26174. },
  26175. "planstartdate": {
  26176. "description": "计划开始日期",
  26177. "type": "string"
  26178. },
  26179. "spothedgepl": {
  26180. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26181. "type": "number"
  26182. },
  26183. "spothedgeplchange": {
  26184. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26185. "type": "number"
  26186. },
  26187. "spotpl": {
  26188. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26189. "type": "number"
  26190. },
  26191. "spotplchange": {
  26192. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26193. "type": "number"
  26194. },
  26195. "tradeuserid": {
  26196. "description": "交易用户ID",
  26197. "type": "integer"
  26198. },
  26199. "unexeqty": {
  26200. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26201. "type": "number"
  26202. },
  26203. "wrstandardcode": {
  26204. "description": "现货品类代码",
  26205. "type": "string"
  26206. },
  26207. "wrstandardid": {
  26208. "description": "现货商品ID",
  26209. "type": "integer"
  26210. },
  26211. "wrstandardname": {
  26212. "description": "[现货商品]现货品类名称",
  26213. "type": "string"
  26214. }
  26215. }
  26216. },
  26217. "models.Ermcp8RunningHedgeditem": {
  26218. "type": "object",
  26219. "properties": {
  26220. "accountname": {
  26221. "description": "套期主体",
  26222. "type": "string"
  26223. },
  26224. "applyid": {
  26225. "description": "申请人",
  26226. "type": "integer"
  26227. },
  26228. "applysrc": {
  26229. "description": "申请来源 - 1:管理端 2:终端",
  26230. "type": "integer"
  26231. },
  26232. "areauserid": {
  26233. "description": "企业ID",
  26234. "type": "integer"
  26235. },
  26236. "auditid": {
  26237. "description": "审核人",
  26238. "type": "integer"
  26239. },
  26240. "auditremark": {
  26241. "description": "审核备注",
  26242. "type": "string"
  26243. },
  26244. "auditsrc": {
  26245. "description": "审核来源 - 1:管理端 2:终端",
  26246. "type": "integer"
  26247. },
  26248. "audittime": {
  26249. "description": "审核时间",
  26250. "type": "string"
  26251. },
  26252. "audittradedate": {
  26253. "description": "审核交易日(yyyyMMdd)",
  26254. "type": "string"
  26255. },
  26256. "createtime": {
  26257. "description": "申请时间",
  26258. "type": "string"
  26259. },
  26260. "curprice": {
  26261. "description": "当前市场价",
  26262. "type": "number"
  26263. },
  26264. "curstock": {
  26265. "description": "期末库存量 = 采购总量 - 销售总量",
  26266. "type": "number"
  26267. },
  26268. "deliverygoodsid": {
  26269. "description": "现货品种ID",
  26270. "type": "integer"
  26271. },
  26272. "enddate": {
  26273. "description": "完成日期",
  26274. "type": "string"
  26275. },
  26276. "endtradedate": {
  26277. "description": "完成交易日",
  26278. "type": "string"
  26279. },
  26280. "enumdicname": {
  26281. "description": "单位",
  26282. "type": "string"
  26283. },
  26284. "exeamount": {
  26285. "description": "执行市价总额",
  26286. "type": "number"
  26287. },
  26288. "exeavgprice": {
  26289. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26290. "type": "number"
  26291. },
  26292. "execontractamount": {
  26293. "description": "执行定价总额",
  26294. "type": "number"
  26295. },
  26296. "exeqty": {
  26297. "description": "执行现货量",
  26298. "type": "number"
  26299. },
  26300. "exerestamount": {
  26301. "description": "执行剩余市价总额【现货贸易】",
  26302. "type": "number"
  26303. },
  26304. "futurefloatpl": {
  26305. "description": "期货浮动损益",
  26306. "type": "number"
  26307. },
  26308. "futurehedgepl": {
  26309. "description": "期货实际损益",
  26310. "type": "number"
  26311. },
  26312. "futurehedgeplchange": {
  26313. "description": "期货实际损益变动",
  26314. "type": "number"
  26315. },
  26316. "futurepl": {
  26317. "description": "期货套期损益",
  26318. "type": "number"
  26319. },
  26320. "futureplchange": {
  26321. "description": "期货套期损益变动",
  26322. "type": "number"
  26323. },
  26324. "hedgeamount": {
  26325. "description": "套期市价总额",
  26326. "type": "number"
  26327. },
  26328. "hedgecontractamount": {
  26329. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26330. "type": "number"
  26331. },
  26332. "hedgeditemid": {
  26333. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26334. "type": "string"
  26335. },
  26336. "hedgeditemname": {
  26337. "description": "项目名称",
  26338. "type": "string"
  26339. },
  26340. "hedgeditemnum": {
  26341. "description": "项目编号",
  26342. "type": "string"
  26343. },
  26344. "hedgeditemstatus": {
  26345. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26346. "type": "integer"
  26347. },
  26348. "hedgedtype": {
  26349. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26350. "type": "integer"
  26351. },
  26352. "hedgeqty": {
  26353. "description": "套期现货量",
  26354. "type": "number"
  26355. },
  26356. "hedgerate": {
  26357. "description": "套保比率",
  26358. "type": "number"
  26359. },
  26360. "hedgerestamount": {
  26361. "description": "套期剩余市价总额【现货贸易】",
  26362. "type": "number"
  26363. },
  26364. "hedgesumpl": {
  26365. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26366. "type": "number"
  26367. },
  26368. "middlegoodslist": {
  26369. "description": "套期商品列表",
  26370. "type": "array",
  26371. "items": {
  26372. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26373. }
  26374. },
  26375. "oriavgprice": {
  26376. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26377. "type": "number"
  26378. },
  26379. "orifuturehedgepl": {
  26380. "description": "期初期货实际损益",
  26381. "type": "number"
  26382. },
  26383. "orifuturepl": {
  26384. "description": "期初期货套期损益",
  26385. "type": "number"
  26386. },
  26387. "orispothedgepl": {
  26388. "description": "期初现货实际损益",
  26389. "type": "number"
  26390. },
  26391. "orispotpl": {
  26392. "description": "期初现货套期损益",
  26393. "type": "number"
  26394. },
  26395. "planenddate": {
  26396. "description": "计划结束日期",
  26397. "type": "string"
  26398. },
  26399. "planstartdate": {
  26400. "description": "计划开始日期",
  26401. "type": "string"
  26402. },
  26403. "remark": {
  26404. "description": "备注",
  26405. "type": "string"
  26406. },
  26407. "spotbookamount": {
  26408. "description": "现货账面总额",
  26409. "type": "number"
  26410. },
  26411. "spotfloatpl": {
  26412. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26413. "type": "number"
  26414. },
  26415. "spothedgepl": {
  26416. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26417. "type": "number"
  26418. },
  26419. "spothedgeplchange": {
  26420. "description": "现货实际损益变动",
  26421. "type": "number"
  26422. },
  26423. "spotpl": {
  26424. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26425. "type": "number"
  26426. },
  26427. "spotplchange": {
  26428. "description": "现货套期损益变动",
  26429. "type": "number"
  26430. },
  26431. "spottradepl": {
  26432. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26433. "type": "number"
  26434. },
  26435. "sumobspl": {
  26436. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26437. "type": "number"
  26438. },
  26439. "tradeuserid": {
  26440. "description": "交易用户ID",
  26441. "type": "integer"
  26442. },
  26443. "unexeqty": {
  26444. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26445. "type": "number"
  26446. },
  26447. "updatetime": {
  26448. "description": "更新时间",
  26449. "type": "string"
  26450. },
  26451. "vatpl": {
  26452. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26453. "type": "number"
  26454. },
  26455. "vatrate": {
  26456. "description": "增值税",
  26457. "type": "number"
  26458. },
  26459. "wrstandardid": {
  26460. "description": "现货商品ID",
  26461. "type": "integer"
  26462. },
  26463. "wrstandardname": {
  26464. "description": "商品名称",
  26465. "type": "string"
  26466. }
  26467. }
  26468. },
  26469. "models.ErmcpBizGroupEx": {
  26470. "type": "object",
  26471. "properties": {
  26472. "acclist": {
  26473. "description": "账号列表",
  26474. "type": "array",
  26475. "items": {
  26476. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26477. }
  26478. },
  26479. "bizgroupid": {
  26480. "description": "业务分组id",
  26481. "type": "integer"
  26482. },
  26483. "biztype": {
  26484. "description": "业务类型 1-套保 2-套利",
  26485. "type": "integer"
  26486. },
  26487. "wrlist": {
  26488. "description": "现货商品表",
  26489. "type": "array",
  26490. "items": {
  26491. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26492. }
  26493. }
  26494. }
  26495. },
  26496. "models.ErmcpBizGroupSpotGoods": {
  26497. "type": "object",
  26498. "properties": {
  26499. "areauserid": {
  26500. "description": "所属机构id",
  26501. "type": "integer"
  26502. },
  26503. "bizgroupid": {
  26504. "description": "分组id",
  26505. "type": "integer"
  26506. },
  26507. "biztype": {
  26508. "description": "业务类型 1-套保 2-套利",
  26509. "type": "integer"
  26510. },
  26511. "deliverygoodscode": {
  26512. "description": "现货商品代码",
  26513. "type": "string"
  26514. },
  26515. "deliverygoodsid": {
  26516. "description": "现货商品id",
  26517. "type": "integer"
  26518. },
  26519. "deliverygoodsname": {
  26520. "description": "现货商品名称",
  26521. "type": "string"
  26522. },
  26523. "unitid": {
  26524. "description": "现货商品单位id",
  26525. "type": "integer"
  26526. }
  26527. }
  26528. },
  26529. "models.ErmcpBizGroupTaAccount": {
  26530. "type": "object",
  26531. "properties": {
  26532. "accountid": {
  26533. "description": "账号id",
  26534. "type": "integer"
  26535. },
  26536. "accountname": {
  26537. "description": "账号名称",
  26538. "type": "string"
  26539. },
  26540. "areauserid": {
  26541. "description": "所属机构id",
  26542. "type": "integer"
  26543. },
  26544. "bizgroupid": {
  26545. "description": "业务分组id",
  26546. "type": "integer"
  26547. },
  26548. "ismain": {
  26549. "description": "是否主账号 1-是 0-否",
  26550. "type": "integer"
  26551. }
  26552. }
  26553. },
  26554. "models.ErmcpDGFactoryItem": {
  26555. "type": "object",
  26556. "properties": {
  26557. "areauserid": {
  26558. "description": "用户id",
  26559. "type": "integer"
  26560. },
  26561. "deliverygoodsid": {
  26562. "description": "现货品种ID",
  26563. "type": "integer"
  26564. },
  26565. "dgfactoryitemid": {
  26566. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  26567. "type": "integer"
  26568. },
  26569. "dgfactoryitemtypeid": {
  26570. "description": "要素项类型",
  26571. "type": "integer"
  26572. },
  26573. "dgfactoryitemvalue": {
  26574. "description": "要素项值(类型为仓库时填写仓库名称)",
  26575. "type": "string"
  26576. },
  26577. "isvalid": {
  26578. "description": "是否有效 - 0:无效 1:有效",
  26579. "type": "integer"
  26580. },
  26581. "orderindex": {
  26582. "description": "顺序",
  26583. "type": "integer"
  26584. },
  26585. "warehouseid": {
  26586. "description": "仓库ID(类型为仓库时填写)",
  26587. "type": "integer"
  26588. }
  26589. }
  26590. },
  26591. "models.ErmcpDeliveryGoods": {
  26592. "type": "object",
  26593. "properties": {
  26594. "agreeunit": {
  26595. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  26596. "type": "integer"
  26597. },
  26598. "areauserid": {
  26599. "description": "所属机构",
  26600. "type": "integer"
  26601. },
  26602. "auditflag": {
  26603. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  26604. "type": "integer"
  26605. },
  26606. "categoryid": {
  26607. "description": "类别ID(SEQ_WRCATEGORY)",
  26608. "type": "integer"
  26609. },
  26610. "deliverygoodscode": {
  26611. "description": "现货品种代码",
  26612. "type": "string"
  26613. },
  26614. "deliverygoodsid": {
  26615. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  26616. "type": "integer"
  26617. },
  26618. "deliverygoodsname": {
  26619. "description": "现货品种名称",
  26620. "type": "string"
  26621. },
  26622. "deliverygoodstype": {
  26623. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  26624. "type": "integer"
  26625. },
  26626. "dgstatus": {
  26627. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  26628. "type": "integer"
  26629. },
  26630. "enumdicname": {
  26631. "description": "现货品种单位名称",
  26632. "type": "string"
  26633. },
  26634. "goodsunitid": {
  26635. "description": "现货品种单位ID",
  26636. "type": "integer"
  26637. },
  26638. "isvalid": {
  26639. "description": "是否有效 - 0:无效 1:有效",
  26640. "type": "integer"
  26641. },
  26642. "qtydecimalplace": {
  26643. "description": "成交量小数位",
  26644. "type": "integer"
  26645. },
  26646. "remark": {
  26647. "description": "备注",
  26648. "type": "string"
  26649. },
  26650. "standardqty": {
  26651. "description": "标准数量(库位数量) [标准品特有]",
  26652. "type": "integer"
  26653. },
  26654. "standardqtyrange": {
  26655. "description": "标准数量偏差范围 [标准品特有]",
  26656. "type": "integer"
  26657. }
  26658. }
  26659. },
  26660. "models.ErmcpFuturesCompany": {
  26661. "type": "object",
  26662. "properties": {
  26663. "brokerid": {
  26664. "description": "经纪公司代码",
  26665. "type": "string"
  26666. },
  26667. "channeladdress": {
  26668. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  26669. "type": "string"
  26670. },
  26671. "channelid": {
  26672. "description": "对冲渠道ID",
  26673. "type": "string"
  26674. },
  26675. "createtime": {
  26676. "description": "创建时间",
  26677. "type": "string"
  26678. },
  26679. "creatorid": {
  26680. "description": "创建人",
  26681. "type": "string"
  26682. },
  26683. "fcid": {
  26684. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  26685. "type": "integer"
  26686. },
  26687. "fcname": {
  26688. "description": "期货公司名称",
  26689. "type": "string"
  26690. },
  26691. "isvalid": {
  26692. "description": "是否有效 - 0:无效 1:有效",
  26693. "type": "integer"
  26694. },
  26695. "mhpaddress": {
  26696. "description": "MHP服务地址(IP:Port)",
  26697. "type": "string"
  26698. },
  26699. "riskrulegroupid": {
  26700. "description": "风控规则组ID",
  26701. "type": "string"
  26702. },
  26703. "tradefeetmpid": {
  26704. "description": "手续费模板ID[TradeConfigTmpType为2]",
  26705. "type": "string"
  26706. },
  26707. "trademargintmpid": {
  26708. "description": "保证金模板ID [TradeConfigTmpType为1]",
  26709. "type": "string"
  26710. },
  26711. "traderatetmpid": {
  26712. "description": "汇率模板ID[TradeConfigTmpType为3]",
  26713. "type": "string"
  26714. },
  26715. "updatetime": {
  26716. "description": "更新时间",
  26717. "type": "string"
  26718. },
  26719. "updatorid": {
  26720. "description": "更新人",
  26721. "type": "string"
  26722. }
  26723. }
  26724. },
  26725. "models.ErmcpGGConvertCfg": {
  26726. "type": "object",
  26727. "properties": {
  26728. "convertratio": {
  26729. "description": "折算系数",
  26730. "type": "number"
  26731. },
  26732. "destgoodsgroupid": {
  26733. "description": "目标品种ID",
  26734. "type": "integer"
  26735. },
  26736. "dstcode": {
  26737. "description": "目录品种代码",
  26738. "type": "string"
  26739. },
  26740. "dstexchangecode": {
  26741. "description": "目标期货交易所",
  26742. "type": "string"
  26743. },
  26744. "dstname": {
  26745. "description": "目标品种名称",
  26746. "type": "string"
  26747. },
  26748. "dstunitid": {
  26749. "description": "目标品种单位ID",
  26750. "type": "integer"
  26751. },
  26752. "dstunitidname": {
  26753. "description": "目标品种单位名称",
  26754. "type": "string"
  26755. },
  26756. "modifytime": {
  26757. "description": "修改时间",
  26758. "type": "string"
  26759. },
  26760. "srccode": {
  26761. "description": "源品种代码",
  26762. "type": "string"
  26763. },
  26764. "srcexchangecode": {
  26765. "description": "源期货交易所",
  26766. "type": "string"
  26767. },
  26768. "srcgoodsgroupid": {
  26769. "description": "源品种ID",
  26770. "type": "integer"
  26771. },
  26772. "srcname": {
  26773. "description": "源品种名称",
  26774. "type": "string"
  26775. },
  26776. "srcunitid": {
  26777. "description": "源品种单位ID",
  26778. "type": "integer"
  26779. },
  26780. "srcunitidname": {
  26781. "description": "源品种单位名称",
  26782. "type": "string"
  26783. }
  26784. }
  26785. },
  26786. "models.ErmcpGoods": {
  26787. "type": "object",
  26788. "required": [
  26789. "goodscode",
  26790. "goodsid",
  26791. "goodsname",
  26792. "marketid"
  26793. ],
  26794. "properties": {
  26795. "agreeunit": {
  26796. "description": "合约单位",
  26797. "type": "number"
  26798. },
  26799. "areauserid": {
  26800. "description": "所属机构",
  26801. "type": "integer"
  26802. },
  26803. "auditaccountid": {
  26804. "description": "审核操作员账号",
  26805. "type": "integer"
  26806. },
  26807. "audittime": {
  26808. "description": "审核时间",
  26809. "type": "string"
  26810. },
  26811. "cancelaccountid": {
  26812. "description": "注销操作员账号",
  26813. "type": "integer"
  26814. },
  26815. "canceltime": {
  26816. "description": "注销时间",
  26817. "type": "string"
  26818. },
  26819. "closepricemode": {
  26820. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26821. "type": "integer"
  26822. },
  26823. "closepriceparam": {
  26824. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26825. "type": "number"
  26826. },
  26827. "createtime": {
  26828. "description": "创建时间",
  26829. "type": "string"
  26830. },
  26831. "creatorid": {
  26832. "description": "创建人",
  26833. "type": "integer"
  26834. },
  26835. "currencyid": {
  26836. "description": "报价货币ID",
  26837. "type": "integer"
  26838. },
  26839. "cutmode": {
  26840. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26841. "type": "integer"
  26842. },
  26843. "decimalplace": {
  26844. "description": "报价小数位",
  26845. "type": "integer"
  26846. },
  26847. "delistingdate": {
  26848. "description": "商品退市时间(状态:退市) -- 已作废",
  26849. "type": "string"
  26850. },
  26851. "delistingmode": {
  26852. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26853. "type": "integer"
  26854. },
  26855. "deliveryflag": {
  26856. "description": "交割标志 - 0:不可交割 1:可交割",
  26857. "type": "integer"
  26858. },
  26859. "enumdicname": {
  26860. "description": "单位名称",
  26861. "type": "string"
  26862. },
  26863. "forceclosemode": {
  26864. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26865. "type": "integer"
  26866. },
  26867. "forceclosevalue": {
  26868. "description": "定期强平参数 [收益权]",
  26869. "type": "integer"
  26870. },
  26871. "goodscode": {
  26872. "description": "商品代码(内部)",
  26873. "type": "string"
  26874. },
  26875. "goodscurrencyid": {
  26876. "description": "合约货币ID",
  26877. "type": "integer"
  26878. },
  26879. "goodsgroupid": {
  26880. "description": "所属商品组ID",
  26881. "type": "integer"
  26882. },
  26883. "goodsid": {
  26884. "description": "商品ID(自增ID SEQ_GOODS)",
  26885. "type": "integer"
  26886. },
  26887. "goodsname": {
  26888. "description": "商品名称",
  26889. "type": "string"
  26890. },
  26891. "goodsquotetype": {
  26892. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26893. "type": "integer"
  26894. },
  26895. "goodsstatus": {
  26896. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26897. "type": "integer"
  26898. },
  26899. "goodstradetype": {
  26900. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26901. "type": "integer"
  26902. },
  26903. "goodunitid": {
  26904. "description": "报价单位ID",
  26905. "type": "integer"
  26906. },
  26907. "hasquoter": {
  26908. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26909. "type": "integer"
  26910. },
  26911. "hqprotecttime": {
  26912. "description": "行情保护时间(秒)",
  26913. "type": "integer"
  26914. },
  26915. "innerdealmode": {
  26916. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26917. "type": "integer"
  26918. },
  26919. "isbuylimited": {
  26920. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26921. "type": "integer"
  26922. },
  26923. "isvisible": {
  26924. "description": "游客是否可见 - 0:不可见 1:可见",
  26925. "type": "integer"
  26926. },
  26927. "lasttradedate": {
  26928. "description": "最后交易日期(状态:待退市)",
  26929. "type": "string"
  26930. },
  26931. "listingdate": {
  26932. "description": "交易开始日期",
  26933. "type": "string"
  26934. },
  26935. "marketid": {
  26936. "description": "所属市场ID",
  26937. "type": "integer"
  26938. },
  26939. "modifierid": {
  26940. "description": "修改人",
  26941. "type": "integer"
  26942. },
  26943. "modifystatus": {
  26944. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26945. "type": "integer"
  26946. },
  26947. "modifytime": {
  26948. "description": "修改时间",
  26949. "type": "string"
  26950. },
  26951. "outerdealmode": {
  26952. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26953. "type": "integer"
  26954. },
  26955. "outgoodscode": {
  26956. "description": "商品代码(外部)",
  26957. "type": "string"
  26958. },
  26959. "pictureurl": {
  26960. "description": "商品图片",
  26961. "type": "string"
  26962. },
  26963. "qtydecimalplace": {
  26964. "description": "成交量小数位",
  26965. "type": "integer"
  26966. },
  26967. "quotegear": {
  26968. "description": "行情档位(1-10)",
  26969. "type": "integer"
  26970. },
  26971. "quoteminunit": {
  26972. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26973. "type": "integer"
  26974. },
  26975. "quoteshowtype": {
  26976. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  26977. "type": "integer"
  26978. },
  26979. "quoteshowtypeinterval": {
  26980. "description": "行情报价间隔时间(秒)(成交价时为0)",
  26981. "type": "integer"
  26982. },
  26983. "relatedgoodsid": {
  26984. "description": "关联参考商品ID",
  26985. "type": "integer"
  26986. },
  26987. "remark": {
  26988. "description": "备注",
  26989. "type": "string"
  26990. },
  26991. "trademode": {
  26992. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26993. "type": "integer"
  26994. }
  26995. }
  26996. },
  26997. "models.ErmcpGoodsBrand": {
  26998. "type": "object",
  26999. "properties": {
  27000. "areauserid": {
  27001. "description": "所属机构",
  27002. "type": "integer"
  27003. },
  27004. "brandid": {
  27005. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27006. "type": "integer"
  27007. },
  27008. "brandname": {
  27009. "description": "品牌名称",
  27010. "type": "string"
  27011. },
  27012. "createtime": {
  27013. "description": "创建时间",
  27014. "type": "string"
  27015. },
  27016. "creatorid": {
  27017. "description": "创建人",
  27018. "type": "integer"
  27019. },
  27020. "creatorsrc": {
  27021. "description": "创建人来源 - 1:管理端 2:终端",
  27022. "type": "integer"
  27023. },
  27024. "deliverygoodsid": {
  27025. "description": "现货品种ID",
  27026. "type": "integer"
  27027. },
  27028. "isvalid": {
  27029. "description": "是否有效 - 0:无效 1:有效",
  27030. "type": "integer"
  27031. },
  27032. "updatetime": {
  27033. "description": "更新时间",
  27034. "type": "string"
  27035. },
  27036. "updatorid": {
  27037. "description": "更新人",
  27038. "type": "integer"
  27039. },
  27040. "updatorsrc": {
  27041. "description": "更新人来源 - 1:管理端 2:终端",
  27042. "type": "integer"
  27043. },
  27044. "wrstandardid": {
  27045. "description": "现货商品ID",
  27046. "type": "integer"
  27047. }
  27048. }
  27049. },
  27050. "models.ErmcpGoodsModel": {
  27051. "type": "object",
  27052. "properties": {
  27053. "areauserid": {
  27054. "description": "所属机构",
  27055. "type": "integer"
  27056. },
  27057. "convertfactor": {
  27058. "description": "标仓系数",
  27059. "type": "number"
  27060. },
  27061. "createtime": {
  27062. "description": "创建时间",
  27063. "type": "string"
  27064. },
  27065. "creatorid": {
  27066. "description": "创建人",
  27067. "type": "integer"
  27068. },
  27069. "creatorsrc": {
  27070. "description": "创建人来源 - 1:管理端 2:终端",
  27071. "type": "integer"
  27072. },
  27073. "deliverygoodsid": {
  27074. "description": "现货品种ID",
  27075. "type": "integer"
  27076. },
  27077. "isvalid": {
  27078. "description": "是否有效 - 0:无效 1:有效",
  27079. "type": "integer"
  27080. },
  27081. "modelid": {
  27082. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27083. "type": "integer"
  27084. },
  27085. "modelname": {
  27086. "description": "型号名称",
  27087. "type": "string"
  27088. },
  27089. "updatetime": {
  27090. "description": "更新时间",
  27091. "type": "string"
  27092. },
  27093. "updatorid": {
  27094. "description": "更新人",
  27095. "type": "integer"
  27096. },
  27097. "updatorsrc": {
  27098. "description": "更新人来源 - 1:管理端 2:终端",
  27099. "type": "integer"
  27100. },
  27101. "wrstandardid": {
  27102. "description": "现货商品ID",
  27103. "type": "integer"
  27104. }
  27105. }
  27106. },
  27107. "models.ErmcpHisExposure": {
  27108. "type": "object",
  27109. "properties": {
  27110. "needhedgeexposoure": {
  27111. "description": "应套保敞口",
  27112. "type": "number"
  27113. },
  27114. "reckondate": {
  27115. "description": "日照时期(yyyyMMdd)",
  27116. "type": "string"
  27117. },
  27118. "totalexposure": {
  27119. "description": "总敞口",
  27120. "type": "number"
  27121. }
  27122. }
  27123. },
  27124. "models.ErmcpLoginTaAccount": {
  27125. "type": "object",
  27126. "properties": {
  27127. "accountid": {
  27128. "description": "账号id",
  27129. "type": "integer"
  27130. },
  27131. "accountname": {
  27132. "description": "账号名称",
  27133. "type": "string"
  27134. }
  27135. }
  27136. },
  27137. "models.ErmcpLoginUser": {
  27138. "type": "object",
  27139. "properties": {
  27140. "acclist": {
  27141. "description": "关联资金账号",
  27142. "type": "array",
  27143. "items": {
  27144. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27145. }
  27146. },
  27147. "accountname": {
  27148. "description": "用户名称",
  27149. "type": "string"
  27150. },
  27151. "clientroleid": {
  27152. "description": "角色id(usertype=2)",
  27153. "type": "integer"
  27154. },
  27155. "createtime": {
  27156. "description": "创建时间",
  27157. "type": "string"
  27158. },
  27159. "logincode": {
  27160. "description": "登录代码",
  27161. "type": "string"
  27162. },
  27163. "loginid": {
  27164. "description": "登录id(LOGINID)",
  27165. "type": "integer"
  27166. },
  27167. "loginname": {
  27168. "description": "登录名称(loginaccount表中的accountname字段)",
  27169. "type": "string"
  27170. },
  27171. "loginstatus": {
  27172. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27173. "type": "integer"
  27174. },
  27175. "memberuserid": {
  27176. "description": "所属会员id",
  27177. "type": "integer"
  27178. },
  27179. "mobile": {
  27180. "description": "手机号",
  27181. "type": "string"
  27182. },
  27183. "modifytime": {
  27184. "description": "修改时间",
  27185. "type": "string"
  27186. },
  27187. "password": {
  27188. "description": "密码(不可解密)",
  27189. "type": "string"
  27190. },
  27191. "rolename": {
  27192. "description": "角色名称",
  27193. "type": "string"
  27194. },
  27195. "rolestatus": {
  27196. "description": "角色状态 1-启用 2-停用",
  27197. "type": "integer"
  27198. },
  27199. "roletype": {
  27200. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27201. "type": "string"
  27202. },
  27203. "userid": {
  27204. "description": "用户id",
  27205. "type": "integer"
  27206. },
  27207. "usertype": {
  27208. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27209. "type": "integer"
  27210. }
  27211. }
  27212. },
  27213. "models.ErmcpLoginUserEx": {
  27214. "type": "object",
  27215. "properties": {
  27216. "accountstatus": {
  27217. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27218. "type": "integer"
  27219. },
  27220. "mobile": {
  27221. "description": "手机号",
  27222. "type": "string"
  27223. },
  27224. "querytype": {
  27225. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27226. "type": "integer"
  27227. },
  27228. "roleid": {
  27229. "description": "角色id(交易账户-\u003e用户id)",
  27230. "type": "integer"
  27231. },
  27232. "rolename": {
  27233. "description": "角色名称(交易账户-\u003e用户名称)",
  27234. "type": "string"
  27235. },
  27236. "userlist": {
  27237. "description": "用户列表",
  27238. "type": "array",
  27239. "items": {
  27240. "$ref": "#/definitions/models.ErmcpLoginUser"
  27241. }
  27242. },
  27243. "usertype": {
  27244. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27245. "type": "integer"
  27246. }
  27247. }
  27248. },
  27249. "models.ErmcpMiddleGoodsModel": {
  27250. "type": "object",
  27251. "properties": {
  27252. "areauserid": {
  27253. "description": "机构用户ID",
  27254. "type": "integer"
  27255. },
  27256. "createtime": {
  27257. "description": "修改时间",
  27258. "type": "string"
  27259. },
  27260. "enumdicname": {
  27261. "description": "单位名称",
  27262. "type": "string"
  27263. },
  27264. "evaluateratio": {
  27265. "description": "估价系数",
  27266. "type": "number"
  27267. },
  27268. "goodsgroupid": {
  27269. "description": "关联期货品种ID",
  27270. "type": "integer"
  27271. },
  27272. "goodsunitid": {
  27273. "description": "单位ID",
  27274. "type": "integer"
  27275. },
  27276. "isvalid": {
  27277. "description": "状态 0-无效(停用) 1-有效(正常)",
  27278. "type": "integer"
  27279. },
  27280. "middlegoodscode": {
  27281. "description": "套保品种代码",
  27282. "type": "string"
  27283. },
  27284. "middlegoodsid": {
  27285. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27286. "type": "integer"
  27287. },
  27288. "middlegoodsname": {
  27289. "description": "套保品种名称",
  27290. "type": "string"
  27291. },
  27292. "modifytime": {
  27293. "description": "修改时间",
  27294. "type": "string"
  27295. },
  27296. "needarbitrageratio": {
  27297. "description": "套利比例",
  27298. "type": "number"
  27299. },
  27300. "needhedgeratio": {
  27301. "description": "套保比率",
  27302. "type": "number"
  27303. },
  27304. "qtydecimalplace": {
  27305. "description": "数量小数位",
  27306. "type": "integer"
  27307. },
  27308. "relatedgoodsid": {
  27309. "description": "关联交易商品ID",
  27310. "type": "integer"
  27311. },
  27312. "relatedgoodstype": {
  27313. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27314. "type": "integer"
  27315. },
  27316. "remark": {
  27317. "description": "备注",
  27318. "type": "string"
  27319. }
  27320. }
  27321. },
  27322. "models.ErmcpMiddlegoodsRelateGoods": {
  27323. "type": "object",
  27324. "properties": {
  27325. "agreeunit": {
  27326. "description": "合约乘数",
  27327. "type": "number"
  27328. },
  27329. "convertratio": {
  27330. "description": "折算系数",
  27331. "type": "number"
  27332. },
  27333. "enumdicname": {
  27334. "description": "单位名称(交易商品)",
  27335. "type": "string"
  27336. },
  27337. "goodscode": {
  27338. "description": "交易商品代码",
  27339. "type": "string"
  27340. },
  27341. "goodsgroupid": {
  27342. "description": "交易品种id",
  27343. "type": "integer"
  27344. },
  27345. "goodsid": {
  27346. "description": "商品Id",
  27347. "type": "integer"
  27348. },
  27349. "goodsname": {
  27350. "description": "交易商品名称",
  27351. "type": "string"
  27352. },
  27353. "goodunitid": {
  27354. "description": "交易商品单位id",
  27355. "type": "integer"
  27356. },
  27357. "middlegoodsid": {
  27358. "description": "套保商品id",
  27359. "type": "integer"
  27360. },
  27361. "middlegoodsname": {
  27362. "description": "套保商品名称",
  27363. "type": "string"
  27364. },
  27365. "middlegoodsswcode": {
  27366. "description": "套保商品代码",
  27367. "type": "string"
  27368. },
  27369. "needarbitrageratio": {
  27370. "description": "应套利比例",
  27371. "type": "number"
  27372. },
  27373. "needhedgeratio": {
  27374. "description": "应套保比例",
  27375. "type": "number"
  27376. }
  27377. }
  27378. },
  27379. "models.ErmcpRole": {
  27380. "type": "object",
  27381. "properties": {
  27382. "areauserid": {
  27383. "description": "所属机构",
  27384. "type": "integer"
  27385. },
  27386. "autoid": {
  27387. "description": "角色ID(自增ID)",
  27388. "type": "integer"
  27389. },
  27390. "modifierid": {
  27391. "description": "修改人(创建人)",
  27392. "type": "integer"
  27393. },
  27394. "modifiername": {
  27395. "description": "修改人名称",
  27396. "type": "string"
  27397. },
  27398. "modifytime": {
  27399. "description": "修改时间(创建时间)",
  27400. "type": "string"
  27401. },
  27402. "rolename": {
  27403. "description": "角色名称",
  27404. "type": "string"
  27405. },
  27406. "rolestatus": {
  27407. "description": "角色状态 - 1:启用 2:停用",
  27408. "type": "integer"
  27409. },
  27410. "roletype": {
  27411. "description": "角色类型 - 1- 管理端 2- 交易端",
  27412. "type": "integer"
  27413. }
  27414. }
  27415. },
  27416. "models.ErmcpRoleMenu": {
  27417. "type": "object",
  27418. "properties": {
  27419. "iconame": {
  27420. "description": "菜单图标",
  27421. "type": "string"
  27422. },
  27423. "ishadrole": {
  27424. "description": "是否有权限",
  27425. "type": "boolean"
  27426. },
  27427. "menutype": {
  27428. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27429. "type": "integer"
  27430. },
  27431. "parentcode": {
  27432. "description": "上级资源代码",
  27433. "type": "string"
  27434. },
  27435. "remark": {
  27436. "description": "菜单备注",
  27437. "type": "string"
  27438. },
  27439. "resourcecode": {
  27440. "description": "菜单代码",
  27441. "type": "string"
  27442. },
  27443. "resourcelevel": {
  27444. "description": "级别",
  27445. "type": "integer"
  27446. },
  27447. "resourcename": {
  27448. "description": "菜单名称",
  27449. "type": "string"
  27450. },
  27451. "roleid": {
  27452. "description": "角色id",
  27453. "type": "integer"
  27454. },
  27455. "sort": {
  27456. "description": "排序",
  27457. "type": "integer"
  27458. },
  27459. "url": {
  27460. "description": "URL",
  27461. "type": "string"
  27462. },
  27463. "userid": {
  27464. "description": "用户id",
  27465. "type": "integer"
  27466. }
  27467. }
  27468. },
  27469. "models.ErmcpRoleMenuEx": {
  27470. "type": "object",
  27471. "properties": {
  27472. "menu": {
  27473. "description": "父级菜单",
  27474. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27475. },
  27476. "subMenu": {
  27477. "description": "子级菜单",
  27478. "type": "array",
  27479. "items": {
  27480. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27481. }
  27482. }
  27483. }
  27484. },
  27485. "models.ErmcpSpotContractModelEx": {
  27486. "type": "object",
  27487. "properties": {
  27488. "accountname": {
  27489. "description": "套期主体",
  27490. "type": "string"
  27491. },
  27492. "amount": {
  27493. "description": "金额 [1:一口价、3:暂定价]",
  27494. "type": "number"
  27495. },
  27496. "attachment": {
  27497. "description": "附件",
  27498. "type": "string"
  27499. },
  27500. "auditremark": {
  27501. "description": "审核意见",
  27502. "type": "string"
  27503. },
  27504. "audittime": {
  27505. "description": "审核时间",
  27506. "type": "string"
  27507. },
  27508. "avgprice": {
  27509. "description": "定价均价 = 已定价金额 / 已定价量",
  27510. "type": "number"
  27511. },
  27512. "brandname": {
  27513. "description": "品牌名称",
  27514. "type": "string"
  27515. },
  27516. "buyuserid": {
  27517. "description": "采购方ID",
  27518. "type": "integer"
  27519. },
  27520. "buyusername": {
  27521. "description": "采购方名称",
  27522. "type": "string"
  27523. },
  27524. "contracctstatus": {
  27525. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27526. "type": "integer"
  27527. },
  27528. "contractmargin": {
  27529. "description": "合同保证金",
  27530. "type": "number"
  27531. },
  27532. "contractno": {
  27533. "description": "[合同编号]现货合同编号",
  27534. "type": "string"
  27535. },
  27536. "contracttype": {
  27537. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  27538. "type": "integer"
  27539. },
  27540. "convertfactor": {
  27541. "description": "标仓系数",
  27542. "type": "number"
  27543. },
  27544. "createtime": {
  27545. "description": "创建时间",
  27546. "type": "string"
  27547. },
  27548. "customername": {
  27549. "description": "对手方",
  27550. "type": "string"
  27551. },
  27552. "customeruserid": {
  27553. "description": "客户ID",
  27554. "type": "integer"
  27555. },
  27556. "deliveryenddate": {
  27557. "description": "交收期(结束)",
  27558. "type": "string"
  27559. },
  27560. "deliverygoodscode": {
  27561. "description": "现货品种代码",
  27562. "type": "string"
  27563. },
  27564. "deliverygoodsid": {
  27565. "description": "现货品种ID",
  27566. "type": "integer"
  27567. },
  27568. "deliverygoodsname": {
  27569. "description": "现货品种名称",
  27570. "type": "string"
  27571. },
  27572. "deliverystartdate": {
  27573. "description": "交收期(开始)",
  27574. "type": "string"
  27575. },
  27576. "enddate": {
  27577. "description": "点价结束日期 [2:点价 3:暂定价]",
  27578. "type": "string"
  27579. },
  27580. "enumdicname": {
  27581. "description": "单位名称",
  27582. "type": "string"
  27583. },
  27584. "goodscode": {
  27585. "description": "点价合约代码",
  27586. "type": "string"
  27587. },
  27588. "goodsid": {
  27589. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  27590. "type": "integer"
  27591. },
  27592. "goodsname": {
  27593. "description": "点价商品名称",
  27594. "type": "string"
  27595. },
  27596. "isrelated": {
  27597. "description": "是否已关联计划项目 - 0:否 1:是",
  27598. "type": "integer"
  27599. },
  27600. "isrelated2": {
  27601. "description": "是否已关联现货项目 - 0:否 1:是",
  27602. "type": "integer"
  27603. },
  27604. "margin": {
  27605. "description": "当前保证金",
  27606. "type": "number"
  27607. },
  27608. "modelname": {
  27609. "description": "型号名称",
  27610. "type": "string"
  27611. },
  27612. "price": {
  27613. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  27614. "type": "number"
  27615. },
  27616. "pricedamount": {
  27617. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  27618. "type": "number"
  27619. },
  27620. "pricedqty": {
  27621. "description": "已定价量",
  27622. "type": "number"
  27623. },
  27624. "pricemove": {
  27625. "description": "升贴水 [2:点价 3:暂定价]",
  27626. "type": "number"
  27627. },
  27628. "pricetype": {
  27629. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27630. "type": "integer"
  27631. },
  27632. "producttype": {
  27633. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27634. "type": "integer"
  27635. },
  27636. "qty": {
  27637. "description": "[合同数量]数量",
  27638. "type": "number"
  27639. },
  27640. "remark": {
  27641. "description": "备注",
  27642. "type": "string"
  27643. },
  27644. "selluserid": {
  27645. "description": "销售方ID",
  27646. "type": "integer"
  27647. },
  27648. "sellusername": {
  27649. "description": "销售方名称",
  27650. "type": "string"
  27651. },
  27652. "spotamount": {
  27653. "description": "合同现货金额 [不含升贴水]",
  27654. "type": "number"
  27655. },
  27656. "spotavgprice": {
  27657. "description": "现货均价 = 合同现货金额 / 已定价量",
  27658. "type": "number"
  27659. },
  27660. "spotcontractid": {
  27661. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27662. "type": "string"
  27663. },
  27664. "spotgoodsbrandid": {
  27665. "description": "现货品牌ID",
  27666. "type": "integer"
  27667. },
  27668. "spotgoodsdesc": {
  27669. "description": "商品型号",
  27670. "type": "string"
  27671. },
  27672. "spotgoodsmodelid": {
  27673. "description": "现货型号ID",
  27674. "type": "integer"
  27675. },
  27676. "startdate": {
  27677. "description": "点价开始日期 [2:点价 3:暂定价]",
  27678. "type": "string"
  27679. },
  27680. "tradeuserid": {
  27681. "description": "交易用户ID",
  27682. "type": "integer"
  27683. },
  27684. "unpricedqty": {
  27685. "description": "未定价量 = 合同数量 - 已定价量",
  27686. "type": "number"
  27687. },
  27688. "updatetime": {
  27689. "description": "更新时间",
  27690. "type": "string"
  27691. },
  27692. "userid": {
  27693. "description": "机构ID",
  27694. "type": "integer"
  27695. },
  27696. "wrstandardcode": {
  27697. "description": "现货商品代码",
  27698. "type": "string"
  27699. },
  27700. "wrstandardid": {
  27701. "description": "现货商品ID",
  27702. "type": "integer"
  27703. },
  27704. "wrstandardname": {
  27705. "description": "[现货商品]现货商品名称",
  27706. "type": "string"
  27707. }
  27708. }
  27709. },
  27710. "models.ErmcpTaAccount": {
  27711. "type": "object",
  27712. "properties": {
  27713. "accountid": {
  27714. "description": "账户id",
  27715. "type": "integer"
  27716. },
  27717. "accountname": {
  27718. "description": "账户名称",
  27719. "type": "string"
  27720. },
  27721. "currencyid": {
  27722. "description": "币种id",
  27723. "type": "integer"
  27724. },
  27725. "hedgeaccountcode": {
  27726. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  27727. "type": "string"
  27728. },
  27729. "ismain": {
  27730. "description": "是否主账户 0-否 1-是",
  27731. "type": "integer"
  27732. },
  27733. "parentaccountid": {
  27734. "description": "父账户id",
  27735. "type": "integer"
  27736. },
  27737. "relateduserid": {
  27738. "description": "关联userid",
  27739. "type": "integer"
  27740. },
  27741. "tradefeetmpid": {
  27742. "description": "手续费模板id",
  27743. "type": "integer"
  27744. },
  27745. "tradefeetmpname": {
  27746. "description": "手续费模板名称",
  27747. "type": "string"
  27748. },
  27749. "trademargintmpid": {
  27750. "description": "保证金模板id",
  27751. "type": "integer"
  27752. },
  27753. "trademargintmpname": {
  27754. "description": "保证金模板名称",
  27755. "type": "string"
  27756. },
  27757. "traderatetmpid": {
  27758. "description": "汇率模板id",
  27759. "type": "integer"
  27760. },
  27761. "traderatetmpname": {
  27762. "description": "汇率模板名称",
  27763. "type": "string"
  27764. },
  27765. "tradestatus": {
  27766. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27767. "type": "integer"
  27768. },
  27769. "userid": {
  27770. "description": "用户id",
  27771. "type": "integer"
  27772. }
  27773. }
  27774. },
  27775. "models.ErmcpTaAccountEx": {
  27776. "type": "object",
  27777. "properties": {
  27778. "mainAcc": {
  27779. "description": "主账号",
  27780. "$ref": "#/definitions/models.ErmcpTaAccountM"
  27781. },
  27782. "subacclist": {
  27783. "description": "子账号列表",
  27784. "type": "array",
  27785. "items": {
  27786. "$ref": "#/definitions/models.ErmcpTaAccount"
  27787. }
  27788. }
  27789. }
  27790. },
  27791. "models.ErmcpTaAccountInfo": {
  27792. "type": "object",
  27793. "properties": {
  27794. "accountid": {
  27795. "description": "资金账户ID",
  27796. "type": "integer"
  27797. },
  27798. "accountname": {
  27799. "description": "账户名称",
  27800. "type": "string"
  27801. },
  27802. "balance": {
  27803. "description": "期初余额",
  27804. "type": "number"
  27805. },
  27806. "capitalbalance": {
  27807. "description": "本金余额[外部子账户实际出入金余额]",
  27808. "type": "number"
  27809. },
  27810. "closepl": {
  27811. "description": "今日平仓盈亏",
  27812. "type": "number"
  27813. },
  27814. "creditdecrease": {
  27815. "description": "今日授信减少",
  27816. "type": "number"
  27817. },
  27818. "creditincrease": {
  27819. "description": "今日授信增加",
  27820. "type": "number"
  27821. },
  27822. "curdebt": {
  27823. "description": "期末欠款",
  27824. "type": "number"
  27825. },
  27826. "currencyid": {
  27827. "description": "货币ID",
  27828. "type": "integer"
  27829. },
  27830. "currentbalance": {
  27831. "description": "期末余额",
  27832. "type": "number"
  27833. },
  27834. "freezecharge": {
  27835. "description": "手续费冻结",
  27836. "type": "number"
  27837. },
  27838. "freezemargin": {
  27839. "description": "冻结保证金",
  27840. "type": "number"
  27841. },
  27842. "fromaccountid": {
  27843. "description": "所属上级账户",
  27844. "type": "integer"
  27845. },
  27846. "inamount": {
  27847. "description": "今日入金金额(包括三方入金)",
  27848. "type": "number"
  27849. },
  27850. "ismain": {
  27851. "description": "是否母账号 0:不是母账户 1:是母账户",
  27852. "type": "integer"
  27853. },
  27854. "mortgagecredit": {
  27855. "description": "授信金额",
  27856. "type": "number"
  27857. },
  27858. "oridebt": {
  27859. "description": "期初欠款",
  27860. "type": "number"
  27861. },
  27862. "orifreezecharge": {
  27863. "description": "期初手续费冻结",
  27864. "type": "number"
  27865. },
  27866. "orifreezemargin": {
  27867. "description": "期初冻结保证金",
  27868. "type": "number"
  27869. },
  27870. "orimortgagecredit": {
  27871. "description": "期初授信金额",
  27872. "type": "number"
  27873. },
  27874. "oriothercredit": {
  27875. "description": "期初其它授信金额",
  27876. "type": "number"
  27877. },
  27878. "oriotherfreezemargin": {
  27879. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27880. "type": "number"
  27881. },
  27882. "orioutamountfreeze": {
  27883. "description": "期初出金冻结",
  27884. "type": "number"
  27885. },
  27886. "oriusedmargin": {
  27887. "description": "期初占用保证金",
  27888. "type": "number"
  27889. },
  27890. "othercredit": {
  27891. "description": "其它授信金额",
  27892. "type": "number"
  27893. },
  27894. "othercreditdecrease": {
  27895. "description": "今日其它授信减少",
  27896. "type": "number"
  27897. },
  27898. "othercreditincrease": {
  27899. "description": "今日其它授信增加",
  27900. "type": "number"
  27901. },
  27902. "otherfreezemargin": {
  27903. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27904. "type": "number"
  27905. },
  27906. "outamount": {
  27907. "description": "今日出金金额(包括三方出金)",
  27908. "type": "number"
  27909. },
  27910. "outamountfreeze": {
  27911. "description": "出金冻结",
  27912. "type": "number"
  27913. },
  27914. "outthreshold": {
  27915. "description": "出金阈值",
  27916. "type": "number"
  27917. },
  27918. "parentaccountid": {
  27919. "description": "所属根账号",
  27920. "type": "integer"
  27921. },
  27922. "paycharge": {
  27923. "description": "今日手续费支出",
  27924. "type": "number"
  27925. },
  27926. "relateduserid": {
  27927. "description": "关联用户",
  27928. "type": "integer"
  27929. },
  27930. "signstatus": {
  27931. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27932. "type": "integer"
  27933. },
  27934. "sublevelpath": {
  27935. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27936. "type": "string"
  27937. },
  27938. "taaccounttype": {
  27939. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27940. "type": "integer"
  27941. },
  27942. "thirdinamount": {
  27943. "description": "今日三方入金",
  27944. "type": "number"
  27945. },
  27946. "thirdoutamount": {
  27947. "description": "今日三方出金",
  27948. "type": "number"
  27949. },
  27950. "tradestatus": {
  27951. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27952. "type": "integer"
  27953. },
  27954. "transferamount": {
  27955. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27956. "type": "number"
  27957. },
  27958. "usedmargin": {
  27959. "description": "占用保证金",
  27960. "type": "number"
  27961. },
  27962. "userid": {
  27963. "description": "用户ID",
  27964. "type": "integer"
  27965. }
  27966. }
  27967. },
  27968. "models.ErmcpTaAccountM": {
  27969. "type": "object",
  27970. "properties": {
  27971. "accountid": {
  27972. "description": "账户id",
  27973. "type": "integer"
  27974. },
  27975. "accountname": {
  27976. "description": "账户名称",
  27977. "type": "string"
  27978. },
  27979. "currencyid": {
  27980. "description": "币种id",
  27981. "type": "integer"
  27982. },
  27983. "fcid": {
  27984. "description": "期货公司id",
  27985. "type": "integer"
  27986. },
  27987. "fcname": {
  27988. "description": "期货公司代码",
  27989. "type": "string"
  27990. },
  27991. "hedgeaccountcode": {
  27992. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  27993. "type": "string"
  27994. },
  27995. "ismain": {
  27996. "description": "是否主账户 0-否 1-是",
  27997. "type": "integer"
  27998. },
  27999. "parentaccountid": {
  28000. "description": "父账户id",
  28001. "type": "integer"
  28002. },
  28003. "relateduserid": {
  28004. "description": "关联userid",
  28005. "type": "integer"
  28006. },
  28007. "tradefeetmpid": {
  28008. "description": "手续费模板id",
  28009. "type": "integer"
  28010. },
  28011. "tradefeetmpname": {
  28012. "description": "手续费模板名称",
  28013. "type": "string"
  28014. },
  28015. "trademargintmpid": {
  28016. "description": "保证金模板id",
  28017. "type": "integer"
  28018. },
  28019. "trademargintmpname": {
  28020. "description": "保证金模板名称",
  28021. "type": "string"
  28022. },
  28023. "traderatetmpid": {
  28024. "description": "汇率模板id",
  28025. "type": "integer"
  28026. },
  28027. "traderatetmpname": {
  28028. "description": "汇率模板名称",
  28029. "type": "string"
  28030. },
  28031. "tradestatus": {
  28032. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28033. "type": "integer"
  28034. },
  28035. "userid": {
  28036. "description": "用户id",
  28037. "type": "integer"
  28038. }
  28039. }
  28040. },
  28041. "models.ErmcpTradeConfigTMP": {
  28042. "type": "object",
  28043. "properties": {
  28044. "areauserid": {
  28045. "description": "所属机构",
  28046. "type": "integer"
  28047. },
  28048. "basiccurrencyid": {
  28049. "description": "基本币种ID[汇率] - 目标币种",
  28050. "type": "integer"
  28051. },
  28052. "mainaccountid": {
  28053. "description": "主账户ID",
  28054. "type": "integer"
  28055. },
  28056. "modifierid": {
  28057. "description": "修改人",
  28058. "type": "integer"
  28059. },
  28060. "remark": {
  28061. "description": "备注",
  28062. "type": "string"
  28063. },
  28064. "tradeconfigtmpid": {
  28065. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28066. "type": "integer"
  28067. },
  28068. "tradeconfigtmpname": {
  28069. "description": "交易配置模板名称",
  28070. "type": "string"
  28071. },
  28072. "tradeconfigtmptype": {
  28073. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28074. "type": "integer"
  28075. },
  28076. "updatetime": {
  28077. "description": "更新时间",
  28078. "type": "string"
  28079. }
  28080. }
  28081. },
  28082. "models.Ermcpjrlinkpos": {
  28083. "type": "object",
  28084. "required": [
  28085. "spotcontractid"
  28086. ],
  28087. "properties": {
  28088. "areauserid": {
  28089. "description": "所属企业",
  28090. "type": "integer"
  28091. },
  28092. "averageprice": {
  28093. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28094. "type": "number"
  28095. },
  28096. "closepl": {
  28097. "description": "总平仓盈亏 [期货损益]",
  28098. "type": "number"
  28099. },
  28100. "executeprice": {
  28101. "description": "执行价 - 1:期货单 为 0",
  28102. "type": "integer"
  28103. },
  28104. "futurehedgeqty": {
  28105. "description": "期货套期量",
  28106. "type": "number"
  28107. },
  28108. "goodsid": {
  28109. "description": "期货合约",
  28110. "type": "integer"
  28111. },
  28112. "middlegoodscode": {
  28113. "description": "套保商品代码",
  28114. "type": "string"
  28115. },
  28116. "middlegoodsname": {
  28117. "description": "套保商品名称",
  28118. "type": "string"
  28119. },
  28120. "netqty": {
  28121. "description": "净头寸",
  28122. "type": "number"
  28123. },
  28124. "optioncode": {
  28125. "description": "期权代码",
  28126. "type": "string"
  28127. },
  28128. "ordertype": {
  28129. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28130. "type": "integer"
  28131. },
  28132. "reckonpl": {
  28133. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28134. "type": "number"
  28135. },
  28136. "spotcontractid": {
  28137. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28138. "type": "string"
  28139. },
  28140. "todayfutureclosepl": {
  28141. "description": "今日平仓盈亏",
  28142. "type": "number"
  28143. },
  28144. "totalbuyamount": {
  28145. "description": "买金额 [期货]",
  28146. "type": "number"
  28147. },
  28148. "totalbuyholdamount": {
  28149. "description": "买持仓总金额[期货]",
  28150. "type": "number"
  28151. },
  28152. "totalbuyqty": {
  28153. "description": "买数量",
  28154. "type": "number"
  28155. },
  28156. "totalcharge": {
  28157. "description": "手续费",
  28158. "type": "number"
  28159. },
  28160. "totalpremium": {
  28161. "description": "权利金 [期权]",
  28162. "type": "number"
  28163. },
  28164. "totalsellamount": {
  28165. "description": "卖金额 [期货]",
  28166. "type": "number"
  28167. },
  28168. "totalsellholdamount": {
  28169. "description": "卖持仓总金额[期货]",
  28170. "type": "number"
  28171. },
  28172. "totalsellqty": {
  28173. "description": "卖数量",
  28174. "type": "number"
  28175. },
  28176. "updatetime": {
  28177. "description": "更新时间",
  28178. "type": "string"
  28179. }
  28180. }
  28181. },
  28182. "models.Ermcppatradelinkdetail": {
  28183. "type": "object",
  28184. "required": [
  28185. "hedgeditemid"
  28186. ],
  28187. "properties": {
  28188. "agreeunit": {
  28189. "description": "合约乘数",
  28190. "type": "number"
  28191. },
  28192. "amount": {
  28193. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28194. "type": "number"
  28195. },
  28196. "areauserid": {
  28197. "description": "所属机构",
  28198. "type": "integer"
  28199. },
  28200. "bizsubjectid": {
  28201. "description": "归属业务部门ID - SubjectID",
  28202. "type": "integer"
  28203. },
  28204. "buyorsell": {
  28205. "description": "方向 - 0:买 1:卖",
  28206. "type": "integer"
  28207. },
  28208. "convertratio": {
  28209. "description": "品种系数",
  28210. "type": "number"
  28211. },
  28212. "createtime": {
  28213. "description": "创建时间",
  28214. "type": "string"
  28215. },
  28216. "creatorid": {
  28217. "description": "创建人ID",
  28218. "type": "integer"
  28219. },
  28220. "creatorsrc": {
  28221. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28222. "type": "integer"
  28223. },
  28224. "goodsgroupid": {
  28225. "description": "对冲品种ID[期货合约商品组ID]",
  28226. "type": "integer"
  28227. },
  28228. "goodsid": {
  28229. "description": "商品ID",
  28230. "type": "integer"
  28231. },
  28232. "hedgeditemid": {
  28233. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28234. "type": "integer"
  28235. },
  28236. "hedgeflag": {
  28237. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28238. "type": "integer"
  28239. },
  28240. "linkdetailid": {
  28241. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28242. "type": "string"
  28243. },
  28244. "linkstatus": {
  28245. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28246. "type": "integer"
  28247. },
  28248. "middlegoodsid": {
  28249. "description": "套保品种ID",
  28250. "type": "integer"
  28251. },
  28252. "name": {
  28253. "description": "账户名/子账户",
  28254. "type": "string"
  28255. },
  28256. "optioncode": {
  28257. "description": "[期货合约]期权代码 [期权]",
  28258. "type": "string"
  28259. },
  28260. "ordertype": {
  28261. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28262. "type": "integer"
  28263. },
  28264. "relatedlot": {
  28265. "description": "[数量]关联手数",
  28266. "type": "number"
  28267. },
  28268. "relatedmode": {
  28269. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28270. "type": "integer"
  28271. },
  28272. "relatedqty": {
  28273. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28274. "type": "number"
  28275. },
  28276. "retcode": {
  28277. "description": "返回码",
  28278. "type": "integer"
  28279. },
  28280. "saleuserid": {
  28281. "description": "业务员ID",
  28282. "type": "integer"
  28283. },
  28284. "tradedate": {
  28285. "description": "关联交易日(yyyyMMdd)",
  28286. "type": "string"
  28287. },
  28288. "tradeid": {
  28289. "description": "[成交单号]内部成交单ID",
  28290. "type": "string"
  28291. },
  28292. "tradelot": {
  28293. "description": "成交手数",
  28294. "type": "integer"
  28295. },
  28296. "tradeprice": {
  28297. "description": "[价格]成交价格",
  28298. "type": "number"
  28299. },
  28300. "tradetime": {
  28301. "description": "日期时间",
  28302. "type": "string"
  28303. },
  28304. "tradetradedate": {
  28305. "description": "成交交易日(yyyyMMdd)",
  28306. "type": "string"
  28307. }
  28308. }
  28309. },
  28310. "models.Externalexchange": {
  28311. "type": "object",
  28312. "required": [
  28313. "autoid"
  28314. ],
  28315. "properties": {
  28316. "autoid": {
  28317. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28318. "type": "integer"
  28319. },
  28320. "exchangefullname": {
  28321. "description": "外部交易所全称",
  28322. "type": "string"
  28323. },
  28324. "exexchangecode": {
  28325. "description": "外部交易所代码",
  28326. "type": "string"
  28327. },
  28328. "exexchangename": {
  28329. "description": "外部交易所名称(简称)",
  28330. "type": "string"
  28331. },
  28332. "ismarketprice": {
  28333. "description": "是否支持市价 - 0:不支持 1:支持",
  28334. "type": "integer"
  28335. },
  28336. "quotegear": {
  28337. "description": "行情档位(1-10)",
  28338. "type": "integer"
  28339. },
  28340. "showbrokerflag": {
  28341. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28342. "type": "integer"
  28343. },
  28344. "updatetime": {
  28345. "description": "更新时间",
  28346. "type": "string"
  28347. }
  28348. }
  28349. },
  28350. "models.Funcmenulist": {
  28351. "type": "object",
  28352. "required": [
  28353. "resourcecode"
  28354. ],
  28355. "properties": {
  28356. "iconame": {
  28357. "description": "菜单图标",
  28358. "type": "string"
  28359. },
  28360. "menutype": {
  28361. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28362. "type": "integer"
  28363. },
  28364. "parentcode": {
  28365. "description": "上级资源代码",
  28366. "type": "string"
  28367. },
  28368. "remark": {
  28369. "description": "备注",
  28370. "type": "string"
  28371. },
  28372. "resourcecode": {
  28373. "description": "资源代码",
  28374. "type": "string"
  28375. },
  28376. "resourcelevel": {
  28377. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28378. "type": "integer"
  28379. },
  28380. "resourcename": {
  28381. "description": "资源名",
  28382. "type": "string"
  28383. },
  28384. "sort": {
  28385. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28386. "type": "integer"
  28387. },
  28388. "url": {
  28389. "description": "URL",
  28390. "type": "string"
  28391. }
  28392. }
  28393. },
  28394. "models.Goods": {
  28395. "type": "object",
  28396. "required": [
  28397. "goodscode",
  28398. "goodsid",
  28399. "goodsname",
  28400. "marketid"
  28401. ],
  28402. "properties": {
  28403. "agreeunit": {
  28404. "description": "合约单位",
  28405. "type": "number"
  28406. },
  28407. "areauserid": {
  28408. "description": "所属机构",
  28409. "type": "integer"
  28410. },
  28411. "auditaccountid": {
  28412. "description": "审核操作员账号",
  28413. "type": "integer"
  28414. },
  28415. "audittime": {
  28416. "description": "审核时间",
  28417. "type": "string"
  28418. },
  28419. "cancelaccountid": {
  28420. "description": "注销操作员账号",
  28421. "type": "integer"
  28422. },
  28423. "canceltime": {
  28424. "description": "注销时间",
  28425. "type": "string"
  28426. },
  28427. "closepricemode": {
  28428. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28429. "type": "integer"
  28430. },
  28431. "closepriceparam": {
  28432. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28433. "type": "number"
  28434. },
  28435. "createtime": {
  28436. "description": "创建时间",
  28437. "type": "string"
  28438. },
  28439. "creatorid": {
  28440. "description": "创建人",
  28441. "type": "integer"
  28442. },
  28443. "currencyid": {
  28444. "description": "报价货币ID",
  28445. "type": "integer"
  28446. },
  28447. "cutmode": {
  28448. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28449. "type": "integer"
  28450. },
  28451. "decimalplace": {
  28452. "description": "报价小数位",
  28453. "type": "integer"
  28454. },
  28455. "delistingdate": {
  28456. "description": "商品退市时间(状态:退市) -- 已作废",
  28457. "type": "string"
  28458. },
  28459. "delistingmode": {
  28460. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28461. "type": "integer"
  28462. },
  28463. "deliveryflag": {
  28464. "description": "交割标志 - 0:不可交割 1:可交割",
  28465. "type": "integer"
  28466. },
  28467. "forceclosemode": {
  28468. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28469. "type": "integer"
  28470. },
  28471. "forceclosevalue": {
  28472. "description": "定期强平参数 [收益权]",
  28473. "type": "integer"
  28474. },
  28475. "goodscode": {
  28476. "description": "商品代码(内部)",
  28477. "type": "string"
  28478. },
  28479. "goodscurrencyid": {
  28480. "description": "合约货币ID",
  28481. "type": "integer"
  28482. },
  28483. "goodsgroupid": {
  28484. "description": "所属商品组ID",
  28485. "type": "integer"
  28486. },
  28487. "goodsid": {
  28488. "description": "商品ID(自增ID SEQ_GOODS)",
  28489. "type": "integer"
  28490. },
  28491. "goodsname": {
  28492. "description": "商品名称",
  28493. "type": "string"
  28494. },
  28495. "goodsquotetype": {
  28496. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28497. "type": "integer"
  28498. },
  28499. "goodsstatus": {
  28500. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28501. "type": "integer"
  28502. },
  28503. "goodstradetype": {
  28504. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28505. "type": "integer"
  28506. },
  28507. "goodunitid": {
  28508. "description": "报价单位ID",
  28509. "type": "integer"
  28510. },
  28511. "hasquoter": {
  28512. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28513. "type": "integer"
  28514. },
  28515. "hqprotecttime": {
  28516. "description": "行情保护时间(秒)",
  28517. "type": "integer"
  28518. },
  28519. "innerdealmode": {
  28520. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28521. "type": "integer"
  28522. },
  28523. "isbuylimited": {
  28524. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28525. "type": "integer"
  28526. },
  28527. "isvisible": {
  28528. "description": "游客是否可见 - 0:不可见 1:可见",
  28529. "type": "integer"
  28530. },
  28531. "lasttradedate": {
  28532. "description": "最后交易日期(状态:待退市)",
  28533. "type": "string"
  28534. },
  28535. "listingdate": {
  28536. "description": "交易开始日期",
  28537. "type": "string"
  28538. },
  28539. "marketid": {
  28540. "description": "所属市场ID",
  28541. "type": "integer"
  28542. },
  28543. "modifierid": {
  28544. "description": "修改人",
  28545. "type": "integer"
  28546. },
  28547. "modifystatus": {
  28548. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28549. "type": "integer"
  28550. },
  28551. "modifytime": {
  28552. "description": "修改时间",
  28553. "type": "string"
  28554. },
  28555. "outerdealmode": {
  28556. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28557. "type": "integer"
  28558. },
  28559. "outgoodscode": {
  28560. "description": "商品代码(外部)",
  28561. "type": "string"
  28562. },
  28563. "pictureurl": {
  28564. "description": "商品图片",
  28565. "type": "string"
  28566. },
  28567. "qtydecimalplace": {
  28568. "description": "成交量小数位",
  28569. "type": "integer"
  28570. },
  28571. "quotegear": {
  28572. "description": "行情档位(1-10)",
  28573. "type": "integer"
  28574. },
  28575. "quoteminunit": {
  28576. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28577. "type": "integer"
  28578. },
  28579. "quoteshowtype": {
  28580. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28581. "type": "integer"
  28582. },
  28583. "quoteshowtypeinterval": {
  28584. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28585. "type": "integer"
  28586. },
  28587. "remark": {
  28588. "description": "备注",
  28589. "type": "string"
  28590. }
  28591. }
  28592. },
  28593. "models.GoodsIDAndName": {
  28594. "type": "object",
  28595. "required": [
  28596. "goodscode",
  28597. "goodsid",
  28598. "goodsname",
  28599. "marketid"
  28600. ],
  28601. "properties": {
  28602. "goodscode": {
  28603. "description": "商品代码(内部)",
  28604. "type": "string"
  28605. },
  28606. "goodsid": {
  28607. "description": "商品ID(自增ID SEQ_GOODS)",
  28608. "type": "integer"
  28609. },
  28610. "goodsname": {
  28611. "description": "商品名称",
  28612. "type": "string"
  28613. },
  28614. "marketid": {
  28615. "description": "所属市场ID",
  28616. "type": "integer"
  28617. }
  28618. }
  28619. },
  28620. "models.Goodsgroup": {
  28621. "type": "object",
  28622. "required": [
  28623. "goodsgroupid",
  28624. "goodsgroupname",
  28625. "goodsgroupstatus",
  28626. "marketid"
  28627. ],
  28628. "properties": {
  28629. "agreeunit": {
  28630. "description": "合约单位",
  28631. "type": "number"
  28632. },
  28633. "canshort": {
  28634. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  28635. "type": "integer"
  28636. },
  28637. "closepricemode": {
  28638. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28639. "type": "integer"
  28640. },
  28641. "closepriceparam": {
  28642. "description": "强平最新价浮动比例 - 方式为2时使用",
  28643. "type": "number"
  28644. },
  28645. "createtime": {
  28646. "description": "创建时间",
  28647. "type": "string"
  28648. },
  28649. "creatorid": {
  28650. "description": "创建人",
  28651. "type": "integer"
  28652. },
  28653. "currencyid": {
  28654. "description": "报价货币ID",
  28655. "type": "integer"
  28656. },
  28657. "decimalplace": {
  28658. "description": "报价小数位",
  28659. "type": "integer"
  28660. },
  28661. "exercisetype": {
  28662. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  28663. "type": "integer"
  28664. },
  28665. "exexchangeid": {
  28666. "description": "外部交易所ID[通道交易]",
  28667. "type": "integer"
  28668. },
  28669. "goodsgroupid": {
  28670. "description": "商品组ID(自增ID)",
  28671. "type": "integer"
  28672. },
  28673. "goodsgroupname": {
  28674. "description": "商品组名称",
  28675. "type": "string"
  28676. },
  28677. "goodsgroupstatus": {
  28678. "description": "商品组状态 - 1:正常 2:注销",
  28679. "type": "integer"
  28680. },
  28681. "goodunitid": {
  28682. "description": "报价单位ID",
  28683. "type": "integer"
  28684. },
  28685. "innerdealmode": {
  28686. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28687. "type": "integer"
  28688. },
  28689. "isbuylimited": {
  28690. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28691. "type": "integer"
  28692. },
  28693. "marketid": {
  28694. "description": "所属市场ID",
  28695. "type": "integer"
  28696. },
  28697. "modifierid": {
  28698. "description": "修改人",
  28699. "type": "integer"
  28700. },
  28701. "modifytime": {
  28702. "description": "修改时间",
  28703. "type": "string"
  28704. },
  28705. "outerdealmode": {
  28706. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28707. "type": "integer"
  28708. },
  28709. "outergroupcode": {
  28710. "description": "外部商品组代码[通道交易]",
  28711. "type": "string"
  28712. },
  28713. "premiumdecimalplace": {
  28714. "description": "权利金小数位[场外期权]",
  28715. "type": "integer"
  28716. },
  28717. "premiumspreadalgorithm": {
  28718. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  28719. "type": "integer"
  28720. },
  28721. "premiumspreadvalue": {
  28722. "description": "权利金点差值[场外期权]",
  28723. "type": "number"
  28724. },
  28725. "qtydecimalplace": {
  28726. "description": "成交量小数位",
  28727. "type": "integer"
  28728. },
  28729. "quotegear": {
  28730. "description": "行情档位(1-10)",
  28731. "type": "integer"
  28732. },
  28733. "quoteminunit": {
  28734. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28735. "type": "integer"
  28736. },
  28737. "quoterid": {
  28738. "description": "报价商ID[场外期权]",
  28739. "type": "integer"
  28740. },
  28741. "quotesourcegroupid": {
  28742. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  28743. "type": "integer"
  28744. },
  28745. "syncgoodsqty": {
  28746. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  28747. "type": "integer"
  28748. }
  28749. }
  28750. },
  28751. "models.Goodssortbypreposition": {
  28752. "type": "object",
  28753. "required": [
  28754. "goodscode",
  28755. "tradedate"
  28756. ],
  28757. "properties": {
  28758. "goodscode": {
  28759. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  28760. "type": "string"
  28761. },
  28762. "goodsgroupcode": {
  28763. "description": "品种代码",
  28764. "type": "string"
  28765. },
  28766. "prepositionqty": {
  28767. "description": "昨持仓量",
  28768. "type": "integer"
  28769. },
  28770. "sortindex": {
  28771. "description": "排序",
  28772. "type": "integer"
  28773. },
  28774. "tradedate": {
  28775. "description": "交易日",
  28776. "type": "string"
  28777. },
  28778. "updatetime": {
  28779. "description": "更新时间",
  28780. "type": "string"
  28781. }
  28782. }
  28783. },
  28784. "models.Hedgeinnerholderdetail": {
  28785. "type": "object",
  28786. "required": [
  28787. "buyorsell",
  28788. "tradeid"
  28789. ],
  28790. "properties": {
  28791. "accountid": {
  28792. "description": "账号ID",
  28793. "type": "integer"
  28794. },
  28795. "buyorsell": {
  28796. "description": "方向 - 0:买 1:卖",
  28797. "type": "integer"
  28798. },
  28799. "freezeqty": {
  28800. "description": "冻结数量 - 按单平使用",
  28801. "type": "integer"
  28802. },
  28803. "goodsid": {
  28804. "description": "商品ID",
  28805. "type": "integer"
  28806. },
  28807. "holderamount": {
  28808. "description": "持仓金额 [商品币种]",
  28809. "type": "number"
  28810. },
  28811. "holderdays": {
  28812. "description": "剩余冻结天数",
  28813. "type": "integer"
  28814. },
  28815. "holderprice": {
  28816. "description": "持仓价格",
  28817. "type": "number"
  28818. },
  28819. "holderqty": {
  28820. "description": "持仓数量",
  28821. "type": "integer"
  28822. },
  28823. "marketid": {
  28824. "description": "市场ID",
  28825. "type": "integer"
  28826. },
  28827. "openprice": {
  28828. "description": "建仓价格",
  28829. "type": "number"
  28830. },
  28831. "openqty": {
  28832. "description": "建仓数量",
  28833. "type": "integer"
  28834. },
  28835. "parentaccountid": {
  28836. "description": "所属母账户",
  28837. "type": "integer"
  28838. },
  28839. "releaseamount": {
  28840. "description": "释放持仓金额[商品币种]",
  28841. "type": "number"
  28842. },
  28843. "tradeamount": {
  28844. "description": "成交金额[账户]",
  28845. "type": "number"
  28846. },
  28847. "tradedate": {
  28848. "description": "交易日(yyyyMMdd)",
  28849. "type": "string"
  28850. },
  28851. "tradeid": {
  28852. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28853. "type": "string"
  28854. },
  28855. "tradetime": {
  28856. "description": "交易时间",
  28857. "type": "string"
  28858. }
  28859. }
  28860. },
  28861. "models.Hedgemarketopenlog": {
  28862. "type": "object",
  28863. "required": [
  28864. "accountid"
  28865. ],
  28866. "properties": {
  28867. "accountid": {
  28868. "description": "资金账号[外部母账户]",
  28869. "type": "integer"
  28870. },
  28871. "fcname": {
  28872. "description": "期货公司名称",
  28873. "type": "string"
  28874. },
  28875. "handlestatus": {
  28876. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  28877. "type": "integer"
  28878. },
  28879. "marketid": {
  28880. "description": "市场ID",
  28881. "type": "integer"
  28882. },
  28883. "status": {
  28884. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  28885. "type": "integer"
  28886. },
  28887. "tradedate": {
  28888. "description": "交易日(yyyyMMdd)",
  28889. "type": "string"
  28890. },
  28891. "updatetime": {
  28892. "description": "更新时间",
  28893. "type": "string"
  28894. }
  28895. }
  28896. },
  28897. "models.HsbyBuyMyPayOrder": {
  28898. "type": "object",
  28899. "required": [
  28900. "goodscode",
  28901. "goodsname",
  28902. "tradeid",
  28903. "trademode"
  28904. ],
  28905. "properties": {
  28906. "agreeunit": {
  28907. "description": "合约单位",
  28908. "type": "number"
  28909. },
  28910. "buyaccountid": {
  28911. "description": "买方账号ID[报价币种]",
  28912. "type": "integer"
  28913. },
  28914. "buyorderid": {
  28915. "description": "买方委托单号",
  28916. "type": "string"
  28917. },
  28918. "createtime": {
  28919. "description": "创建时间",
  28920. "type": "string"
  28921. },
  28922. "currencysign": {
  28923. "description": "货币符号",
  28924. "type": "string"
  28925. },
  28926. "decimalplace": {
  28927. "description": "报价小数位",
  28928. "type": "integer"
  28929. },
  28930. "goodscode": {
  28931. "description": "商品代码(内部)",
  28932. "type": "string"
  28933. },
  28934. "goodsid": {
  28935. "description": "商品ID",
  28936. "type": "integer"
  28937. },
  28938. "goodsname": {
  28939. "description": "商品名称",
  28940. "type": "string"
  28941. },
  28942. "marketid": {
  28943. "description": "市场ID",
  28944. "type": "integer"
  28945. },
  28946. "offamount": {
  28947. "description": "优惠金额",
  28948. "type": "number"
  28949. },
  28950. "originalamount": {
  28951. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  28952. "type": "number"
  28953. },
  28954. "payamount": {
  28955. "description": "支付金额 = TradeAmount + TradeCharge",
  28956. "type": "number"
  28957. },
  28958. "payflag": {
  28959. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  28960. "type": "integer"
  28961. },
  28962. "paylimitedtime": {
  28963. "description": "支付期限",
  28964. "type": "string"
  28965. },
  28966. "paytime": {
  28967. "description": "付款时间",
  28968. "type": "string"
  28969. },
  28970. "picurls1": {
  28971. "description": "预售商品介绍图片[多张用逗号分隔]",
  28972. "type": "string"
  28973. },
  28974. "picurls2": {
  28975. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  28976. "type": "string"
  28977. },
  28978. "sellaccountid": {
  28979. "description": "卖方账号ID[报价币种]",
  28980. "type": "integer"
  28981. },
  28982. "sellorderid": {
  28983. "description": "卖方委托单号",
  28984. "type": "string"
  28985. },
  28986. "tradeamount": {
  28987. "description": "成交金额",
  28988. "type": "number"
  28989. },
  28990. "tradecharge": {
  28991. "description": "成交手续费(买方)",
  28992. "type": "number"
  28993. },
  28994. "tradedate": {
  28995. "description": "交易日(yyyyMMdd)",
  28996. "type": "string"
  28997. },
  28998. "tradeid": {
  28999. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29000. "type": "string"
  29001. },
  29002. "trademode": {
  29003. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29004. "type": "integer"
  29005. },
  29006. "tradeprice": {
  29007. "description": "成交价格",
  29008. "type": "number"
  29009. },
  29010. "tradeqty": {
  29011. "description": "成交数量",
  29012. "type": "integer"
  29013. },
  29014. "vendorname1": {
  29015. "description": "预售商品供应商名称",
  29016. "type": "string"
  29017. },
  29018. "vendorname2": {
  29019. "description": "挂牌商品供应商名称",
  29020. "type": "string"
  29021. }
  29022. }
  29023. },
  29024. "models.HsbyBuyMyTradeDetail": {
  29025. "type": "object",
  29026. "required": [
  29027. "accountid",
  29028. "buyorsell",
  29029. "goodscode",
  29030. "goodsid",
  29031. "goodsname",
  29032. "marketid",
  29033. "orderid",
  29034. "qty",
  29035. "time",
  29036. "trademode"
  29037. ],
  29038. "properties": {
  29039. "accountid": {
  29040. "description": "账户ID[报价币种]",
  29041. "type": "integer"
  29042. },
  29043. "agreeunit": {
  29044. "description": "合约单位",
  29045. "type": "number"
  29046. },
  29047. "amount": {
  29048. "description": "金额 = 价格 * 数量 * 合约单位",
  29049. "type": "number"
  29050. },
  29051. "buyorsell": {
  29052. "description": "买卖 - 0:买 1:卖",
  29053. "type": "integer"
  29054. },
  29055. "currencysign": {
  29056. "description": "货币符号",
  29057. "type": "string"
  29058. },
  29059. "decimalplace": {
  29060. "description": "报价小数位",
  29061. "type": "integer"
  29062. },
  29063. "goodscode": {
  29064. "description": "商品代码(内部)",
  29065. "type": "string"
  29066. },
  29067. "goodsid": {
  29068. "description": "商品ID",
  29069. "type": "integer"
  29070. },
  29071. "goodsname": {
  29072. "description": "商品名称",
  29073. "type": "string"
  29074. },
  29075. "marketid": {
  29076. "description": "市场ID",
  29077. "type": "integer"
  29078. },
  29079. "orderamount": {
  29080. "description": "委托金额",
  29081. "type": "number"
  29082. },
  29083. "orderid": {
  29084. "description": "单号(成交单号)",
  29085. "type": "string"
  29086. },
  29087. "picurls1": {
  29088. "description": "预售商品介绍图片[多张用逗号分隔]",
  29089. "type": "string"
  29090. },
  29091. "picurls2": {
  29092. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  29093. "type": "string"
  29094. },
  29095. "price": {
  29096. "description": "价格",
  29097. "type": "number"
  29098. },
  29099. "qty": {
  29100. "description": "数量",
  29101. "type": "integer"
  29102. },
  29103. "time": {
  29104. "description": "时间",
  29105. "type": "string"
  29106. },
  29107. "trademode": {
  29108. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29109. "type": "integer"
  29110. },
  29111. "vendorname1": {
  29112. "description": "预售商品供应商名称",
  29113. "type": "string"
  29114. },
  29115. "vendorname2": {
  29116. "description": "挂牌商品供应商名称",
  29117. "type": "string"
  29118. }
  29119. }
  29120. },
  29121. "models.HsbyGoodsOrderDetail": {
  29122. "type": "object",
  29123. "required": [
  29124. "buyorsell",
  29125. "orderid",
  29126. "ordertime"
  29127. ],
  29128. "properties": {
  29129. "buyorsell": {
  29130. "description": "买卖 - 0:买 1:卖",
  29131. "type": "integer"
  29132. },
  29133. "currencysign": {
  29134. "description": "货币符号",
  29135. "type": "string"
  29136. },
  29137. "customername": {
  29138. "description": "客户名称(企业名称),已脱敏",
  29139. "type": "string"
  29140. },
  29141. "enableqty": {
  29142. "description": "可用数量",
  29143. "type": "integer"
  29144. },
  29145. "goodunit": {
  29146. "description": "报价单位",
  29147. "type": "string"
  29148. },
  29149. "orderid": {
  29150. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29151. "type": "string"
  29152. },
  29153. "orderprice": {
  29154. "description": "委托价格",
  29155. "type": "number"
  29156. },
  29157. "ordertime": {
  29158. "description": "委托时间",
  29159. "type": "string"
  29160. }
  29161. }
  29162. },
  29163. "models.HsbyListingGoodsDetail": {
  29164. "type": "object",
  29165. "required": [
  29166. "goodscode",
  29167. "goodsid",
  29168. "goodsname",
  29169. "marketid",
  29170. "trademode"
  29171. ],
  29172. "properties": {
  29173. "agreeunit": {
  29174. "description": "合约单位",
  29175. "type": "number"
  29176. },
  29177. "buymaxqty": {
  29178. "description": "购买上限 [71] - 0为不限",
  29179. "type": "integer"
  29180. },
  29181. "currency": {
  29182. "description": "货币",
  29183. "type": "string"
  29184. },
  29185. "currencysign": {
  29186. "description": "货币符号",
  29187. "type": "string"
  29188. },
  29189. "decimalplace": {
  29190. "description": "报价小数位",
  29191. "type": "integer"
  29192. },
  29193. "desccityid": {
  29194. "description": "目的地(市)ID",
  29195. "type": "integer"
  29196. },
  29197. "descprovinceid": {
  29198. "description": "目的地(省)ID",
  29199. "type": "integer"
  29200. },
  29201. "goodscode": {
  29202. "description": "商品代码(内部)",
  29203. "type": "string"
  29204. },
  29205. "goodsdesc": {
  29206. "description": "商品详情",
  29207. "type": "string"
  29208. },
  29209. "goodsid": {
  29210. "description": "商品ID(自增ID SEQ_GOODS)",
  29211. "type": "integer"
  29212. },
  29213. "goodsname": {
  29214. "description": "商品名称",
  29215. "type": "string"
  29216. },
  29217. "goodsprice": {
  29218. "description": "商品价格",
  29219. "type": "number"
  29220. },
  29221. "hotindex": {
  29222. "description": "景点热度",
  29223. "type": "integer"
  29224. },
  29225. "last": {
  29226. "description": "现价",
  29227. "type": "number"
  29228. },
  29229. "limitdown": {
  29230. "description": "跌停价",
  29231. "type": "number"
  29232. },
  29233. "limitup": {
  29234. "description": "涨停价",
  29235. "type": "number"
  29236. },
  29237. "lotsize": {
  29238. "description": "手数最小变动单位",
  29239. "type": "integer"
  29240. },
  29241. "marketid": {
  29242. "description": "所属市场ID",
  29243. "type": "integer"
  29244. },
  29245. "picurls": {
  29246. "description": "介绍图片[多张用逗号分隔]",
  29247. "type": "string"
  29248. },
  29249. "quoteminunit": {
  29250. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29251. "type": "integer"
  29252. },
  29253. "stepvalue": {
  29254. "description": "价格最小变动单位",
  29255. "type": "number"
  29256. },
  29257. "trademode": {
  29258. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29259. "type": "integer"
  29260. },
  29261. "vendorattr": {
  29262. "description": "供应商附件(多张,逗号分隔)",
  29263. "type": "string"
  29264. },
  29265. "vendorname": {
  29266. "description": "供应商名称",
  29267. "type": "string"
  29268. },
  29269. "vendorphone": {
  29270. "description": "供应商客服电话",
  29271. "type": "string"
  29272. },
  29273. "videourls": {
  29274. "description": "介绍视频[多张用逗号分隔]",
  29275. "type": "string"
  29276. }
  29277. }
  29278. },
  29279. "models.HsbyMarketGoods": {
  29280. "type": "object",
  29281. "required": [
  29282. "accountid",
  29283. "buyorsell",
  29284. "goodscode",
  29285. "goodsid",
  29286. "goodsname",
  29287. "marketid",
  29288. "orderid",
  29289. "trademode"
  29290. ],
  29291. "properties": {
  29292. "accountid": {
  29293. "description": "账户ID[报价币种]",
  29294. "type": "integer"
  29295. },
  29296. "agreeunit": {
  29297. "description": "合约单位",
  29298. "type": "number"
  29299. },
  29300. "buyorsell": {
  29301. "description": "买卖 - 0:买 1:卖",
  29302. "type": "integer"
  29303. },
  29304. "categoryid": {
  29305. "description": "类别ID(WRCATEGORY)",
  29306. "type": "integer"
  29307. },
  29308. "currency": {
  29309. "description": "货币",
  29310. "type": "string"
  29311. },
  29312. "currencysign": {
  29313. "description": "货币符号",
  29314. "type": "string"
  29315. },
  29316. "customername": {
  29317. "description": "卖家名称",
  29318. "type": "string"
  29319. },
  29320. "decimalplace": {
  29321. "description": "报价小数位",
  29322. "type": "integer"
  29323. },
  29324. "goodscode": {
  29325. "description": "商品代码(内部)",
  29326. "type": "string"
  29327. },
  29328. "goodsid": {
  29329. "description": "商品ID",
  29330. "type": "integer"
  29331. },
  29332. "goodsname": {
  29333. "description": "商品名称",
  29334. "type": "string"
  29335. },
  29336. "goodsprice": {
  29337. "description": "商品价格",
  29338. "type": "number"
  29339. },
  29340. "hascoupon": {
  29341. "description": "是否可用优惠卷",
  29342. "type": "boolean"
  29343. },
  29344. "hotindex": {
  29345. "description": "景点热度",
  29346. "type": "integer"
  29347. },
  29348. "marketid": {
  29349. "description": "市场ID",
  29350. "type": "integer"
  29351. },
  29352. "orderid": {
  29353. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29354. "type": "string"
  29355. },
  29356. "orderprice": {
  29357. "description": "委托价格",
  29358. "type": "number"
  29359. },
  29360. "orderstatus": {
  29361. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29362. "type": "integer"
  29363. },
  29364. "picurls": {
  29365. "description": "介绍图片[多张用逗号分隔]",
  29366. "type": "string"
  29367. },
  29368. "quoteminunit": {
  29369. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29370. "type": "integer"
  29371. },
  29372. "sellUserID": {
  29373. "description": "卖方UserID",
  29374. "type": "integer"
  29375. },
  29376. "trademode": {
  29377. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29378. "type": "integer"
  29379. },
  29380. "videourls": {
  29381. "description": "介绍视频[多张用逗号分隔]",
  29382. "type": "string"
  29383. }
  29384. }
  29385. },
  29386. "models.HsbyMarketGoodsDetail": {
  29387. "type": "object",
  29388. "required": [
  29389. "accountid",
  29390. "buyorsell",
  29391. "goodscode",
  29392. "goodsid",
  29393. "goodsname",
  29394. "marketid",
  29395. "orderid",
  29396. "orderqty",
  29397. "trademode"
  29398. ],
  29399. "properties": {
  29400. "accountid": {
  29401. "description": "账户ID[报价币种]",
  29402. "type": "integer"
  29403. },
  29404. "agreeunit": {
  29405. "description": "合约单位",
  29406. "type": "number"
  29407. },
  29408. "buymaxqty": {
  29409. "description": "购买上限 [71] - 0为不限",
  29410. "type": "integer"
  29411. },
  29412. "buyorsell": {
  29413. "description": "买卖 - 0:买 1:卖",
  29414. "type": "integer"
  29415. },
  29416. "cancelqty": {
  29417. "description": "撤单数量",
  29418. "type": "integer"
  29419. },
  29420. "categoryid": {
  29421. "description": "类别ID(WRCATEGORY)",
  29422. "type": "integer"
  29423. },
  29424. "currency": {
  29425. "description": "货币",
  29426. "type": "string"
  29427. },
  29428. "currencysign": {
  29429. "description": "货币符号",
  29430. "type": "string"
  29431. },
  29432. "customername": {
  29433. "description": "卖家名称",
  29434. "type": "string"
  29435. },
  29436. "decimalplace": {
  29437. "description": "报价小数位",
  29438. "type": "integer"
  29439. },
  29440. "goodscode": {
  29441. "description": "商品代码(内部)",
  29442. "type": "string"
  29443. },
  29444. "goodsdesc": {
  29445. "description": "商品详情",
  29446. "type": "string"
  29447. },
  29448. "goodsid": {
  29449. "description": "商品ID",
  29450. "type": "integer"
  29451. },
  29452. "goodsname": {
  29453. "description": "商品名称",
  29454. "type": "string"
  29455. },
  29456. "goodsprice": {
  29457. "description": "商品价格",
  29458. "type": "number"
  29459. },
  29460. "hotindex": {
  29461. "description": "景点热度",
  29462. "type": "integer"
  29463. },
  29464. "lotsize": {
  29465. "description": "手数最小变动单位",
  29466. "type": "integer"
  29467. },
  29468. "marketid": {
  29469. "description": "市场ID",
  29470. "type": "integer"
  29471. },
  29472. "orderid": {
  29473. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29474. "type": "string"
  29475. },
  29476. "orderprice": {
  29477. "description": "委托价格",
  29478. "type": "number"
  29479. },
  29480. "orderqty": {
  29481. "description": "委托数量",
  29482. "type": "integer"
  29483. },
  29484. "orderstatus": {
  29485. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29486. "type": "integer"
  29487. },
  29488. "picurls": {
  29489. "description": "介绍图片[多张用逗号分隔]",
  29490. "type": "string"
  29491. },
  29492. "quoteminunit": {
  29493. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29494. "type": "integer"
  29495. },
  29496. "sellUserID": {
  29497. "description": "卖方UserID",
  29498. "type": "integer"
  29499. },
  29500. "trademode": {
  29501. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29502. "type": "integer"
  29503. },
  29504. "tradeqty": {
  29505. "description": "成交数量",
  29506. "type": "integer"
  29507. },
  29508. "vendorattr": {
  29509. "description": "供应商附件(多张,逗号分隔)",
  29510. "type": "string"
  29511. },
  29512. "vendorname": {
  29513. "description": "供应商名称",
  29514. "type": "string"
  29515. },
  29516. "vendorphone": {
  29517. "description": "供应商客服电话",
  29518. "type": "string"
  29519. },
  29520. "videourls": {
  29521. "description": "介绍视频[多张用逗号分隔]",
  29522. "type": "string"
  29523. }
  29524. }
  29525. },
  29526. "models.HsbyMarketInfo": {
  29527. "type": "object",
  29528. "required": [
  29529. "marketid",
  29530. "marketstatus",
  29531. "trademode"
  29532. ],
  29533. "properties": {
  29534. "marketid": {
  29535. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  29536. "type": "integer"
  29537. },
  29538. "marketname": {
  29539. "description": "市场名称",
  29540. "type": "string"
  29541. },
  29542. "marketstatus": {
  29543. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  29544. "type": "integer"
  29545. },
  29546. "trademode": {
  29547. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29548. "type": "integer"
  29549. }
  29550. }
  29551. },
  29552. "models.HsbyMyGoods": {
  29553. "type": "object",
  29554. "required": [
  29555. "accountid",
  29556. "goodscode",
  29557. "goodsid",
  29558. "goodsname",
  29559. "marketid",
  29560. "trademode"
  29561. ],
  29562. "properties": {
  29563. "accountid": {
  29564. "description": "账号Id",
  29565. "type": "integer"
  29566. },
  29567. "agreeunit": {
  29568. "description": "合约单位",
  29569. "type": "number"
  29570. },
  29571. "buyaverageprice": {
  29572. "description": "持仓均价",
  29573. "type": "number"
  29574. },
  29575. "buycurholderamount": {
  29576. "description": "买当前持仓总金额[商品币种]",
  29577. "type": "number"
  29578. },
  29579. "buycurpositionqty": {
  29580. "description": "买当前持仓总数量",
  29581. "type": "integer"
  29582. },
  29583. "buymaxqty": {
  29584. "description": "购买上限 [71] - 0为不限",
  29585. "type": "integer"
  29586. },
  29587. "currencysign": {
  29588. "description": "货币符号",
  29589. "type": "string"
  29590. },
  29591. "decimalplace": {
  29592. "description": "报价小数位",
  29593. "type": "integer"
  29594. },
  29595. "enableqty": {
  29596. "description": "可用数量",
  29597. "type": "integer"
  29598. },
  29599. "goodscode": {
  29600. "description": "商品代码(内部)",
  29601. "type": "string"
  29602. },
  29603. "goodsid": {
  29604. "description": "商品Id",
  29605. "type": "integer"
  29606. },
  29607. "goodsname": {
  29608. "description": "商品名称",
  29609. "type": "string"
  29610. },
  29611. "goodsprice": {
  29612. "description": "商品价格",
  29613. "type": "number"
  29614. },
  29615. "goodsstatus": {
  29616. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29617. "type": "integer"
  29618. },
  29619. "last": {
  29620. "description": "现价(仅使用于挂牌点选)",
  29621. "type": "number"
  29622. },
  29623. "limitdown": {
  29624. "description": "跌停价(仅使用于挂牌点选)",
  29625. "type": "number"
  29626. },
  29627. "limitup": {
  29628. "description": "涨停价(仅使用于挂牌点选)",
  29629. "type": "number"
  29630. },
  29631. "lotsize": {
  29632. "description": "手数最小变动单位",
  29633. "type": "integer"
  29634. },
  29635. "marketid": {
  29636. "description": "所属市场ID",
  29637. "type": "integer"
  29638. },
  29639. "picurls": {
  29640. "description": "介绍图片[多张用逗号分隔]",
  29641. "type": "string"
  29642. },
  29643. "quoteminunit": {
  29644. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29645. "type": "integer"
  29646. },
  29647. "stepvalue": {
  29648. "description": "价格最小变动单位",
  29649. "type": "number"
  29650. },
  29651. "trademode": {
  29652. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29653. "type": "integer"
  29654. }
  29655. }
  29656. },
  29657. "models.HsbyMyPackage": {
  29658. "type": "object",
  29659. "required": [
  29660. "goodscode",
  29661. "goodsname",
  29662. "takeorderid",
  29663. "trademode"
  29664. ],
  29665. "properties": {
  29666. "accountid": {
  29667. "description": "账户ID",
  29668. "type": "integer"
  29669. },
  29670. "address": {
  29671. "description": "提货人详细地址",
  29672. "type": "string"
  29673. },
  29674. "agreeunit": {
  29675. "description": "合约单位",
  29676. "type": "number"
  29677. },
  29678. "amount": {
  29679. "description": "提货金额",
  29680. "type": "number"
  29681. },
  29682. "auditer": {
  29683. "description": "审核人",
  29684. "type": "integer"
  29685. },
  29686. "audittime": {
  29687. "description": "审核时间",
  29688. "type": "string"
  29689. },
  29690. "averageprice": {
  29691. "description": "均价",
  29692. "type": "number"
  29693. },
  29694. "cardnum": {
  29695. "description": "提货人证件号码",
  29696. "type": "string"
  29697. },
  29698. "cardtypeid": {
  29699. "description": "提货人证件类型",
  29700. "type": "integer"
  29701. },
  29702. "checkremark": {
  29703. "description": "审核备注",
  29704. "type": "string"
  29705. },
  29706. "currencysign": {
  29707. "description": "货币符号",
  29708. "type": "string"
  29709. },
  29710. "decimalplace": {
  29711. "description": "报价小数位",
  29712. "type": "integer"
  29713. },
  29714. "goodscode": {
  29715. "description": "商品代码(内部)",
  29716. "type": "string"
  29717. },
  29718. "goodsid": {
  29719. "description": "商品ID",
  29720. "type": "integer"
  29721. },
  29722. "goodsname": {
  29723. "description": "商品名称",
  29724. "type": "string"
  29725. },
  29726. "handlestatus": {
  29727. "description": "处理状态",
  29728. "type": "integer"
  29729. },
  29730. "marketid": {
  29731. "description": "市场ID",
  29732. "type": "integer"
  29733. },
  29734. "phonenum": {
  29735. "description": "提货人联系方式",
  29736. "type": "string"
  29737. },
  29738. "picurls": {
  29739. "description": "介绍图片[多张用逗号分隔]",
  29740. "type": "string"
  29741. },
  29742. "qty": {
  29743. "description": "提货数量",
  29744. "type": "number"
  29745. },
  29746. "recivername": {
  29747. "description": "提货人姓名",
  29748. "type": "string"
  29749. },
  29750. "reqtime": {
  29751. "description": "更新时间",
  29752. "type": "string"
  29753. },
  29754. "takemode": {
  29755. "description": "提货方式 - 2:自提 3:配送",
  29756. "type": "integer"
  29757. },
  29758. "takeorderid": {
  29759. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29760. "type": "string"
  29761. },
  29762. "takeorderstatus": {
  29763. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29764. "type": "integer"
  29765. },
  29766. "takeremark": {
  29767. "description": "提货备注",
  29768. "type": "string"
  29769. },
  29770. "tradedate": {
  29771. "description": "交易日(yyyyMMdd)",
  29772. "type": "string"
  29773. },
  29774. "trademode": {
  29775. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29776. "type": "integer"
  29777. },
  29778. "userid": {
  29779. "description": "用户ID",
  29780. "type": "integer"
  29781. },
  29782. "vendorname": {
  29783. "description": "供应商名称",
  29784. "type": "string"
  29785. }
  29786. }
  29787. },
  29788. "models.HsbyPreGoods": {
  29789. "type": "object",
  29790. "required": [
  29791. "goodscode",
  29792. "goodsid",
  29793. "goodsname",
  29794. "marketid",
  29795. "trademode"
  29796. ],
  29797. "properties": {
  29798. "agreeunit": {
  29799. "description": "合约单位",
  29800. "type": "number"
  29801. },
  29802. "currency": {
  29803. "description": "货币",
  29804. "type": "string"
  29805. },
  29806. "currencysign": {
  29807. "description": "货币符号",
  29808. "type": "string"
  29809. },
  29810. "decimalplace": {
  29811. "description": "报价小数位",
  29812. "type": "integer"
  29813. },
  29814. "desccityid": {
  29815. "description": "目的地(市)",
  29816. "type": "integer"
  29817. },
  29818. "descprovinceid": {
  29819. "description": "目的地(省)",
  29820. "type": "integer"
  29821. },
  29822. "enableqty": {
  29823. "description": "剩余数量",
  29824. "type": "integer"
  29825. },
  29826. "goodscode": {
  29827. "description": "商品代码(内部)",
  29828. "type": "string"
  29829. },
  29830. "goodsid": {
  29831. "description": "商品ID(自增ID SEQ_GOODS)",
  29832. "type": "integer"
  29833. },
  29834. "goodsname": {
  29835. "description": "商品名称",
  29836. "type": "string"
  29837. },
  29838. "goodsstatus": {
  29839. "description": "商品状态- 2:未上市 3:上市",
  29840. "type": "integer"
  29841. },
  29842. "lasttradedate": {
  29843. "description": "最后交易日期(状态:待退市)",
  29844. "type": "string"
  29845. },
  29846. "listingdate": {
  29847. "description": "交易开始日期",
  29848. "type": "string"
  29849. },
  29850. "marketid": {
  29851. "description": "所属市场ID",
  29852. "type": "integer"
  29853. },
  29854. "picurls": {
  29855. "description": "介绍图片[多张用逗号分隔]",
  29856. "type": "string"
  29857. },
  29858. "presaledqty": {
  29859. "description": "已预售量(预售结束时更新)",
  29860. "type": "integer"
  29861. },
  29862. "presaleqty": {
  29863. "description": "预售数量",
  29864. "type": "integer"
  29865. },
  29866. "quoteminunit": {
  29867. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29868. "type": "integer"
  29869. },
  29870. "refprice": {
  29871. "description": "参考价格[一口价]",
  29872. "type": "number"
  29873. },
  29874. "relatedgoodsid": {
  29875. "description": "关联交易合约ID",
  29876. "type": "integer"
  29877. },
  29878. "trademode": {
  29879. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29880. "type": "integer"
  29881. },
  29882. "videourls": {
  29883. "description": "介绍视频[多张用逗号分隔]",
  29884. "type": "string"
  29885. }
  29886. }
  29887. },
  29888. "models.HsbyPreGoodsDetail": {
  29889. "type": "object",
  29890. "required": [
  29891. "goodscode",
  29892. "goodsid",
  29893. "goodsname",
  29894. "marketid",
  29895. "trademode"
  29896. ],
  29897. "properties": {
  29898. "agreeunit": {
  29899. "description": "合约单位",
  29900. "type": "number"
  29901. },
  29902. "buymaxqty": {
  29903. "description": "购买上限 [71] - 0为不限",
  29904. "type": "integer"
  29905. },
  29906. "currency": {
  29907. "description": "货币",
  29908. "type": "string"
  29909. },
  29910. "currencysign": {
  29911. "description": "货币符号",
  29912. "type": "string"
  29913. },
  29914. "customername": {
  29915. "description": "发行单位",
  29916. "type": "string"
  29917. },
  29918. "decimalplace": {
  29919. "description": "报价小数位",
  29920. "type": "integer"
  29921. },
  29922. "desccityid": {
  29923. "description": "目的地(市)ID",
  29924. "type": "integer"
  29925. },
  29926. "descprovinceid": {
  29927. "description": "目的地(省)ID",
  29928. "type": "integer"
  29929. },
  29930. "enableqty": {
  29931. "description": "剩余数量",
  29932. "type": "integer"
  29933. },
  29934. "goodscode": {
  29935. "description": "商品代码(内部)",
  29936. "type": "string"
  29937. },
  29938. "goodsdesc": {
  29939. "description": "商品详情",
  29940. "type": "string"
  29941. },
  29942. "goodsid": {
  29943. "description": "商品ID(自增ID SEQ_GOODS)",
  29944. "type": "integer"
  29945. },
  29946. "goodsname": {
  29947. "description": "商品名称",
  29948. "type": "string"
  29949. },
  29950. "goodsstatus": {
  29951. "description": "商品状态- 2:未上市 3:上市",
  29952. "type": "integer"
  29953. },
  29954. "goodunit": {
  29955. "description": "报价单位",
  29956. "type": "string"
  29957. },
  29958. "lasttradedate": {
  29959. "description": "最后交易日期(状态:待退市)",
  29960. "type": "string"
  29961. },
  29962. "listingdate": {
  29963. "description": "交易开始日期",
  29964. "type": "string"
  29965. },
  29966. "lotsize": {
  29967. "description": "手数最小变动单位",
  29968. "type": "integer"
  29969. },
  29970. "marketid": {
  29971. "description": "所属市场ID",
  29972. "type": "integer"
  29973. },
  29974. "picurls": {
  29975. "description": "介绍图片[多张用逗号分隔]",
  29976. "type": "string"
  29977. },
  29978. "presaledqty": {
  29979. "description": "已预售量(预售结束时更新)",
  29980. "type": "integer"
  29981. },
  29982. "presaleqty": {
  29983. "description": "预售数量",
  29984. "type": "integer"
  29985. },
  29986. "quoteminunit": {
  29987. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29988. "type": "integer"
  29989. },
  29990. "refprice": {
  29991. "description": "参考价格[一口价]",
  29992. "type": "number"
  29993. },
  29994. "relatedgoodsid": {
  29995. "description": "关联交易合约ID",
  29996. "type": "integer"
  29997. },
  29998. "stepvalue": {
  29999. "description": "价格最小变动单位",
  30000. "type": "number"
  30001. },
  30002. "trademode": {
  30003. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30004. "type": "integer"
  30005. },
  30006. "vendorattr": {
  30007. "description": "供应商附件(多张,逗号分隔)",
  30008. "type": "string"
  30009. },
  30010. "vendorname": {
  30011. "description": "供应商名称",
  30012. "type": "string"
  30013. },
  30014. "vendorphone": {
  30015. "description": "供应商客服电话",
  30016. "type": "string"
  30017. },
  30018. "videourls": {
  30019. "description": "介绍视频[多张用逗号分隔]",
  30020. "type": "string"
  30021. }
  30022. }
  30023. },
  30024. "models.HsbySellCollectionOrder": {
  30025. "type": "object",
  30026. "required": [
  30027. "goodscode",
  30028. "goodsname",
  30029. "tradeid",
  30030. "trademode"
  30031. ],
  30032. "properties": {
  30033. "agreeunit": {
  30034. "description": "合约单位",
  30035. "type": "number"
  30036. },
  30037. "buyaccountid": {
  30038. "description": "买方账号ID[报价币种]",
  30039. "type": "integer"
  30040. },
  30041. "buyorderid": {
  30042. "description": "买方委托单号",
  30043. "type": "string"
  30044. },
  30045. "createtime": {
  30046. "description": "创建时间",
  30047. "type": "string"
  30048. },
  30049. "currencysign": {
  30050. "description": "货币符号",
  30051. "type": "string"
  30052. },
  30053. "decimalplace": {
  30054. "description": "报价小数位",
  30055. "type": "integer"
  30056. },
  30057. "goodscode": {
  30058. "description": "商品代码(内部)",
  30059. "type": "string"
  30060. },
  30061. "goodsid": {
  30062. "description": "商品ID",
  30063. "type": "integer"
  30064. },
  30065. "goodsname": {
  30066. "description": "商品名称",
  30067. "type": "string"
  30068. },
  30069. "marketid": {
  30070. "description": "市场ID",
  30071. "type": "integer"
  30072. },
  30073. "offamount": {
  30074. "description": "优惠金额",
  30075. "type": "number"
  30076. },
  30077. "payamount": {
  30078. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  30079. "type": "number"
  30080. },
  30081. "payflag": {
  30082. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30083. "type": "integer"
  30084. },
  30085. "paylimitedtime": {
  30086. "description": "支付期限",
  30087. "type": "string"
  30088. },
  30089. "paytime": {
  30090. "description": "付款时间",
  30091. "type": "string"
  30092. },
  30093. "picurls": {
  30094. "description": "商品介绍图片[多张用逗号分隔]",
  30095. "type": "string"
  30096. },
  30097. "sellaccountid": {
  30098. "description": "卖方账号ID[报价币种]",
  30099. "type": "integer"
  30100. },
  30101. "sellorderid": {
  30102. "description": "卖方委托单号",
  30103. "type": "string"
  30104. },
  30105. "tradeamount": {
  30106. "description": "成交金额",
  30107. "type": "number"
  30108. },
  30109. "tradecharge": {
  30110. "description": "成交手续费(买方)",
  30111. "type": "number"
  30112. },
  30113. "tradedate": {
  30114. "description": "交易日(yyyyMMdd)",
  30115. "type": "string"
  30116. },
  30117. "tradeid": {
  30118. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30119. "type": "string"
  30120. },
  30121. "trademode": {
  30122. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30123. "type": "integer"
  30124. },
  30125. "tradeprice": {
  30126. "description": "成交价格",
  30127. "type": "number"
  30128. },
  30129. "tradeqty": {
  30130. "description": "成交数量",
  30131. "type": "integer"
  30132. }
  30133. }
  30134. },
  30135. "models.HsbySellMyDetail": {
  30136. "type": "object",
  30137. "required": [
  30138. "accountid",
  30139. "buyorsell",
  30140. "goodscode",
  30141. "goodsid",
  30142. "goodsname",
  30143. "marketid",
  30144. "orderid",
  30145. "time",
  30146. "trademode"
  30147. ],
  30148. "properties": {
  30149. "accountid": {
  30150. "description": "账户ID[报价币种]",
  30151. "type": "integer"
  30152. },
  30153. "agreeunit": {
  30154. "description": "合约单位",
  30155. "type": "number"
  30156. },
  30157. "buyorsell": {
  30158. "description": "买卖 - 0:买 1:卖",
  30159. "type": "integer"
  30160. },
  30161. "currencysign": {
  30162. "description": "货币符号",
  30163. "type": "string"
  30164. },
  30165. "decimalplace": {
  30166. "description": "报价小数位",
  30167. "type": "integer"
  30168. },
  30169. "goodscode": {
  30170. "description": "商品代码(内部)",
  30171. "type": "string"
  30172. },
  30173. "goodsid": {
  30174. "description": "商品ID",
  30175. "type": "integer"
  30176. },
  30177. "goodsname": {
  30178. "description": "商品名称",
  30179. "type": "string"
  30180. },
  30181. "marketid": {
  30182. "description": "市场ID",
  30183. "type": "integer"
  30184. },
  30185. "orderid": {
  30186. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  30187. "type": "string"
  30188. },
  30189. "ordertype": {
  30190. "description": "单据类型:0 - 发布中, 1 - 已完成",
  30191. "type": "integer"
  30192. },
  30193. "picurls": {
  30194. "description": "介绍图片[多张用逗号分隔]",
  30195. "type": "string"
  30196. },
  30197. "price": {
  30198. "description": "价格",
  30199. "type": "number"
  30200. },
  30201. "qty": {
  30202. "description": "数量",
  30203. "type": "integer"
  30204. },
  30205. "time": {
  30206. "description": "时间",
  30207. "type": "string"
  30208. },
  30209. "trademode": {
  30210. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30211. "type": "integer"
  30212. },
  30213. "vendorname": {
  30214. "description": "供应商名称",
  30215. "type": "string"
  30216. }
  30217. }
  30218. },
  30219. "models.HsbyTopGoods": {
  30220. "type": "object",
  30221. "required": [
  30222. "goodscode",
  30223. "goodsid",
  30224. "goodsname",
  30225. "marketid",
  30226. "trademode"
  30227. ],
  30228. "properties": {
  30229. "agreeunit": {
  30230. "description": "合约单位",
  30231. "type": "number"
  30232. },
  30233. "currency": {
  30234. "description": "货币",
  30235. "type": "string"
  30236. },
  30237. "currencysign": {
  30238. "description": "货币符号",
  30239. "type": "string"
  30240. },
  30241. "decimalplace": {
  30242. "description": "报价小数位",
  30243. "type": "integer"
  30244. },
  30245. "desccityid": {
  30246. "description": "目的地(市)",
  30247. "type": "integer"
  30248. },
  30249. "descprovinceid": {
  30250. "description": "目的地(省)",
  30251. "type": "integer"
  30252. },
  30253. "goodscode": {
  30254. "description": "商品代码(内部)",
  30255. "type": "string"
  30256. },
  30257. "goodsid": {
  30258. "description": "商品ID(自增ID SEQ_GOODS)",
  30259. "type": "integer"
  30260. },
  30261. "goodsname": {
  30262. "description": "商品名称",
  30263. "type": "string"
  30264. },
  30265. "hotindex": {
  30266. "description": "景点热度",
  30267. "type": "integer"
  30268. },
  30269. "last": {
  30270. "description": "现价",
  30271. "type": "number"
  30272. },
  30273. "marketid": {
  30274. "description": "所属市场ID",
  30275. "type": "integer"
  30276. },
  30277. "picurls": {
  30278. "description": "介绍图片[多张用逗号分隔]",
  30279. "type": "string"
  30280. },
  30281. "quoteminunit": {
  30282. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30283. "type": "integer"
  30284. },
  30285. "trademode": {
  30286. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30287. "type": "integer"
  30288. },
  30289. "videourls": {
  30290. "description": "介绍视频[多张用逗号分隔]",
  30291. "type": "string"
  30292. }
  30293. }
  30294. },
  30295. "models.HybsMyBuyOrderDetail": {
  30296. "type": "object",
  30297. "required": [
  30298. "accountid",
  30299. "buyorsell",
  30300. "goodscode",
  30301. "goodsid",
  30302. "goodsname",
  30303. "marketid",
  30304. "orderid",
  30305. "orderqty",
  30306. "ordertime",
  30307. "trademode"
  30308. ],
  30309. "properties": {
  30310. "accountid": {
  30311. "description": "账户ID[报价币种]",
  30312. "type": "integer"
  30313. },
  30314. "agreeunit": {
  30315. "description": "合约单位",
  30316. "type": "number"
  30317. },
  30318. "buyorsell": {
  30319. "description": "买卖 - 0:买 1:卖",
  30320. "type": "integer"
  30321. },
  30322. "cancelqty": {
  30323. "description": "撤单数量",
  30324. "type": "integer"
  30325. },
  30326. "currencysign": {
  30327. "description": "货币符号",
  30328. "type": "string"
  30329. },
  30330. "decimalplace": {
  30331. "description": "报价小数位",
  30332. "type": "integer"
  30333. },
  30334. "goodscode": {
  30335. "description": "商品代码(内部)",
  30336. "type": "string"
  30337. },
  30338. "goodsid": {
  30339. "description": "商品ID",
  30340. "type": "integer"
  30341. },
  30342. "goodsname": {
  30343. "description": "商品名称",
  30344. "type": "string"
  30345. },
  30346. "listingselecttype": {
  30347. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30348. "type": "integer"
  30349. },
  30350. "marketid": {
  30351. "description": "市场ID",
  30352. "type": "integer"
  30353. },
  30354. "mybuystatus": {
  30355. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  30356. "type": "integer"
  30357. },
  30358. "orderamount": {
  30359. "description": "委托金额",
  30360. "type": "number"
  30361. },
  30362. "orderid": {
  30363. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30364. "type": "string"
  30365. },
  30366. "orderprice": {
  30367. "description": "委托价格",
  30368. "type": "number"
  30369. },
  30370. "orderqty": {
  30371. "description": "委托数量",
  30372. "type": "integer"
  30373. },
  30374. "orderstatus": {
  30375. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30376. "type": "integer"
  30377. },
  30378. "ordertime": {
  30379. "description": "委托时间",
  30380. "type": "string"
  30381. },
  30382. "picurls1": {
  30383. "description": "预售商品介绍图片[多张用逗号分隔]",
  30384. "type": "string"
  30385. },
  30386. "picurls2": {
  30387. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30388. "type": "string"
  30389. },
  30390. "trademode": {
  30391. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30392. "type": "integer"
  30393. },
  30394. "tradeqty": {
  30395. "description": "成交数量",
  30396. "type": "integer"
  30397. },
  30398. "vendorname1": {
  30399. "description": "预售商品供应商名称",
  30400. "type": "string"
  30401. },
  30402. "vendorname2": {
  30403. "description": "挂牌商品供应商名称",
  30404. "type": "string"
  30405. }
  30406. }
  30407. },
  30408. "models.InternalEnableTradeDetail": {
  30409. "type": "object",
  30410. "required": [
  30411. "areauserid",
  30412. "goodsid"
  30413. ],
  30414. "properties": {
  30415. "areauserid": {
  30416. "description": "企业ID",
  30417. "type": "integer"
  30418. },
  30419. "deliverygoodscode": {
  30420. "description": "现货品种代码",
  30421. "type": "string"
  30422. },
  30423. "deliverygoodsid": {
  30424. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  30425. "type": "integer"
  30426. },
  30427. "deliverygoodsname": {
  30428. "description": "现货品种名称",
  30429. "type": "string"
  30430. },
  30431. "futurehedgeqty": {
  30432. "description": "[已关联数量]期货持仓套期量",
  30433. "type": "number"
  30434. },
  30435. "goodsid": {
  30436. "description": "期货合约ID",
  30437. "type": "integer"
  30438. },
  30439. "hedgeditemnum": {
  30440. "description": "项目编号",
  30441. "type": "string"
  30442. },
  30443. "unexehedgeqty": {
  30444. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  30445. "type": "number"
  30446. },
  30447. "unexespotqty": {
  30448. "description": "未执行现货量",
  30449. "type": "number"
  30450. },
  30451. "wrstandardcode": {
  30452. "description": "现货品类代码",
  30453. "type": "string"
  30454. },
  30455. "wrstandardid": {
  30456. "description": "现货品类ID(SEQ_WRSTANDARD)",
  30457. "type": "integer"
  30458. },
  30459. "wrstandardname": {
  30460. "description": "现货品类名称",
  30461. "type": "string"
  30462. }
  30463. }
  30464. },
  30465. "models.InternalUncorrelatedTradeDetail": {
  30466. "type": "object",
  30467. "properties": {
  30468. "accountid": {
  30469. "description": "账号ID",
  30470. "type": "integer"
  30471. },
  30472. "accountname": {
  30473. "description": "套期主体",
  30474. "type": "string"
  30475. },
  30476. "agreeunit": {
  30477. "description": "合约乘数",
  30478. "type": "number"
  30479. },
  30480. "areauserid": {
  30481. "description": "所属机构",
  30482. "type": "integer"
  30483. },
  30484. "bizsubjectid": {
  30485. "description": "归属业务部门ID - SubjectID",
  30486. "type": "integer"
  30487. },
  30488. "buyorsell": {
  30489. "description": "方向 - 0:买 1:卖",
  30490. "type": "integer"
  30491. },
  30492. "channelbuildtype": {
  30493. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  30494. "type": "integer"
  30495. },
  30496. "convertratio": {
  30497. "description": "品种系数",
  30498. "type": "number"
  30499. },
  30500. "createtime": {
  30501. "description": "创建时间",
  30502. "type": "string"
  30503. },
  30504. "creatorid": {
  30505. "description": "创建人ID",
  30506. "type": "integer"
  30507. },
  30508. "creatorsrc": {
  30509. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30510. "type": "integer"
  30511. },
  30512. "enableqty": {
  30513. "description": "项目可关联手数 = 成交手数 - 关联数量",
  30514. "type": "number"
  30515. },
  30516. "goodscode": {
  30517. "description": "合约代码",
  30518. "type": "string"
  30519. },
  30520. "goodsgroupid": {
  30521. "description": "对冲品种ID[期货合约商品组ID]",
  30522. "type": "integer"
  30523. },
  30524. "goodsid": {
  30525. "description": "商品ID",
  30526. "type": "integer"
  30527. },
  30528. "goodsname": {
  30529. "description": "合约名称",
  30530. "type": "string"
  30531. },
  30532. "hedgeditemid": {
  30533. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30534. "type": "integer"
  30535. },
  30536. "hedgeflag": {
  30537. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30538. "type": "integer"
  30539. },
  30540. "linkdetailid": {
  30541. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30542. "type": "string"
  30543. },
  30544. "linkstatus": {
  30545. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30546. "type": "integer"
  30547. },
  30548. "middlegoodsid": {
  30549. "description": "套保品种ID",
  30550. "type": "integer"
  30551. },
  30552. "relatedlot": {
  30553. "description": "[数量]关联手数",
  30554. "type": "number"
  30555. },
  30556. "relatedmode": {
  30557. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30558. "type": "integer"
  30559. },
  30560. "relatedqty": {
  30561. "description": "[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30562. "type": "number"
  30563. },
  30564. "retcode": {
  30565. "description": "返回码",
  30566. "type": "integer"
  30567. },
  30568. "saleuserid": {
  30569. "description": "业务员ID",
  30570. "type": "integer"
  30571. },
  30572. "tradedate": {
  30573. "description": "关联交易日(yyyyMMdd)",
  30574. "type": "string"
  30575. },
  30576. "tradeid": {
  30577. "description": "成交单号",
  30578. "type": "string"
  30579. },
  30580. "tradelot": {
  30581. "description": "成交手数",
  30582. "type": "integer"
  30583. },
  30584. "tradeprice": {
  30585. "description": "成交价",
  30586. "type": "number"
  30587. },
  30588. "tradetime": {
  30589. "description": "成交时间",
  30590. "type": "string"
  30591. },
  30592. "tradetradedate": {
  30593. "description": "成交交易日(yyyyMMdd)",
  30594. "type": "string"
  30595. }
  30596. }
  30597. },
  30598. "models.Loginaccount": {
  30599. "type": "object",
  30600. "required": [
  30601. "loginid"
  30602. ],
  30603. "properties": {
  30604. "accountname": {
  30605. "description": "账户名称",
  30606. "type": "string"
  30607. },
  30608. "canoutin": {
  30609. "description": "是否可出入金 - 0:不可 1:可",
  30610. "type": "integer"
  30611. },
  30612. "clientroleid": {
  30613. "description": "终端角色ID",
  30614. "type": "integer"
  30615. },
  30616. "haslogined": {
  30617. "description": "是否已登录 - 0:未登录 1:已登录",
  30618. "type": "integer"
  30619. },
  30620. "hasupdatedpwd": {
  30621. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30622. "type": "integer"
  30623. },
  30624. "lastloginip": {
  30625. "description": "最新登录地址",
  30626. "type": "string"
  30627. },
  30628. "lastloginmode": {
  30629. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30630. "type": "integer"
  30631. },
  30632. "lastloginremark": {
  30633. "description": "最新登录描述",
  30634. "type": "string"
  30635. },
  30636. "lastlogintime": {
  30637. "description": "最新登录时间",
  30638. "type": "string"
  30639. },
  30640. "logincode": {
  30641. "description": "登录代码",
  30642. "type": "string"
  30643. },
  30644. "loginfailnum": {
  30645. "description": "连续登录失败次数(登录成功时清零)",
  30646. "type": "integer"
  30647. },
  30648. "loginid": {
  30649. "description": "登陆账号",
  30650. "type": "integer"
  30651. },
  30652. "loginport": {
  30653. "description": "最新登录端口",
  30654. "type": "integer"
  30655. },
  30656. "loginstatus": {
  30657. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30658. "type": "integer"
  30659. },
  30660. "loginusertype": {
  30661. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30662. "type": "integer"
  30663. },
  30664. "mobile": {
  30665. "description": "手机号码(加密存储)",
  30666. "type": "string"
  30667. },
  30668. "modifierid": {
  30669. "description": "修改人",
  30670. "type": "integer"
  30671. },
  30672. "modifysrc": {
  30673. "description": "审核来源 - 1:管理端 2:终端",
  30674. "type": "integer"
  30675. },
  30676. "modifytime": {
  30677. "description": "修改时间",
  30678. "type": "string"
  30679. },
  30680. "password": {
  30681. "description": "登陆密码",
  30682. "type": "string"
  30683. },
  30684. "pwdwrongcount": {
  30685. "description": "密码错误次数",
  30686. "type": "integer"
  30687. },
  30688. "relateduserid": {
  30689. "description": "关联用户ID(机构)",
  30690. "type": "integer"
  30691. },
  30692. "taaccountrighttype": {
  30693. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30694. "type": "integer"
  30695. },
  30696. "unfreezetime": {
  30697. "description": "账户解冻时间",
  30698. "type": "string"
  30699. },
  30700. "userid": {
  30701. "description": "用户ID",
  30702. "type": "integer"
  30703. }
  30704. }
  30705. },
  30706. "models.MainAccountInfo": {
  30707. "type": "object",
  30708. "properties": {
  30709. "accountid": {
  30710. "description": "账号id",
  30711. "type": "integer"
  30712. },
  30713. "accountname": {
  30714. "description": "账号名称(taaccount表中的名称)",
  30715. "type": "string"
  30716. },
  30717. "appid": {
  30718. "description": "AppID",
  30719. "type": "string"
  30720. },
  30721. "authcode": {
  30722. "description": "授权码",
  30723. "type": "string"
  30724. },
  30725. "brokerid": {
  30726. "description": "经纪商id",
  30727. "type": "string"
  30728. },
  30729. "fcid": {
  30730. "description": "期货公司id",
  30731. "type": "integer"
  30732. },
  30733. "fcname": {
  30734. "description": "期货公司代码",
  30735. "type": "string"
  30736. },
  30737. "hedgeaccountcode": {
  30738. "description": "外部账号代码(主账号登录代码)",
  30739. "type": "string"
  30740. },
  30741. "hedgeaccountpwd": {
  30742. "description": "密码",
  30743. "type": "string"
  30744. },
  30745. "ismain": {
  30746. "description": "是否主账号",
  30747. "type": "integer"
  30748. },
  30749. "relateduserid": {
  30750. "description": "关联用户id",
  30751. "type": "integer"
  30752. },
  30753. "userid": {
  30754. "description": "关联用户id",
  30755. "type": "integer"
  30756. }
  30757. }
  30758. },
  30759. "models.Market": {
  30760. "type": "object",
  30761. "required": [
  30762. "marketid",
  30763. "marketstatus",
  30764. "openmethod",
  30765. "reckonpricealgorithm",
  30766. "trademode",
  30767. "tradeproperty"
  30768. ],
  30769. "properties": {
  30770. "auctionwrtype": {
  30771. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30772. "type": "integer"
  30773. },
  30774. "canacceptquote": {
  30775. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30776. "type": "integer"
  30777. },
  30778. "cangoodsexercise": {
  30779. "description": "[期权]是否可现货行权- 0:否 1:是",
  30780. "type": "integer"
  30781. },
  30782. "cangoodsexercisetype": {
  30783. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30784. "type": "integer"
  30785. },
  30786. "canmanualquotestrike": {
  30787. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30788. "type": "integer"
  30789. },
  30790. "canmutistage": {
  30791. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30792. "type": "integer"
  30793. },
  30794. "canpreexercise": {
  30795. "description": "[期权]是否可预申报- 0:否 1:是",
  30796. "type": "integer"
  30797. },
  30798. "clearinterval": {
  30799. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30800. "type": "integer"
  30801. },
  30802. "contracttmp": {
  30803. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30804. "type": "string"
  30805. },
  30806. "exchareaid": {
  30807. "description": "所属交易所,可以没有",
  30808. "type": "integer"
  30809. },
  30810. "goodstype": {
  30811. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30812. "type": "integer"
  30813. },
  30814. "hasrebate": {
  30815. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30816. "type": "integer"
  30817. },
  30818. "hastradecredit": {
  30819. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30820. "type": "integer"
  30821. },
  30822. "haswr": {
  30823. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30824. "type": "integer"
  30825. },
  30826. "isdeductmargin": {
  30827. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30828. "type": "integer"
  30829. },
  30830. "isrecordsource": {
  30831. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30832. "type": "integer"
  30833. },
  30834. "isreleasemargin": {
  30835. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30836. "type": "integer"
  30837. },
  30838. "marginformula": {
  30839. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30840. "type": "integer"
  30841. },
  30842. "marginformula2": {
  30843. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30844. "type": "integer"
  30845. },
  30846. "marketid": {
  30847. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30848. "type": "integer"
  30849. },
  30850. "marketname": {
  30851. "description": "市场名称",
  30852. "type": "string"
  30853. },
  30854. "marketserviceid": {
  30855. "description": "市场服务ID",
  30856. "type": "integer"
  30857. },
  30858. "marketstatus": {
  30859. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30860. "type": "integer"
  30861. },
  30862. "markettype": {
  30863. "description": "市场类型- 1:非交易服务 2:交易服务",
  30864. "type": "integer"
  30865. },
  30866. "matchermode": {
  30867. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30868. "type": "integer"
  30869. },
  30870. "openmethod": {
  30871. "description": "开盘模式 - 0 自动 1手动",
  30872. "type": "integer"
  30873. },
  30874. "otcuserid": {
  30875. "description": "场外期权做市商[场外期权]",
  30876. "type": "integer"
  30877. },
  30878. "outersynctime": {
  30879. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30880. "type": "string"
  30881. },
  30882. "pendingflag": {
  30883. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30884. "type": "integer"
  30885. },
  30886. "pendingtime": {
  30887. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30888. "type": "string"
  30889. },
  30890. "performancetempid": {
  30891. "description": "履约计划模板ID - 作废",
  30892. "type": "integer"
  30893. },
  30894. "premiumquotemode": {
  30895. "description": "权利金报价方式 - 1:自动 2:手动",
  30896. "type": "integer"
  30897. },
  30898. "rebateratio": {
  30899. "description": "返利比率[竞价式]",
  30900. "type": "number"
  30901. },
  30902. "reckonorder": {
  30903. "description": "结算顺序",
  30904. "type": "integer"
  30905. },
  30906. "reckonpricealgorithm": {
  30907. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30908. "type": "integer"
  30909. },
  30910. "reckonpriceparam": {
  30911. "description": "结算价参数",
  30912. "type": "integer"
  30913. },
  30914. "reckontime": {
  30915. "description": "结算时间[通道交易-对冲](HH:mm)",
  30916. "type": "string"
  30917. },
  30918. "roleprioritytype": {
  30919. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30920. "type": "integer"
  30921. },
  30922. "selllistingauditflag": {
  30923. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30924. "type": "integer"
  30925. },
  30926. "trademarkettype": {
  30927. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30928. "type": "integer"
  30929. },
  30930. "trademode": {
  30931. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30932. "type": "integer"
  30933. },
  30934. "tradeproperty": {
  30935. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30936. "type": "integer"
  30937. },
  30938. "tradetype": {
  30939. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30940. "type": "integer"
  30941. }
  30942. }
  30943. },
  30944. "models.Marketrun": {
  30945. "type": "object",
  30946. "required": [
  30947. "marketid",
  30948. "nexttradedate",
  30949. "reckonflag",
  30950. "runstatus",
  30951. "tradedate",
  30952. "tradedate2"
  30953. ],
  30954. "properties": {
  30955. "afternexttradedate": {
  30956. "description": "下下交易日",
  30957. "type": "string"
  30958. },
  30959. "clearquoteflag": {
  30960. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  30961. "type": "integer"
  30962. },
  30963. "lastreckondate": {
  30964. "description": "最新交易日(结算成功)",
  30965. "type": "string"
  30966. },
  30967. "machinedate": {
  30968. "description": "机器时间",
  30969. "type": "string"
  30970. },
  30971. "manualflag": {
  30972. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  30973. "type": "integer"
  30974. },
  30975. "marketid": {
  30976. "description": "市场ID",
  30977. "type": "integer"
  30978. },
  30979. "nexttradedate": {
  30980. "description": "下一交易日",
  30981. "type": "string"
  30982. },
  30983. "pretradedate": {
  30984. "description": "上一交易日",
  30985. "type": "string"
  30986. },
  30987. "reckonflag": {
  30988. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  30989. "type": "integer"
  30990. },
  30991. "runstatus": {
  30992. "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.今日免清算",
  30993. "type": "integer"
  30994. },
  30995. "sectionid": {
  30996. "description": "时间段号[多时段时用]",
  30997. "type": "integer"
  30998. },
  30999. "tradedate": {
  31000. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31001. "type": "string"
  31002. },
  31003. "tradedate2": {
  31004. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31005. "type": "string"
  31006. },
  31007. "updatetime": {
  31008. "description": "更新时间",
  31009. "type": "string"
  31010. }
  31011. }
  31012. },
  31013. "models.Messageboard": {
  31014. "type": "object",
  31015. "required": [
  31016. "messageboardid"
  31017. ],
  31018. "properties": {
  31019. "contactnum": {
  31020. "description": "联系电话",
  31021. "type": "string"
  31022. },
  31023. "createtime": {
  31024. "description": "创建时间",
  31025. "type": "string"
  31026. },
  31027. "message": {
  31028. "description": "留言信息",
  31029. "type": "string"
  31030. },
  31031. "messageboardid": {
  31032. "description": "留言簿ID(SEQ_MessageBoard)",
  31033. "type": "integer"
  31034. },
  31035. "userid": {
  31036. "description": "用户ID",
  31037. "type": "integer"
  31038. }
  31039. }
  31040. },
  31041. "models.MyCoupon": {
  31042. "type": "object",
  31043. "required": [
  31044. "accountid",
  31045. "coupontypeid"
  31046. ],
  31047. "properties": {
  31048. "accountid": {
  31049. "description": "资金账户ID",
  31050. "type": "integer"
  31051. },
  31052. "areauserid": {
  31053. "description": "所属机构",
  31054. "type": "integer"
  31055. },
  31056. "conditionvalue": {
  31057. "description": "条件阈值(可为0)",
  31058. "type": "number"
  31059. },
  31060. "couponcategroy": {
  31061. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  31062. "type": "integer"
  31063. },
  31064. "couponname": {
  31065. "description": "优惠券名称",
  31066. "type": "string"
  31067. },
  31068. "coupontypeid": {
  31069. "description": "优惠券类型ID",
  31070. "type": "string"
  31071. },
  31072. "couponvalue": {
  31073. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31074. "type": "number"
  31075. },
  31076. "curfreezeqty": {
  31077. "description": "期末冻结数量",
  31078. "type": "integer"
  31079. },
  31080. "curqty": {
  31081. "description": "期末数量",
  31082. "type": "integer"
  31083. },
  31084. "isgeneral": {
  31085. "description": "是否通用券 - 0:否 1:是",
  31086. "type": "integer"
  31087. },
  31088. "isunusable": {
  31089. "description": "是否不可用",
  31090. "type": "boolean"
  31091. },
  31092. "limitedflag": {
  31093. "description": "是否指定商品 - 0:不限 1:限制",
  31094. "type": "integer"
  31095. },
  31096. "limitedgoodsids": {
  31097. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  31098. "type": "string"
  31099. },
  31100. "orifreezeqty": {
  31101. "description": "期初冻结数量",
  31102. "type": "integer"
  31103. },
  31104. "oriqty": {
  31105. "description": "期初数量",
  31106. "type": "integer"
  31107. },
  31108. "reasontype": {
  31109. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  31110. "type": "integer"
  31111. },
  31112. "todaydecrease": {
  31113. "description": "今日减少",
  31114. "type": "integer"
  31115. },
  31116. "todayincrease": {
  31117. "description": "今日增加",
  31118. "type": "integer"
  31119. },
  31120. "userid": {
  31121. "description": "用户ID",
  31122. "type": "integer"
  31123. },
  31124. "userscope": {
  31125. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  31126. "type": "string"
  31127. }
  31128. }
  31129. },
  31130. "models.MyCouponHold": {
  31131. "type": "object",
  31132. "required": [
  31133. "couponholdid"
  31134. ],
  31135. "properties": {
  31136. "accountid": {
  31137. "description": "资金账户ID",
  31138. "type": "integer"
  31139. },
  31140. "conditionvalue": {
  31141. "description": "条件阈值(可为0)",
  31142. "type": "number"
  31143. },
  31144. "couponcategroy": {
  31145. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  31146. "type": "integer"
  31147. },
  31148. "couponholdid": {
  31149. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  31150. "type": "string"
  31151. },
  31152. "couponname": {
  31153. "description": "优惠券名称",
  31154. "type": "string"
  31155. },
  31156. "coupontypeid": {
  31157. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  31158. "type": "string"
  31159. },
  31160. "couponvalue": {
  31161. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  31162. "type": "number"
  31163. },
  31164. "createtime": {
  31165. "description": "创建时间",
  31166. "type": "string"
  31167. },
  31168. "enddate": {
  31169. "description": "结束日期",
  31170. "type": "string"
  31171. },
  31172. "giveapplyid": {
  31173. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  31174. "type": "integer"
  31175. },
  31176. "holdstatus": {
  31177. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  31178. "type": "integer"
  31179. },
  31180. "isgeneral": {
  31181. "description": "是否通用券 - 0:否 1:是",
  31182. "type": "integer"
  31183. },
  31184. "limitedflag": {
  31185. "description": "是否指定商品 - 0:不限 1:限制",
  31186. "type": "integer"
  31187. },
  31188. "limitedgoodsids": {
  31189. "description": "指定商品IDs[逗号分隔]",
  31190. "type": "string"
  31191. },
  31192. "qty": {
  31193. "description": "数量(按1平铺)",
  31194. "type": "integer"
  31195. },
  31196. "startdate": {
  31197. "description": "开始日期",
  31198. "type": "string"
  31199. },
  31200. "userid": {
  31201. "description": "用户ID",
  31202. "type": "integer"
  31203. },
  31204. "userscope": {
  31205. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  31206. "type": "string"
  31207. }
  31208. }
  31209. },
  31210. "models.MyUsedCoupon": {
  31211. "type": "object",
  31212. "required": [
  31213. "coupontypeid",
  31214. "orderid"
  31215. ],
  31216. "properties": {
  31217. "accountid": {
  31218. "description": "资金账户ID(买方)",
  31219. "type": "integer"
  31220. },
  31221. "conditionvalue": {
  31222. "description": "条件阈值(可为0)",
  31223. "type": "number"
  31224. },
  31225. "couponcategroy": {
  31226. "description": "种类 - 1:现金券 2:折扣券",
  31227. "type": "integer"
  31228. },
  31229. "couponname": {
  31230. "description": "优惠券名称",
  31231. "type": "string"
  31232. },
  31233. "coupontypeid": {
  31234. "description": "优惠券类型ID(买方)",
  31235. "type": "string"
  31236. },
  31237. "couponvalue": {
  31238. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  31239. "type": "number"
  31240. },
  31241. "createtime": {
  31242. "description": "创建时间",
  31243. "type": "string"
  31244. },
  31245. "goodsid": {
  31246. "description": "商品ID",
  31247. "type": "integer"
  31248. },
  31249. "handlestatus": {
  31250. "description": "处理状态",
  31251. "type": "integer"
  31252. },
  31253. "marketid": {
  31254. "description": "市场ID",
  31255. "type": "integer"
  31256. },
  31257. "offamount": {
  31258. "description": "优惠金额",
  31259. "type": "number"
  31260. },
  31261. "orderid": {
  31262. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31263. "type": "string"
  31264. },
  31265. "sellaccountid": {
  31266. "description": "资金账户ID(卖方)",
  31267. "type": "integer"
  31268. },
  31269. "tradeamount": {
  31270. "description": "成交金额",
  31271. "type": "number"
  31272. },
  31273. "tradeid": {
  31274. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31275. "type": "string"
  31276. },
  31277. "usedqty": {
  31278. "description": "使用数量",
  31279. "type": "integer"
  31280. }
  31281. }
  31282. },
  31283. "models.OperationPrimaryMenu": {
  31284. "type": "object",
  31285. "properties": {
  31286. "Children": {
  31287. "description": "二级功能菜单",
  31288. "type": "array",
  31289. "items": {
  31290. "$ref": "#/definitions/models.OperationSecondaryMenu"
  31291. }
  31292. },
  31293. "Key": {
  31294. "description": "菜单KEY",
  31295. "type": "string"
  31296. },
  31297. "Label": {
  31298. "description": "菜单标题",
  31299. "type": "string"
  31300. }
  31301. }
  31302. },
  31303. "models.OperationSecondaryMenu": {
  31304. "type": "object",
  31305. "properties": {
  31306. "Key": {
  31307. "description": "菜单KEY",
  31308. "type": "string"
  31309. },
  31310. "Label": {
  31311. "description": "菜单标题",
  31312. "type": "string"
  31313. },
  31314. "TabList": {
  31315. "description": "三级功能菜单",
  31316. "type": "array",
  31317. "items": {
  31318. "$ref": "#/definitions/models.OperationTabMenu"
  31319. }
  31320. }
  31321. }
  31322. },
  31323. "models.OperationTabMenu": {
  31324. "type": "object",
  31325. "properties": {
  31326. "Key": {
  31327. "description": "菜单KEY",
  31328. "type": "string"
  31329. },
  31330. "Label": {
  31331. "description": "菜单标题",
  31332. "type": "string"
  31333. }
  31334. }
  31335. },
  31336. "models.Patradelinkdetail": {
  31337. "type": "object",
  31338. "properties": {
  31339. "accountname": {
  31340. "description": "套期主体",
  31341. "type": "string"
  31342. },
  31343. "agreeunit": {
  31344. "description": "合约乘数",
  31345. "type": "number"
  31346. },
  31347. "amount": {
  31348. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  31349. "type": "number"
  31350. },
  31351. "areauserid": {
  31352. "description": "所属机构",
  31353. "type": "integer"
  31354. },
  31355. "bizsubjectid": {
  31356. "description": "归属业务部门ID - SubjectID",
  31357. "type": "integer"
  31358. },
  31359. "buyorsell": {
  31360. "description": "方向 - 0:买 1:卖",
  31361. "type": "integer"
  31362. },
  31363. "convertratio": {
  31364. "description": "品种系数",
  31365. "type": "number"
  31366. },
  31367. "convertratiochange": {
  31368. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  31369. "type": "number"
  31370. },
  31371. "createtime": {
  31372. "description": "创建时间",
  31373. "type": "string"
  31374. },
  31375. "creatorid": {
  31376. "description": "创建人ID",
  31377. "type": "integer"
  31378. },
  31379. "creatorsrc": {
  31380. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31381. "type": "integer"
  31382. },
  31383. "goodscode": {
  31384. "description": "商品代码(内部)",
  31385. "type": "string"
  31386. },
  31387. "goodsgroupid": {
  31388. "description": "对冲品种ID[期货合约商品组ID]",
  31389. "type": "integer"
  31390. },
  31391. "goodsid": {
  31392. "description": "商品ID",
  31393. "type": "integer"
  31394. },
  31395. "hedgeditemid": {
  31396. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31397. "type": "integer"
  31398. },
  31399. "hedgeflag": {
  31400. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31401. "type": "integer"
  31402. },
  31403. "linkdetailid": {
  31404. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31405. "type": "string"
  31406. },
  31407. "linkstatus": {
  31408. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31409. "type": "integer"
  31410. },
  31411. "middlegoodsid": {
  31412. "description": "套保品种ID",
  31413. "type": "integer"
  31414. },
  31415. "name": {
  31416. "description": "账户名/子账户",
  31417. "type": "string"
  31418. },
  31419. "optioncode": {
  31420. "description": "[期货合约]期权代码 [期权]",
  31421. "type": "string"
  31422. },
  31423. "ordertype": {
  31424. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  31425. "type": "integer"
  31426. },
  31427. "relatedlot": {
  31428. "description": "[数量]关联手数",
  31429. "type": "number"
  31430. },
  31431. "relatedmode": {
  31432. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31433. "type": "integer"
  31434. },
  31435. "relatedqty": {
  31436. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31437. "type": "number"
  31438. },
  31439. "retcode": {
  31440. "description": "返回码",
  31441. "type": "integer"
  31442. },
  31443. "saleuserid": {
  31444. "description": "业务员ID",
  31445. "type": "integer"
  31446. },
  31447. "tradedate": {
  31448. "description": "关联交易日(yyyyMMdd)",
  31449. "type": "string"
  31450. },
  31451. "tradeid": {
  31452. "description": "[成交单号]内部成交单ID",
  31453. "type": "string"
  31454. },
  31455. "tradelot": {
  31456. "description": "成交手数",
  31457. "type": "integer"
  31458. },
  31459. "tradeprice": {
  31460. "description": "[价格]成交价格",
  31461. "type": "number"
  31462. },
  31463. "tradetime": {
  31464. "description": "日期时间",
  31465. "type": "string"
  31466. },
  31467. "tradetradedate": {
  31468. "description": "成交交易日(yyyyMMdd)",
  31469. "type": "string"
  31470. }
  31471. }
  31472. },
  31473. "models.QhjAccountOutInApply": {
  31474. "type": "object",
  31475. "properties": {
  31476. "accountcode": {
  31477. "description": "资金账号",
  31478. "type": "string"
  31479. },
  31480. "accountname": {
  31481. "description": "用户名称(名称)",
  31482. "type": "string"
  31483. },
  31484. "accountpwd": {
  31485. "description": "资金密码",
  31486. "type": "string"
  31487. },
  31488. "accountticket": {
  31489. "description": "最新账户服务流水号",
  31490. "type": "string"
  31491. },
  31492. "amount": {
  31493. "description": "金额",
  31494. "type": "number"
  31495. },
  31496. "applyremark": {
  31497. "description": "申请备注",
  31498. "type": "string"
  31499. },
  31500. "applystatus": {
  31501. "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: 复审通过,账户冻结金额检查中;",
  31502. "type": "integer"
  31503. },
  31504. "auditid": {
  31505. "description": "审核人",
  31506. "type": "integer"
  31507. },
  31508. "audittime": {
  31509. "description": "审核时间",
  31510. "type": "string"
  31511. },
  31512. "bank_apply_ticket": {
  31513. "description": "银行申请流水",
  31514. "type": "string"
  31515. },
  31516. "bankaccountname": {
  31517. "description": "银行账户名",
  31518. "type": "string"
  31519. },
  31520. "bankaccountno": {
  31521. "description": "银行卡号",
  31522. "type": "string"
  31523. },
  31524. "bankid": {
  31525. "description": "银行编号",
  31526. "type": "string"
  31527. },
  31528. "bankticket": {
  31529. "description": "银行流水",
  31530. "type": "string"
  31531. },
  31532. "branchbankid": {
  31533. "description": "银行支行号",
  31534. "type": "string"
  31535. },
  31536. "branchbankname": {
  31537. "description": "银行支行名称",
  31538. "type": "string"
  31539. },
  31540. "capamountout": {
  31541. "description": "出金(劣后本金) - 外部子账户",
  31542. "type": "number"
  31543. },
  31544. "certificatephotourl": {
  31545. "description": "凭证地址",
  31546. "type": "string"
  31547. },
  31548. "charge": {
  31549. "description": "手续费",
  31550. "type": "number"
  31551. },
  31552. "checkerrorflag": {
  31553. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  31554. "type": "integer"
  31555. },
  31556. "currency": {
  31557. "description": "币种",
  31558. "type": "string"
  31559. },
  31560. "cusbankid": {
  31561. "description": "托管银行编号",
  31562. "type": "string"
  31563. },
  31564. "exchticket": {
  31565. "description": "银行服务流水号",
  31566. "type": "string"
  31567. },
  31568. "executetype": {
  31569. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  31570. "type": "integer"
  31571. },
  31572. "extendinfo": {
  31573. "description": "扩展信息",
  31574. "type": "string"
  31575. },
  31576. "extoperateid": {
  31577. "description": "交易服务流水号",
  31578. "type": "integer"
  31579. },
  31580. "infamount": {
  31581. "description": "劣后金额(自有)",
  31582. "type": "number"
  31583. },
  31584. "logincode": {
  31585. "description": "登录账号(账号)",
  31586. "type": "string"
  31587. },
  31588. "netaddr": {
  31589. "description": "调转网址",
  31590. "type": "string"
  31591. },
  31592. "priamount": {
  31593. "description": "优先金额(授信)",
  31594. "type": "number"
  31595. },
  31596. "reauditid": {
  31597. "description": "复审人",
  31598. "type": "integer"
  31599. },
  31600. "reauditremark": {
  31601. "description": "复审备注",
  31602. "type": "string"
  31603. },
  31604. "reaudittime": {
  31605. "description": "复审时间",
  31606. "type": "string"
  31607. },
  31608. "relatedorderid": {
  31609. "description": "三方关联ID",
  31610. "type": "string"
  31611. },
  31612. "remark": {
  31613. "description": "备注",
  31614. "type": "string"
  31615. },
  31616. "remark2": {
  31617. "description": "备注(失败原因)",
  31618. "type": "string"
  31619. },
  31620. "soucreamount": {
  31621. "description": "原始出入金金额",
  31622. "type": "number"
  31623. },
  31624. "soucrecurrencyid": {
  31625. "description": "原始出入金币种",
  31626. "type": "integer"
  31627. },
  31628. "tradedate": {
  31629. "description": "交易日(yyyyMMdd)",
  31630. "type": "string"
  31631. },
  31632. "updatetime": {
  31633. "description": "更新时间(申请时间)",
  31634. "type": "string"
  31635. },
  31636. "userid": {
  31637. "description": "用户id",
  31638. "type": "integer"
  31639. },
  31640. "userinfotype": {
  31641. "description": "账户类型 1-个人 2-企业",
  31642. "type": "integer"
  31643. }
  31644. }
  31645. },
  31646. "models.QhjAgreementChangeLog": {
  31647. "type": "object",
  31648. "properties": {
  31649. "agreementcontent": {
  31650. "description": "协议内容",
  31651. "type": "string"
  31652. },
  31653. "agreementfrequency": {
  31654. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31655. "type": "integer"
  31656. },
  31657. "agreementid": {
  31658. "description": "协议ID",
  31659. "type": "integer"
  31660. },
  31661. "agreementname": {
  31662. "description": "协议名称",
  31663. "type": "string"
  31664. },
  31665. "agreementno": {
  31666. "description": "协议编号",
  31667. "type": "string"
  31668. },
  31669. "agreementtype": {
  31670. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31671. "type": "integer"
  31672. },
  31673. "agreementversion": {
  31674. "description": "协议版本号",
  31675. "type": "integer"
  31676. },
  31677. "logid": {
  31678. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  31679. "type": "integer"
  31680. },
  31681. "reviserid": {
  31682. "description": "修改人",
  31683. "type": "integer"
  31684. },
  31685. "revisersrc": {
  31686. "description": "修改来源 - 1:管理端 2:终端",
  31687. "type": "integer"
  31688. },
  31689. "updatetime": {
  31690. "description": "更新时间",
  31691. "type": "string"
  31692. }
  31693. }
  31694. },
  31695. "models.QhjAgreementConfig": {
  31696. "type": "object",
  31697. "properties": {
  31698. "agreementcontent": {
  31699. "description": "协议内容",
  31700. "type": "string"
  31701. },
  31702. "agreementfrequency": {
  31703. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  31704. "type": "integer"
  31705. },
  31706. "agreementid": {
  31707. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  31708. "type": "integer"
  31709. },
  31710. "agreementname": {
  31711. "description": "协议名称",
  31712. "type": "string"
  31713. },
  31714. "agreementno": {
  31715. "description": "协议编号",
  31716. "type": "string"
  31717. },
  31718. "agreementtype": {
  31719. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31720. "type": "integer"
  31721. },
  31722. "agreementversion": {
  31723. "description": "协议版本号(从1开始每次修改加1)",
  31724. "type": "integer"
  31725. },
  31726. "createtime": {
  31727. "description": "创建时间",
  31728. "type": "string"
  31729. },
  31730. "creatorid": {
  31731. "description": "创建人",
  31732. "type": "integer"
  31733. },
  31734. "creatorsrc": {
  31735. "description": "创建来源 - 1:管理端 2:终端",
  31736. "type": "integer"
  31737. },
  31738. "isvalid": {
  31739. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  31740. "type": "integer"
  31741. },
  31742. "reviserid": {
  31743. "description": "修改人",
  31744. "type": "integer"
  31745. },
  31746. "revisersrc": {
  31747. "description": "修改来源 - 1:管理端 2:终端",
  31748. "type": "integer"
  31749. },
  31750. "updatetime": {
  31751. "description": "更新时间",
  31752. "type": "string"
  31753. }
  31754. }
  31755. },
  31756. "models.QhjAreaFinanceConfig": {
  31757. "type": "object",
  31758. "properties": {
  31759. "additionalratio": {
  31760. "description": "追加款比例",
  31761. "type": "number"
  31762. },
  31763. "advanceratio": {
  31764. "description": "预付款比例",
  31765. "type": "number"
  31766. },
  31767. "alarmratio": {
  31768. "description": "告警比例",
  31769. "type": "number"
  31770. },
  31771. "consumptiondirectreward": {
  31772. "description": "消费直推奖励值",
  31773. "type": "number"
  31774. },
  31775. "consumptionenabled": {
  31776. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  31777. "type": "integer"
  31778. },
  31779. "consumptionindirectreward": {
  31780. "description": "消费间推奖励值",
  31781. "type": "number"
  31782. },
  31783. "consumptionmodel": {
  31784. "description": "消费奖励方式 - 1:比率 2:固定",
  31785. "type": "integer"
  31786. },
  31787. "customerservicenum": {
  31788. "description": "客服电话",
  31789. "type": "string"
  31790. },
  31791. "dayinterestrate": {
  31792. "description": "日利率",
  31793. "type": "number"
  31794. },
  31795. "disableconsumptiontips": {
  31796. "description": "关闭消费奖励提示",
  31797. "type": "string"
  31798. },
  31799. "modifierid": {
  31800. "description": "修改人ID",
  31801. "type": "integer"
  31802. },
  31803. "modifysrc": {
  31804. "description": "审核来源 - 1:管理端 2:终端",
  31805. "type": "integer"
  31806. },
  31807. "modifytime": {
  31808. "description": "修改时间",
  31809. "type": "string"
  31810. },
  31811. "promotionvalue": {
  31812. "description": "推广奖励值(固定)",
  31813. "type": "number"
  31814. },
  31815. "scoreconfigvalue1": {
  31816. "description": "提货积分配置1",
  31817. "type": "integer"
  31818. },
  31819. "scoreconfigvalue2": {
  31820. "description": "提货积分配置2",
  31821. "type": "integer"
  31822. },
  31823. "userid": {
  31824. "description": "机构用户ID其他做市关系,都设置为 1",
  31825. "type": "integer"
  31826. },
  31827. "username": {
  31828. "description": "用户名称",
  31829. "type": "string"
  31830. }
  31831. }
  31832. },
  31833. "models.QhjBankAccountSign": {
  31834. "type": "object",
  31835. "properties": {
  31836. "accountcode": {
  31837. "description": "资金账号",
  31838. "type": "string"
  31839. },
  31840. "accountname": {
  31841. "description": "资金账号对应的账号名(UserName)",
  31842. "type": "string"
  31843. },
  31844. "accountname2": {
  31845. "description": "资金账号对应的账号名(UserName) - 密文",
  31846. "type": "string"
  31847. },
  31848. "accounttype": {
  31849. "description": "账户类型(UserType)",
  31850. "type": "integer"
  31851. },
  31852. "applicationtime": {
  31853. "description": "最后一次更新的时间",
  31854. "type": "string"
  31855. },
  31856. "applyexchticket": {
  31857. "description": "申请流水",
  31858. "type": "string"
  31859. },
  31860. "auditid": {
  31861. "description": "审核人",
  31862. "type": "integer"
  31863. },
  31864. "audittime": {
  31865. "description": "审核时间",
  31866. "type": "string"
  31867. },
  31868. "bankaccountname": {
  31869. "description": "签约银行卡账号名",
  31870. "type": "string"
  31871. },
  31872. "bankaccountname2": {
  31873. "description": "签约银行卡账号名 - 密文",
  31874. "type": "string"
  31875. },
  31876. "bankaccountno": {
  31877. "description": "银行卡号",
  31878. "type": "string"
  31879. },
  31880. "bankaccountno2": {
  31881. "description": "银行卡号 - 密文",
  31882. "type": "string"
  31883. },
  31884. "bankaccounttype": {
  31885. "description": "银行账户类型 - 1-对私; 2-对公",
  31886. "type": "integer"
  31887. },
  31888. "bankcardtype": {
  31889. "description": "银行卡类型",
  31890. "type": "integer"
  31891. },
  31892. "bankchildaccount": {
  31893. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  31894. "type": "string"
  31895. },
  31896. "bankcity": {
  31897. "description": "开户行城市",
  31898. "type": "string"
  31899. },
  31900. "bankid": {
  31901. "description": "签约银行ID",
  31902. "type": "string"
  31903. },
  31904. "bankname": {
  31905. "description": "签约银行名称",
  31906. "type": "string"
  31907. },
  31908. "bankprovince": {
  31909. "description": "开户行省份",
  31910. "type": "string"
  31911. },
  31912. "branchbankid": {
  31913. "description": "签约银行支行号",
  31914. "type": "string"
  31915. },
  31916. "branchbankname": {
  31917. "description": "签约银行支行名称",
  31918. "type": "string"
  31919. },
  31920. "cardno": {
  31921. "description": "证件号码",
  31922. "type": "string"
  31923. },
  31924. "cardno2": {
  31925. "description": "证件号码 - 密文",
  31926. "type": "string"
  31927. },
  31928. "cardtype": {
  31929. "description": "证件类型",
  31930. "type": "string"
  31931. },
  31932. "currency": {
  31933. "description": "币种",
  31934. "type": "string"
  31935. },
  31936. "cusbankid": {
  31937. "description": "托管银行编号",
  31938. "type": "string"
  31939. },
  31940. "direct": {
  31941. "description": "方向(可以判断那方先发起的签约)",
  31942. "type": "integer"
  31943. },
  31944. "exchticket": {
  31945. "description": "最后一次签约成功的流水号",
  31946. "type": "string"
  31947. },
  31948. "extendinfo": {
  31949. "description": "扩展信息(JSON字符串)",
  31950. "type": "string"
  31951. },
  31952. "mobilephone": {
  31953. "description": "手机号",
  31954. "type": "string"
  31955. },
  31956. "mobilephone2": {
  31957. "description": "手机号 - 密文",
  31958. "type": "string"
  31959. },
  31960. "netaddr": {
  31961. "description": "调转网址",
  31962. "type": "string"
  31963. },
  31964. "relateduserid": {
  31965. "description": "关联使用者userid",
  31966. "type": "integer"
  31967. },
  31968. "signstatus": {
  31969. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  31970. "type": "integer"
  31971. },
  31972. "updatetime": {
  31973. "description": "更新时间(签解约更新时间)",
  31974. "type": "string"
  31975. }
  31976. }
  31977. },
  31978. "models.QhjBankInfo": {
  31979. "type": "object",
  31980. "properties": {
  31981. "bankid": {
  31982. "description": "银行ID",
  31983. "type": "string"
  31984. },
  31985. "bankname": {
  31986. "description": "银行名称",
  31987. "type": "string"
  31988. },
  31989. "clearbankno": {
  31990. "description": "清算系统银行编号",
  31991. "type": "string"
  31992. },
  31993. "orderindex": {
  31994. "description": "排序顺序",
  31995. "type": "integer"
  31996. },
  31997. "status": {
  31998. "description": "状态 - 0:正常 1:注销",
  31999. "type": "integer"
  32000. }
  32001. }
  32002. },
  32003. "models.QhjBrokerApply": {
  32004. "type": "object",
  32005. "properties": {
  32006. "applicantid": {
  32007. "description": "申请人",
  32008. "type": "integer"
  32009. },
  32010. "applysrc": {
  32011. "description": "申请来源 - 1:管理端 2:终端",
  32012. "type": "integer"
  32013. },
  32014. "applystatus": {
  32015. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32016. "type": "integer"
  32017. },
  32018. "applytime": {
  32019. "description": "申请时间",
  32020. "type": "string"
  32021. },
  32022. "auditorid": {
  32023. "description": "审核人",
  32024. "type": "integer"
  32025. },
  32026. "auditremark": {
  32027. "description": "审核备注",
  32028. "type": "string"
  32029. },
  32030. "auditsrc": {
  32031. "description": "审核来源 - 1:管理端 2:终端",
  32032. "type": "integer"
  32033. },
  32034. "audittime": {
  32035. "description": "审核时间",
  32036. "type": "string"
  32037. },
  32038. "audittradedate": {
  32039. "description": "审核交易日(yyyyMMdd)",
  32040. "type": "string"
  32041. },
  32042. "brokerapplyid": {
  32043. "description": "申请ID(SEQ_BROKERAPPLY)",
  32044. "type": "integer"
  32045. },
  32046. "cardbackphotourl": {
  32047. "description": "证件背面图片地址",
  32048. "type": "string"
  32049. },
  32050. "cardfrontphotourl": {
  32051. "description": "证件正面图片地址",
  32052. "type": "string"
  32053. },
  32054. "cardnum": {
  32055. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32056. "type": "string"
  32057. },
  32058. "customername": {
  32059. "description": "姓名",
  32060. "type": "string"
  32061. },
  32062. "logincode": {
  32063. "description": "登录代码",
  32064. "type": "string"
  32065. },
  32066. "mobile": {
  32067. "description": "手机号码",
  32068. "type": "string"
  32069. },
  32070. "parentuserid": {
  32071. "description": "所属机构id",
  32072. "type": "integer"
  32073. },
  32074. "parentusername": {
  32075. "description": "所属机构名称",
  32076. "type": "string"
  32077. },
  32078. "refereeuserid": {
  32079. "description": "推荐人id(经纪人)",
  32080. "type": "integer"
  32081. },
  32082. "refernum": {
  32083. "description": "推荐码",
  32084. "type": "string"
  32085. },
  32086. "remark": {
  32087. "description": "备注",
  32088. "type": "string"
  32089. },
  32090. "subarealevelpath": {
  32091. "description": "层级路径",
  32092. "type": "string"
  32093. },
  32094. "tradedate": {
  32095. "description": "交易日(yyyyMMdd)",
  32096. "type": "string"
  32097. },
  32098. "userid": {
  32099. "description": "申请人用户ID",
  32100. "type": "integer"
  32101. },
  32102. "userinfotype": {
  32103. "description": "用户类型 1-个人 2-企业",
  32104. "type": "integer"
  32105. },
  32106. "username": {
  32107. "description": "用户名称",
  32108. "type": "string"
  32109. }
  32110. }
  32111. },
  32112. "models.QhjBrokerApplyEx": {
  32113. "type": "object",
  32114. "properties": {
  32115. "applylist": {
  32116. "description": "经纪人申请记录(只返回最新一条)",
  32117. "type": "array",
  32118. "items": {
  32119. "$ref": "#/definitions/models.QhjBrokerApply"
  32120. }
  32121. },
  32122. "canrecommend": {
  32123. "description": "是否经纪人 0-不是 1-是",
  32124. "type": "integer"
  32125. },
  32126. "refernum": {
  32127. "description": "推荐码",
  32128. "type": "string"
  32129. },
  32130. "userid": {
  32131. "description": "用户id",
  32132. "type": "integer"
  32133. },
  32134. "userinfotype": {
  32135. "description": "用户类型 1-个人 2-企业",
  32136. "type": "integer"
  32137. }
  32138. }
  32139. },
  32140. "models.QhjBrokerRewardLog": {
  32141. "type": "object",
  32142. "properties": {
  32143. "accountid": {
  32144. "description": "资金账号ID",
  32145. "type": "integer"
  32146. },
  32147. "createtime": {
  32148. "description": "创建时间(时间)",
  32149. "type": "string"
  32150. },
  32151. "handlestatus": {
  32152. "description": "处理状态",
  32153. "type": "integer"
  32154. },
  32155. "logid": {
  32156. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32157. "type": "string"
  32158. },
  32159. "marketid": {
  32160. "description": "市场ID",
  32161. "type": "integer"
  32162. },
  32163. "mmaccountid": {
  32164. "description": "做市商资金账号ID",
  32165. "type": "string"
  32166. },
  32167. "mmuserid": {
  32168. "description": "做市商用户ID",
  32169. "type": "string"
  32170. },
  32171. "rewardamount": {
  32172. "description": "奖励金额",
  32173. "type": "number"
  32174. },
  32175. "rewardmodel": {
  32176. "description": "消费奖励方式 - 1:比率 2:固定",
  32177. "type": "integer"
  32178. },
  32179. "rewardtype": {
  32180. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32181. "type": "integer"
  32182. },
  32183. "rewardvalue": {
  32184. "description": "配置奖励值",
  32185. "type": "number"
  32186. },
  32187. "srcamount": {
  32188. "description": "成交金额 [消费奖励] (金额)",
  32189. "type": "number"
  32190. },
  32191. "srcgoodsid": {
  32192. "description": "来源商品ID [消费奖励]",
  32193. "type": "string"
  32194. },
  32195. "srctime": {
  32196. "description": "来源时间 (成交时间) [消费奖励]",
  32197. "type": "string"
  32198. },
  32199. "srctradeid": {
  32200. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  32201. "type": "string"
  32202. },
  32203. "srcuserid": {
  32204. "description": "来源用户ID(推广账户)",
  32205. "type": "string"
  32206. },
  32207. "srcusername": {
  32208. "description": "推广账户名称",
  32209. "type": "string"
  32210. },
  32211. "tradedate": {
  32212. "description": "交易日(yyyyMMdd)",
  32213. "type": "string"
  32214. },
  32215. "userid": {
  32216. "description": "经纪人用户ID",
  32217. "type": "integer"
  32218. }
  32219. }
  32220. },
  32221. "models.QhjContract": {
  32222. "type": "object",
  32223. "properties": {
  32224. "contractconfirmtime": {
  32225. "description": "合同确认时间(时间)",
  32226. "type": "string"
  32227. },
  32228. "currisklevel": {
  32229. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  32230. "type": "integer"
  32231. },
  32232. "decimalplace": {
  32233. "description": "商品报价小数位",
  32234. "type": "integer"
  32235. },
  32236. "enumdicname": {
  32237. "description": "单位名称",
  32238. "type": "string"
  32239. },
  32240. "goodscode": {
  32241. "description": "商品代码",
  32242. "type": "string"
  32243. },
  32244. "goodsid": {
  32245. "description": "商品ID [5:融资单]",
  32246. "type": "integer"
  32247. },
  32248. "goodsname": {
  32249. "description": "商品名称",
  32250. "type": "string"
  32251. },
  32252. "goodunitid": {
  32253. "description": "商品单位id",
  32254. "type": "integer"
  32255. },
  32256. "initmargin": {
  32257. "description": "初始保证金(首付款)",
  32258. "type": "number"
  32259. },
  32260. "lenderamount": {
  32261. "description": "贷款金额(总额|订单总额)",
  32262. "type": "number"
  32263. },
  32264. "marginratio": {
  32265. "description": "保证金比率(首付比例)",
  32266. "type": "number"
  32267. },
  32268. "payamount": {
  32269. "description": "已付(已付货款)",
  32270. "type": "number"
  32271. },
  32272. "reckonrecovermargin": {
  32273. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  32274. "type": "number"
  32275. },
  32276. "recoveredmargin": {
  32277. "description": "已追缴保证金",
  32278. "type": "number"
  32279. },
  32280. "remainamount": {
  32281. "description": "合同剩余金额(融资额)",
  32282. "type": "number"
  32283. },
  32284. "scfcontractid": {
  32285. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32286. "type": "string"
  32287. },
  32288. "scfcontractstatus": {
  32289. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  32290. "type": "integer"
  32291. },
  32292. "scfcontracttype": {
  32293. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  32294. "type": "integer"
  32295. },
  32296. "totalinterest": {
  32297. "description": "已计总利息(利息)",
  32298. "type": "number"
  32299. },
  32300. "tradeprice": {
  32301. "description": "成交价格(成本价格)",
  32302. "type": "number"
  32303. },
  32304. "userid": {
  32305. "description": "用户ID",
  32306. "type": "integer"
  32307. },
  32308. "username": {
  32309. "description": "用户名称",
  32310. "type": "string"
  32311. },
  32312. "wrqty": {
  32313. "description": "仓单数量(数量)",
  32314. "type": "number"
  32315. }
  32316. }
  32317. },
  32318. "models.QhjContractLog": {
  32319. "type": "object",
  32320. "properties": {
  32321. "amount": {
  32322. "description": "支付金额",
  32323. "type": "number"
  32324. },
  32325. "amounttype": {
  32326. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  32327. "type": "integer"
  32328. },
  32329. "logid": {
  32330. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32331. "type": "string"
  32332. },
  32333. "remainamount": {
  32334. "description": "剩余货款",
  32335. "type": "number"
  32336. },
  32337. "scfcontractid": {
  32338. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  32339. "type": "integer"
  32340. },
  32341. "updatetime": {
  32342. "description": "更新时间",
  32343. "type": "string"
  32344. }
  32345. }
  32346. },
  32347. "models.QhjCusBankSignBankEx": {
  32348. "type": "object",
  32349. "properties": {
  32350. "banklst": {
  32351. "description": "银行列表",
  32352. "type": "array",
  32353. "items": {
  32354. "$ref": "#/definitions/models.QhjBankInfo"
  32355. }
  32356. },
  32357. "canallot": {
  32358. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  32359. "type": "integer"
  32360. },
  32361. "canallotquery": {
  32362. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  32363. "type": "integer"
  32364. },
  32365. "canbindcard": {
  32366. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  32367. "type": "integer"
  32368. },
  32369. "caninamount": {
  32370. "description": "是否可入金 - 0:不可 1:可以",
  32371. "type": "integer"
  32372. },
  32373. "caninamount2": {
  32374. "description": "是否可入金(网银端) - 0:不可 1:可以",
  32375. "type": "integer"
  32376. },
  32377. "canmodifybankcard": {
  32378. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  32379. "type": "integer"
  32380. },
  32381. "canmodifyphone": {
  32382. "description": "是否可修改手机号 - 0:不可 1:可以",
  32383. "type": "integer"
  32384. },
  32385. "canmodifysigninfo": {
  32386. "description": "是否可修改签约信息 - 0:不可 1:可以",
  32387. "type": "integer"
  32388. },
  32389. "canoutamount": {
  32390. "description": "是否可出金 - 0:不可 1:可以",
  32391. "type": "integer"
  32392. },
  32393. "canoutamount2": {
  32394. "description": "是否可出金(网银端) - 0:不可 1:可以",
  32395. "type": "integer"
  32396. },
  32397. "canrelease": {
  32398. "description": "是否可解约 - 0:不可 1:可以",
  32399. "type": "integer"
  32400. },
  32401. "canrelease2": {
  32402. "description": "是否可解约(网银端) - 0:不可 1:可以",
  32403. "type": "integer"
  32404. },
  32405. "cansign": {
  32406. "description": "是否可签约 - 0:不可 1:可以",
  32407. "type": "integer"
  32408. },
  32409. "cansign2": {
  32410. "description": "是否可签约(网银端) - 0:不可 1:可以",
  32411. "type": "integer"
  32412. },
  32413. "currency": {
  32414. "description": "币种",
  32415. "type": "string"
  32416. },
  32417. "cusbankid": {
  32418. "description": "托管银行编号(对应清算中心TRAN_NO)",
  32419. "type": "string"
  32420. },
  32421. "cusbankname": {
  32422. "description": "银行业务名称",
  32423. "type": "string"
  32424. },
  32425. "cusbankshortname": {
  32426. "description": "银行业务简称",
  32427. "type": "string"
  32428. },
  32429. "exchbankid": {
  32430. "description": "交易所开户银行ID",
  32431. "type": "string"
  32432. },
  32433. "exchpaybankaccname": {
  32434. "description": "交易所支出结算账户户名",
  32435. "type": "string"
  32436. },
  32437. "exchpaybankaccno": {
  32438. "description": "交易所支出结算账户",
  32439. "type": "string"
  32440. },
  32441. "isneedcheck": {
  32442. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  32443. "type": "integer"
  32444. },
  32445. "isneedclear": {
  32446. "description": "是否需要清算 - 0:不需要 1:需要",
  32447. "type": "integer"
  32448. },
  32449. "lastcheckstatus": {
  32450. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  32451. "type": "integer"
  32452. },
  32453. "lastchecktime": {
  32454. "description": "最后对账时间",
  32455. "type": "string"
  32456. },
  32457. "lastclearstatus": {
  32458. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  32459. "type": "integer"
  32460. },
  32461. "lastcleartime": {
  32462. "description": "最后清算时间",
  32463. "type": "string"
  32464. },
  32465. "lastsignintime": {
  32466. "description": "最后签到时间",
  32467. "type": "string"
  32468. },
  32469. "lastsignouttime": {
  32470. "description": "最后签退时间",
  32471. "type": "string"
  32472. },
  32473. "riskinfo": {
  32474. "description": "签约风险提示书",
  32475. "type": "string"
  32476. },
  32477. "signstatus": {
  32478. "description": "当前签到/签退状态 - 1:签到 2:签退",
  32479. "type": "integer"
  32480. },
  32481. "tradedate": {
  32482. "description": "交易日(yyyyMMdd)",
  32483. "type": "string"
  32484. },
  32485. "updatetime": {
  32486. "description": "当前签到/签退更新时间",
  32487. "type": "string"
  32488. }
  32489. }
  32490. },
  32491. "models.QhjCustomer": {
  32492. "type": "object",
  32493. "properties": {
  32494. "address": {
  32495. "description": "通讯地址",
  32496. "type": "string"
  32497. },
  32498. "attachment1": {
  32499. "description": "附件1",
  32500. "type": "string"
  32501. },
  32502. "attachment2": {
  32503. "description": "附件2",
  32504. "type": "string"
  32505. },
  32506. "audittime": {
  32507. "description": "审核时间",
  32508. "type": "string"
  32509. },
  32510. "cardbackphotourl": {
  32511. "description": "证件反面图片地址",
  32512. "type": "string"
  32513. },
  32514. "cardfrontphotourl": {
  32515. "description": "证件正面图片地址",
  32516. "type": "string"
  32517. },
  32518. "cardnum": {
  32519. "description": "证件号码",
  32520. "type": "string"
  32521. },
  32522. "cardtype": {
  32523. "description": "证件类型",
  32524. "type": "integer"
  32525. },
  32526. "cardtypename": {
  32527. "description": "证件类型名称",
  32528. "type": "string"
  32529. },
  32530. "cityid": {
  32531. "description": "市",
  32532. "type": "integer"
  32533. },
  32534. "cityname": {
  32535. "description": "城市名称",
  32536. "type": "string"
  32537. },
  32538. "contactname": {
  32539. "description": "联系人",
  32540. "type": "string"
  32541. },
  32542. "countryid": {
  32543. "description": "国家",
  32544. "type": "integer"
  32545. },
  32546. "countryname": {
  32547. "description": "国家名称",
  32548. "type": "string"
  32549. },
  32550. "createtime": {
  32551. "description": "创建时间",
  32552. "type": "string"
  32553. },
  32554. "customername": {
  32555. "description": "客户名称",
  32556. "type": "string"
  32557. },
  32558. "districtid": {
  32559. "description": "区域",
  32560. "type": "integer"
  32561. },
  32562. "districtname": {
  32563. "description": "地区名称",
  32564. "type": "string"
  32565. },
  32566. "email": {
  32567. "description": "邮件",
  32568. "type": "string"
  32569. },
  32570. "legalpersonname": {
  32571. "description": "法人姓名(企业)",
  32572. "type": "string"
  32573. },
  32574. "logincode": {
  32575. "description": "登录账号(代码)",
  32576. "type": "string"
  32577. },
  32578. "memberuserid": {
  32579. "description": "所属机构ID(所属会员)",
  32580. "type": "integer"
  32581. },
  32582. "memberusername": {
  32583. "description": "所属会员名称",
  32584. "type": "string"
  32585. },
  32586. "mobile": {
  32587. "description": "手机号码",
  32588. "type": "string"
  32589. },
  32590. "modifytime": {
  32591. "description": "修改时间",
  32592. "type": "string"
  32593. },
  32594. "nickname": {
  32595. "description": "昵称",
  32596. "type": "string"
  32597. },
  32598. "parentuserid": {
  32599. "description": "上级机构(所属机构)",
  32600. "type": "integer"
  32601. },
  32602. "parentusername": {
  32603. "description": "所属机构名称",
  32604. "type": "string"
  32605. },
  32606. "provinceid": {
  32607. "description": "省",
  32608. "type": "integer"
  32609. },
  32610. "provincename": {
  32611. "description": "省名称",
  32612. "type": "string"
  32613. },
  32614. "proxystatementurl": {
  32615. "description": "授权委托书",
  32616. "type": "string"
  32617. },
  32618. "remark": {
  32619. "description": "备注",
  32620. "type": "string"
  32621. },
  32622. "status": {
  32623. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  32624. "type": "integer"
  32625. },
  32626. "statusdesc": {
  32627. "description": "账户状态中文描述",
  32628. "type": "string"
  32629. },
  32630. "taxpayernum": {
  32631. "description": "纳税人识别号",
  32632. "type": "string"
  32633. },
  32634. "telphone": {
  32635. "description": "联系电话",
  32636. "type": "string"
  32637. },
  32638. "userid": {
  32639. "description": "用户ID",
  32640. "type": "integer"
  32641. },
  32642. "userinfotype": {
  32643. "description": "客户类型 1-个人 2-企业",
  32644. "type": "integer"
  32645. },
  32646. "username": {
  32647. "description": "用户名称",
  32648. "type": "string"
  32649. }
  32650. }
  32651. },
  32652. "models.QhjCustomerSignLog": {
  32653. "type": "object",
  32654. "properties": {
  32655. "agreementcontent": {
  32656. "description": "协议内容",
  32657. "type": "string"
  32658. },
  32659. "agreementid": {
  32660. "description": "协议ID",
  32661. "type": "integer"
  32662. },
  32663. "agreementname": {
  32664. "description": "协议名称",
  32665. "type": "string"
  32666. },
  32667. "agreementno": {
  32668. "description": "协议编号",
  32669. "type": "string"
  32670. },
  32671. "agreementtype": {
  32672. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32673. "type": "integer"
  32674. },
  32675. "agreementversion": {
  32676. "description": "协议版本号",
  32677. "type": "integer"
  32678. },
  32679. "createtime": {
  32680. "description": "创建时间",
  32681. "type": "string"
  32682. },
  32683. "goodscode": {
  32684. "description": "商品代码",
  32685. "type": "string"
  32686. },
  32687. "goodsid": {
  32688. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32689. "type": "integer"
  32690. },
  32691. "goodsname": {
  32692. "description": "商品名称",
  32693. "type": "string"
  32694. },
  32695. "logid": {
  32696. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  32697. "type": "integer"
  32698. },
  32699. "nodetype": {
  32700. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32701. "type": "integer"
  32702. },
  32703. "signadressurl": {
  32704. "description": "签约文件地址",
  32705. "type": "string"
  32706. },
  32707. "signtimestamp": {
  32708. "description": "签约状态时间戳",
  32709. "type": "string"
  32710. },
  32711. "userid": {
  32712. "description": "客户ID",
  32713. "type": "integer"
  32714. },
  32715. "username": {
  32716. "description": "客户名称",
  32717. "type": "string"
  32718. }
  32719. }
  32720. },
  32721. "models.QhjCustomerSignStatus": {
  32722. "type": "object",
  32723. "properties": {
  32724. "createtime": {
  32725. "description": "创建时间",
  32726. "type": "string"
  32727. },
  32728. "goodscode": {
  32729. "description": "商品代码",
  32730. "type": "string"
  32731. },
  32732. "goodsid": {
  32733. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32734. "type": "integer"
  32735. },
  32736. "goodsname": {
  32737. "description": "商品名称",
  32738. "type": "string"
  32739. },
  32740. "nodetype": {
  32741. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  32742. "type": "integer"
  32743. },
  32744. "signtimestamp": {
  32745. "description": "签约状态时间戳",
  32746. "type": "string"
  32747. },
  32748. "tradedate": {
  32749. "description": "创建交易日(yyyyMMdd)",
  32750. "type": "string"
  32751. },
  32752. "updatetime": {
  32753. "description": "更新时间",
  32754. "type": "string"
  32755. },
  32756. "userid": {
  32757. "description": "客户ID",
  32758. "type": "integer"
  32759. },
  32760. "username": {
  32761. "description": "客户名称",
  32762. "type": "string"
  32763. }
  32764. }
  32765. },
  32766. "models.QhjMgrAccountOutInApply": {
  32767. "type": "object",
  32768. "properties": {
  32769. "accountcode": {
  32770. "description": "资金账号",
  32771. "type": "string"
  32772. },
  32773. "accountname": {
  32774. "description": "用户名称(名称)",
  32775. "type": "string"
  32776. },
  32777. "accountpwd": {
  32778. "description": "资金密码",
  32779. "type": "string"
  32780. },
  32781. "accountticket": {
  32782. "description": "最新账户服务流水号",
  32783. "type": "string"
  32784. },
  32785. "amount": {
  32786. "description": "金额",
  32787. "type": "number"
  32788. },
  32789. "applyremark": {
  32790. "description": "申请备注",
  32791. "type": "string"
  32792. },
  32793. "applystatus": {
  32794. "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: 复审通过,账户冻结金额检查中;",
  32795. "type": "integer"
  32796. },
  32797. "auditid": {
  32798. "description": "审核人",
  32799. "type": "integer"
  32800. },
  32801. "audittime": {
  32802. "description": "审核时间",
  32803. "type": "string"
  32804. },
  32805. "bank_apply_ticket": {
  32806. "description": "银行申请流水",
  32807. "type": "string"
  32808. },
  32809. "bankaccountname": {
  32810. "description": "银行账户名",
  32811. "type": "string"
  32812. },
  32813. "bankaccountno": {
  32814. "description": "银行卡号",
  32815. "type": "string"
  32816. },
  32817. "bankid": {
  32818. "description": "银行编号",
  32819. "type": "string"
  32820. },
  32821. "bankname": {
  32822. "description": "银行名称",
  32823. "type": "string"
  32824. },
  32825. "bankticket": {
  32826. "description": "银行流水",
  32827. "type": "string"
  32828. },
  32829. "branchbankid": {
  32830. "description": "银行支行号",
  32831. "type": "string"
  32832. },
  32833. "branchbankname": {
  32834. "description": "银行支行名称",
  32835. "type": "string"
  32836. },
  32837. "capamountout": {
  32838. "description": "出金(劣后本金) - 外部子账户",
  32839. "type": "number"
  32840. },
  32841. "certificatephotourl": {
  32842. "description": "凭证地址",
  32843. "type": "string"
  32844. },
  32845. "charge": {
  32846. "description": "手续费",
  32847. "type": "number"
  32848. },
  32849. "checkerrorflag": {
  32850. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32851. "type": "integer"
  32852. },
  32853. "currency": {
  32854. "description": "币种",
  32855. "type": "string"
  32856. },
  32857. "cusbankid": {
  32858. "description": "托管银行编号",
  32859. "type": "string"
  32860. },
  32861. "exchticket": {
  32862. "description": "银行服务流水号",
  32863. "type": "string"
  32864. },
  32865. "executetype": {
  32866. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32867. "type": "integer"
  32868. },
  32869. "extendinfo": {
  32870. "description": "扩展信息",
  32871. "type": "string"
  32872. },
  32873. "extoperateid": {
  32874. "description": "交易服务流水号",
  32875. "type": "integer"
  32876. },
  32877. "infamount": {
  32878. "description": "劣后金额(自有)",
  32879. "type": "number"
  32880. },
  32881. "logincode": {
  32882. "description": "登录账号(账号)",
  32883. "type": "string"
  32884. },
  32885. "netaddr": {
  32886. "description": "调转网址",
  32887. "type": "string"
  32888. },
  32889. "priamount": {
  32890. "description": "优先金额(授信)",
  32891. "type": "number"
  32892. },
  32893. "reauditid": {
  32894. "description": "复审人",
  32895. "type": "integer"
  32896. },
  32897. "reauditremark": {
  32898. "description": "复审备注",
  32899. "type": "string"
  32900. },
  32901. "reaudittime": {
  32902. "description": "复审时间",
  32903. "type": "string"
  32904. },
  32905. "relatedorderid": {
  32906. "description": "三方关联ID",
  32907. "type": "string"
  32908. },
  32909. "remark": {
  32910. "description": "备注",
  32911. "type": "string"
  32912. },
  32913. "remark2": {
  32914. "description": "备注(失败原因)",
  32915. "type": "string"
  32916. },
  32917. "soucreamount": {
  32918. "description": "原始出入金金额",
  32919. "type": "number"
  32920. },
  32921. "soucrecurrencyid": {
  32922. "description": "原始出入金币种",
  32923. "type": "integer"
  32924. },
  32925. "tradedate": {
  32926. "description": "交易日(yyyyMMdd)",
  32927. "type": "string"
  32928. },
  32929. "updatetime": {
  32930. "description": "更新时间(申请时间)",
  32931. "type": "string"
  32932. },
  32933. "userid": {
  32934. "description": "用户id",
  32935. "type": "integer"
  32936. },
  32937. "userinfotype": {
  32938. "description": "账户类型 1-个人 2-企业",
  32939. "type": "integer"
  32940. }
  32941. }
  32942. },
  32943. "models.QhjMgrBrokerApply": {
  32944. "type": "object",
  32945. "properties": {
  32946. "applicantid": {
  32947. "description": "申请人",
  32948. "type": "integer"
  32949. },
  32950. "applysrc": {
  32951. "description": "申请来源 - 1:管理端 2:终端",
  32952. "type": "integer"
  32953. },
  32954. "applystatus": {
  32955. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32956. "type": "integer"
  32957. },
  32958. "applytime": {
  32959. "description": "申请时间",
  32960. "type": "string"
  32961. },
  32962. "auditorid": {
  32963. "description": "审核人",
  32964. "type": "integer"
  32965. },
  32966. "auditremark": {
  32967. "description": "审核备注",
  32968. "type": "string"
  32969. },
  32970. "auditsrc": {
  32971. "description": "审核来源 - 1:管理端 2:终端",
  32972. "type": "integer"
  32973. },
  32974. "audittime": {
  32975. "description": "审核时间",
  32976. "type": "string"
  32977. },
  32978. "audittradedate": {
  32979. "description": "审核交易日(yyyyMMdd)",
  32980. "type": "string"
  32981. },
  32982. "brokerapplyid": {
  32983. "description": "申请ID(SEQ_BROKERAPPLY)",
  32984. "type": "integer"
  32985. },
  32986. "cardbackphotourl": {
  32987. "description": "证件背面图片地址",
  32988. "type": "string"
  32989. },
  32990. "cardfrontphotourl": {
  32991. "description": "证件正面图片地址",
  32992. "type": "string"
  32993. },
  32994. "cardnum": {
  32995. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32996. "type": "string"
  32997. },
  32998. "customername": {
  32999. "description": "姓名",
  33000. "type": "string"
  33001. },
  33002. "filterstatus": {
  33003. "description": "筛选条件",
  33004. "type": "string"
  33005. },
  33006. "logincode": {
  33007. "description": "登录代码",
  33008. "type": "string"
  33009. },
  33010. "mobile": {
  33011. "description": "手机号码",
  33012. "type": "string"
  33013. },
  33014. "parentuserid": {
  33015. "description": "所属机构id",
  33016. "type": "integer"
  33017. },
  33018. "parentusername": {
  33019. "description": "所属机构名称",
  33020. "type": "string"
  33021. },
  33022. "refereeuserid": {
  33023. "description": "推荐人id(经纪人)",
  33024. "type": "integer"
  33025. },
  33026. "refernum": {
  33027. "description": "推荐码",
  33028. "type": "string"
  33029. },
  33030. "remark": {
  33031. "description": "备注",
  33032. "type": "string"
  33033. },
  33034. "subarealevelpath": {
  33035. "description": "层级路径",
  33036. "type": "string"
  33037. },
  33038. "tradedate": {
  33039. "description": "交易日(yyyyMMdd)",
  33040. "type": "string"
  33041. },
  33042. "userid": {
  33043. "description": "申请人用户ID",
  33044. "type": "integer"
  33045. },
  33046. "userinfotype": {
  33047. "description": "用户类型 1-个人 2-企业",
  33048. "type": "integer"
  33049. },
  33050. "username": {
  33051. "description": "用户名称",
  33052. "type": "string"
  33053. }
  33054. }
  33055. },
  33056. "models.QhjMgrBrokerRewardReport": {
  33057. "type": "object",
  33058. "properties": {
  33059. "createtime": {
  33060. "description": "创建时间(注册时间)",
  33061. "type": "string"
  33062. },
  33063. "cycletime": {
  33064. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33065. "type": "string"
  33066. },
  33067. "cycletype": {
  33068. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33069. "type": "integer"
  33070. },
  33071. "directtotalnum": {
  33072. "description": "直推总人数【期末】",
  33073. "type": "integer"
  33074. },
  33075. "indirecttotalnum": {
  33076. "description": "间推总人数【期末】",
  33077. "type": "integer"
  33078. },
  33079. "mobile": {
  33080. "description": "电话号码",
  33081. "type": "string"
  33082. },
  33083. "refereeuserid": {
  33084. "description": "推荐人id(经纪人id)",
  33085. "type": "integer"
  33086. },
  33087. "refereeusername": {
  33088. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33089. "type": "string"
  33090. },
  33091. "refernum": {
  33092. "description": "推荐码",
  33093. "type": "string"
  33094. },
  33095. "subarealevelpath": {
  33096. "description": "用户层级路径",
  33097. "type": "string"
  33098. },
  33099. "todayrewardamount": {
  33100. "description": "奖励总金额【汇总】",
  33101. "type": "number"
  33102. },
  33103. "updatetime": {
  33104. "description": "更新时间",
  33105. "type": "string"
  33106. },
  33107. "userid": {
  33108. "description": "经纪人用户ID",
  33109. "type": "integer"
  33110. },
  33111. "userinfotype": {
  33112. "description": "用户类型 1-个人 2-企业",
  33113. "type": "integer"
  33114. },
  33115. "username": {
  33116. "description": "用户名称",
  33117. "type": "string"
  33118. }
  33119. }
  33120. },
  33121. "models.QhjMgrContract": {
  33122. "type": "object",
  33123. "properties": {
  33124. "contractconfirmtime": {
  33125. "description": "合同确认时间(时间)",
  33126. "type": "string"
  33127. },
  33128. "currisklevel": {
  33129. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33130. "type": "integer"
  33131. },
  33132. "decimalplace": {
  33133. "description": "商品报价小数位",
  33134. "type": "integer"
  33135. },
  33136. "enumdicname": {
  33137. "description": "单位名称",
  33138. "type": "string"
  33139. },
  33140. "goodscode": {
  33141. "description": "商品代码",
  33142. "type": "string"
  33143. },
  33144. "goodsid": {
  33145. "description": "商品ID [5:融资单]",
  33146. "type": "integer"
  33147. },
  33148. "goodsname": {
  33149. "description": "商品名称",
  33150. "type": "string"
  33151. },
  33152. "goodunitid": {
  33153. "description": "商品单位id",
  33154. "type": "integer"
  33155. },
  33156. "initmargin": {
  33157. "description": "初始保证金(首付款)",
  33158. "type": "number"
  33159. },
  33160. "lenderamount": {
  33161. "description": "贷款金额(总额|订单总额)",
  33162. "type": "number"
  33163. },
  33164. "logincode": {
  33165. "description": "账号(登录代码)",
  33166. "type": "string"
  33167. },
  33168. "marginratio": {
  33169. "description": "保证金比率(首付比例)",
  33170. "type": "number"
  33171. },
  33172. "mobile": {
  33173. "description": "电话号码(用户资料里的电话)",
  33174. "type": "string"
  33175. },
  33176. "payamount": {
  33177. "description": "已付(已付货款)",
  33178. "type": "number"
  33179. },
  33180. "reckonrecovermargin": {
  33181. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33182. "type": "number"
  33183. },
  33184. "recoveredmargin": {
  33185. "description": "已追缴保证金",
  33186. "type": "number"
  33187. },
  33188. "remainamount": {
  33189. "description": "合同剩余金额(融资额)",
  33190. "type": "number"
  33191. },
  33192. "scfcontractid": {
  33193. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33194. "type": "string"
  33195. },
  33196. "scfcontractstatus": {
  33197. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33198. "type": "integer"
  33199. },
  33200. "scfcontracttype": {
  33201. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33202. "type": "integer"
  33203. },
  33204. "totalinterest": {
  33205. "description": "已计总利息(利息)",
  33206. "type": "number"
  33207. },
  33208. "tradedate": {
  33209. "description": "交易日",
  33210. "type": "string"
  33211. },
  33212. "tradeprice": {
  33213. "description": "成交价格(成本价格)",
  33214. "type": "number"
  33215. },
  33216. "userid": {
  33217. "description": "用户ID",
  33218. "type": "integer"
  33219. },
  33220. "userinfotype": {
  33221. "description": "用户类型 1-个人 2-企业",
  33222. "type": "integer"
  33223. },
  33224. "username": {
  33225. "description": "用户名称",
  33226. "type": "string"
  33227. },
  33228. "wrqty": {
  33229. "description": "仓单数量(数量)",
  33230. "type": "number"
  33231. }
  33232. }
  33233. },
  33234. "models.QhjMgrCustomer": {
  33235. "type": "object",
  33236. "properties": {
  33237. "address": {
  33238. "description": "通讯地址",
  33239. "type": "string"
  33240. },
  33241. "attachment1": {
  33242. "description": "附件1",
  33243. "type": "string"
  33244. },
  33245. "audittime": {
  33246. "description": "审核时间",
  33247. "type": "string"
  33248. },
  33249. "birthday": {
  33250. "description": "生日",
  33251. "type": "string"
  33252. },
  33253. "brokerid": {
  33254. "description": "所属客户经理id",
  33255. "type": "integer"
  33256. },
  33257. "brokername": {
  33258. "description": "所属客户经理名称",
  33259. "type": "string"
  33260. },
  33261. "cardbackphotourl": {
  33262. "description": "证件反面图片地址",
  33263. "type": "string"
  33264. },
  33265. "cardfrontphotourl": {
  33266. "description": "证件正面图片地址",
  33267. "type": "string"
  33268. },
  33269. "cardnum": {
  33270. "description": "证件号码",
  33271. "type": "string"
  33272. },
  33273. "cardtype": {
  33274. "description": "证件类型",
  33275. "type": "integer"
  33276. },
  33277. "cardtypename": {
  33278. "description": "证件类型名称",
  33279. "type": "string"
  33280. },
  33281. "cityid": {
  33282. "description": "市",
  33283. "type": "integer"
  33284. },
  33285. "cityname": {
  33286. "description": "城市名称",
  33287. "type": "string"
  33288. },
  33289. "contactname": {
  33290. "description": "联系人",
  33291. "type": "string"
  33292. },
  33293. "countryid": {
  33294. "description": "国家",
  33295. "type": "integer"
  33296. },
  33297. "countryname": {
  33298. "description": "国家名称",
  33299. "type": "string"
  33300. },
  33301. "createtime": {
  33302. "description": "创建时间",
  33303. "type": "string"
  33304. },
  33305. "customername": {
  33306. "description": "客户名称",
  33307. "type": "string"
  33308. },
  33309. "districtid": {
  33310. "description": "区域",
  33311. "type": "integer"
  33312. },
  33313. "districtname": {
  33314. "description": "地区名称",
  33315. "type": "string"
  33316. },
  33317. "email": {
  33318. "description": "邮件",
  33319. "type": "string"
  33320. },
  33321. "legalpersonname": {
  33322. "description": "法人姓名(企业)",
  33323. "type": "string"
  33324. },
  33325. "logincode": {
  33326. "description": "登录账号(代码)",
  33327. "type": "string"
  33328. },
  33329. "memberuserid": {
  33330. "description": "所属机构ID(所属会员)",
  33331. "type": "integer"
  33332. },
  33333. "memberusername": {
  33334. "description": "所属会员名称",
  33335. "type": "string"
  33336. },
  33337. "mobile": {
  33338. "description": "手机号码",
  33339. "type": "string"
  33340. },
  33341. "modifytime": {
  33342. "description": "修改时间",
  33343. "type": "string"
  33344. },
  33345. "nickname": {
  33346. "description": "昵称",
  33347. "type": "string"
  33348. },
  33349. "parentuserid": {
  33350. "description": "上级机构(所属机构)",
  33351. "type": "integer"
  33352. },
  33353. "parentusername": {
  33354. "description": "所属机构名称",
  33355. "type": "string"
  33356. },
  33357. "provinceid": {
  33358. "description": "省",
  33359. "type": "integer"
  33360. },
  33361. "provincename": {
  33362. "description": "省名称",
  33363. "type": "string"
  33364. },
  33365. "proxystatementurl": {
  33366. "description": "授权委托书",
  33367. "type": "string"
  33368. },
  33369. "querytype": {
  33370. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  33371. "type": "integer"
  33372. },
  33373. "remark": {
  33374. "description": "备注",
  33375. "type": "string"
  33376. },
  33377. "sex": {
  33378. "description": "性别 0-女 1-男",
  33379. "type": "integer"
  33380. },
  33381. "status": {
  33382. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33383. "type": "integer"
  33384. },
  33385. "statusdesc": {
  33386. "description": "账户状态中文描述",
  33387. "type": "string"
  33388. },
  33389. "taxpayernum": {
  33390. "description": "纳税人识别号",
  33391. "type": "string"
  33392. },
  33393. "telphone": {
  33394. "description": "联系电话",
  33395. "type": "string"
  33396. },
  33397. "userid": {
  33398. "description": "用户ID",
  33399. "type": "integer"
  33400. },
  33401. "userinfotype": {
  33402. "description": "客户类型 1-个人 2-企业",
  33403. "type": "integer"
  33404. },
  33405. "username": {
  33406. "description": "用户名称",
  33407. "type": "string"
  33408. }
  33409. }
  33410. },
  33411. "models.QhjMgrPickGoods": {
  33412. "type": "object",
  33413. "properties": {
  33414. "enumdicname": {
  33415. "description": "单位名称(提货商品)",
  33416. "type": "string"
  33417. },
  33418. "goodsid": {
  33419. "description": "商品id",
  33420. "type": "integer"
  33421. },
  33422. "imageaddress": {
  33423. "description": "图片",
  33424. "type": "string"
  33425. },
  33426. "modifierid": {
  33427. "description": "修改人",
  33428. "type": "integer"
  33429. },
  33430. "modifiername": {
  33431. "description": "修改人名称",
  33432. "type": "string"
  33433. },
  33434. "modifysrc": {
  33435. "description": "修改来源 - 1:管理端 2:终端",
  33436. "type": "integer"
  33437. },
  33438. "pickupgoodsagreeunit": {
  33439. "description": "合约乘数",
  33440. "type": "number"
  33441. },
  33442. "pickupgoodsdesc": {
  33443. "description": "描述",
  33444. "type": "string"
  33445. },
  33446. "pickupgoodsid": {
  33447. "description": "提货商品ID",
  33448. "type": "string"
  33449. },
  33450. "pickupgoodsname": {
  33451. "description": "提货商品名称",
  33452. "type": "string"
  33453. },
  33454. "pickupgoodsstatus": {
  33455. "description": "状态 - 1:正常 2:停用 3:注销",
  33456. "type": "integer"
  33457. },
  33458. "pickupgoodsunitid": {
  33459. "description": "单位ID",
  33460. "type": "integer"
  33461. },
  33462. "pickupratio": {
  33463. "description": "提货系数",
  33464. "type": "number"
  33465. },
  33466. "preparedays": {
  33467. "description": "备货期(天)",
  33468. "type": "integer"
  33469. },
  33470. "remark": {
  33471. "description": "备注",
  33472. "type": "string"
  33473. },
  33474. "updatetime": {
  33475. "description": "更新时间",
  33476. "type": "string"
  33477. }
  33478. }
  33479. },
  33480. "models.QhjMgrPositionRsp": {
  33481. "type": "object",
  33482. "properties": {
  33483. "accountid": {
  33484. "description": "账号Id",
  33485. "type": "integer"
  33486. },
  33487. "accountname": {
  33488. "description": "用户名称",
  33489. "type": "string"
  33490. },
  33491. "agreeunit": {
  33492. "description": "合约乘数",
  33493. "type": "number"
  33494. },
  33495. "averageprice": {
  33496. "description": "均价",
  33497. "type": "number"
  33498. },
  33499. "avialqty": {
  33500. "description": "可用数量",
  33501. "type": "number"
  33502. },
  33503. "decimalplace": {
  33504. "description": "报价小数位",
  33505. "type": "integer"
  33506. },
  33507. "enumdicname": {
  33508. "description": "单位名称(商品)",
  33509. "type": "string"
  33510. },
  33511. "frozenqty": {
  33512. "description": "冻结数量",
  33513. "type": "number"
  33514. },
  33515. "goodscode": {
  33516. "description": "商品代码(内部)",
  33517. "type": "string"
  33518. },
  33519. "goodsid": {
  33520. "description": "商品Id",
  33521. "type": "integer"
  33522. },
  33523. "goodsname": {
  33524. "description": "商品名称",
  33525. "type": "string"
  33526. },
  33527. "goodunitid": {
  33528. "description": "报价单位ID",
  33529. "type": "integer"
  33530. },
  33531. "holderamount": {
  33532. "description": "金额",
  33533. "type": "number"
  33534. },
  33535. "holderqty": {
  33536. "description": "持有数量",
  33537. "type": "number"
  33538. },
  33539. "holdertype": {
  33540. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  33541. "type": "integer"
  33542. },
  33543. "logincode": {
  33544. "description": "登录代码(账户)",
  33545. "type": "string"
  33546. },
  33547. "marketid": {
  33548. "description": "市场id",
  33549. "type": "integer"
  33550. },
  33551. "qtydecimalplace": {
  33552. "description": "成交量小数位",
  33553. "type": "integer"
  33554. },
  33555. "trademode": {
  33556. "description": "交易模式",
  33557. "type": "integer"
  33558. },
  33559. "userid": {
  33560. "description": "用户id",
  33561. "type": "integer"
  33562. },
  33563. "userinfotype": {
  33564. "description": "账户类型 1-个人 2-企业",
  33565. "type": "integer"
  33566. }
  33567. }
  33568. },
  33569. "models.QhjMgrSubArea": {
  33570. "type": "object",
  33571. "properties": {
  33572. "accountname": {
  33573. "description": "账户名称(机构名称)",
  33574. "type": "string"
  33575. },
  33576. "memberuserid": {
  33577. "description": "所属会员ID",
  33578. "type": "integer"
  33579. },
  33580. "parenttopuser": {
  33581. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33582. "type": "string"
  33583. },
  33584. "parentuserid": {
  33585. "description": "所属机构ID",
  33586. "type": "integer"
  33587. },
  33588. "rootuserid": {
  33589. "description": "根用户ID",
  33590. "type": "string"
  33591. },
  33592. "subaccountlevel": {
  33593. "description": "子账户层数",
  33594. "type": "integer"
  33595. },
  33596. "subarealevelpath": {
  33597. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33598. "type": "string"
  33599. },
  33600. "userid": {
  33601. "description": "用户ID",
  33602. "type": "integer"
  33603. },
  33604. "usertype": {
  33605. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33606. "type": "integer"
  33607. }
  33608. }
  33609. },
  33610. "models.QhjMgrTradeDetailRsp": {
  33611. "type": "object",
  33612. "properties": {
  33613. "accountid": {
  33614. "description": "资金账号",
  33615. "type": "integer"
  33616. },
  33617. "accountname": {
  33618. "description": "用户名称",
  33619. "type": "string"
  33620. },
  33621. "agreeunit": {
  33622. "description": "合约乘数",
  33623. "type": "number"
  33624. },
  33625. "buyorsell": {
  33626. "description": "成交类型(方向) 0:买 1:卖",
  33627. "type": "integer"
  33628. },
  33629. "decimalplace": {
  33630. "description": "报价小数位",
  33631. "type": "integer"
  33632. },
  33633. "enumdicname": {
  33634. "description": "单位名称(商品)",
  33635. "type": "string"
  33636. },
  33637. "goodscode": {
  33638. "description": "商品代码(内部)",
  33639. "type": "string"
  33640. },
  33641. "goodsid": {
  33642. "description": "商品id",
  33643. "type": "integer"
  33644. },
  33645. "goodsname": {
  33646. "description": "商品名称",
  33647. "type": "string"
  33648. },
  33649. "goodunitid": {
  33650. "description": "报价单位ID",
  33651. "type": "integer"
  33652. },
  33653. "logincode": {
  33654. "description": "登录代码(账户)",
  33655. "type": "string"
  33656. },
  33657. "marketid": {
  33658. "description": "市场id",
  33659. "type": "integer"
  33660. },
  33661. "orderid": {
  33662. "description": "关联委托单号",
  33663. "type": "string"
  33664. },
  33665. "qtydecimalplace": {
  33666. "description": "成交量小数位",
  33667. "type": "integer"
  33668. },
  33669. "tradeamount": {
  33670. "description": "金额",
  33671. "type": "number"
  33672. },
  33673. "tradedate": {
  33674. "description": "交易日",
  33675. "type": "string"
  33676. },
  33677. "tradeid": {
  33678. "description": "成交单号",
  33679. "type": "string"
  33680. },
  33681. "trademode": {
  33682. "description": "交易模式",
  33683. "type": "integer"
  33684. },
  33685. "tradeprice": {
  33686. "description": "价格",
  33687. "type": "number"
  33688. },
  33689. "tradeqty": {
  33690. "description": "数量",
  33691. "type": "number"
  33692. },
  33693. "tradetime": {
  33694. "description": "成交时间",
  33695. "type": "string"
  33696. },
  33697. "userid": {
  33698. "description": "用户id",
  33699. "type": "integer"
  33700. },
  33701. "userinfotype": {
  33702. "description": "账户类型 1-个人 2-企业",
  33703. "type": "integer"
  33704. }
  33705. }
  33706. },
  33707. "models.QhjMgrTradeOrderDetailRsp": {
  33708. "type": "object",
  33709. "properties": {
  33710. "accountid": {
  33711. "description": "资金账号",
  33712. "type": "integer"
  33713. },
  33714. "accountname": {
  33715. "description": "用户名称",
  33716. "type": "string"
  33717. },
  33718. "agreeunit": {
  33719. "description": "合约乘数",
  33720. "type": "number"
  33721. },
  33722. "amount": {
  33723. "description": "金额",
  33724. "type": "number"
  33725. },
  33726. "decimalplace": {
  33727. "description": "报价小数位",
  33728. "type": "integer"
  33729. },
  33730. "enumdicname": {
  33731. "description": "单位名称(商品)",
  33732. "type": "string"
  33733. },
  33734. "goodscode": {
  33735. "description": "商品代码(内部)",
  33736. "type": "string"
  33737. },
  33738. "goodsid": {
  33739. "description": "商品id",
  33740. "type": "integer"
  33741. },
  33742. "goodsname": {
  33743. "description": "商品名称",
  33744. "type": "string"
  33745. },
  33746. "goodunitid": {
  33747. "description": "报价单位ID",
  33748. "type": "integer"
  33749. },
  33750. "logincode": {
  33751. "description": "登录代码(账户)",
  33752. "type": "string"
  33753. },
  33754. "marketid": {
  33755. "description": "市场id",
  33756. "type": "integer"
  33757. },
  33758. "orderid": {
  33759. "description": "关联委托单号",
  33760. "type": "string"
  33761. },
  33762. "orderprice": {
  33763. "description": "价格",
  33764. "type": "number"
  33765. },
  33766. "orderqty": {
  33767. "description": "数量",
  33768. "type": "number"
  33769. },
  33770. "orderstatus": {
  33771. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  33772. "type": "integer"
  33773. },
  33774. "ordertime": {
  33775. "description": "委托时间",
  33776. "type": "string"
  33777. },
  33778. "qtydecimalplace": {
  33779. "description": "成交量小数位",
  33780. "type": "integer"
  33781. },
  33782. "tradedate": {
  33783. "description": "交易日",
  33784. "type": "string"
  33785. },
  33786. "trademode": {
  33787. "description": "交易模式",
  33788. "type": "integer"
  33789. },
  33790. "userid": {
  33791. "description": "用户id",
  33792. "type": "integer"
  33793. },
  33794. "userinfotype": {
  33795. "description": "账户类型 1-个人 2-企业",
  33796. "type": "integer"
  33797. }
  33798. }
  33799. },
  33800. "models.QhjMgrTradePayOrder": {
  33801. "type": "object",
  33802. "properties": {
  33803. "accountname": {
  33804. "description": "用户名称",
  33805. "type": "string"
  33806. },
  33807. "advanceratio": {
  33808. "description": "首付比率",
  33809. "type": "number"
  33810. },
  33811. "agreeunit": {
  33812. "description": "合约乘数",
  33813. "type": "number"
  33814. },
  33815. "buyaccountid": {
  33816. "description": "买方账号ID[报价币种]",
  33817. "type": "integer"
  33818. },
  33819. "buyorderid": {
  33820. "description": "买方委托单号(关联单号)",
  33821. "type": "string"
  33822. },
  33823. "createtime": {
  33824. "description": "创建时间",
  33825. "type": "string"
  33826. },
  33827. "decimalplace": {
  33828. "description": "报价小数位",
  33829. "type": "integer"
  33830. },
  33831. "enumdicname": {
  33832. "description": "单位名称(商品)",
  33833. "type": "string"
  33834. },
  33835. "goodscode": {
  33836. "description": "商品代码(内部)",
  33837. "type": "string"
  33838. },
  33839. "goodsid": {
  33840. "description": "商品ID",
  33841. "type": "integer"
  33842. },
  33843. "goodsname": {
  33844. "description": "商品名称",
  33845. "type": "string"
  33846. },
  33847. "goodunitid": {
  33848. "description": "报价单位ID",
  33849. "type": "integer"
  33850. },
  33851. "logincode": {
  33852. "description": "登录代码(账户)",
  33853. "type": "string"
  33854. },
  33855. "marketid": {
  33856. "description": "市场id",
  33857. "type": "integer"
  33858. },
  33859. "offamount": {
  33860. "description": "优惠金额",
  33861. "type": "number"
  33862. },
  33863. "operatetype": {
  33864. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  33865. "type": "integer"
  33866. },
  33867. "payamount": {
  33868. "description": "支付金额(金额)",
  33869. "type": "number"
  33870. },
  33871. "payflag": {
  33872. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  33873. "type": "integer"
  33874. },
  33875. "paylimitedtime": {
  33876. "description": "支付期限",
  33877. "type": "string"
  33878. },
  33879. "paytime": {
  33880. "description": "付款时间",
  33881. "type": "string"
  33882. },
  33883. "qtydecimalplace": {
  33884. "description": "成交量小数位",
  33885. "type": "integer"
  33886. },
  33887. "sellaccountid": {
  33888. "description": "卖方账号ID[报价币种]",
  33889. "type": "integer"
  33890. },
  33891. "sellorderid": {
  33892. "description": "卖方委托单号",
  33893. "type": "string"
  33894. },
  33895. "tradeamount": {
  33896. "description": "成交金额(优惠后金额)",
  33897. "type": "number"
  33898. },
  33899. "tradecharge": {
  33900. "description": "成交手续费(买方)",
  33901. "type": "number"
  33902. },
  33903. "tradedate": {
  33904. "description": "交易日(yyyyMMdd)",
  33905. "type": "string"
  33906. },
  33907. "tradeid": {
  33908. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33909. "type": "string"
  33910. },
  33911. "trademode": {
  33912. "description": "交易模式",
  33913. "type": "integer"
  33914. },
  33915. "tradeprice": {
  33916. "description": "成交价格(价格)",
  33917. "type": "number"
  33918. },
  33919. "tradeqty": {
  33920. "description": "成交数量(数量)",
  33921. "type": "number"
  33922. },
  33923. "tradetime": {
  33924. "description": "成交时间",
  33925. "type": "string"
  33926. },
  33927. "userid": {
  33928. "description": "用户id",
  33929. "type": "integer"
  33930. },
  33931. "userinfotype": {
  33932. "description": "账户类型 1-个人 2-企业",
  33933. "type": "integer"
  33934. }
  33935. }
  33936. },
  33937. "models.QhjMyTeamEx": {
  33938. "type": "object",
  33939. "properties": {
  33940. "accountname": {
  33941. "description": "用户名称",
  33942. "type": "string"
  33943. },
  33944. "accountstatus": {
  33945. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33946. "type": "integer"
  33947. },
  33948. "createtime": {
  33949. "description": "创建时间",
  33950. "type": "string"
  33951. },
  33952. "mobile": {
  33953. "description": "手机号码",
  33954. "type": "string"
  33955. },
  33956. "refereeuserid": {
  33957. "description": "推荐人id",
  33958. "type": "integer"
  33959. },
  33960. "refernum": {
  33961. "description": "推荐码",
  33962. "type": "string"
  33963. },
  33964. "subList": {
  33965. "type": "array",
  33966. "items": {
  33967. "$ref": "#/definitions/models.QhjMyTeamEx"
  33968. }
  33969. },
  33970. "userid": {
  33971. "description": "用户id",
  33972. "type": "integer"
  33973. },
  33974. "userinfotype": {
  33975. "description": "用户类型 1-个人 2-企业",
  33976. "type": "integer"
  33977. }
  33978. }
  33979. },
  33980. "models.QhjNodeAgreementConfig": {
  33981. "type": "object",
  33982. "properties": {
  33983. "agreementcontent": {
  33984. "description": "协议内容",
  33985. "type": "string"
  33986. },
  33987. "agreementid": {
  33988. "description": "协议ID",
  33989. "type": "integer"
  33990. },
  33991. "agreementname": {
  33992. "description": "协议名称",
  33993. "type": "string"
  33994. },
  33995. "agreementno": {
  33996. "description": "协议编号",
  33997. "type": "string"
  33998. },
  33999. "agreementtype": {
  34000. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34001. "type": "integer"
  34002. },
  34003. "agreementversion": {
  34004. "description": "协议版本号",
  34005. "type": "integer"
  34006. },
  34007. "configid": {
  34008. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34009. "type": "integer"
  34010. },
  34011. "createtime": {
  34012. "description": "创建时间",
  34013. "type": "string"
  34014. },
  34015. "goodsid": {
  34016. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34017. "type": "integer"
  34018. },
  34019. "nodetype": {
  34020. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34021. "type": "integer"
  34022. }
  34023. }
  34024. },
  34025. "models.QhjParentAreaList": {
  34026. "type": "object",
  34027. "properties": {
  34028. "accountname": {
  34029. "description": "账户名称(机构名称)",
  34030. "type": "string"
  34031. },
  34032. "userid": {
  34033. "description": "用户ID",
  34034. "type": "integer"
  34035. },
  34036. "usertype": {
  34037. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34038. "type": "integer"
  34039. }
  34040. }
  34041. },
  34042. "models.QhjPayOrder": {
  34043. "type": "object",
  34044. "properties": {
  34045. "advanceratio": {
  34046. "description": "首付比率",
  34047. "type": "number"
  34048. },
  34049. "buyaccountid": {
  34050. "description": "买方账号ID[报价币种]",
  34051. "type": "integer"
  34052. },
  34053. "buyorderid": {
  34054. "description": "买方委托单号",
  34055. "type": "string"
  34056. },
  34057. "createtime": {
  34058. "description": "创建时间",
  34059. "type": "string"
  34060. },
  34061. "decimalplace": {
  34062. "description": "商品报价小数位",
  34063. "type": "integer"
  34064. },
  34065. "enumdicname": {
  34066. "description": "单位名称",
  34067. "type": "string"
  34068. },
  34069. "goodscode": {
  34070. "description": "商品代码",
  34071. "type": "string"
  34072. },
  34073. "goodsid": {
  34074. "description": "商品ID",
  34075. "type": "integer"
  34076. },
  34077. "goodsname": {
  34078. "description": "商品名称",
  34079. "type": "string"
  34080. },
  34081. "goodunitid": {
  34082. "description": "商品单位id",
  34083. "type": "integer"
  34084. },
  34085. "marketid": {
  34086. "description": "市场ID",
  34087. "type": "integer"
  34088. },
  34089. "offamount": {
  34090. "description": "优惠金额",
  34091. "type": "number"
  34092. },
  34093. "operatetype": {
  34094. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34095. "type": "integer"
  34096. },
  34097. "payamount": {
  34098. "description": "支付金额",
  34099. "type": "number"
  34100. },
  34101. "payflag": {
  34102. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34103. "type": "integer"
  34104. },
  34105. "paylimitedtime": {
  34106. "description": "支付期限",
  34107. "type": "string"
  34108. },
  34109. "paytime": {
  34110. "description": "付款时间",
  34111. "type": "string"
  34112. },
  34113. "qtydecimalplace": {
  34114. "description": "成交量小数位",
  34115. "type": "integer"
  34116. },
  34117. "sellaccountid": {
  34118. "description": "卖方账号ID[报价币种]",
  34119. "type": "integer"
  34120. },
  34121. "sellorderid": {
  34122. "description": "卖方委托单号",
  34123. "type": "string"
  34124. },
  34125. "tradeamount": {
  34126. "description": "成交金额(优惠后金额)",
  34127. "type": "number"
  34128. },
  34129. "tradecharge": {
  34130. "description": "成交手续费(买方)",
  34131. "type": "number"
  34132. },
  34133. "tradedate": {
  34134. "description": "交易日(yyyyMMdd)",
  34135. "type": "string"
  34136. },
  34137. "tradeid": {
  34138. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34139. "type": "string"
  34140. },
  34141. "tradeprice": {
  34142. "description": "成交价格",
  34143. "type": "number"
  34144. },
  34145. "tradeqty": {
  34146. "description": "成交数量",
  34147. "type": "number"
  34148. }
  34149. }
  34150. },
  34151. "models.QhjPickArea": {
  34152. "type": "object",
  34153. "properties": {
  34154. "address": {
  34155. "description": "详细地址",
  34156. "type": "string"
  34157. },
  34158. "cityid": {
  34159. "description": "市",
  34160. "type": "integer"
  34161. },
  34162. "cityname": {
  34163. "description": "城市名称",
  34164. "type": "string"
  34165. },
  34166. "countryid": {
  34167. "description": "国家",
  34168. "type": "integer"
  34169. },
  34170. "countryname": {
  34171. "description": "国家名称",
  34172. "type": "string"
  34173. },
  34174. "districtid": {
  34175. "description": "地区",
  34176. "type": "integer"
  34177. },
  34178. "districtname": {
  34179. "description": "地区名称",
  34180. "type": "string"
  34181. },
  34182. "fromuserid": {
  34183. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34184. "type": "integer"
  34185. },
  34186. "fromusername": {
  34187. "description": "所属机构名称",
  34188. "type": "string"
  34189. },
  34190. "provinceid": {
  34191. "description": "省",
  34192. "type": "integer"
  34193. },
  34194. "provincename": {
  34195. "description": "省名称",
  34196. "type": "string"
  34197. },
  34198. "suborgtype": {
  34199. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  34200. "type": "integer"
  34201. },
  34202. "userid": {
  34203. "description": "机构用户ID 其他做市关系,都设置为 1",
  34204. "type": "integer"
  34205. },
  34206. "username": {
  34207. "description": "机构用户名称(门店门称)",
  34208. "type": "string"
  34209. }
  34210. }
  34211. },
  34212. "models.QhjPickGoods": {
  34213. "type": "object",
  34214. "properties": {
  34215. "enumdicname": {
  34216. "description": "单位名称(提货商品)",
  34217. "type": "string"
  34218. },
  34219. "goodsid": {
  34220. "description": "商品id",
  34221. "type": "integer"
  34222. },
  34223. "imageaddress": {
  34224. "description": "图片",
  34225. "type": "string"
  34226. },
  34227. "modifierid": {
  34228. "description": "修改人",
  34229. "type": "integer"
  34230. },
  34231. "modifiername": {
  34232. "description": "修改人名称",
  34233. "type": "string"
  34234. },
  34235. "modifysrc": {
  34236. "description": "修改来源 - 1:管理端 2:终端",
  34237. "type": "integer"
  34238. },
  34239. "pickupgoodsagreeunit": {
  34240. "description": "合约乘数",
  34241. "type": "number"
  34242. },
  34243. "pickupgoodsdesc": {
  34244. "description": "描述",
  34245. "type": "string"
  34246. },
  34247. "pickupgoodsid": {
  34248. "description": "提货商品ID",
  34249. "type": "string"
  34250. },
  34251. "pickupgoodsname": {
  34252. "description": "提货商品名称",
  34253. "type": "string"
  34254. },
  34255. "pickupgoodsstatus": {
  34256. "description": "状态 - 1:正常 2:停用 3:注销",
  34257. "type": "integer"
  34258. },
  34259. "pickupgoodsunitid": {
  34260. "description": "单位ID",
  34261. "type": "integer"
  34262. },
  34263. "pickupratio": {
  34264. "description": "提货系数",
  34265. "type": "number"
  34266. },
  34267. "preparedays": {
  34268. "description": "备货期(天)",
  34269. "type": "integer"
  34270. },
  34271. "remark": {
  34272. "description": "备注",
  34273. "type": "string"
  34274. },
  34275. "updatetime": {
  34276. "description": "更新时间",
  34277. "type": "string"
  34278. }
  34279. }
  34280. },
  34281. "models.QhjRSTriggerLog": {
  34282. "type": "object",
  34283. "properties": {
  34284. "accountid": {
  34285. "description": "用户资金账户",
  34286. "type": "integer"
  34287. },
  34288. "accountname": {
  34289. "description": "账号名称(ACCOUNTID对应的名称)",
  34290. "type": "string"
  34291. },
  34292. "currencyid": {
  34293. "description": "币种id",
  34294. "type": "integer"
  34295. },
  34296. "currencyname": {
  34297. "description": "币种名称",
  34298. "type": "string"
  34299. },
  34300. "decimalplace": {
  34301. "description": "商品报价小数位",
  34302. "type": "integer"
  34303. },
  34304. "enumdicname": {
  34305. "description": "单位名称",
  34306. "type": "string"
  34307. },
  34308. "goodscode": {
  34309. "description": "定投商品代码",
  34310. "type": "string"
  34311. },
  34312. "goodsid": {
  34313. "description": "定投商品ID",
  34314. "type": "integer"
  34315. },
  34316. "goodsname": {
  34317. "description": "定投商品名称",
  34318. "type": "string"
  34319. },
  34320. "goodunitid": {
  34321. "description": "定投商品单位id",
  34322. "type": "integer"
  34323. },
  34324. "logid": {
  34325. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  34326. "type": "string"
  34327. },
  34328. "logincode": {
  34329. "description": "账号(登录代码)",
  34330. "type": "string"
  34331. },
  34332. "qtydecimalplace": {
  34333. "description": "成交量小数位",
  34334. "type": "integer"
  34335. },
  34336. "regularlycycle": {
  34337. "description": "定投频率 - 1:每周 2:每月",
  34338. "type": "integer"
  34339. },
  34340. "regularlycyclevalue": {
  34341. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34342. "type": "string"
  34343. },
  34344. "regularlymode": {
  34345. "description": "定投方式 - 1:按数量 2:按金额",
  34346. "type": "integer"
  34347. },
  34348. "regularlymodevalue": {
  34349. "description": "定投方式值 - 数量或金额",
  34350. "type": "number"
  34351. },
  34352. "regularlystrategyid": {
  34353. "description": "定投策略ID",
  34354. "type": "integer"
  34355. },
  34356. "retcode": {
  34357. "description": "错误码",
  34358. "type": "string"
  34359. },
  34360. "tradeid": {
  34361. "description": "成交单ID",
  34362. "type": "string"
  34363. },
  34364. "triggeramount": {
  34365. "description": "触发金额",
  34366. "type": "number"
  34367. },
  34368. "triggerqty": {
  34369. "description": "触发数量",
  34370. "type": "number"
  34371. },
  34372. "triggerstatus": {
  34373. "description": "触发状态 - 1:成功 2:失败",
  34374. "type": "integer"
  34375. },
  34376. "triggertime": {
  34377. "description": "触发时间",
  34378. "type": "string"
  34379. },
  34380. "triggertradedate": {
  34381. "description": "触发交易日",
  34382. "type": "string"
  34383. },
  34384. "userid": {
  34385. "description": "所属用户ID",
  34386. "type": "integer"
  34387. },
  34388. "userinfotype": {
  34389. "description": "用户类型 1-个人 2-企业",
  34390. "type": "integer"
  34391. },
  34392. "username": {
  34393. "description": "用户名称(userid对应的名称)",
  34394. "type": "string"
  34395. }
  34396. }
  34397. },
  34398. "models.QhjRStrategy": {
  34399. "type": "object",
  34400. "properties": {
  34401. "accountid": {
  34402. "description": "用户资金账户",
  34403. "type": "integer"
  34404. },
  34405. "accountname": {
  34406. "description": "账号名称(ACCOUNTID对应的名称)",
  34407. "type": "string"
  34408. },
  34409. "currencyid": {
  34410. "description": "币种id",
  34411. "type": "integer"
  34412. },
  34413. "currencyname": {
  34414. "description": "币种名称",
  34415. "type": "string"
  34416. },
  34417. "decimalplace": {
  34418. "description": "商品报价小数位",
  34419. "type": "integer"
  34420. },
  34421. "enumdicname": {
  34422. "description": "单位名称",
  34423. "type": "string"
  34424. },
  34425. "goodscode": {
  34426. "description": "定投商品代码",
  34427. "type": "string"
  34428. },
  34429. "goodsid": {
  34430. "description": "定投商品ID",
  34431. "type": "integer"
  34432. },
  34433. "goodsname": {
  34434. "description": "定投商品名称",
  34435. "type": "string"
  34436. },
  34437. "goodunitid": {
  34438. "description": "定投商品单位id",
  34439. "type": "integer"
  34440. },
  34441. "lasteffecttradedate": {
  34442. "description": "最新生效交易日",
  34443. "type": "string"
  34444. },
  34445. "laststoptradedate": {
  34446. "description": "最新暂停交易日",
  34447. "type": "string"
  34448. },
  34449. "lasttriggertradedate": {
  34450. "description": "最新触发交易日",
  34451. "type": "string"
  34452. },
  34453. "logincode": {
  34454. "description": "账号(登录代码)",
  34455. "type": "string"
  34456. },
  34457. "nexttriggeramount": {
  34458. "description": "下次触发金额",
  34459. "type": "number"
  34460. },
  34461. "nexttriggerdate": {
  34462. "description": "下次触发日期",
  34463. "type": "string"
  34464. },
  34465. "nexttriggerqty": {
  34466. "description": "下次触发数量 [按小数位放大值]",
  34467. "type": "number"
  34468. },
  34469. "qtydecimalplace": {
  34470. "description": "成交量小数位",
  34471. "type": "integer"
  34472. },
  34473. "regularlycycle": {
  34474. "description": "定投频率 - 1:每周 2:每月",
  34475. "type": "integer"
  34476. },
  34477. "regularlycyclevalue": {
  34478. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  34479. "type": "string"
  34480. },
  34481. "regularlymode": {
  34482. "description": "定投方式 - 1:按数量 2:按金额",
  34483. "type": "integer"
  34484. },
  34485. "regularlymodevalue": {
  34486. "description": "定投方式值 - 数量或金额",
  34487. "type": "number"
  34488. },
  34489. "regularlystrategyid": {
  34490. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  34491. "type": "integer"
  34492. },
  34493. "regularlystrategystatus": {
  34494. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  34495. "type": "integer"
  34496. },
  34497. "remark": {
  34498. "description": "备注",
  34499. "type": "string"
  34500. },
  34501. "triggersuccesstimes": {
  34502. "description": "累计定投成功次数",
  34503. "type": "string"
  34504. },
  34505. "triggertotalamount": {
  34506. "description": "累计定投金额(成功)",
  34507. "type": "number"
  34508. },
  34509. "triggertotalqty": {
  34510. "description": "累计定投数量(成功) [按小数位放大值]",
  34511. "type": "number"
  34512. },
  34513. "triggertotaltimes": {
  34514. "description": "累计定投总次数",
  34515. "type": "string"
  34516. },
  34517. "updatesrc": {
  34518. "description": "更新来源 - 1:管理端 2:终端",
  34519. "type": "integer"
  34520. },
  34521. "updatetime": {
  34522. "description": "更新时间",
  34523. "type": "string"
  34524. },
  34525. "updatorid": {
  34526. "description": "更新人",
  34527. "type": "string"
  34528. },
  34529. "userid": {
  34530. "description": "所属用户ID",
  34531. "type": "integer"
  34532. },
  34533. "userinfotype": {
  34534. "description": "用户类型 1-个人 2-企业",
  34535. "type": "integer"
  34536. },
  34537. "username": {
  34538. "description": "用户名称(userid对应的名称)",
  34539. "type": "string"
  34540. }
  34541. }
  34542. },
  34543. "models.QhjReckonPriceLog": {
  34544. "type": "object",
  34545. "properties": {
  34546. "decimalplace": {
  34547. "description": "商品报价小数位",
  34548. "type": "integer"
  34549. },
  34550. "goodscode": {
  34551. "description": "商品代码",
  34552. "type": "string"
  34553. },
  34554. "goodsid": {
  34555. "description": "商品ID",
  34556. "type": "integer"
  34557. },
  34558. "goodsname": {
  34559. "description": "商品名称",
  34560. "type": "string"
  34561. },
  34562. "lastreckonprice": {
  34563. "description": "上日结算价",
  34564. "type": "number"
  34565. },
  34566. "nextdnlimitprice": {
  34567. "description": "下个交易日跌停价",
  34568. "type": "number"
  34569. },
  34570. "nexttrade": {
  34571. "description": "下个交易日",
  34572. "type": "string"
  34573. },
  34574. "nextuplimitprice": {
  34575. "description": "下个交易日涨停价",
  34576. "type": "number"
  34577. },
  34578. "reckonprice": {
  34579. "description": "今日结算价(定投价)",
  34580. "type": "number"
  34581. },
  34582. "reckontime": {
  34583. "description": "结算时间",
  34584. "type": "string"
  34585. },
  34586. "totalholderqty": {
  34587. "description": "总持仓数",
  34588. "type": "integer"
  34589. },
  34590. "totalstock": {
  34591. "description": "总库存",
  34592. "type": "integer"
  34593. },
  34594. "tradedate": {
  34595. "description": "交易日",
  34596. "type": "string"
  34597. },
  34598. "updowncount": {
  34599. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  34600. "type": "integer"
  34601. },
  34602. "updownflag": {
  34603. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  34604. "type": "integer"
  34605. },
  34606. "updownrate": {
  34607. "description": "今日涨跌幅",
  34608. "type": "number"
  34609. },
  34610. "updownrate_2d": {
  34611. "description": "连续两日涨跌幅",
  34612. "type": "number"
  34613. },
  34614. "updownrate_3d": {
  34615. "description": "连续三日涨跌幅",
  34616. "type": "number"
  34617. }
  34618. }
  34619. },
  34620. "models.QhjScoreLog": {
  34621. "type": "object",
  34622. "properties": {
  34623. "accountid": {
  34624. "description": "账户ID",
  34625. "type": "integer"
  34626. },
  34627. "createtime": {
  34628. "description": "创建时间(时间)",
  34629. "type": "string"
  34630. },
  34631. "goodsid": {
  34632. "description": "商品ID",
  34633. "type": "integer"
  34634. },
  34635. "hasuploaded": {
  34636. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  34637. "type": "integer"
  34638. },
  34639. "logid": {
  34640. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34641. "type": "string"
  34642. },
  34643. "marketid": {
  34644. "description": "市场ID",
  34645. "type": "integer"
  34646. },
  34647. "relatedamount": {
  34648. "description": "关联金额",
  34649. "type": "number"
  34650. },
  34651. "relatedorderid": {
  34652. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  34653. "type": "string"
  34654. },
  34655. "scoreconfigvalue1": {
  34656. "description": "积分配置1",
  34657. "type": "integer"
  34658. },
  34659. "scoreconfigvalue2": {
  34660. "description": "积分配置1",
  34661. "type": "integer"
  34662. },
  34663. "scoretype": {
  34664. "description": "积分类型 - 1:提货积分",
  34665. "type": "integer"
  34666. },
  34667. "scorevalue": {
  34668. "description": "积分",
  34669. "type": "number"
  34670. },
  34671. "tradedate": {
  34672. "description": "交易日(yyyyMMdd)",
  34673. "type": "string"
  34674. },
  34675. "uploadedtime": {
  34676. "description": "同步时间",
  34677. "type": "string"
  34678. },
  34679. "userid": {
  34680. "description": "用户ID",
  34681. "type": "integer"
  34682. }
  34683. }
  34684. },
  34685. "models.QhjSiteColumnDetail": {
  34686. "type": "object",
  34687. "properties": {
  34688. "author": {
  34689. "description": "作者",
  34690. "type": "string"
  34691. },
  34692. "brief": {
  34693. "description": "简介",
  34694. "type": "string"
  34695. },
  34696. "columnid": {
  34697. "description": "所属栏目",
  34698. "type": "integer"
  34699. },
  34700. "context": {
  34701. "description": "内容",
  34702. "type": "string"
  34703. },
  34704. "coverimage": {
  34705. "description": "封面图片",
  34706. "type": "string"
  34707. },
  34708. "creaedate": {
  34709. "description": "创建时间",
  34710. "type": "string"
  34711. },
  34712. "creatorid": {
  34713. "description": "创建人",
  34714. "type": "integer"
  34715. },
  34716. "hits": {
  34717. "description": "点击数",
  34718. "type": "integer"
  34719. },
  34720. "id": {
  34721. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  34722. "type": "integer"
  34723. },
  34724. "isshow": {
  34725. "description": "是否展示 - 0:不展示 1:展示",
  34726. "type": "integer"
  34727. },
  34728. "istop": {
  34729. "description": "是否置顶 - 0:不置 1:置顶",
  34730. "type": "integer"
  34731. },
  34732. "modifierid": {
  34733. "description": "操作人",
  34734. "type": "integer"
  34735. },
  34736. "publishdate": {
  34737. "description": "发布日期",
  34738. "type": "string"
  34739. },
  34740. "status": {
  34741. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  34742. "type": "integer"
  34743. },
  34744. "title": {
  34745. "description": "标题",
  34746. "type": "string"
  34747. },
  34748. "updatedate": {
  34749. "description": "修改时间",
  34750. "type": "string"
  34751. },
  34752. "userid": {
  34753. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  34754. "type": "integer"
  34755. },
  34756. "username": {
  34757. "description": "用户名称",
  34758. "type": "string"
  34759. }
  34760. }
  34761. },
  34762. "models.QhjTeamOrder": {
  34763. "type": "object",
  34764. "properties": {
  34765. "accountid": {
  34766. "description": "账户ID[报价币种]",
  34767. "type": "integer"
  34768. },
  34769. "accountname": {
  34770. "description": "账户名称",
  34771. "type": "string"
  34772. },
  34773. "agreeunit": {
  34774. "description": "合约乘数",
  34775. "type": "number"
  34776. },
  34777. "buyorsell": {
  34778. "description": "方向 - 0:买 1:卖",
  34779. "type": "integer"
  34780. },
  34781. "decimalplace": {
  34782. "description": "报价小数位",
  34783. "type": "integer"
  34784. },
  34785. "enumdicname": {
  34786. "description": "单位名称",
  34787. "type": "string"
  34788. },
  34789. "goodscode": {
  34790. "description": "商品代码(内部)",
  34791. "type": "string"
  34792. },
  34793. "goodsid": {
  34794. "description": "商品ID",
  34795. "type": "integer"
  34796. },
  34797. "goodsname": {
  34798. "description": "商品名称",
  34799. "type": "string"
  34800. },
  34801. "goodunitid": {
  34802. "description": "报价单位ID",
  34803. "type": "integer"
  34804. },
  34805. "marketid": {
  34806. "description": "市场ID",
  34807. "type": "integer"
  34808. },
  34809. "marketname": {
  34810. "description": "市场名称",
  34811. "type": "string"
  34812. },
  34813. "qtydecimalplace": {
  34814. "description": "成交量小数位",
  34815. "type": "integer"
  34816. },
  34817. "refereeuserid": {
  34818. "description": "推荐人ID",
  34819. "type": "integer"
  34820. },
  34821. "tradeamount": {
  34822. "description": "成交金额[账户币种,用于所有权]",
  34823. "type": "number"
  34824. },
  34825. "tradedate": {
  34826. "description": "交易日(yyyyMMdd)",
  34827. "type": "string"
  34828. },
  34829. "trademode": {
  34830. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  34831. "type": "integer"
  34832. },
  34833. "tradeprice": {
  34834. "description": "成交价格",
  34835. "type": "number"
  34836. },
  34837. "tradeqty": {
  34838. "description": "成交数量",
  34839. "type": "number"
  34840. },
  34841. "tradetime": {
  34842. "description": "成交时间",
  34843. "type": "string"
  34844. },
  34845. "userid": {
  34846. "description": "用户ID",
  34847. "type": "integer"
  34848. }
  34849. }
  34850. },
  34851. "models.QhjTradeGoodsPickup": {
  34852. "type": "object",
  34853. "properties": {
  34854. "accountid": {
  34855. "description": "账户ID",
  34856. "type": "integer"
  34857. },
  34858. "address": {
  34859. "description": "提货人详细地址",
  34860. "type": "string"
  34861. },
  34862. "amount": {
  34863. "description": "提货金额",
  34864. "type": "number"
  34865. },
  34866. "artradedate": {
  34867. "description": "自动收货交易日(yyyyMMdd)",
  34868. "type": "string"
  34869. },
  34870. "auditer": {
  34871. "description": "审核人",
  34872. "type": "integer"
  34873. },
  34874. "auditsrc": {
  34875. "description": "更新来源 - 1:管理端 2:终端",
  34876. "type": "integer"
  34877. },
  34878. "audittime": {
  34879. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  34880. "type": "string"
  34881. },
  34882. "audittradedate": {
  34883. "description": "审核交易日(yyyyMMdd)",
  34884. "type": "string"
  34885. },
  34886. "cardnum": {
  34887. "description": "提货人证件号码",
  34888. "type": "string"
  34889. },
  34890. "cardtypeid": {
  34891. "description": "提货人证件类型",
  34892. "type": "integer"
  34893. },
  34894. "checkremark": {
  34895. "description": "审核备注",
  34896. "type": "string"
  34897. },
  34898. "cityid": {
  34899. "description": "市",
  34900. "type": "integer"
  34901. },
  34902. "cityname": {
  34903. "description": "城市名称",
  34904. "type": "string"
  34905. },
  34906. "confirmtime": {
  34907. "description": "取货时间 或 收货时间",
  34908. "type": "string"
  34909. },
  34910. "countryid": {
  34911. "description": "国家",
  34912. "type": "integer"
  34913. },
  34914. "countryname": {
  34915. "description": "国家名称",
  34916. "type": "string"
  34917. },
  34918. "decimalplace": {
  34919. "description": "商品报价小数位",
  34920. "type": "integer"
  34921. },
  34922. "districtid": {
  34923. "description": "地区",
  34924. "type": "integer"
  34925. },
  34926. "districtname": {
  34927. "description": "地区名称",
  34928. "type": "string"
  34929. },
  34930. "enumdicname": {
  34931. "description": "单位名称(提货商品)",
  34932. "type": "string"
  34933. },
  34934. "expresscompany": {
  34935. "description": "物流公司",
  34936. "type": "string"
  34937. },
  34938. "expressnum": {
  34939. "description": "物流单号",
  34940. "type": "string"
  34941. },
  34942. "goodsagreeunit": {
  34943. "description": "交易商品乘数",
  34944. "type": "number"
  34945. },
  34946. "goodscode": {
  34947. "description": "商品代码",
  34948. "type": "string"
  34949. },
  34950. "goodsid": {
  34951. "description": "商品ID",
  34952. "type": "integer"
  34953. },
  34954. "goodsname": {
  34955. "description": "商品名称",
  34956. "type": "string"
  34957. },
  34958. "goodsqty": {
  34959. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  34960. "type": "number"
  34961. },
  34962. "handlestatus": {
  34963. "description": "处理状态",
  34964. "type": "integer"
  34965. },
  34966. "logincode": {
  34967. "description": "账号(登录代码, 有可能为空)",
  34968. "type": "string"
  34969. },
  34970. "marketid": {
  34971. "description": "市场ID",
  34972. "type": "integer"
  34973. },
  34974. "phonenum": {
  34975. "description": "提货人联系方式",
  34976. "type": "string"
  34977. },
  34978. "pickupgoodsagreeunit": {
  34979. "description": "提货商品合约乘数",
  34980. "type": "number"
  34981. },
  34982. "pickupgoodsid": {
  34983. "description": "提货商品ID",
  34984. "type": "string"
  34985. },
  34986. "pickupgoodsname": {
  34987. "description": "提货商品名称",
  34988. "type": "string"
  34989. },
  34990. "pickupgoodsqty": {
  34991. "description": "提货商品手数(数量)",
  34992. "type": "number"
  34993. },
  34994. "pickupgoodsunitid": {
  34995. "description": "单位ID(提货商品)",
  34996. "type": "integer"
  34997. },
  34998. "pickupratio": {
  34999. "description": "提货系数",
  35000. "type": "number"
  35001. },
  35002. "preparedays": {
  35003. "description": "备货期(天)-提货单明细表",
  35004. "type": "integer"
  35005. },
  35006. "provinceid": {
  35007. "description": "省",
  35008. "type": "integer"
  35009. },
  35010. "provincename": {
  35011. "description": "省名称",
  35012. "type": "string"
  35013. },
  35014. "qty": {
  35015. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35016. "type": "number"
  35017. },
  35018. "qtydecimalplace": {
  35019. "description": "商品数量小数位",
  35020. "type": "integer"
  35021. },
  35022. "recivername": {
  35023. "description": "提货人姓名",
  35024. "type": "string"
  35025. },
  35026. "reqtime": {
  35027. "description": "提货申请时间",
  35028. "type": "string"
  35029. },
  35030. "storeuserid": {
  35031. "description": "门店用户ID (千海金)",
  35032. "type": "integer"
  35033. },
  35034. "storeusername": {
  35035. "description": "门店用户名称",
  35036. "type": "string"
  35037. },
  35038. "takemode": {
  35039. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35040. "type": "integer"
  35041. },
  35042. "takeorderid": {
  35043. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35044. "type": "string"
  35045. },
  35046. "takeorderstatus": {
  35047. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35048. "type": "integer"
  35049. },
  35050. "takeremark": {
  35051. "description": "提货备注",
  35052. "type": "string"
  35053. },
  35054. "tradedate": {
  35055. "description": "交易日(yyyyMMdd)",
  35056. "type": "string"
  35057. },
  35058. "updatetime": {
  35059. "description": "更新时间",
  35060. "type": "string"
  35061. },
  35062. "userid": {
  35063. "description": "用户ID",
  35064. "type": "integer"
  35065. },
  35066. "userinfotype": {
  35067. "description": "客户类型 1-个人 2-企业",
  35068. "type": "integer"
  35069. },
  35070. "username": {
  35071. "description": "用户名称",
  35072. "type": "string"
  35073. }
  35074. }
  35075. },
  35076. "models.QhjUserNodeCfgAndStatus": {
  35077. "type": "object",
  35078. "properties": {
  35079. "agreementcontent": {
  35080. "description": "协议内容",
  35081. "type": "string"
  35082. },
  35083. "agreementid": {
  35084. "description": "协议ID",
  35085. "type": "integer"
  35086. },
  35087. "agreementname": {
  35088. "description": "协议名称",
  35089. "type": "string"
  35090. },
  35091. "agreementno": {
  35092. "description": "协议编号",
  35093. "type": "string"
  35094. },
  35095. "agreementtype": {
  35096. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35097. "type": "integer"
  35098. },
  35099. "agreementversion": {
  35100. "description": "协议版本号",
  35101. "type": "integer"
  35102. },
  35103. "configid": {
  35104. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35105. "type": "integer"
  35106. },
  35107. "createtime": {
  35108. "description": "创建时间",
  35109. "type": "string"
  35110. },
  35111. "goodsid": {
  35112. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35113. "type": "integer"
  35114. },
  35115. "nodetype": {
  35116. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35117. "type": "integer"
  35118. },
  35119. "signtimestamp": {
  35120. "description": "签约状态时间戳(最近一次)",
  35121. "type": "string"
  35122. },
  35123. "tradedate": {
  35124. "description": "签约交易日(yyyyMMdd)",
  35125. "type": "string"
  35126. },
  35127. "userid": {
  35128. "description": "客户ID",
  35129. "type": "integer"
  35130. }
  35131. }
  35132. },
  35133. "models.Qhjgoodsex": {
  35134. "type": "object",
  35135. "properties": {
  35136. "canfinance": {
  35137. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35138. "type": "integer"
  35139. },
  35140. "canregularlybuy": {
  35141. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35142. "type": "integer"
  35143. },
  35144. "defaulttradeuserid": {
  35145. "description": "默认交易用户ID",
  35146. "type": "integer"
  35147. },
  35148. "deliverygoodsid": {
  35149. "description": "现货品种ID",
  35150. "type": "integer"
  35151. },
  35152. "goodsid": {
  35153. "description": "商品ID(自增ID SEQ_GOODS)",
  35154. "type": "integer"
  35155. },
  35156. "minamount": {
  35157. "description": "最小购买金额",
  35158. "type": "number"
  35159. },
  35160. "regularlybuyminamount": {
  35161. "description": "定投最小金额",
  35162. "type": "number"
  35163. },
  35164. "regularlybuyminqty": {
  35165. "description": "定投最小数量",
  35166. "type": "number"
  35167. },
  35168. "spotgoodsbrandid": {
  35169. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35170. "type": "integer"
  35171. },
  35172. "visibilityforenterprise": {
  35173. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35174. "type": "integer"
  35175. },
  35176. "visibilityforpersonal": {
  35177. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35178. "type": "integer"
  35179. },
  35180. "wrstandardid": {
  35181. "description": "现货商品ID",
  35182. "type": "integer"
  35183. }
  35184. }
  35185. },
  35186. "models.QueryErrorInfosRsp": {
  35187. "type": "object",
  35188. "required": [
  35189. "errorid"
  35190. ],
  35191. "properties": {
  35192. "description": {
  35193. "description": "异常描述",
  35194. "type": "string"
  35195. },
  35196. "errorcode": {
  35197. "description": "异常代码",
  35198. "type": "string"
  35199. },
  35200. "errorid": {
  35201. "description": "异常ID",
  35202. "type": "integer"
  35203. },
  35204. "modulecode": {
  35205. "description": "所属模块",
  35206. "type": "string"
  35207. },
  35208. "operatecode": {
  35209. "description": "所属操作",
  35210. "type": "string"
  35211. },
  35212. "rownumber": {
  35213. "description": "行号",
  35214. "type": "string"
  35215. }
  35216. }
  35217. },
  35218. "models.QueryHedgeOrderDetailRsp": {
  35219. "type": "object",
  35220. "properties": {
  35221. "accountid": {
  35222. "description": "账户ID",
  35223. "type": "integer"
  35224. },
  35225. "buyorsell": {
  35226. "description": "买卖 - 0:买 1:卖",
  35227. "type": "integer"
  35228. },
  35229. "cancellogincode": {
  35230. "description": "撤单人",
  35231. "type": "string"
  35232. },
  35233. "channelbuildtype": {
  35234. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  35235. "type": "integer"
  35236. },
  35237. "channelinnerorderstatus": {
  35238. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  35239. "type": "integer"
  35240. },
  35241. "channeloperatetype": {
  35242. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  35243. "type": "integer"
  35244. },
  35245. "closetype": {
  35246. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35247. "type": "integer"
  35248. },
  35249. "curexchangerate": {
  35250. "description": "当前汇率",
  35251. "type": "number"
  35252. },
  35253. "decimalplace": {
  35254. "description": "商品报价小数位",
  35255. "type": "integer"
  35256. },
  35257. "exchangefullname": {
  35258. "description": "外部交易所全称",
  35259. "type": "string"
  35260. },
  35261. "goodscode": {
  35262. "description": "商品代码(内部)",
  35263. "type": "string"
  35264. },
  35265. "goodsid": {
  35266. "description": "商品ID",
  35267. "type": "integer"
  35268. },
  35269. "goodsname": {
  35270. "description": "商品名称",
  35271. "type": "string"
  35272. },
  35273. "marketid": {
  35274. "description": "市场ID",
  35275. "type": "integer"
  35276. },
  35277. "openfreezemargin": {
  35278. "description": "冻结保证金(冻结交易金额)",
  35279. "type": "number"
  35280. },
  35281. "orderid": {
  35282. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35283. "type": "string"
  35284. },
  35285. "orderlogincode": {
  35286. "description": "委托人",
  35287. "type": "string"
  35288. },
  35289. "orderprice": {
  35290. "description": "委托价格(账户)",
  35291. "type": "number"
  35292. },
  35293. "orderqty": {
  35294. "description": "委托数量",
  35295. "type": "integer"
  35296. },
  35297. "ordertime": {
  35298. "description": "委托时间",
  35299. "type": "string"
  35300. },
  35301. "pricemode": {
  35302. "description": "取价方式 - 1:市价 2: 限价",
  35303. "type": "integer"
  35304. },
  35305. "tradedate": {
  35306. "description": "交易日(yyyyMMdd)",
  35307. "type": "string"
  35308. },
  35309. "tradeqty": {
  35310. "description": "成交数量",
  35311. "type": "integer"
  35312. }
  35313. }
  35314. },
  35315. "models.QueryHedgeTradeDetailRsp": {
  35316. "type": "object",
  35317. "properties": {
  35318. "accountid": {
  35319. "description": "账号ID",
  35320. "type": "integer"
  35321. },
  35322. "buyorsell": {
  35323. "description": "方向 - 0:买 1:卖",
  35324. "type": "integer"
  35325. },
  35326. "channelbuildtype": {
  35327. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  35328. "type": "integer"
  35329. },
  35330. "closecharge": {
  35331. "description": "平仓手续费(账户)",
  35332. "type": "number"
  35333. },
  35334. "closecharge2": {
  35335. "description": "平仓手续费(商品)",
  35336. "type": "number"
  35337. },
  35338. "closepl": {
  35339. "description": "平仓盈亏(账户)",
  35340. "type": "number"
  35341. },
  35342. "closepl2": {
  35343. "description": "平仓盈亏(商品)",
  35344. "type": "number"
  35345. },
  35346. "closepl3": {
  35347. "description": "平仓盈亏(账户)(逐笔)",
  35348. "type": "number"
  35349. },
  35350. "closepl4": {
  35351. "description": "平仓盈亏(商品)(逐笔)",
  35352. "type": "number"
  35353. },
  35354. "closetype": {
  35355. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  35356. "type": "integer"
  35357. },
  35358. "curexchangerate": {
  35359. "description": "当前汇率",
  35360. "type": "number"
  35361. },
  35362. "decimalplace": {
  35363. "description": "商品报价小数位",
  35364. "type": "integer"
  35365. },
  35366. "exchangefullname": {
  35367. "description": "外部交易所全称",
  35368. "type": "string"
  35369. },
  35370. "goodscode": {
  35371. "description": "商品代码(内部)",
  35372. "type": "string"
  35373. },
  35374. "goodsid": {
  35375. "description": "商品ID",
  35376. "type": "integer"
  35377. },
  35378. "goodsname": {
  35379. "description": "商品名称",
  35380. "type": "string"
  35381. },
  35382. "marketid": {
  35383. "description": "市场ID",
  35384. "type": "integer"
  35385. },
  35386. "opencharge": {
  35387. "description": "建仓手续费(账户)",
  35388. "type": "number"
  35389. },
  35390. "opencharge2": {
  35391. "description": "建仓手续费(商品)",
  35392. "type": "number"
  35393. },
  35394. "orderid": {
  35395. "description": "委托单号",
  35396. "type": "string"
  35397. },
  35398. "orderlogincode": {
  35399. "description": "委托人",
  35400. "type": "string"
  35401. },
  35402. "tradeamount": {
  35403. "description": "成交金额(账户)",
  35404. "type": "number"
  35405. },
  35406. "tradedate": {
  35407. "description": "交易日(yyyyMMdd)",
  35408. "type": "string"
  35409. },
  35410. "tradeid": {
  35411. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35412. "type": "string"
  35413. },
  35414. "tradeprice": {
  35415. "description": "成交价格",
  35416. "type": "number"
  35417. },
  35418. "tradeqty": {
  35419. "description": "成交数量",
  35420. "type": "integer"
  35421. },
  35422. "tradetime": {
  35423. "description": "成交时间",
  35424. "type": "string"
  35425. },
  35426. "tradetype": {
  35427. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  35428. "type": "integer"
  35429. }
  35430. }
  35431. },
  35432. "models.QuotePrimaryMenu": {
  35433. "type": "object",
  35434. "properties": {
  35435. "Index": {
  35436. "description": "序号",
  35437. "type": "integer"
  35438. },
  35439. "Key": {
  35440. "description": "键名",
  35441. "type": "string"
  35442. },
  35443. "Name": {
  35444. "description": "菜单名称",
  35445. "type": "string"
  35446. },
  35447. "SubMenus": {
  35448. "description": "子菜单",
  35449. "type": "array",
  35450. "items": {
  35451. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  35452. }
  35453. },
  35454. "SubTitleType": {
  35455. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  35456. "type": "integer"
  35457. },
  35458. "TradeModes": {
  35459. "description": "包含市场交易类型",
  35460. "type": "string"
  35461. }
  35462. }
  35463. },
  35464. "models.QuoteSecondaryMenu": {
  35465. "type": "object",
  35466. "properties": {
  35467. "ExExchangeCode": {
  35468. "description": "外部交易所代码",
  35469. "type": "string"
  35470. },
  35471. "ExExchangeID": {
  35472. "description": "外部交易所ID",
  35473. "type": "integer"
  35474. },
  35475. "GoodsGroupIDs": {
  35476. "description": "商品组ID列表",
  35477. "type": "array",
  35478. "items": {
  35479. "type": "integer"
  35480. }
  35481. },
  35482. "Index": {
  35483. "description": "序号",
  35484. "type": "integer"
  35485. },
  35486. "MarketID": {
  35487. "description": "市场ID",
  35488. "type": "integer"
  35489. },
  35490. "MenuTitle": {
  35491. "description": "菜单标题(市场名称或外部交易所名称)",
  35492. "type": "string"
  35493. },
  35494. "TradeMode": {
  35495. "description": "交易模式",
  35496. "type": "integer"
  35497. }
  35498. }
  35499. },
  35500. "models.RelatedTaAccount": {
  35501. "type": "object",
  35502. "properties": {
  35503. "accountid": {
  35504. "description": "资金账户ID",
  35505. "type": "integer"
  35506. }
  35507. }
  35508. },
  35509. "models.RoleMenu": {
  35510. "type": "object",
  35511. "properties": {
  35512. "hasright": {
  35513. "description": "是否有权限 0-没有权限 1-有权限",
  35514. "type": "integer"
  35515. },
  35516. "iconame": {
  35517. "description": "菜单图标",
  35518. "type": "string"
  35519. },
  35520. "menutype": {
  35521. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  35522. "type": "integer"
  35523. },
  35524. "parentcode": {
  35525. "description": "上级资源代码",
  35526. "type": "string"
  35527. },
  35528. "remark": {
  35529. "description": "菜单备注",
  35530. "type": "string"
  35531. },
  35532. "resourcecode": {
  35533. "description": "菜单代码",
  35534. "type": "string"
  35535. },
  35536. "resourcelevel": {
  35537. "description": "级别",
  35538. "type": "integer"
  35539. },
  35540. "resourcename": {
  35541. "description": "菜单名称",
  35542. "type": "string"
  35543. },
  35544. "roleid": {
  35545. "description": "角色id",
  35546. "type": "integer"
  35547. },
  35548. "sort": {
  35549. "description": "排序",
  35550. "type": "integer"
  35551. },
  35552. "subMenu": {
  35553. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  35554. "type": "array",
  35555. "items": {
  35556. "$ref": "#/definitions/models.RoleMenu"
  35557. }
  35558. },
  35559. "url": {
  35560. "description": "URL",
  35561. "type": "string"
  35562. },
  35563. "userid": {
  35564. "description": "用户id",
  35565. "type": "integer"
  35566. }
  35567. }
  35568. },
  35569. "models.SearchGoods": {
  35570. "type": "object",
  35571. "required": [
  35572. "goodscode",
  35573. "goodsid",
  35574. "goodsname",
  35575. "marketid",
  35576. "trademode"
  35577. ],
  35578. "properties": {
  35579. "goodscode": {
  35580. "description": "商品代码(内部)",
  35581. "type": "string"
  35582. },
  35583. "goodsid": {
  35584. "description": "商品ID(自增ID SEQ_GOODS)",
  35585. "type": "integer"
  35586. },
  35587. "goodsname": {
  35588. "description": "商品名称",
  35589. "type": "string"
  35590. },
  35591. "marketid": {
  35592. "description": "所属市场ID",
  35593. "type": "integer"
  35594. },
  35595. "marketname": {
  35596. "description": "市场名称",
  35597. "type": "string"
  35598. },
  35599. "trademode": {
  35600. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35601. "type": "integer"
  35602. }
  35603. }
  35604. },
  35605. "models.Systemparam": {
  35606. "type": "object",
  35607. "required": [
  35608. "paramcode"
  35609. ],
  35610. "properties": {
  35611. "loginid": {
  35612. "description": "更新用户账号,登录账号",
  35613. "type": "string"
  35614. },
  35615. "modifyflag": {
  35616. "description": "修改标志0 不允许修改 1 允许修改",
  35617. "type": "integer"
  35618. },
  35619. "paramcode": {
  35620. "description": "参数代码",
  35621. "type": "string"
  35622. },
  35623. "paramname": {
  35624. "description": "参数名",
  35625. "type": "string"
  35626. },
  35627. "paramtype": {
  35628. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  35629. "type": "integer"
  35630. },
  35631. "paramvalue": {
  35632. "description": "参数值",
  35633. "type": "string"
  35634. },
  35635. "paramvalue2": {
  35636. "description": "参数值(CLOB)",
  35637. "type": "string"
  35638. },
  35639. "regexpress": {
  35640. "description": "正则表达式",
  35641. "type": "string"
  35642. },
  35643. "remark": {
  35644. "description": "备注",
  35645. "type": "string"
  35646. },
  35647. "serverip": {
  35648. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  35649. "type": "string"
  35650. },
  35651. "showflag": {
  35652. "description": "是否显示0 不显示 1 显示",
  35653. "type": "integer"
  35654. },
  35655. "updatetime": {
  35656. "description": "更新时间",
  35657. "type": "string"
  35658. },
  35659. "userid": {
  35660. "description": "更新用户ID",
  35661. "type": "integer"
  35662. }
  35663. }
  35664. },
  35665. "models.Szdz3convertconfig": {
  35666. "type": "object",
  35667. "required": [
  35668. "converttype",
  35669. "innergoodsid",
  35670. "outergoodscode"
  35671. ],
  35672. "properties": {
  35673. "canin": {
  35674. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  35675. "type": "integer"
  35676. },
  35677. "canout": {
  35678. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  35679. "type": "integer"
  35680. },
  35681. "converttype": {
  35682. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  35683. "type": "integer"
  35684. },
  35685. "createtime": {
  35686. "description": "创建时间",
  35687. "type": "string"
  35688. },
  35689. "creatorid": {
  35690. "description": "创建人",
  35691. "type": "integer"
  35692. },
  35693. "daymaxvalue": {
  35694. "description": "当日最大转入限制",
  35695. "type": "number"
  35696. },
  35697. "freezedays": {
  35698. "description": "冻结天数 [5:花生米转交易]",
  35699. "type": "integer"
  35700. },
  35701. "innergoodsid": {
  35702. "description": "内部商品ID[交易]",
  35703. "type": "integer"
  35704. },
  35705. "inratio": {
  35706. "description": "目标值",
  35707. "type": "integer"
  35708. },
  35709. "modifierid": {
  35710. "description": "修改人",
  35711. "type": "integer"
  35712. },
  35713. "modifytime": {
  35714. "description": "修改时间",
  35715. "type": "string"
  35716. },
  35717. "outergoodscode": {
  35718. "description": "外部商品代码[JD\\PD]",
  35719. "type": "string"
  35720. },
  35721. "outratio": {
  35722. "description": "源值",
  35723. "type": "integer"
  35724. },
  35725. "pddecimalplace": {
  35726. "description": "PD小数位",
  35727. "type": "integer"
  35728. },
  35729. "timemaxvalue": {
  35730. "description": "单次最大转入限制",
  35731. "type": "number"
  35732. },
  35733. "timeminvalue": {
  35734. "description": "单次最小转入限制",
  35735. "type": "number"
  35736. }
  35737. }
  35738. },
  35739. "models.Szdz3searchwhitelist": {
  35740. "type": "object",
  35741. "required": [
  35742. "userid"
  35743. ],
  35744. "properties": {
  35745. "createtime": {
  35746. "description": "创建时间",
  35747. "type": "string"
  35748. },
  35749. "creatorid": {
  35750. "description": "创建人",
  35751. "type": "integer"
  35752. },
  35753. "modifierid": {
  35754. "description": "修改人",
  35755. "type": "integer"
  35756. },
  35757. "modifytime": {
  35758. "description": "修改时间",
  35759. "type": "string"
  35760. },
  35761. "userid": {
  35762. "description": "用户ID",
  35763. "type": "integer"
  35764. }
  35765. }
  35766. },
  35767. "models.TBGoods": {
  35768. "type": "object",
  35769. "properties": {
  35770. "agreeunit": {
  35771. "description": "合约乘数",
  35772. "type": "number"
  35773. },
  35774. "enumdicname": {
  35775. "description": "单位名称",
  35776. "type": "string"
  35777. },
  35778. "goodscode": {
  35779. "description": "商品代码(内部)",
  35780. "type": "string"
  35781. },
  35782. "goodsid": {
  35783. "description": "商品ID(自增ID SEQ_GOODS)",
  35784. "type": "integer"
  35785. },
  35786. "goodsname": {
  35787. "description": "商品名称",
  35788. "type": "string"
  35789. }
  35790. }
  35791. },
  35792. "models.TBGoodsGroup": {
  35793. "type": "object",
  35794. "properties": {
  35795. "GDLST": {
  35796. "description": "商品列表",
  35797. "type": "array",
  35798. "items": {
  35799. "$ref": "#/definitions/models.TBGoods"
  35800. }
  35801. },
  35802. "convertratio": {
  35803. "description": "折算系数",
  35804. "type": "number"
  35805. },
  35806. "enumdicname": {
  35807. "description": "单位名称",
  35808. "type": "string"
  35809. },
  35810. "exexchangecode": {
  35811. "description": "交易所代码",
  35812. "type": "string"
  35813. },
  35814. "exexchangename": {
  35815. "description": "交易所名称",
  35816. "type": "string"
  35817. },
  35818. "goodsgroupid": {
  35819. "description": "商品组ID(自增ID)",
  35820. "type": "integer"
  35821. },
  35822. "goodsgroupname": {
  35823. "description": "商品组名称",
  35824. "type": "string"
  35825. },
  35826. "goodunitid": {
  35827. "description": "报价单位ID",
  35828. "type": "integer"
  35829. }
  35830. }
  35831. },
  35832. "models.TBMiddleGoods": {
  35833. "type": "object",
  35834. "properties": {
  35835. "GPLST": {
  35836. "description": "期货品种列表",
  35837. "type": "array",
  35838. "items": {
  35839. "$ref": "#/definitions/models.TBGoodsGroup"
  35840. }
  35841. },
  35842. "WDLST": {
  35843. "description": "商品信息列表(现货品类)",
  35844. "type": "array",
  35845. "items": {
  35846. "$ref": "#/definitions/models.TBWrstandard"
  35847. }
  35848. },
  35849. "areauserid": {
  35850. "description": "机构用户ID",
  35851. "type": "integer"
  35852. },
  35853. "enumdicname": {
  35854. "description": "单位名称",
  35855. "type": "string"
  35856. },
  35857. "goodsunitid": {
  35858. "description": "套保品种单位id",
  35859. "type": "integer"
  35860. },
  35861. "middlegoodscode": {
  35862. "description": "套保品种代码",
  35863. "type": "string"
  35864. },
  35865. "middlegoodsid": {
  35866. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  35867. "type": "integer"
  35868. },
  35869. "middlegoodsname": {
  35870. "description": "套保品种名称",
  35871. "type": "string"
  35872. },
  35873. "needarbitrageratio": {
  35874. "description": "套利比率",
  35875. "type": "number"
  35876. },
  35877. "needhedgeratio": {
  35878. "description": "套保比率",
  35879. "type": "number"
  35880. }
  35881. }
  35882. },
  35883. "models.TBWrstandard": {
  35884. "type": "object",
  35885. "properties": {
  35886. "convertratio": {
  35887. "description": "折算系数",
  35888. "type": "number"
  35889. },
  35890. "deliverygoodsname": {
  35891. "description": "品种名称",
  35892. "type": "string"
  35893. },
  35894. "enumdicname": {
  35895. "description": "单位名称",
  35896. "type": "string"
  35897. },
  35898. "vatrate": {
  35899. "description": "增值税率",
  35900. "type": "number"
  35901. },
  35902. "wrstandardcode": {
  35903. "description": "现货商品代码",
  35904. "type": "string"
  35905. },
  35906. "wrstandardid": {
  35907. "description": "现货商品ID(SEQ_WRSTANDARD)",
  35908. "type": "integer"
  35909. },
  35910. "wrstandardname": {
  35911. "description": "现货商品名称",
  35912. "type": "string"
  35913. }
  35914. }
  35915. },
  35916. "models.Taaccount": {
  35917. "type": "object",
  35918. "required": [
  35919. "accountid",
  35920. "userid"
  35921. ],
  35922. "properties": {
  35923. "accountflag": {
  35924. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  35925. "type": "integer"
  35926. },
  35927. "accountid": {
  35928. "description": "资金账户ID",
  35929. "type": "integer"
  35930. },
  35931. "accountname": {
  35932. "description": "账户名称",
  35933. "type": "string"
  35934. },
  35935. "balance": {
  35936. "description": "期初余额",
  35937. "type": "number"
  35938. },
  35939. "capitalbalance": {
  35940. "description": "本金余额[外部子账户实际出入金余额]",
  35941. "type": "number"
  35942. },
  35943. "changeflag": {
  35944. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  35945. "type": "integer"
  35946. },
  35947. "changetime": {
  35948. "description": "账户状态变更时间",
  35949. "type": "string"
  35950. },
  35951. "closepl": {
  35952. "description": "今日平仓盈亏",
  35953. "type": "number"
  35954. },
  35955. "creditdecrease": {
  35956. "description": "今日授信减少",
  35957. "type": "number"
  35958. },
  35959. "creditincrease": {
  35960. "description": "今日授信增加",
  35961. "type": "number"
  35962. },
  35963. "curamount": {
  35964. "description": "总市值(从持仓中统计)",
  35965. "type": "number"
  35966. },
  35967. "currencyid": {
  35968. "description": "货币ID",
  35969. "type": "integer"
  35970. },
  35971. "currentbalance": {
  35972. "description": "期末余额",
  35973. "type": "number"
  35974. },
  35975. "freezecharge": {
  35976. "description": "手续费冻结",
  35977. "type": "number"
  35978. },
  35979. "freezemargin": {
  35980. "description": "冻结保证金",
  35981. "type": "number"
  35982. },
  35983. "fromaccountid": {
  35984. "description": "所属上级账户",
  35985. "type": "integer"
  35986. },
  35987. "inamount": {
  35988. "description": "今日入金金额(包括三方入金)",
  35989. "type": "number"
  35990. },
  35991. "ismain": {
  35992. "description": "是否母账号 0:不是母账户 1:是母账户",
  35993. "type": "integer"
  35994. },
  35995. "ismarketaccount": {
  35996. "description": "是否机构接单账号 0:不是 1:是",
  35997. "type": "integer"
  35998. },
  35999. "isreckonaccount": {
  36000. "description": "是否机构分润账号 0:不是 1:是",
  36001. "type": "integer"
  36002. },
  36003. "mortgagecredit": {
  36004. "description": "授信金额",
  36005. "type": "number"
  36006. },
  36007. "orifreezecharge": {
  36008. "description": "期初手续费冻结",
  36009. "type": "number"
  36010. },
  36011. "orifreezemargin": {
  36012. "description": "期初冻结保证金",
  36013. "type": "number"
  36014. },
  36015. "orimortgagecredit": {
  36016. "description": "期初授信金额",
  36017. "type": "number"
  36018. },
  36019. "oriothercredit": {
  36020. "description": "期初其它授信金额",
  36021. "type": "number"
  36022. },
  36023. "oriotherfreezemargin": {
  36024. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  36025. "type": "number"
  36026. },
  36027. "orioutamountfreeze": {
  36028. "description": "期初出金冻结",
  36029. "type": "number"
  36030. },
  36031. "oriusedmargin": {
  36032. "description": "期初占用保证金",
  36033. "type": "number"
  36034. },
  36035. "othercredit": {
  36036. "description": "其它授信金额",
  36037. "type": "number"
  36038. },
  36039. "othercreditdecrease": {
  36040. "description": "今日其它授信减少",
  36041. "type": "number"
  36042. },
  36043. "othercreditincrease": {
  36044. "description": "今日其它授信增加",
  36045. "type": "number"
  36046. },
  36047. "otherfreezemargin": {
  36048. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  36049. "type": "number"
  36050. },
  36051. "otherincome": {
  36052. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  36053. "type": "number"
  36054. },
  36055. "otherpay": {
  36056. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  36057. "type": "number"
  36058. },
  36059. "outamount": {
  36060. "description": "今日出金金额(包括三方出金)",
  36061. "type": "number"
  36062. },
  36063. "outamountfreeze": {
  36064. "description": "出金冻结",
  36065. "type": "number"
  36066. },
  36067. "outthreshold": {
  36068. "description": "出金阈值",
  36069. "type": "number"
  36070. },
  36071. "parentaccountid": {
  36072. "description": "所属根账号",
  36073. "type": "integer"
  36074. },
  36075. "paycharge": {
  36076. "description": "今日手续费支出",
  36077. "type": "number"
  36078. },
  36079. "relatedaccountstatus": {
  36080. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  36081. "type": "integer"
  36082. },
  36083. "relateduserid": {
  36084. "description": "关联用户",
  36085. "type": "integer"
  36086. },
  36087. "remainamount": {
  36088. "description": "融资额(从融资合同中统计)",
  36089. "type": "number"
  36090. },
  36091. "serivcegroup": {
  36092. "description": "服务分组",
  36093. "type": "integer"
  36094. },
  36095. "signstatus": {
  36096. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  36097. "type": "integer"
  36098. },
  36099. "sublevelpath": {
  36100. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  36101. "type": "string"
  36102. },
  36103. "taaccounttype": {
  36104. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  36105. "type": "integer"
  36106. },
  36107. "thirdinamount": {
  36108. "description": "今日三方入金",
  36109. "type": "number"
  36110. },
  36111. "thirdoutamount": {
  36112. "description": "今日三方出金",
  36113. "type": "number"
  36114. },
  36115. "tradestatus": {
  36116. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  36117. "type": "integer"
  36118. },
  36119. "tradestatuschangetime": {
  36120. "description": "激活时间",
  36121. "type": "string"
  36122. },
  36123. "transferamount": {
  36124. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  36125. "type": "number"
  36126. },
  36127. "usedmargin": {
  36128. "description": "占用保证金",
  36129. "type": "number"
  36130. },
  36131. "userid": {
  36132. "description": "用户ID",
  36133. "type": "integer"
  36134. }
  36135. }
  36136. },
  36137. "models.Tablecolumnconfig": {
  36138. "type": "object",
  36139. "required": [
  36140. "autoid"
  36141. ],
  36142. "properties": {
  36143. "aligntype": {
  36144. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  36145. "type": "integer"
  36146. },
  36147. "autoid": {
  36148. "description": "AutoID",
  36149. "type": "integer"
  36150. },
  36151. "columnfield": {
  36152. "description": "列字段",
  36153. "type": "string"
  36154. },
  36155. "columntitle": {
  36156. "description": "列Title",
  36157. "type": "string"
  36158. },
  36159. "columnwidth": {
  36160. "description": "列宽",
  36161. "type": "string"
  36162. },
  36163. "formatterstring": {
  36164. "description": "格式化字符",
  36165. "type": "string"
  36166. },
  36167. "formattertype": {
  36168. "description": "格式化类型",
  36169. "type": "string"
  36170. },
  36171. "groupname": {
  36172. "description": "表头分组名称",
  36173. "type": "string"
  36174. },
  36175. "isshow": {
  36176. "description": "是否显示 - 0:不显示 1:显示",
  36177. "type": "integer"
  36178. },
  36179. "needsummary": {
  36180. "description": "是否需要汇总 - 0:不需要 1:需要",
  36181. "type": "integer"
  36182. },
  36183. "orderindex": {
  36184. "description": "顺序",
  36185. "type": "integer"
  36186. },
  36187. "remark": {
  36188. "description": "备注",
  36189. "type": "string"
  36190. },
  36191. "summarytype": {
  36192. "description": "汇总类型 - 1:加总 2:最后一个",
  36193. "type": "integer"
  36194. },
  36195. "tablekey": {
  36196. "description": "列表Key",
  36197. "type": "string"
  36198. }
  36199. }
  36200. },
  36201. "models.TjmdHolderDetailTradeInfo": {
  36202. "type": "object",
  36203. "properties": {
  36204. "agreeunit": {
  36205. "description": "合约乘数",
  36206. "type": "number"
  36207. },
  36208. "buyaccountid": {
  36209. "description": "买方账户",
  36210. "type": "string"
  36211. },
  36212. "buyusername": {
  36213. "description": "买方",
  36214. "type": "string"
  36215. },
  36216. "delistingdate": {
  36217. "description": "最后结算日",
  36218. "type": "string"
  36219. },
  36220. "expiredate": {
  36221. "description": "到期结算价定价日",
  36222. "type": "string"
  36223. },
  36224. "exprieprice": {
  36225. "description": "到期清算价格",
  36226. "type": "string"
  36227. },
  36228. "goodscode": {
  36229. "description": "商品代码",
  36230. "type": "string"
  36231. },
  36232. "goodsid": {
  36233. "description": "商品ID",
  36234. "type": "integer"
  36235. },
  36236. "goodsname": {
  36237. "description": "商品名称(交易标的)",
  36238. "type": "string"
  36239. },
  36240. "lasttradedate": {
  36241. "description": "最后交易日",
  36242. "type": "string"
  36243. },
  36244. "listingdate": {
  36245. "description": "开始交易日",
  36246. "type": "string"
  36247. },
  36248. "openprice": {
  36249. "description": "成交价",
  36250. "type": "number"
  36251. },
  36252. "openqty": {
  36253. "description": "交易数量",
  36254. "type": "integer"
  36255. },
  36256. "sellaccountid": {
  36257. "description": "卖方账户",
  36258. "type": "string"
  36259. },
  36260. "sellusername": {
  36261. "description": "卖方",
  36262. "type": "string"
  36263. },
  36264. "tradeamount": {
  36265. "description": "初始名义价值",
  36266. "type": "number"
  36267. },
  36268. "tradedate": {
  36269. "description": "成交日期",
  36270. "type": "string"
  36271. },
  36272. "tradeid": {
  36273. "description": "成交编号",
  36274. "type": "string"
  36275. }
  36276. }
  36277. },
  36278. "models.TjmdMarketSection": {
  36279. "type": "object",
  36280. "properties": {
  36281. "marketsectionid": {
  36282. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36283. "type": "integer"
  36284. },
  36285. "marketsectionname": {
  36286. "description": "市场版块名称",
  36287. "type": "string"
  36288. },
  36289. "mlist": {
  36290. "description": "市场列表(板块下面有多少个市场)",
  36291. "type": "array",
  36292. "items": {
  36293. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  36294. }
  36295. },
  36296. "orderindex": {
  36297. "description": "排序",
  36298. "type": "integer"
  36299. },
  36300. "pictureurl": {
  36301. "description": "图片url, 规格(90*90)",
  36302. "type": "string"
  36303. },
  36304. "remark": {
  36305. "description": "备注",
  36306. "type": "string"
  36307. }
  36308. }
  36309. },
  36310. "models.TjmdMarketSectionConfig": {
  36311. "type": "object",
  36312. "properties": {
  36313. "auctionwrtype": {
  36314. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  36315. "type": "integer"
  36316. },
  36317. "canacceptquote": {
  36318. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  36319. "type": "integer"
  36320. },
  36321. "cangoodsexercise": {
  36322. "description": "[期权]是否可现货行权- 0:否 1:是",
  36323. "type": "integer"
  36324. },
  36325. "cangoodsexercisetype": {
  36326. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  36327. "type": "integer"
  36328. },
  36329. "canmanualquotestrike": {
  36330. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  36331. "type": "integer"
  36332. },
  36333. "canmutistage": {
  36334. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  36335. "type": "integer"
  36336. },
  36337. "canpreexercise": {
  36338. "description": "[期权]是否可预申报- 0:否 1:是",
  36339. "type": "integer"
  36340. },
  36341. "clearinterval": {
  36342. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  36343. "type": "integer"
  36344. },
  36345. "contracttmp": {
  36346. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  36347. "type": "string"
  36348. },
  36349. "exchareaid": {
  36350. "description": "所属交易所,可以没有",
  36351. "type": "integer"
  36352. },
  36353. "financemarketid": {
  36354. "description": "融资回购市场ID [仓单贸易]",
  36355. "type": "integer"
  36356. },
  36357. "goodstype": {
  36358. "description": "商品类型 - 1:交易商品 2:仓单商品",
  36359. "type": "integer"
  36360. },
  36361. "hasrebate": {
  36362. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  36363. "type": "integer"
  36364. },
  36365. "hastradecredit": {
  36366. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  36367. "type": "integer"
  36368. },
  36369. "haswr": {
  36370. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  36371. "type": "integer"
  36372. },
  36373. "isdeductmargin": {
  36374. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  36375. "type": "integer"
  36376. },
  36377. "isrecordsource": {
  36378. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  36379. "type": "integer"
  36380. },
  36381. "isreleasemargin": {
  36382. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  36383. "type": "integer"
  36384. },
  36385. "isupdatereckonprice": {
  36386. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  36387. "type": "integer"
  36388. },
  36389. "listingmode": {
  36390. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36391. "type": "integer"
  36392. },
  36393. "marginformula": {
  36394. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36395. "type": "integer"
  36396. },
  36397. "marginformula2": {
  36398. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  36399. "type": "integer"
  36400. },
  36401. "marketid": {
  36402. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  36403. "type": "integer"
  36404. },
  36405. "marketname": {
  36406. "description": "市场名称",
  36407. "type": "string"
  36408. },
  36409. "marketsectionid": {
  36410. "description": "市场版块ID(SEQ_MARKETSECTION)",
  36411. "type": "integer"
  36412. },
  36413. "marketserviceid": {
  36414. "description": "市场服务ID",
  36415. "type": "integer"
  36416. },
  36417. "marketstatus": {
  36418. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  36419. "type": "integer"
  36420. },
  36421. "markettype": {
  36422. "description": "市场类型- 1:非交易服务 2:交易服务",
  36423. "type": "integer"
  36424. },
  36425. "matchermode": {
  36426. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  36427. "type": "integer"
  36428. },
  36429. "nowrquotaflag": {
  36430. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  36431. "type": "integer"
  36432. },
  36433. "openmethod": {
  36434. "description": "开盘模式 - 0 自动 1手动",
  36435. "type": "integer"
  36436. },
  36437. "orderindex": {
  36438. "description": "排序",
  36439. "type": "integer"
  36440. },
  36441. "otcuserid": {
  36442. "description": "场外期权做市商[场外期权]",
  36443. "type": "integer"
  36444. },
  36445. "outersynctime": {
  36446. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  36447. "type": "string"
  36448. },
  36449. "paylaterflag": {
  36450. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  36451. "type": "integer"
  36452. },
  36453. "pendingflag": {
  36454. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  36455. "type": "integer"
  36456. },
  36457. "pendingtime": {
  36458. "description": "待开市时间[通道交易-对冲](HH:mm)",
  36459. "type": "string"
  36460. },
  36461. "performancetempid": {
  36462. "description": "履约计划模板ID - 作废",
  36463. "type": "integer"
  36464. },
  36465. "premiumquotemode": {
  36466. "description": "权利金报价方式 - 1:自动 2:手动",
  36467. "type": "integer"
  36468. },
  36469. "rebateratio": {
  36470. "description": "返利比率[竞价式]",
  36471. "type": "number"
  36472. },
  36473. "reckonorder": {
  36474. "description": "结算顺序",
  36475. "type": "integer"
  36476. },
  36477. "reckonpricealgorithm": {
  36478. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  36479. "type": "integer"
  36480. },
  36481. "reckonpriceparam": {
  36482. "description": "结算价参数",
  36483. "type": "integer"
  36484. },
  36485. "reckontime": {
  36486. "description": "结算时间[通道交易-对冲](HH:mm)",
  36487. "type": "string"
  36488. },
  36489. "roleprioritytype": {
  36490. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  36491. "type": "integer"
  36492. },
  36493. "selllistingauditflag": {
  36494. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  36495. "type": "integer"
  36496. },
  36497. "trademarkettype": {
  36498. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  36499. "type": "integer"
  36500. },
  36501. "trademode": {
  36502. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36503. "type": "integer"
  36504. },
  36505. "tradeproperty": {
  36506. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  36507. "type": "integer"
  36508. },
  36509. "tradetype": {
  36510. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  36511. "type": "integer"
  36512. },
  36513. "updatereckonpriceinterval": {
  36514. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  36515. "type": "integer"
  36516. }
  36517. }
  36518. },
  36519. "models.TjmdQuoteGoods": {
  36520. "type": "object",
  36521. "properties": {
  36522. "buyqty": {
  36523. "description": "买量(暂不做, 无值, 保留字段)",
  36524. "type": "number"
  36525. },
  36526. "decimalplace": {
  36527. "description": "报价小数位",
  36528. "type": "integer"
  36529. },
  36530. "goodscode": {
  36531. "description": "合约代码",
  36532. "type": "string"
  36533. },
  36534. "goodsgroupid": {
  36535. "description": "商品组ID(自增ID)",
  36536. "type": "integer"
  36537. },
  36538. "goodsgroupname": {
  36539. "description": "商品组名称",
  36540. "type": "string"
  36541. },
  36542. "goodsid": {
  36543. "description": "合约id",
  36544. "type": "integer"
  36545. },
  36546. "goodsname": {
  36547. "description": "合约名称",
  36548. "type": "string"
  36549. },
  36550. "refgoodscode": {
  36551. "description": "标的合约代码",
  36552. "type": "string"
  36553. },
  36554. "refgoodsid": {
  36555. "description": "标的合约id",
  36556. "type": "integer"
  36557. },
  36558. "refgoodsname": {
  36559. "description": "标的合约名称",
  36560. "type": "string"
  36561. },
  36562. "sellqty": {
  36563. "description": "卖量(暂不做, 无值, 保留字段)",
  36564. "type": "number"
  36565. }
  36566. }
  36567. },
  36568. "models.TjmdTodayAccountMargin": {
  36569. "type": "object",
  36570. "properties": {
  36571. "accountid": {
  36572. "description": "账号ID",
  36573. "type": "integer"
  36574. },
  36575. "goodsid": {
  36576. "description": "商品ID",
  36577. "type": "integer"
  36578. },
  36579. "infoc": {
  36580. "description": "配置参数",
  36581. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  36582. },
  36583. "marketid": {
  36584. "description": "市场ID",
  36585. "type": "integer"
  36586. }
  36587. }
  36588. },
  36589. "models.TjmdTradeOrderDetail": {
  36590. "type": "object",
  36591. "properties": {
  36592. "buyorsell": {
  36593. "description": "买卖方向 0-买 1-卖",
  36594. "type": "integer"
  36595. },
  36596. "goodsid": {
  36597. "description": "商品id",
  36598. "type": "integer"
  36599. },
  36600. "marketmaxsub": {
  36601. "description": "市价最大偏移范围 [浮动价 - 点差]",
  36602. "type": "number"
  36603. },
  36604. "orderid": {
  36605. "description": "委托单号",
  36606. "type": "string"
  36607. },
  36608. "orderprice": {
  36609. "description": "委托价格",
  36610. "type": "number"
  36611. },
  36612. "orderqty": {
  36613. "description": "委托数量",
  36614. "type": "integer"
  36615. },
  36616. "pricemode": {
  36617. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  36618. "type": "integer"
  36619. },
  36620. "userid": {
  36621. "description": "用户id",
  36622. "type": "integer"
  36623. },
  36624. "username": {
  36625. "description": "用户名称(已脱敏)",
  36626. "type": "string"
  36627. }
  36628. }
  36629. },
  36630. "models.TjmdTransferApply": {
  36631. "type": "object",
  36632. "properties": {
  36633. "applyid": {
  36634. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  36635. "type": "integer"
  36636. },
  36637. "applystatus": {
  36638. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  36639. "type": "integer"
  36640. },
  36641. "applytime": {
  36642. "description": "申请时间(时间)",
  36643. "type": "string"
  36644. },
  36645. "auditremark": {
  36646. "description": "审核备注(拒绝原因?)",
  36647. "type": "string"
  36648. },
  36649. "begindate": {
  36650. "description": "开始交易日(yyyymmdd)",
  36651. "type": "string"
  36652. },
  36653. "buyorsell": {
  36654. "description": "买卖 - 0:买 1:卖",
  36655. "type": "integer"
  36656. },
  36657. "enddate": {
  36658. "description": "结束交易日(yyyymmdd)",
  36659. "type": "string"
  36660. },
  36661. "goodscode": {
  36662. "description": "商品代码",
  36663. "type": "string"
  36664. },
  36665. "goodsid": {
  36666. "description": "商品ID",
  36667. "type": "integer"
  36668. },
  36669. "goodsname": {
  36670. "description": "商品名称",
  36671. "type": "string"
  36672. },
  36673. "marketid": {
  36674. "description": "市场ID",
  36675. "type": "integer"
  36676. },
  36677. "qty": {
  36678. "description": "转让数量(数量)",
  36679. "type": "number"
  36680. },
  36681. "tradeid": {
  36682. "description": "成交单号(关联持仓)",
  36683. "type": "string"
  36684. },
  36685. "transferamount": {
  36686. "description": "转让总金额(金额)",
  36687. "type": "number"
  36688. },
  36689. "transferprice": {
  36690. "description": "转让价格(协议价格)",
  36691. "type": "number"
  36692. }
  36693. }
  36694. },
  36695. "models.TradeHolderDetail": {
  36696. "type": "object",
  36697. "properties": {
  36698. "accountid": {
  36699. "description": "账号ID",
  36700. "type": "integer"
  36701. },
  36702. "agreeunit": {
  36703. "description": "合约乘数",
  36704. "type": "number"
  36705. },
  36706. "buyorsell": {
  36707. "description": "方向 - 0:买 1:卖",
  36708. "type": "integer"
  36709. },
  36710. "currencyid": {
  36711. "description": "商品币种id",
  36712. "type": "integer"
  36713. },
  36714. "currencyname": {
  36715. "description": "币种名称",
  36716. "type": "string"
  36717. },
  36718. "decimalplace": {
  36719. "description": "商品价格小数位",
  36720. "type": "integer"
  36721. },
  36722. "enumdicname": {
  36723. "description": "商品单位名称",
  36724. "type": "string"
  36725. },
  36726. "expirecycle": {
  36727. "description": "行权周期(天) - 1:滚动行权时填写",
  36728. "type": "integer"
  36729. },
  36730. "expiredate": {
  36731. "description": "行权日(yyyyMMdd) - 到期日",
  36732. "type": "string"
  36733. },
  36734. "expiretype": {
  36735. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  36736. "type": "integer"
  36737. },
  36738. "freezeqty": {
  36739. "description": "冻结数量",
  36740. "type": "number"
  36741. },
  36742. "goodscode": {
  36743. "description": "商品代码",
  36744. "type": "string"
  36745. },
  36746. "goodsid": {
  36747. "description": "商品ID",
  36748. "type": "integer"
  36749. },
  36750. "goodsname": {
  36751. "description": "商品名称",
  36752. "type": "string"
  36753. },
  36754. "goodunitid": {
  36755. "description": "商品单位id",
  36756. "type": "integer"
  36757. },
  36758. "holderamount": {
  36759. "description": "持仓金额",
  36760. "type": "number"
  36761. },
  36762. "holdercredit": {
  36763. "description": "持仓授信金额",
  36764. "type": "number"
  36765. },
  36766. "holderdays": {
  36767. "description": "剩余冻结天数",
  36768. "type": "integer"
  36769. },
  36770. "holderprice": {
  36771. "description": "持仓价格",
  36772. "type": "number"
  36773. },
  36774. "holderqty": {
  36775. "description": "持仓数量",
  36776. "type": "number"
  36777. },
  36778. "isconfirmexercise": {
  36779. "description": "是否确认行权- 0:否 1:是",
  36780. "type": "integer"
  36781. },
  36782. "ispreexercise": {
  36783. "description": "是否预申报- 0:否 1:是 2:不可行权",
  36784. "type": "integer"
  36785. },
  36786. "marketid": {
  36787. "description": "市场id",
  36788. "type": "integer"
  36789. },
  36790. "marketname": {
  36791. "description": "市场名称",
  36792. "type": "string"
  36793. },
  36794. "openprice": {
  36795. "description": "建仓价格",
  36796. "type": "number"
  36797. },
  36798. "openqty": {
  36799. "description": "建仓数量",
  36800. "type": "number"
  36801. },
  36802. "optiontype": {
  36803. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  36804. "type": "integer"
  36805. },
  36806. "preexerciseprice": {
  36807. "description": "预申报价格",
  36808. "type": "number"
  36809. },
  36810. "premium": {
  36811. "description": "权利金",
  36812. "type": "number"
  36813. },
  36814. "qtydecimalplace": {
  36815. "description": "商品成交量小数位",
  36816. "type": "integer"
  36817. },
  36818. "refgoodscode": {
  36819. "description": "标的合约代码",
  36820. "type": "string"
  36821. },
  36822. "refgoodsid": {
  36823. "description": "标的合约id",
  36824. "type": "integer"
  36825. },
  36826. "releaseamount": {
  36827. "description": "释放持仓金额",
  36828. "type": "number"
  36829. },
  36830. "releaseholdercredit": {
  36831. "description": "释放持仓授信金额",
  36832. "type": "number"
  36833. },
  36834. "taname": {
  36835. "description": "资金账号名称",
  36836. "type": "string"
  36837. },
  36838. "tradeamount": {
  36839. "description": "成交金额",
  36840. "type": "number"
  36841. },
  36842. "tradedate": {
  36843. "description": "交易日(yyyyMMdd)",
  36844. "type": "string"
  36845. },
  36846. "tradeid": {
  36847. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36848. "type": "string"
  36849. },
  36850. "trademode": {
  36851. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  36852. "type": "integer"
  36853. },
  36854. "tradeproperty": {
  36855. "description": "交易属性",
  36856. "type": "integer"
  36857. },
  36858. "tradetime": {
  36859. "description": "交易时间",
  36860. "type": "string"
  36861. },
  36862. "userid": {
  36863. "description": "用户id",
  36864. "type": "integer"
  36865. },
  36866. "username": {
  36867. "description": "用户名称",
  36868. "type": "string"
  36869. }
  36870. }
  36871. },
  36872. "models.Unlinkermcphedgeplan": {
  36873. "type": "object",
  36874. "required": [
  36875. "areauserid"
  36876. ],
  36877. "properties": {
  36878. "accountid": {
  36879. "description": "期货账户ID - 作废",
  36880. "type": "integer"
  36881. },
  36882. "accountname": {
  36883. "description": "交易用户",
  36884. "type": "string"
  36885. },
  36886. "applyid": {
  36887. "description": "申请人",
  36888. "type": "integer"
  36889. },
  36890. "applysrc": {
  36891. "description": "申请来源 - 1:管理端 2:终端",
  36892. "type": "integer"
  36893. },
  36894. "applytime": {
  36895. "description": "申请时间",
  36896. "type": "string"
  36897. },
  36898. "areauserid": {
  36899. "description": "[企业ID]机构ID",
  36900. "type": "integer"
  36901. },
  36902. "auditid": {
  36903. "description": "审核人",
  36904. "type": "integer"
  36905. },
  36906. "auditremark": {
  36907. "description": "审核备注",
  36908. "type": "string"
  36909. },
  36910. "auditsrc": {
  36911. "description": "审核来源 - 1:管理端 2:终端",
  36912. "type": "integer"
  36913. },
  36914. "audittime": {
  36915. "description": "审核时间",
  36916. "type": "string"
  36917. },
  36918. "audittradedate": {
  36919. "description": "审核交易日(yyyyMMdd)",
  36920. "type": "string"
  36921. },
  36922. "biztype": {
  36923. "description": "业务类型 - 1:套保",
  36924. "type": "integer"
  36925. },
  36926. "contracttype": {
  36927. "description": "计划类型 - 1:采购 -1:销售",
  36928. "type": "integer"
  36929. },
  36930. "convertfactor": {
  36931. "description": "标仓系数 - 作废",
  36932. "type": "number"
  36933. },
  36934. "createtime": {
  36935. "description": "创建时间",
  36936. "type": "string"
  36937. },
  36938. "currencyid": {
  36939. "description": "结算币种ID - 作废",
  36940. "type": "integer"
  36941. },
  36942. "deliverygoodsid": {
  36943. "description": "现货品种ID",
  36944. "type": "integer"
  36945. },
  36946. "enumdicname": {
  36947. "description": "结算币种",
  36948. "type": "string"
  36949. },
  36950. "hedgeplanid": {
  36951. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  36952. "type": "integer"
  36953. },
  36954. "hedgeplanno": {
  36955. "description": "[计划编号]套保计划编号,模糊查询",
  36956. "type": "string"
  36957. },
  36958. "hedgeplanstatus": {
  36959. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  36960. "type": "integer"
  36961. },
  36962. "isrelated": {
  36963. "description": "是否已关联计划项目 - 0:否 1:是",
  36964. "type": "integer"
  36965. },
  36966. "planqty": {
  36967. "description": "[计划量]计划数量",
  36968. "type": "number"
  36969. },
  36970. "plantime": {
  36971. "description": "计划时间",
  36972. "type": "string"
  36973. },
  36974. "producttype": {
  36975. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  36976. "type": "integer"
  36977. },
  36978. "remark": {
  36979. "description": "备注",
  36980. "type": "string"
  36981. },
  36982. "spotgoodsdesc": {
  36983. "description": "商品型号",
  36984. "type": "string"
  36985. },
  36986. "tradedate": {
  36987. "description": "交易日(yyyyMMdd)",
  36988. "type": "string"
  36989. },
  36990. "tradeuserid": {
  36991. "description": "交易用户ID",
  36992. "type": "integer"
  36993. },
  36994. "updatetime": {
  36995. "description": "更新时间",
  36996. "type": "string"
  36997. },
  36998. "wrstandardid": {
  36999. "description": "现货商品ID",
  37000. "type": "integer"
  37001. },
  37002. "wrstandardname": {
  37003. "description": "现货商品,模糊查询",
  37004. "type": "string"
  37005. }
  37006. }
  37007. },
  37008. "models.UserCollectConfig": {
  37009. "type": "object",
  37010. "properties": {
  37011. "accountstatus": {
  37012. "description": "账户状态 - 1:正常 2:停用 3:注销",
  37013. "type": "integer"
  37014. },
  37015. "collectaccountname": {
  37016. "description": "收款人账户名称",
  37017. "type": "string"
  37018. },
  37019. "collectaccountno": {
  37020. "description": "收款人账户",
  37021. "type": "string"
  37022. },
  37023. "collectbankname": {
  37024. "description": "收款人开户行",
  37025. "type": "string"
  37026. },
  37027. "collectbranchbankname": {
  37028. "description": "收款人开户支行",
  37029. "type": "string"
  37030. },
  37031. "collectconfigid": {
  37032. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  37033. "type": "string"
  37034. },
  37035. "remark": {
  37036. "description": "备注",
  37037. "type": "string"
  37038. },
  37039. "userid": {
  37040. "description": "收款人用户ID",
  37041. "type": "integer"
  37042. }
  37043. }
  37044. },
  37045. "models.UserReceiveInfo": {
  37046. "type": "object",
  37047. "properties": {
  37048. "address": {
  37049. "description": "提货人详细地址",
  37050. "type": "string"
  37051. },
  37052. "autoid": {
  37053. "description": "AutoID",
  37054. "type": "integer"
  37055. },
  37056. "cardnum": {
  37057. "description": "证件号码(加密存储)",
  37058. "type": "string"
  37059. },
  37060. "cardtypeid": {
  37061. "description": "证件类型",
  37062. "type": "integer"
  37063. },
  37064. "cityid": {
  37065. "description": "市",
  37066. "type": "integer"
  37067. },
  37068. "cityname": {
  37069. "description": "城市名称",
  37070. "type": "string"
  37071. },
  37072. "countryid": {
  37073. "description": "国家",
  37074. "type": "integer"
  37075. },
  37076. "countryname": {
  37077. "description": "国家名称",
  37078. "type": "string"
  37079. },
  37080. "districtid": {
  37081. "description": "地区",
  37082. "type": "integer"
  37083. },
  37084. "districtname": {
  37085. "description": "地区名称",
  37086. "type": "string"
  37087. },
  37088. "hasencrypt": {
  37089. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37090. "type": "integer"
  37091. },
  37092. "isdefault": {
  37093. "description": "是否默认地址 - 0:否 1:是",
  37094. "type": "integer"
  37095. },
  37096. "phonenum": {
  37097. "description": "提货人联系方式(加密存储)",
  37098. "type": "string"
  37099. },
  37100. "provinceid": {
  37101. "description": "省",
  37102. "type": "integer"
  37103. },
  37104. "provincename": {
  37105. "description": "省名称",
  37106. "type": "string"
  37107. },
  37108. "receivername": {
  37109. "description": "提货人姓名",
  37110. "type": "string"
  37111. },
  37112. "takeremark": {
  37113. "description": "提货备注",
  37114. "type": "string"
  37115. },
  37116. "userid": {
  37117. "description": "用户ID",
  37118. "type": "integer"
  37119. }
  37120. }
  37121. },
  37122. "models.Useraccount": {
  37123. "type": "object",
  37124. "required": [
  37125. "userid"
  37126. ],
  37127. "properties": {
  37128. "accountname": {
  37129. "description": "账户名称(机构名称)",
  37130. "type": "string"
  37131. },
  37132. "accountstatus": {
  37133. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37134. "type": "integer"
  37135. },
  37136. "applysrc": {
  37137. "description": "申请来源 - 1:管理端 2:终端",
  37138. "type": "integer"
  37139. },
  37140. "auditremark": {
  37141. "description": "审核备注",
  37142. "type": "string"
  37143. },
  37144. "auditsrc": {
  37145. "description": "审核来源 - 1:管理端 2:终端",
  37146. "type": "integer"
  37147. },
  37148. "audittime": {
  37149. "description": "审核时间",
  37150. "type": "string"
  37151. },
  37152. "audituserid": {
  37153. "description": "审核人",
  37154. "type": "integer"
  37155. },
  37156. "broker": {
  37157. "description": "所属经纪人ID",
  37158. "type": "integer"
  37159. },
  37160. "canceltime": {
  37161. "description": "销户时间",
  37162. "type": "string"
  37163. },
  37164. "canceluserid": {
  37165. "description": "销户人",
  37166. "type": "integer"
  37167. },
  37168. "canrecommend": {
  37169. "description": "是否可推荐 - 0:不可 1;可",
  37170. "type": "integer"
  37171. },
  37172. "createtime": {
  37173. "description": "创建时间",
  37174. "type": "string"
  37175. },
  37176. "creatorid": {
  37177. "description": "创建人",
  37178. "type": "integer"
  37179. },
  37180. "hasauth": {
  37181. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  37182. "type": "integer"
  37183. },
  37184. "isanonymous": {
  37185. "description": "是否匿名下单 - 0:否 1:是",
  37186. "type": "integer"
  37187. },
  37188. "maxinvestornum": {
  37189. "description": "最大用户数(经纪会员下投资者个数)",
  37190. "type": "integer"
  37191. },
  37192. "memberuserid": {
  37193. "description": "所属会员ID",
  37194. "type": "integer"
  37195. },
  37196. "modifierid": {
  37197. "description": "修改人",
  37198. "type": "integer"
  37199. },
  37200. "modifyremark": {
  37201. "description": "变更备注",
  37202. "type": "string"
  37203. },
  37204. "modifystatus": {
  37205. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  37206. "type": "integer"
  37207. },
  37208. "modifytime": {
  37209. "description": "修改时间",
  37210. "type": "string"
  37211. },
  37212. "parenttopuser": {
  37213. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37214. "type": "string"
  37215. },
  37216. "parentuserid": {
  37217. "description": "所属机构ID",
  37218. "type": "integer"
  37219. },
  37220. "reckonaccountid": {
  37221. "description": "默认结算资金账号ID(机构分润使用) 作废",
  37222. "type": "integer"
  37223. },
  37224. "refercount": {
  37225. "description": "推荐总人数",
  37226. "type": "integer"
  37227. },
  37228. "refereeuserid": {
  37229. "description": "推荐人ID",
  37230. "type": "integer"
  37231. },
  37232. "refernum": {
  37233. "description": "推荐码",
  37234. "type": "string"
  37235. },
  37236. "rootuserid": {
  37237. "description": "根用户ID",
  37238. "type": "integer"
  37239. },
  37240. "subaccountlevel": {
  37241. "description": "子账户层数",
  37242. "type": "integer"
  37243. },
  37244. "subarealevelpath": {
  37245. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37246. "type": "string"
  37247. },
  37248. "userid": {
  37249. "description": "用户ID",
  37250. "type": "integer"
  37251. },
  37252. "usertype": {
  37253. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37254. "type": "integer"
  37255. }
  37256. }
  37257. },
  37258. "models.Userfavoritegoods": {
  37259. "type": "object",
  37260. "required": [
  37261. "goodsid"
  37262. ],
  37263. "properties": {
  37264. "goodsid": {
  37265. "description": "商品ID",
  37266. "type": "integer"
  37267. }
  37268. }
  37269. },
  37270. "models.Userinfo": {
  37271. "type": "object",
  37272. "required": [
  37273. "userid"
  37274. ],
  37275. "properties": {
  37276. "address": {
  37277. "description": "地址",
  37278. "type": "string"
  37279. },
  37280. "attachment1": {
  37281. "description": "附件1",
  37282. "type": "string"
  37283. },
  37284. "attachment2": {
  37285. "description": "附件2",
  37286. "type": "string"
  37287. },
  37288. "bankaccount": {
  37289. "description": "银行帐号 (加密存储)",
  37290. "type": "string"
  37291. },
  37292. "bankaccountname": {
  37293. "description": "收款人名称",
  37294. "type": "string"
  37295. },
  37296. "bankcardfrontphotourl": {
  37297. "description": "银行卡正面照地址",
  37298. "type": "string"
  37299. },
  37300. "bankid": {
  37301. "description": "银行编码",
  37302. "type": "string"
  37303. },
  37304. "bankname": {
  37305. "description": "银行名称",
  37306. "type": "string"
  37307. },
  37308. "biznature": {
  37309. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  37310. "type": "integer"
  37311. },
  37312. "bizscope": {
  37313. "description": "企业经营范围(企业)",
  37314. "type": "string"
  37315. },
  37316. "cardbackphotourl": {
  37317. "description": "证件背面图片地址",
  37318. "type": "string"
  37319. },
  37320. "cardfrontphotourl": {
  37321. "description": "证件正面图片地址",
  37322. "type": "string"
  37323. },
  37324. "cardnum": {
  37325. "description": "证件号码(加密存储)",
  37326. "type": "string"
  37327. },
  37328. "cardtypeid": {
  37329. "description": "证件类型ID",
  37330. "type": "integer"
  37331. },
  37332. "cityid": {
  37333. "description": "市",
  37334. "type": "integer"
  37335. },
  37336. "company": {
  37337. "description": "公司(个人)",
  37338. "type": "string"
  37339. },
  37340. "contactname": {
  37341. "description": "联系人",
  37342. "type": "string"
  37343. },
  37344. "countryid": {
  37345. "description": "国家",
  37346. "type": "integer"
  37347. },
  37348. "createtime": {
  37349. "description": "创建时间",
  37350. "type": "string"
  37351. },
  37352. "creatorid": {
  37353. "description": "创建人",
  37354. "type": "integer"
  37355. },
  37356. "customername": {
  37357. "description": "客户名称(企业名称)",
  37358. "type": "string"
  37359. },
  37360. "districtid": {
  37361. "description": "地区",
  37362. "type": "integer"
  37363. },
  37364. "email": {
  37365. "description": "邮件(加密存储)",
  37366. "type": "string"
  37367. },
  37368. "fax": {
  37369. "description": "传真(加密存储)",
  37370. "type": "string"
  37371. },
  37372. "halfbodyphotourl": {
  37373. "description": "半身照地址",
  37374. "type": "string"
  37375. },
  37376. "hasencrypt": {
  37377. "description": "数据是否已加密 - 0:未加密 1:已加密",
  37378. "type": "integer"
  37379. },
  37380. "headurl": {
  37381. "description": "头像地址",
  37382. "type": "string"
  37383. },
  37384. "legalcardbackphotourl": {
  37385. "description": "法人身份证背面照地址",
  37386. "type": "string"
  37387. },
  37388. "legalcardfrontphotourl": {
  37389. "description": "法人身份证正面照地址",
  37390. "type": "string"
  37391. },
  37392. "legalpersonname": {
  37393. "description": "法人姓名(企业)",
  37394. "type": "string"
  37395. },
  37396. "mobile": {
  37397. "description": "手机号码(加密存储)",
  37398. "type": "string"
  37399. },
  37400. "mobile2": {
  37401. "description": "手机号码[明文-尚志]",
  37402. "type": "string"
  37403. },
  37404. "modifierid": {
  37405. "description": "修改人",
  37406. "type": "integer"
  37407. },
  37408. "modifiertime": {
  37409. "description": "修改时间",
  37410. "type": "string"
  37411. },
  37412. "needinvoice": {
  37413. "description": "是否需要发票 - 0:不需要 1:需要",
  37414. "type": "integer"
  37415. },
  37416. "nickname": {
  37417. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  37418. "type": "string"
  37419. },
  37420. "openmode": {
  37421. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  37422. "type": "integer"
  37423. },
  37424. "otherurl": {
  37425. "description": "其它图片地址[使用分号分隔]",
  37426. "type": "string"
  37427. },
  37428. "postalcode": {
  37429. "description": "邮政编码",
  37430. "type": "string"
  37431. },
  37432. "provinceid": {
  37433. "description": "省",
  37434. "type": "integer"
  37435. },
  37436. "qq": {
  37437. "description": "QQ(加密存储",
  37438. "type": "string"
  37439. },
  37440. "remark": {
  37441. "description": "备注",
  37442. "type": "string"
  37443. },
  37444. "sex": {
  37445. "description": "用户性别 0: 女 1: 男",
  37446. "type": "integer"
  37447. },
  37448. "signpdfurl": {
  37449. "description": "签约pdf文件",
  37450. "type": "string"
  37451. },
  37452. "telphone": {
  37453. "description": "联系电话(加密存储)",
  37454. "type": "string"
  37455. },
  37456. "userid": {
  37457. "description": "用户ID",
  37458. "type": "integer"
  37459. },
  37460. "userinfotype": {
  37461. "description": "用户信息类型 - 1:个人 2:企业",
  37462. "type": "integer"
  37463. },
  37464. "userstatus": {
  37465. "description": "用户状态 - 1:正常 2:注销",
  37466. "type": "integer"
  37467. },
  37468. "usertype": {
  37469. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  37470. "type": "integer"
  37471. },
  37472. "wechat": {
  37473. "description": "微信(加密存储)",
  37474. "type": "string"
  37475. },
  37476. "wskhinfo": {
  37477. "description": "开户申请信息(JSON)",
  37478. "type": "string"
  37479. }
  37480. }
  37481. },
  37482. "models.WRSConverTDetail": {
  37483. "type": "object",
  37484. "properties": {
  37485. "convertratio": {
  37486. "description": "套保系数",
  37487. "type": "number"
  37488. },
  37489. "deliverygoodscode": {
  37490. "description": "现货商品代码",
  37491. "type": "string"
  37492. },
  37493. "deliverygoodsid": {
  37494. "description": "现货品种ID",
  37495. "type": "integer"
  37496. },
  37497. "deliverygoodsname": {
  37498. "description": "现货商品名称",
  37499. "type": "string"
  37500. },
  37501. "enumdicname": {
  37502. "description": "单位名称",
  37503. "type": "string"
  37504. },
  37505. "goodsunitid": {
  37506. "description": "套保品种单位id",
  37507. "type": "integer"
  37508. },
  37509. "middlegoodscode": {
  37510. "description": "套保品种代码",
  37511. "type": "string"
  37512. },
  37513. "middlegoodsid": {
  37514. "description": "套保品种ID",
  37515. "type": "integer"
  37516. },
  37517. "middlegoodsname": {
  37518. "description": "套保品种名称",
  37519. "type": "string"
  37520. },
  37521. "modifytime": {
  37522. "description": "修改时间",
  37523. "type": "string"
  37524. },
  37525. "wrstandardid": {
  37526. "description": "品类ID",
  37527. "type": "integer"
  37528. }
  37529. }
  37530. },
  37531. "models.WRStandardInfo": {
  37532. "type": "object",
  37533. "required": [
  37534. "wrstandardid"
  37535. ],
  37536. "properties": {
  37537. "areauserid": {
  37538. "description": "所属机构",
  37539. "type": "integer"
  37540. },
  37541. "convertfactor": {
  37542. "description": "标仓系数",
  37543. "type": "number"
  37544. },
  37545. "createtime": {
  37546. "description": "创建时间",
  37547. "type": "string"
  37548. },
  37549. "creatorid": {
  37550. "description": "创建人",
  37551. "type": "integer"
  37552. },
  37553. "deliverygoodsid": {
  37554. "description": "品种ID",
  37555. "type": "integer"
  37556. },
  37557. "deliverygoodsname": {
  37558. "description": "交割商品名称",
  37559. "type": "string"
  37560. },
  37561. "factoryitemjson": {
  37562. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  37563. "type": "string"
  37564. },
  37565. "isvalid": {
  37566. "description": "是否有效 - 0:无效 1:有效",
  37567. "type": "integer"
  37568. },
  37569. "minivalue": {
  37570. "description": "最小变动值",
  37571. "type": "integer"
  37572. },
  37573. "minivaluedp": {
  37574. "description": "最小变动值小数位",
  37575. "type": "integer"
  37576. },
  37577. "realminivalue": {
  37578. "description": "实际最小变动值",
  37579. "type": "integer"
  37580. },
  37581. "realminivaluedp": {
  37582. "description": "实际最小变动值小数位",
  37583. "type": "integer"
  37584. },
  37585. "remark": {
  37586. "description": "备注",
  37587. "type": "string"
  37588. },
  37589. "unitid": {
  37590. "description": "单位ID",
  37591. "type": "integer"
  37592. },
  37593. "unitname": {
  37594. "description": "单位",
  37595. "type": "string"
  37596. },
  37597. "updatetime": {
  37598. "description": "更新时间",
  37599. "type": "string"
  37600. },
  37601. "updatorid": {
  37602. "description": "更新人",
  37603. "type": "integer"
  37604. },
  37605. "wrsstatus": {
  37606. "description": "状态 - 作废 - 0:未激活 1:正常",
  37607. "type": "integer"
  37608. },
  37609. "wrstandardcode": {
  37610. "description": "现货品类代码",
  37611. "type": "string"
  37612. },
  37613. "wrstandardid": {
  37614. "description": "现货品类ID(SEQ_WRSTANDARD)",
  37615. "type": "integer"
  37616. },
  37617. "wrstandardname": {
  37618. "description": "现货品类名称",
  37619. "type": "string"
  37620. }
  37621. }
  37622. },
  37623. "models.WRTradeBargainApply": {
  37624. "type": "object",
  37625. "properties": {
  37626. "accountid": {
  37627. "description": "摘牌资金账号",
  37628. "type": "integer"
  37629. },
  37630. "applyprice": {
  37631. "description": "申请价格(议价价格)",
  37632. "type": "string"
  37633. },
  37634. "applyqty": {
  37635. "description": "摘牌数量(议价数量)",
  37636. "type": "number"
  37637. },
  37638. "applyremark": {
  37639. "description": "申请备注",
  37640. "type": "string"
  37641. },
  37642. "applystatus": {
  37643. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  37644. "type": "integer"
  37645. },
  37646. "applytime": {
  37647. "description": "申请时间(议价时间)",
  37648. "type": "string"
  37649. },
  37650. "begindate": {
  37651. "description": "开始交易日(yyyymmdd)",
  37652. "type": "string"
  37653. },
  37654. "buyorsell": {
  37655. "description": "买卖(挂牌类型) - 0:买 1:卖",
  37656. "type": "integer"
  37657. },
  37658. "confirmremark": {
  37659. "description": "确认备注",
  37660. "type": "string"
  37661. },
  37662. "confirmtime": {
  37663. "description": "确认时间",
  37664. "type": "string"
  37665. },
  37666. "confirmuserid": {
  37667. "description": "确认人",
  37668. "type": "integer"
  37669. },
  37670. "deliverygoodscode": {
  37671. "description": "品种代码",
  37672. "type": "string"
  37673. },
  37674. "deliverygoodsid": {
  37675. "description": "品种ID",
  37676. "type": "integer"
  37677. },
  37678. "deliverygoodsname": {
  37679. "description": "品种名称",
  37680. "type": "string"
  37681. },
  37682. "deliverymonth": {
  37683. "description": "交收月",
  37684. "type": "string"
  37685. },
  37686. "enddate": {
  37687. "description": "结束交易日(yyyymmdd)",
  37688. "type": "string"
  37689. },
  37690. "enumdicname": {
  37691. "description": "单位名称",
  37692. "type": "string"
  37693. },
  37694. "fixedprice": {
  37695. "description": "挂牌价格",
  37696. "type": "number"
  37697. },
  37698. "handlestatus": {
  37699. "description": "处理状态",
  37700. "type": "integer"
  37701. },
  37702. "marginvalue": {
  37703. "description": "履约保证金比例",
  37704. "type": "number"
  37705. },
  37706. "marketid": {
  37707. "description": "市场ID",
  37708. "type": "integer"
  37709. },
  37710. "matchaccountid": {
  37711. "description": "挂牌方资金账号",
  37712. "type": "integer"
  37713. },
  37714. "matchuserid": {
  37715. "description": "挂牌方用户id",
  37716. "type": "integer"
  37717. },
  37718. "matchusername": {
  37719. "description": "挂牌方用户名称(已脱敏)",
  37720. "type": "string"
  37721. },
  37722. "minivalue": {
  37723. "description": "现货商品最小变动值",
  37724. "type": "integer"
  37725. },
  37726. "optioncompare": {
  37727. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37728. "type": "string"
  37729. },
  37730. "orderqty": {
  37731. "description": "挂牌数量",
  37732. "type": "integer"
  37733. },
  37734. "refprice": {
  37735. "description": "参考价格",
  37736. "type": "string"
  37737. },
  37738. "retcode": {
  37739. "description": "委托返回代码",
  37740. "type": "integer"
  37741. },
  37742. "templatename": {
  37743. "description": "履约方式(履约模板名称)",
  37744. "type": "string"
  37745. },
  37746. "tradedate": {
  37747. "description": "交易日(yyyyMMdd)",
  37748. "type": "string"
  37749. },
  37750. "userid": {
  37751. "description": "摘牌人用户ID(议价人ID)",
  37752. "type": "integer"
  37753. },
  37754. "username": {
  37755. "description": "议价人名字(已脱敏)",
  37756. "type": "string"
  37757. },
  37758. "validtime": {
  37759. "description": "有效期限",
  37760. "type": "string"
  37761. },
  37762. "warehouseid": {
  37763. "description": "仓库ID",
  37764. "type": "integer"
  37765. },
  37766. "warehousename": {
  37767. "description": "仓库名称",
  37768. "type": "string"
  37769. },
  37770. "wrbargainid": {
  37771. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  37772. "type": "string"
  37773. },
  37774. "wrfactortypeid": {
  37775. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37776. "type": "string"
  37777. },
  37778. "wrfactortypename": {
  37779. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37780. "type": "string"
  37781. },
  37782. "wrstandardcode": {
  37783. "description": "现货商品代码",
  37784. "type": "string"
  37785. },
  37786. "wrstandardid": {
  37787. "description": "现货商品ID",
  37788. "type": "integer"
  37789. },
  37790. "wrstandardname": {
  37791. "description": "商品名称",
  37792. "type": "string"
  37793. },
  37794. "wrtradeorderid": {
  37795. "description": "关联委托单ID",
  37796. "type": "string"
  37797. },
  37798. "wrtypename": {
  37799. "description": "商品",
  37800. "type": "string"
  37801. }
  37802. }
  37803. },
  37804. "models.Warehouseinfo": {
  37805. "type": "object",
  37806. "required": [
  37807. "autoid",
  37808. "warehousecode"
  37809. ],
  37810. "properties": {
  37811. "address": {
  37812. "description": "详细地址",
  37813. "type": "string"
  37814. },
  37815. "areauserid": {
  37816. "description": "所属机构",
  37817. "type": "integer"
  37818. },
  37819. "autoid": {
  37820. "description": "自增ID",
  37821. "type": "integer"
  37822. },
  37823. "cityid": {
  37824. "description": "市",
  37825. "type": "integer"
  37826. },
  37827. "contactname": {
  37828. "description": "联系人",
  37829. "type": "string"
  37830. },
  37831. "contactnum": {
  37832. "description": "联系电话",
  37833. "type": "string"
  37834. },
  37835. "countryid": {
  37836. "description": "国家",
  37837. "type": "integer"
  37838. },
  37839. "createtime": {
  37840. "description": "创建时间",
  37841. "type": "string"
  37842. },
  37843. "districtid": {
  37844. "description": "区",
  37845. "type": "integer"
  37846. },
  37847. "hasvideo": {
  37848. "description": "是否有视频 - 0:无 1:有",
  37849. "type": "integer"
  37850. },
  37851. "provinceid": {
  37852. "description": "省",
  37853. "type": "integer"
  37854. },
  37855. "remark": {
  37856. "description": "审核备注",
  37857. "type": "string"
  37858. },
  37859. "videourl": {
  37860. "description": "视频地址",
  37861. "type": "string"
  37862. },
  37863. "warehousecode": {
  37864. "description": "仓库代码",
  37865. "type": "string"
  37866. },
  37867. "warehousename": {
  37868. "description": "仓库名称",
  37869. "type": "string"
  37870. },
  37871. "warehousestatus": {
  37872. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  37873. "type": "integer"
  37874. },
  37875. "warehousetype": {
  37876. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  37877. "type": "integer"
  37878. }
  37879. }
  37880. },
  37881. "models.WrAverageTradePrice": {
  37882. "type": "object",
  37883. "properties": {
  37884. "averageprice": {
  37885. "description": "成交均价",
  37886. "type": "number"
  37887. },
  37888. "tradedate": {
  37889. "description": "交易日yyyymm",
  37890. "type": "string"
  37891. }
  37892. }
  37893. },
  37894. "models.WrBrandAndYears": {
  37895. "type": "object",
  37896. "properties": {
  37897. "brandlst": {
  37898. "description": "品牌列表",
  37899. "type": "array",
  37900. "items": {
  37901. "$ref": "#/definitions/models.DgFactoryItem"
  37902. }
  37903. },
  37904. "yearslst": {
  37905. "description": "年份列表",
  37906. "type": "array",
  37907. "items": {
  37908. "$ref": "#/definitions/models.DgFactoryItem"
  37909. }
  37910. }
  37911. }
  37912. },
  37913. "models.WrBsGoodsInfo": {
  37914. "type": "object",
  37915. "properties": {
  37916. "buyorsell": {
  37917. "description": "买卖方向 0-买 1-卖",
  37918. "type": "integer"
  37919. },
  37920. "goodsid": {
  37921. "description": "交易合约ID",
  37922. "type": "integer"
  37923. },
  37924. "lstitem": {
  37925. "description": "商品信息项",
  37926. "type": "array",
  37927. "items": {
  37928. "$ref": "#/definitions/models.WrTypeItem"
  37929. }
  37930. },
  37931. "lststep": {
  37932. "description": "履约规则",
  37933. "type": "array",
  37934. "items": {
  37935. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37936. }
  37937. }
  37938. }
  37939. },
  37940. "models.WrBuybackDetail": {
  37941. "type": "object",
  37942. "properties": {
  37943. "buybackamount": {
  37944. "description": "回购金额",
  37945. "type": "number"
  37946. },
  37947. "buybackqty": {
  37948. "description": "回购数量",
  37949. "type": "number"
  37950. },
  37951. "buybackreleasemargin": {
  37952. "description": "回购释放保证金",
  37953. "type": "number"
  37954. },
  37955. "buybacktime": {
  37956. "description": "回购时间",
  37957. "type": "string"
  37958. },
  37959. "errordesc": {
  37960. "description": "错误描述",
  37961. "type": "string"
  37962. },
  37963. "handlestatus": {
  37964. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  37965. "type": "integer"
  37966. },
  37967. "relatedwrid": {
  37968. "description": "关联仓单ID",
  37969. "type": "integer"
  37970. },
  37971. "scfcontractid": {
  37972. "description": "SCF合同ID",
  37973. "type": "string"
  37974. },
  37975. "scfwrbuybackid": {
  37976. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  37977. "type": "integer"
  37978. },
  37979. "tradedate": {
  37980. "description": "交易日(yyyyMMdd)",
  37981. "type": "string"
  37982. }
  37983. }
  37984. },
  37985. "models.WrClientAdSpaceConfig": {
  37986. "type": "object",
  37987. "properties": {
  37988. "adspaceid": {
  37989. "description": "广告位ID",
  37990. "type": "integer"
  37991. },
  37992. "adspacename": {
  37993. "description": "广告位名称",
  37994. "type": "string"
  37995. },
  37996. "adspacetype": {
  37997. "description": "广告位类型 - 1:固定广告位",
  37998. "type": "integer"
  37999. },
  38000. "areauserid": {
  38001. "description": "所属机构ID",
  38002. "type": "integer"
  38003. },
  38004. "createdate": {
  38005. "description": "创建时间",
  38006. "type": "string"
  38007. },
  38008. "imagepath": {
  38009. "description": "图片",
  38010. "type": "string"
  38011. },
  38012. "modifierid": {
  38013. "description": "操作人",
  38014. "type": "integer"
  38015. },
  38016. "recsize": {
  38017. "description": "推荐尺寸",
  38018. "type": "string"
  38019. },
  38020. "title": {
  38021. "description": "标题",
  38022. "type": "string"
  38023. },
  38024. "updatedate": {
  38025. "description": "更新时间",
  38026. "type": "string"
  38027. },
  38028. "urlcontent": {
  38029. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  38030. "type": "string"
  38031. },
  38032. "urltype": {
  38033. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  38034. "type": "integer"
  38035. }
  38036. }
  38037. },
  38038. "models.WrDeliveryAvalidHoldLB": {
  38039. "type": "object",
  38040. "properties": {
  38041. "accountid": {
  38042. "description": "资金账号",
  38043. "type": "integer"
  38044. },
  38045. "avalidqty": {
  38046. "description": "数量(可点选数量)",
  38047. "type": "number"
  38048. },
  38049. "deliverygoodsid": {
  38050. "description": "品种id",
  38051. "type": "integer"
  38052. },
  38053. "enumdicname": {
  38054. "description": "单位名称",
  38055. "type": "string"
  38056. },
  38057. "goodsid": {
  38058. "description": "x合约商品id",
  38059. "type": "integer"
  38060. },
  38061. "ladingbillid": {
  38062. "description": "提单id",
  38063. "type": "string"
  38064. },
  38065. "pgoodscode": {
  38066. "description": "p商品代码(点价合约)",
  38067. "type": "string"
  38068. },
  38069. "pgoodsid": {
  38070. "description": "p商品id(点价合约)",
  38071. "type": "integer"
  38072. },
  38073. "pgoodsname": {
  38074. "description": "p商品名称(点价合约)",
  38075. "type": "string"
  38076. },
  38077. "pricemove": {
  38078. "description": "升贴水",
  38079. "type": "number"
  38080. },
  38081. "subnum": {
  38082. "description": "提单子id",
  38083. "type": "integer"
  38084. },
  38085. "userid": {
  38086. "description": "用户id",
  38087. "type": "integer"
  38088. },
  38089. "username": {
  38090. "description": "仓单持有人",
  38091. "type": "string"
  38092. },
  38093. "warehousecode": {
  38094. "description": "仓库代码",
  38095. "type": "string"
  38096. },
  38097. "warehouseid": {
  38098. "description": "仓库id",
  38099. "type": "integer"
  38100. },
  38101. "warehousename": {
  38102. "description": "仓库名称",
  38103. "type": "string"
  38104. },
  38105. "wrfactortypeid": {
  38106. "description": "仓单要素id",
  38107. "type": "string"
  38108. },
  38109. "wrstandardcode": {
  38110. "description": "品代码",
  38111. "type": "string"
  38112. },
  38113. "wrstandardid": {
  38114. "description": "品类d",
  38115. "type": "integer"
  38116. },
  38117. "wrstandardname": {
  38118. "description": "品类名称",
  38119. "type": "string"
  38120. },
  38121. "wrtypename": {
  38122. "description": "商品",
  38123. "type": "string"
  38124. },
  38125. "xgoodscode": {
  38126. "description": "x合约代码",
  38127. "type": "string"
  38128. },
  38129. "xgoodsname": {
  38130. "description": "x合约名称",
  38131. "type": "string"
  38132. }
  38133. }
  38134. },
  38135. "models.WrDeliveryDetail": {
  38136. "type": "object",
  38137. "properties": {
  38138. "accountid": {
  38139. "description": "账号ID",
  38140. "type": "integer"
  38141. },
  38142. "averageprice": {
  38143. "description": "交割均价 = 交割金额 / 交割数量",
  38144. "type": "number"
  38145. },
  38146. "begindate": {
  38147. "description": "开始交易日(yyyymmdd)",
  38148. "type": "string"
  38149. },
  38150. "buyorsell": {
  38151. "description": "方向 - 0:买 1:卖",
  38152. "type": "integer"
  38153. },
  38154. "deliveryamount": {
  38155. "description": "货款金额(X总货款+P总货款)",
  38156. "type": "number"
  38157. },
  38158. "deliveryid": {
  38159. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  38160. "type": "string"
  38161. },
  38162. "deliveryorderid": {
  38163. "description": "申报单号",
  38164. "type": "string"
  38165. },
  38166. "deliverypricemove": {
  38167. "description": "升贴水(升贴水总额)",
  38168. "type": "number"
  38169. },
  38170. "deliveryqty": {
  38171. "description": "交收数量(点选数量)",
  38172. "type": "number"
  38173. },
  38174. "deliverystatus": {
  38175. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  38176. "type": "integer"
  38177. },
  38178. "deliverytime": {
  38179. "description": "交割时间",
  38180. "type": "string"
  38181. },
  38182. "deliverytotalamount": {
  38183. "description": "交收金额",
  38184. "type": "number"
  38185. },
  38186. "enddate": {
  38187. "description": "结束交易日(yyyymmdd)",
  38188. "type": "string"
  38189. },
  38190. "enumdicname": {
  38191. "description": "单位名称",
  38192. "type": "string"
  38193. },
  38194. "matchaccountid": {
  38195. "description": "对手账号ID",
  38196. "type": "integer"
  38197. },
  38198. "matchusername": {
  38199. "description": "对手方名称(仓单持有人)",
  38200. "type": "string"
  38201. },
  38202. "p1goodsremainamount": {
  38203. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38204. "type": "number"
  38205. },
  38206. "pdeliverycloseqty": {
  38207. "description": "p合约平仓数量",
  38208. "type": "number"
  38209. },
  38210. "pdeliveryprice": {
  38211. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  38212. "type": "number"
  38213. },
  38214. "pgoodscode": {
  38215. "description": "商品代码",
  38216. "type": "string"
  38217. },
  38218. "pgoodsid": {
  38219. "description": "p点选合约id",
  38220. "type": "integer"
  38221. },
  38222. "pgoodsname": {
  38223. "description": "商品名称",
  38224. "type": "string"
  38225. },
  38226. "ppricemode": {
  38227. "description": "点价价格方式 - 1:商品价 2:固定值",
  38228. "type": "integer"
  38229. },
  38230. "tradedate": {
  38231. "description": "交易日(yyyymmdd)",
  38232. "type": "string"
  38233. },
  38234. "userid": {
  38235. "description": "用户id",
  38236. "type": "integer"
  38237. },
  38238. "username": {
  38239. "description": "用户名称",
  38240. "type": "string"
  38241. },
  38242. "warehousename": {
  38243. "description": "仓库名称",
  38244. "type": "string"
  38245. },
  38246. "wrfactortypeid": {
  38247. "description": "仓单要素类型ID",
  38248. "type": "string"
  38249. },
  38250. "wrtypename": {
  38251. "description": "商品",
  38252. "type": "string"
  38253. },
  38254. "xdeliverycloseqty": {
  38255. "description": "合约数量",
  38256. "type": "number"
  38257. },
  38258. "xgoodsamount": {
  38259. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  38260. "type": "number"
  38261. },
  38262. "xgoodscode": {
  38263. "description": "商品代码",
  38264. "type": "string"
  38265. },
  38266. "xgoodsid": {
  38267. "description": "x交易合约ID",
  38268. "type": "integer"
  38269. },
  38270. "xgoodsname": {
  38271. "description": "商品名称",
  38272. "type": "string"
  38273. }
  38274. }
  38275. },
  38276. "models.WrDeliveryGoodsSection": {
  38277. "type": "object",
  38278. "properties": {
  38279. "dglst": {
  38280. "description": "板块商品列表",
  38281. "type": "array",
  38282. "items": {
  38283. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  38284. }
  38285. },
  38286. "imagepath": {
  38287. "description": "图片地址",
  38288. "type": "string"
  38289. },
  38290. "orderindex": {
  38291. "description": "排序",
  38292. "type": "integer"
  38293. },
  38294. "sectionid": {
  38295. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  38296. "type": "integer"
  38297. },
  38298. "sectionname": {
  38299. "description": "版块名称",
  38300. "type": "string"
  38301. },
  38302. "sectiontype": {
  38303. "description": "版块类型 - 1:指数版块 2:普通版块",
  38304. "type": "integer"
  38305. }
  38306. }
  38307. },
  38308. "models.WrDeliveryGoodsSectionConfig": {
  38309. "type": "object",
  38310. "properties": {
  38311. "deliverygoodscode": {
  38312. "description": "现货商品代码",
  38313. "type": "string"
  38314. },
  38315. "deliverygoodsid": {
  38316. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38317. "type": "integer"
  38318. },
  38319. "deliverygoodsname": {
  38320. "description": "现货商品名称",
  38321. "type": "string"
  38322. },
  38323. "orderindex": {
  38324. "description": "排序",
  38325. "type": "integer"
  38326. }
  38327. }
  38328. },
  38329. "models.WrDraftUserInfo": {
  38330. "type": "object",
  38331. "properties": {
  38332. "address": {
  38333. "description": "地址",
  38334. "type": "string"
  38335. },
  38336. "attachment1": {
  38337. "description": "附件1",
  38338. "type": "string"
  38339. },
  38340. "attachment2": {
  38341. "description": "附件2",
  38342. "type": "string"
  38343. },
  38344. "attachment3": {
  38345. "description": "附件3",
  38346. "type": "string"
  38347. },
  38348. "attachment4": {
  38349. "description": "附件4",
  38350. "type": "string"
  38351. },
  38352. "attachment5": {
  38353. "description": "附件5",
  38354. "type": "string"
  38355. },
  38356. "bankaccount": {
  38357. "description": "银行帐号 (加密存储)",
  38358. "type": "string"
  38359. },
  38360. "bankaccountname": {
  38361. "description": "收款人名称",
  38362. "type": "string"
  38363. },
  38364. "bankcardfrontphotourl": {
  38365. "description": "银行卡正面照地址",
  38366. "type": "string"
  38367. },
  38368. "bankid": {
  38369. "description": "银行编码",
  38370. "type": "string"
  38371. },
  38372. "bankname": {
  38373. "description": "银行名称",
  38374. "type": "string"
  38375. },
  38376. "birthday": {
  38377. "description": "生日(个人:年月日)",
  38378. "type": "string"
  38379. },
  38380. "biznature": {
  38381. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38382. "type": "integer"
  38383. },
  38384. "bizscope": {
  38385. "description": "企业经营范围(企业)",
  38386. "type": "string"
  38387. },
  38388. "biztype": {
  38389. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  38390. "type": "integer"
  38391. },
  38392. "cardbackphotourl": {
  38393. "description": "证件背面图片地址",
  38394. "type": "string"
  38395. },
  38396. "cardfrontphotourl": {
  38397. "description": "证件正面图片地址",
  38398. "type": "string"
  38399. },
  38400. "cardnum": {
  38401. "description": "证件号码(加密存储)",
  38402. "type": "string"
  38403. },
  38404. "cardtypeid": {
  38405. "description": "证件类型ID",
  38406. "type": "integer"
  38407. },
  38408. "cityid": {
  38409. "description": "市",
  38410. "type": "integer"
  38411. },
  38412. "company": {
  38413. "description": "公司(个人)",
  38414. "type": "string"
  38415. },
  38416. "contactcardbackphotourl": {
  38417. "description": "联系人证件背面图片地址",
  38418. "type": "string"
  38419. },
  38420. "contactcardfrontphotourl": {
  38421. "description": "联系人证件正面图片地址",
  38422. "type": "string"
  38423. },
  38424. "contactname": {
  38425. "description": "联系人",
  38426. "type": "string"
  38427. },
  38428. "countryid": {
  38429. "description": "国家",
  38430. "type": "integer"
  38431. },
  38432. "createtime": {
  38433. "description": "创建时间",
  38434. "type": "string"
  38435. },
  38436. "creatorid": {
  38437. "description": "创建人",
  38438. "type": "integer"
  38439. },
  38440. "creditquota": {
  38441. "description": "授信额度(金瑞)",
  38442. "type": "number"
  38443. },
  38444. "customername": {
  38445. "description": "客户名称(企业名称)",
  38446. "type": "string"
  38447. },
  38448. "districtid": {
  38449. "description": "地区",
  38450. "type": "integer"
  38451. },
  38452. "email": {
  38453. "description": "邮件(加密存储)",
  38454. "type": "string"
  38455. },
  38456. "fax": {
  38457. "description": "传真(加密存储)",
  38458. "type": "string"
  38459. },
  38460. "halfbodyphotourl": {
  38461. "description": "半身照地址",
  38462. "type": "string"
  38463. },
  38464. "hasencrypt": {
  38465. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38466. "type": "integer"
  38467. },
  38468. "headurl": {
  38469. "description": "头像地址",
  38470. "type": "string"
  38471. },
  38472. "legalcardbackphotourl": {
  38473. "description": "法人身份证背面照地址",
  38474. "type": "string"
  38475. },
  38476. "legalcardfrontphotourl": {
  38477. "description": "法人身份证正面照地址",
  38478. "type": "string"
  38479. },
  38480. "legalpersonname": {
  38481. "description": "法人姓名(企业)",
  38482. "type": "string"
  38483. },
  38484. "mobile": {
  38485. "description": "手机号码(加密存储)",
  38486. "type": "string"
  38487. },
  38488. "mobile2": {
  38489. "description": "手机号码[明文-尚志]",
  38490. "type": "string"
  38491. },
  38492. "modifierid": {
  38493. "description": "修改人",
  38494. "type": "integer"
  38495. },
  38496. "modifiertime": {
  38497. "description": "修改时间",
  38498. "type": "string"
  38499. },
  38500. "needinvoice": {
  38501. "description": "是否需要发票 - 0:不需要 1:需要",
  38502. "type": "integer"
  38503. },
  38504. "nickname": {
  38505. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38506. "type": "string"
  38507. },
  38508. "openmode": {
  38509. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  38510. "type": "integer"
  38511. },
  38512. "otherurl": {
  38513. "description": "其它图片地址[使用分号分隔]",
  38514. "type": "string"
  38515. },
  38516. "postalcode": {
  38517. "description": "邮政编码",
  38518. "type": "string"
  38519. },
  38520. "provinceid": {
  38521. "description": "省",
  38522. "type": "integer"
  38523. },
  38524. "proxystatementurl": {
  38525. "description": "授权委托书",
  38526. "type": "string"
  38527. },
  38528. "qq": {
  38529. "description": "QQ(加密存储",
  38530. "type": "string"
  38531. },
  38532. "remark": {
  38533. "description": "备注",
  38534. "type": "string"
  38535. },
  38536. "sex": {
  38537. "description": "用户性别 0: 女 1: 男",
  38538. "type": "integer"
  38539. },
  38540. "signpdfurl": {
  38541. "description": "签约pdf文件",
  38542. "type": "string"
  38543. },
  38544. "taxpayernum": {
  38545. "description": "纳税人识别号",
  38546. "type": "string"
  38547. },
  38548. "telphone": {
  38549. "description": "联系电话(加密存储)",
  38550. "type": "string"
  38551. },
  38552. "userid": {
  38553. "description": "用户ID",
  38554. "type": "integer"
  38555. },
  38556. "userinfotype": {
  38557. "description": "用户信息类型 - 1:个人 2:企业",
  38558. "type": "integer"
  38559. },
  38560. "userstatus": {
  38561. "description": "用户状态 - 1:正常 2:注销",
  38562. "type": "integer"
  38563. },
  38564. "usertype": {
  38565. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  38566. "type": "integer"
  38567. },
  38568. "wechat": {
  38569. "description": "微信(加密存储)",
  38570. "type": "string"
  38571. },
  38572. "wskhinfo": {
  38573. "description": "开户申请信息(JSON)",
  38574. "type": "string"
  38575. }
  38576. }
  38577. },
  38578. "models.WrFAProductDetail": {
  38579. "type": "object",
  38580. "properties": {
  38581. "accountid": {
  38582. "description": "资金账号",
  38583. "type": "integer"
  38584. },
  38585. "areauserid": {
  38586. "description": "金融机构ID",
  38587. "type": "integer"
  38588. },
  38589. "financingdays": {
  38590. "description": "天数(天)",
  38591. "type": "integer"
  38592. },
  38593. "interestminlen": {
  38594. "description": "最小起息天数",
  38595. "type": "integer"
  38596. },
  38597. "interestrate": {
  38598. "description": "利率",
  38599. "type": "number"
  38600. },
  38601. "interestratemode": {
  38602. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38603. "type": "integer"
  38604. },
  38605. "interestsettlemode": {
  38606. "description": "结息方式 - 1:按日结息 3:按月结息",
  38607. "type": "integer"
  38608. },
  38609. "interestsettlevalue": {
  38610. "description": "结息方式值",
  38611. "type": "integer"
  38612. },
  38613. "isautoloan": {
  38614. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  38615. "type": "integer"
  38616. },
  38617. "loantag": {
  38618. "description": "放款标识: \"放款快\" 或者为空",
  38619. "type": "string"
  38620. },
  38621. "marginratio": {
  38622. "description": "保证金比率质押率 - [仓单质押]",
  38623. "type": "number"
  38624. },
  38625. "productdetailid": {
  38626. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  38627. "type": "integer"
  38628. },
  38629. "productid": {
  38630. "description": "金融产品ID",
  38631. "type": "integer"
  38632. },
  38633. "productname": {
  38634. "description": "产品名称",
  38635. "type": "string"
  38636. },
  38637. "updatetime": {
  38638. "description": "更新时间",
  38639. "type": "string"
  38640. },
  38641. "username": {
  38642. "description": "融出方",
  38643. "type": "string"
  38644. }
  38645. }
  38646. },
  38647. "models.WrFactorTypeInfo": {
  38648. "type": "object",
  38649. "properties": {
  38650. "deliverygoodscode": {
  38651. "description": "品种代码",
  38652. "type": "string"
  38653. },
  38654. "deliverygoodsname": {
  38655. "description": "品种名称",
  38656. "type": "string"
  38657. },
  38658. "dgfactoryitemid": {
  38659. "description": "选择项id",
  38660. "type": "integer"
  38661. },
  38662. "dgfactoryitemtypeid": {
  38663. "description": "要素选择项ID (1-仓库 2-品牌)",
  38664. "type": "integer"
  38665. },
  38666. "dgfactoryitemvalue": {
  38667. "description": "要素项值",
  38668. "type": "string"
  38669. },
  38670. "itemtypename": {
  38671. "description": "要素项名称",
  38672. "type": "string"
  38673. },
  38674. "optioncompare": {
  38675. "description": "选择比较串",
  38676. "type": "string"
  38677. },
  38678. "warehouseid": {
  38679. "description": "仓库id",
  38680. "type": "integer"
  38681. },
  38682. "wrfactortypeid": {
  38683. "description": "仓单要素ID",
  38684. "type": "string"
  38685. },
  38686. "wrfactortypename": {
  38687. "description": "要素名称",
  38688. "type": "string"
  38689. },
  38690. "wrfactortypename2": {
  38691. "description": "要素名称(不含仓库)",
  38692. "type": "string"
  38693. },
  38694. "wrstandardcode": {
  38695. "description": "品类代码",
  38696. "type": "string"
  38697. },
  38698. "wrstandardid": {
  38699. "description": "品类id",
  38700. "type": "integer"
  38701. },
  38702. "wrstandardname": {
  38703. "description": "品类名称",
  38704. "type": "string"
  38705. }
  38706. }
  38707. },
  38708. "models.WrFilterItem": {
  38709. "type": "object",
  38710. "properties": {
  38711. "itemcode": {
  38712. "description": "代码",
  38713. "type": "string"
  38714. },
  38715. "itemid": {
  38716. "description": "项id",
  38717. "type": "integer"
  38718. },
  38719. "itemname": {
  38720. "description": "名称",
  38721. "type": "string"
  38722. },
  38723. "itemtype": {
  38724. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  38725. "type": "integer"
  38726. }
  38727. }
  38728. },
  38729. "models.WrFinanceBuyApply": {
  38730. "type": "object",
  38731. "properties": {
  38732. "applydate": {
  38733. "description": "申请时间",
  38734. "type": "string"
  38735. },
  38736. "applystatus": {
  38737. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  38738. "type": "integer"
  38739. },
  38740. "applyuserid": {
  38741. "description": "申请人",
  38742. "type": "integer"
  38743. },
  38744. "auditdate": {
  38745. "description": "审核时间",
  38746. "type": "string"
  38747. },
  38748. "auditremark": {
  38749. "description": "审核备注",
  38750. "type": "string"
  38751. },
  38752. "audituserid": {
  38753. "description": "审核人",
  38754. "type": "integer"
  38755. },
  38756. "buyaccountid": {
  38757. "description": "买方资金账号",
  38758. "type": "integer"
  38759. },
  38760. "buyorsell": {
  38761. "description": "买卖 - 0:买 1:卖",
  38762. "type": "integer"
  38763. },
  38764. "buyuserid": {
  38765. "description": "买方用户ID",
  38766. "type": "integer"
  38767. },
  38768. "buyusername": {
  38769. "description": "买方名称",
  38770. "type": "string"
  38771. },
  38772. "buywrtradeorderid": {
  38773. "description": "融资方买委托单ID",
  38774. "type": "string"
  38775. },
  38776. "deliverygoodscode": {
  38777. "description": "品种代码",
  38778. "type": "string"
  38779. },
  38780. "deliverygoodsid": {
  38781. "description": "品种ID",
  38782. "type": "integer"
  38783. },
  38784. "deliverygoodsname": {
  38785. "description": "品种名称",
  38786. "type": "string"
  38787. },
  38788. "deliverymonth": {
  38789. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  38790. "type": "string"
  38791. },
  38792. "enumdicname": {
  38793. "description": "单位名称",
  38794. "type": "string"
  38795. },
  38796. "financeaccountid": {
  38797. "description": "融资方资金帐户ID",
  38798. "type": "integer"
  38799. },
  38800. "financeapplyid": {
  38801. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38802. "type": "string"
  38803. },
  38804. "financeareauserid": {
  38805. "description": "融资方用户ID",
  38806. "type": "string"
  38807. },
  38808. "financename": {
  38809. "description": "融出方名称",
  38810. "type": "string"
  38811. },
  38812. "financetype": {
  38813. "description": "融资类型 1-融资回购",
  38814. "type": "integer"
  38815. },
  38816. "financingdays": {
  38817. "description": "天数(天)",
  38818. "type": "integer"
  38819. },
  38820. "freezebuymargin": {
  38821. "description": "冻结融资保证金(买方)",
  38822. "type": "number"
  38823. },
  38824. "handleremark": {
  38825. "description": "处理备注",
  38826. "type": "string"
  38827. },
  38828. "handlestatus": {
  38829. "description": "处理状态",
  38830. "type": "integer"
  38831. },
  38832. "interestminlen": {
  38833. "description": "最小起息天数",
  38834. "type": "integer"
  38835. },
  38836. "interestrate": {
  38837. "description": "利率",
  38838. "type": "number"
  38839. },
  38840. "interestratemode": {
  38841. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38842. "type": "integer"
  38843. },
  38844. "interestsettlemode": {
  38845. "description": "结息方式 - 1:按日结息 3:按月结息",
  38846. "type": "integer"
  38847. },
  38848. "interestsettlevalue": {
  38849. "description": "结息方式值",
  38850. "type": "integer"
  38851. },
  38852. "isautoloan": {
  38853. "description": "是否自动放款 - 0:手动 1:自动",
  38854. "type": "integer"
  38855. },
  38856. "marginratio": {
  38857. "description": "保证金比率质押率 - [仓单质押]",
  38858. "type": "number"
  38859. },
  38860. "marketid": {
  38861. "description": "市场ID",
  38862. "type": "integer"
  38863. },
  38864. "minivalue": {
  38865. "description": "现货商品最小变动值",
  38866. "type": "integer"
  38867. },
  38868. "optioncompare": {
  38869. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38870. "type": "string"
  38871. },
  38872. "orderqty": {
  38873. "description": "委托数量(商品数量)",
  38874. "type": "number"
  38875. },
  38876. "productdetailid": {
  38877. "description": "产品组合ID",
  38878. "type": "integer"
  38879. },
  38880. "productid": {
  38881. "description": "金融产品ID",
  38882. "type": "integer"
  38883. },
  38884. "productname": {
  38885. "description": "产品名称",
  38886. "type": "string"
  38887. },
  38888. "remark": {
  38889. "description": "备注",
  38890. "type": "string"
  38891. },
  38892. "scfcontractid": {
  38893. "description": "仓单回购合同ID",
  38894. "type": "string"
  38895. },
  38896. "sellaccountid": {
  38897. "description": "卖方资金账号",
  38898. "type": "integer"
  38899. },
  38900. "selluserid": {
  38901. "description": "卖方用户ID",
  38902. "type": "integer"
  38903. },
  38904. "sellwrtradeorderid": {
  38905. "description": "卖方委托单ID",
  38906. "type": "string"
  38907. },
  38908. "tradeamount": {
  38909. "description": "成交金额(借款金额)",
  38910. "type": "number"
  38911. },
  38912. "tradedate": {
  38913. "description": "交易日(yyyyMMdd)",
  38914. "type": "string"
  38915. },
  38916. "tradeprice": {
  38917. "description": "成交价格",
  38918. "type": "number"
  38919. },
  38920. "warehouseid": {
  38921. "description": "仓库ID",
  38922. "type": "integer"
  38923. },
  38924. "warehousename": {
  38925. "description": "仓库名称",
  38926. "type": "string"
  38927. },
  38928. "wrfactortypeid": {
  38929. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38930. "type": "string"
  38931. },
  38932. "wrfactortypename": {
  38933. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38934. "type": "string"
  38935. },
  38936. "wrpricetype": {
  38937. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  38938. "type": "integer"
  38939. },
  38940. "wrstandardcode": {
  38941. "description": "现货商品代码",
  38942. "type": "string"
  38943. },
  38944. "wrstandardid": {
  38945. "description": "现货商品ID",
  38946. "type": "integer"
  38947. },
  38948. "wrstandardname": {
  38949. "description": "商品名称",
  38950. "type": "string"
  38951. },
  38952. "wrtypename": {
  38953. "description": "商品",
  38954. "type": "string"
  38955. }
  38956. }
  38957. },
  38958. "models.WrFriendApply": {
  38959. "type": "object",
  38960. "properties": {
  38961. "applicantid": {
  38962. "description": "申请人",
  38963. "type": "integer"
  38964. },
  38965. "applyname": {
  38966. "description": "申请人名称",
  38967. "type": "string"
  38968. },
  38969. "applysrc": {
  38970. "description": "申请来源 - 1:管理端 2:终端",
  38971. "type": "integer"
  38972. },
  38973. "applystatus": {
  38974. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  38975. "type": "integer"
  38976. },
  38977. "applytime": {
  38978. "description": "申请时间",
  38979. "type": "string"
  38980. },
  38981. "auditname": {
  38982. "description": "审核人名称",
  38983. "type": "string"
  38984. },
  38985. "auditorid": {
  38986. "description": "审核人",
  38987. "type": "integer"
  38988. },
  38989. "auditremark": {
  38990. "description": "审核备注",
  38991. "type": "string"
  38992. },
  38993. "auditsrc": {
  38994. "description": "审核来源 - 1:管理端 2:终端",
  38995. "type": "integer"
  38996. },
  38997. "audittime": {
  38998. "description": "审核时间",
  38999. "type": "string"
  39000. },
  39001. "friendapplyid": {
  39002. "description": "申请ID(SEQ_FRIENDAPPLY)",
  39003. "type": "string"
  39004. },
  39005. "friendname": {
  39006. "description": "好友名字(已脱敏)",
  39007. "type": "string"
  39008. },
  39009. "frienduserid": {
  39010. "description": "好友用户ID",
  39011. "type": "string"
  39012. },
  39013. "remark": {
  39014. "description": "备注",
  39015. "type": "string"
  39016. },
  39017. "userid": {
  39018. "description": "申请人用户ID",
  39019. "type": "integer"
  39020. }
  39021. }
  39022. },
  39023. "models.WrFtDeliveryGoods": {
  39024. "type": "object",
  39025. "properties": {
  39026. "deliverygoodscode": {
  39027. "description": "品种代码",
  39028. "type": "string"
  39029. },
  39030. "deliverygoodsid": {
  39031. "description": "品种ID",
  39032. "type": "integer"
  39033. },
  39034. "deliverygoodsname": {
  39035. "description": "品种名称",
  39036. "type": "string"
  39037. },
  39038. "wdlst": {
  39039. "description": "商品列表",
  39040. "type": "array",
  39041. "items": {
  39042. "$ref": "#/definitions/models.WrFtWrstandard"
  39043. }
  39044. }
  39045. }
  39046. },
  39047. "models.WrFtWrstandard": {
  39048. "type": "object",
  39049. "properties": {
  39050. "enumdicname": {
  39051. "description": "单位名称",
  39052. "type": "string"
  39053. },
  39054. "minivalue": {
  39055. "description": "最小变动值",
  39056. "type": "integer"
  39057. },
  39058. "wrstandardcode": {
  39059. "description": "现货商品代码",
  39060. "type": "string"
  39061. },
  39062. "wrstandardid": {
  39063. "description": "现货商品ID",
  39064. "type": "integer"
  39065. },
  39066. "wrstandardname": {
  39067. "description": "商品名称",
  39068. "type": "string"
  39069. }
  39070. }
  39071. },
  39072. "models.WrGoodsInfo": {
  39073. "type": "object",
  39074. "properties": {
  39075. "haswr": {
  39076. "description": "0:仓单预售 1:仓单贸易",
  39077. "type": "integer"
  39078. },
  39079. "lstitem": {
  39080. "description": "商品信息项",
  39081. "type": "array",
  39082. "items": {
  39083. "$ref": "#/definitions/models.WrTypeItem"
  39084. }
  39085. },
  39086. "lststep": {
  39087. "description": "履约规则",
  39088. "type": "array",
  39089. "items": {
  39090. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39091. }
  39092. },
  39093. "marketid": {
  39094. "description": "市场id",
  39095. "type": "integer"
  39096. }
  39097. }
  39098. },
  39099. "models.WrGoodsPerformanceStep": {
  39100. "type": "object",
  39101. "properties": {
  39102. "autoid": {
  39103. "description": "AutoID",
  39104. "type": "integer"
  39105. },
  39106. "isauto": {
  39107. "description": "是否自动 - 0:不自动 1:自动",
  39108. "type": "integer"
  39109. },
  39110. "remark": {
  39111. "description": "备注",
  39112. "type": "string"
  39113. },
  39114. "stepdate": {
  39115. "description": "天数信息(T+N)",
  39116. "type": "string"
  39117. },
  39118. "stepdays": {
  39119. "description": "距离上一步天数",
  39120. "type": "integer"
  39121. },
  39122. "stepindex": {
  39123. "description": "步骤序号",
  39124. "type": "integer"
  39125. },
  39126. "stepinfo": {
  39127. "description": "步骤信息(步骤名称+步骤值)",
  39128. "type": "string"
  39129. },
  39130. "steptypeid": {
  39131. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  39132. "type": "integer"
  39133. },
  39134. "steptypename": {
  39135. "description": "步骤名称",
  39136. "type": "string"
  39137. },
  39138. "stepvalue": {
  39139. "description": "步骤值",
  39140. "type": "number"
  39141. },
  39142. "templateid": {
  39143. "description": "履约计划模板ID",
  39144. "type": "integer"
  39145. }
  39146. }
  39147. },
  39148. "models.WrHoldLB": {
  39149. "type": "object",
  39150. "properties": {
  39151. "accountid": {
  39152. "description": "持有人帐户ID",
  39153. "type": "integer"
  39154. },
  39155. "bannerpicurl": {
  39156. "description": "Banner图",
  39157. "type": "string"
  39158. },
  39159. "createtime": {
  39160. "description": "创建时间(过户时间)",
  39161. "type": "string"
  39162. },
  39163. "deliverygoodscode": {
  39164. "description": "品种代码",
  39165. "type": "string"
  39166. },
  39167. "deliverygoodsid": {
  39168. "description": "品种ID",
  39169. "type": "integer"
  39170. },
  39171. "deliverygoodsname": {
  39172. "description": "品种名称",
  39173. "type": "string"
  39174. },
  39175. "enableqty": {
  39176. "description": "可用数量",
  39177. "type": "number"
  39178. },
  39179. "enumdicname": {
  39180. "description": "单位名称",
  39181. "type": "string"
  39182. },
  39183. "freezerqty": {
  39184. "description": "冻结数量",
  39185. "type": "number"
  39186. },
  39187. "ladingbillid": {
  39188. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39189. "type": "string"
  39190. },
  39191. "minivalue": {
  39192. "description": "现货商品最小变动值",
  39193. "type": "integer"
  39194. },
  39195. "optioncompare": {
  39196. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39197. "type": "string"
  39198. },
  39199. "parentsubnum": {
  39200. "description": "拆分父子单号",
  39201. "type": "integer"
  39202. },
  39203. "pledgeqty": {
  39204. "description": "质押数量",
  39205. "type": "number"
  39206. },
  39207. "qty": {
  39208. "description": "数量",
  39209. "type": "number"
  39210. },
  39211. "subnum": {
  39212. "description": "提单子单号",
  39213. "type": "integer"
  39214. },
  39215. "thumurls": {
  39216. "description": "缩略图",
  39217. "type": "string"
  39218. },
  39219. "tradedate": {
  39220. "description": "交易日(yyyyMMdd)",
  39221. "type": "string"
  39222. },
  39223. "userid": {
  39224. "description": "持有人ID",
  39225. "type": "integer"
  39226. },
  39227. "warehouseid": {
  39228. "description": "仓库ID",
  39229. "type": "integer"
  39230. },
  39231. "warehousename": {
  39232. "description": "仓库名称",
  39233. "type": "string"
  39234. },
  39235. "wrfactortypeid": {
  39236. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39237. "type": "string"
  39238. },
  39239. "wrfactortypename": {
  39240. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39241. "type": "string"
  39242. },
  39243. "wrholdeno": {
  39244. "description": "仓单编号",
  39245. "type": "string"
  39246. },
  39247. "wrid": {
  39248. "description": "仓单变更ID",
  39249. "type": "string"
  39250. },
  39251. "wrstandardcode": {
  39252. "description": "现货商品代码",
  39253. "type": "string"
  39254. },
  39255. "wrstandardid": {
  39256. "description": "现货商品ID",
  39257. "type": "integer"
  39258. },
  39259. "wrstandardname": {
  39260. "description": "商品名称",
  39261. "type": "string"
  39262. },
  39263. "wrtypename": {
  39264. "description": "商品",
  39265. "type": "string"
  39266. }
  39267. }
  39268. },
  39269. "models.WrMarketTradeConfig": {
  39270. "type": "object",
  39271. "properties": {
  39272. "basisdownratio": {
  39273. "description": "浮动价基差下限比例(仓单贸易)",
  39274. "type": "number"
  39275. },
  39276. "basisupratio": {
  39277. "description": "浮动价基差上限比例(仓单贸易)",
  39278. "type": "number"
  39279. },
  39280. "buychargealgorithm": {
  39281. "description": "买方手续费收取方式 1:比率 2:固定",
  39282. "type": "integer"
  39283. },
  39284. "buychargealgorithm2": {
  39285. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39286. "type": "integer"
  39287. },
  39288. "buychargealgorithmvalue": {
  39289. "description": "买方手续费设置值(交易所部分)",
  39290. "type": "number"
  39291. },
  39292. "buychargealgorithmvalue2": {
  39293. "description": "买方手续费设置值(会员部分)",
  39294. "type": "number"
  39295. },
  39296. "buychargealgorithmvalue3": {
  39297. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  39298. "type": "number"
  39299. },
  39300. "buychargealgorithmvalue4": {
  39301. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  39302. "type": "number"
  39303. },
  39304. "buyfirstmarginalgorithm": {
  39305. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  39306. "type": "integer"
  39307. },
  39308. "buyfirstmarginvalue": {
  39309. "description": "买方出价保证金设置值 - [竞拍]",
  39310. "type": "number"
  39311. },
  39312. "buymarginalgorithm": {
  39313. "description": "买方保证金方式 - 1:比率 2:固定",
  39314. "type": "integer"
  39315. },
  39316. "buymarginvalue": {
  39317. "description": "买方保证金设置值",
  39318. "type": "number"
  39319. },
  39320. "buyreleaseratio": {
  39321. "description": "买方释放比率[2:分步履约]",
  39322. "type": "number"
  39323. },
  39324. "executemode": {
  39325. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  39326. "type": "integer"
  39327. },
  39328. "executeside": {
  39329. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  39330. "type": "integer"
  39331. },
  39332. "failedchargealgorithm": {
  39333. "description": "流拍手续费收取方式 1:比率 2:固定",
  39334. "type": "integer"
  39335. },
  39336. "failedchargevalue": {
  39337. "description": "流拍手续费设置值",
  39338. "type": "number"
  39339. },
  39340. "failedchargevalue2": {
  39341. "description": "流拍卖方手续费设置值",
  39342. "type": "number"
  39343. },
  39344. "holddays": {
  39345. "description": "合同期限[2:分步履约]",
  39346. "type": "integer"
  39347. },
  39348. "listingmode": {
  39349. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39350. "type": "integer"
  39351. },
  39352. "marketid": {
  39353. "description": "市场ID-仓单贸易、竞拍、预售",
  39354. "type": "integer"
  39355. },
  39356. "minqty": {
  39357. "description": "最小执行量[2:分步履约]",
  39358. "type": "number"
  39359. },
  39360. "modifierid": {
  39361. "description": "修改人",
  39362. "type": "integer"
  39363. },
  39364. "nowrquotaflag": {
  39365. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  39366. "type": "integer"
  39367. },
  39368. "performancetempid": {
  39369. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39370. "type": "integer"
  39371. },
  39372. "performancetempid2": {
  39373. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39374. "type": "integer"
  39375. },
  39376. "performancetempid2s": {
  39377. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  39378. "type": "string"
  39379. },
  39380. "performancetempids": {
  39381. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  39382. "type": "string"
  39383. },
  39384. "performanceway": {
  39385. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  39386. "type": "integer"
  39387. },
  39388. "sellchargealgorithm": {
  39389. "description": "卖方手续费收取方式 1:比率 2:固定",
  39390. "type": "integer"
  39391. },
  39392. "sellchargealgorithm2": {
  39393. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  39394. "type": "integer"
  39395. },
  39396. "sellchargealgorithmvalue": {
  39397. "description": "卖方手续费设置值(交易所部分)",
  39398. "type": "number"
  39399. },
  39400. "sellchargealgorithmvalue2": {
  39401. "description": "卖方手续费设置值(会员部分)",
  39402. "type": "number"
  39403. },
  39404. "sellchargealgorithmvalue3": {
  39405. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  39406. "type": "number"
  39407. },
  39408. "sellchargealgorithmvalue4": {
  39409. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  39410. "type": "number"
  39411. },
  39412. "sellmarginalgorithm": {
  39413. "description": "卖方保证金方式 - 1:比率 2:固定",
  39414. "type": "integer"
  39415. },
  39416. "sellmarginvalue": {
  39417. "description": "卖方保证金设置值",
  39418. "type": "number"
  39419. },
  39420. "sellmarginvalue2": {
  39421. "description": "卖方保证金设置值(无仓单)",
  39422. "type": "number"
  39423. },
  39424. "sellreleaseratio": {
  39425. "description": "卖方释放比率[2:分步履约]",
  39426. "type": "number"
  39427. },
  39428. "updatetime": {
  39429. "description": "更新时间",
  39430. "type": "string"
  39431. }
  39432. }
  39433. },
  39434. "models.WrOrderDetail": {
  39435. "type": "object",
  39436. "properties": {
  39437. "accountid": {
  39438. "description": "交易账号(资金账号)",
  39439. "type": "integer"
  39440. },
  39441. "allfriendsflag": {
  39442. "description": "是否全好友可见 - 0:否 1:是",
  39443. "type": "integer"
  39444. },
  39445. "amount": {
  39446. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  39447. "type": "number"
  39448. },
  39449. "bannerpicurl": {
  39450. "description": "Banner图",
  39451. "type": "string"
  39452. },
  39453. "begindate": {
  39454. "description": "开始交易日(yyyymmdd)",
  39455. "type": "string"
  39456. },
  39457. "buyorsell": {
  39458. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  39459. "type": "integer"
  39460. },
  39461. "canbargain": {
  39462. "description": "是否可议价 - 0:不可 1:可",
  39463. "type": "integer"
  39464. },
  39465. "cancelqty": {
  39466. "description": "撤销数量",
  39467. "type": "number"
  39468. },
  39469. "canpart": {
  39470. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  39471. "type": "integer"
  39472. },
  39473. "delistminqty": {
  39474. "description": "起摘数量",
  39475. "type": "integer"
  39476. },
  39477. "deliverygoodscode": {
  39478. "description": "品种代码",
  39479. "type": "string"
  39480. },
  39481. "deliverygoodsid": {
  39482. "description": "品种ID",
  39483. "type": "integer"
  39484. },
  39485. "deliverygoodsname": {
  39486. "description": "品种名称",
  39487. "type": "string"
  39488. },
  39489. "deliverymonth": {
  39490. "description": "交收月",
  39491. "type": "string"
  39492. },
  39493. "enddate": {
  39494. "description": "结束交易日(yyyymmdd)",
  39495. "type": "string"
  39496. },
  39497. "enumdicname": {
  39498. "description": "单位名称",
  39499. "type": "string"
  39500. },
  39501. "fixedprice": {
  39502. "description": "固定价格 - [挂牌]",
  39503. "type": "number"
  39504. },
  39505. "freezecharge": {
  39506. "description": "冻结手续费",
  39507. "type": "number"
  39508. },
  39509. "freezemargin": {
  39510. "description": "冻结保证金(保证金)",
  39511. "type": "number"
  39512. },
  39513. "futupricemove": {
  39514. "description": "期货升贴水",
  39515. "type": "number"
  39516. },
  39517. "futushow": {
  39518. "description": "期货合约/升贴水",
  39519. "type": "string"
  39520. },
  39521. "goodscode": {
  39522. "description": "期货合约",
  39523. "type": "string"
  39524. },
  39525. "goodsid": {
  39526. "description": "期货商品id",
  39527. "type": "integer"
  39528. },
  39529. "goodsname": {
  39530. "description": "商品名称",
  39531. "type": "string"
  39532. },
  39533. "haswr": {
  39534. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  39535. "type": "integer"
  39536. },
  39537. "isspecified": {
  39538. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  39539. "type": "integer"
  39540. },
  39541. "ladingbillid": {
  39542. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  39543. "type": "string"
  39544. },
  39545. "marginvalue": {
  39546. "description": "保证金设置值(履约保证金)",
  39547. "type": "number"
  39548. },
  39549. "marketid": {
  39550. "description": "市场ID",
  39551. "type": "integer"
  39552. },
  39553. "matchusername": {
  39554. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  39555. "type": "string"
  39556. },
  39557. "minivalue": {
  39558. "description": "现货商品最小变动值",
  39559. "type": "integer"
  39560. },
  39561. "optioncompare": {
  39562. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39563. "type": "string"
  39564. },
  39565. "orderqty": {
  39566. "description": "委托数量",
  39567. "type": "number"
  39568. },
  39569. "ordertime": {
  39570. "description": "委托时间(挂牌时间)",
  39571. "type": "string"
  39572. },
  39573. "performancetemplateid": {
  39574. "description": "履约模板id",
  39575. "type": "integer"
  39576. },
  39577. "pricemove": {
  39578. "description": "升贴水(浮动价时填写) - [挂牌]",
  39579. "type": "number"
  39580. },
  39581. "taname": {
  39582. "description": "交易用户名称(资金账号名称)",
  39583. "type": "string"
  39584. },
  39585. "thumurls": {
  39586. "description": "缩略图",
  39587. "type": "string"
  39588. },
  39589. "tradedate": {
  39590. "description": "交易日(yyyyMMdd)",
  39591. "type": "string"
  39592. },
  39593. "tradeprice": {
  39594. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39595. "type": "number"
  39596. },
  39597. "tradeqty": {
  39598. "description": "成交数量",
  39599. "type": "number"
  39600. },
  39601. "userid": {
  39602. "description": "用户ID",
  39603. "type": "integer"
  39604. },
  39605. "validtime": {
  39606. "description": "挂牌有效期",
  39607. "type": "string"
  39608. },
  39609. "validtype": {
  39610. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39611. "type": "integer"
  39612. },
  39613. "warehouseid": {
  39614. "description": "仓库ID",
  39615. "type": "integer"
  39616. },
  39617. "warehousename": {
  39618. "description": "仓库名称",
  39619. "type": "string"
  39620. },
  39621. "wrfactortypeid": {
  39622. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39623. "type": "string"
  39624. },
  39625. "wrfactortypename": {
  39626. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39627. "type": "string"
  39628. },
  39629. "wrpricetype": {
  39630. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39631. "type": "integer"
  39632. },
  39633. "wrstandardcode": {
  39634. "description": "现货商品代码",
  39635. "type": "string"
  39636. },
  39637. "wrstandardid": {
  39638. "description": "现货商品ID",
  39639. "type": "integer"
  39640. },
  39641. "wrstandardname": {
  39642. "description": "商品名称",
  39643. "type": "string"
  39644. },
  39645. "wrtradeorderid": {
  39646. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39647. "type": "string"
  39648. },
  39649. "wrtradeorderstatus": {
  39650. "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:撤单解冻贷款失败",
  39651. "type": "integer"
  39652. },
  39653. "wrtradetype": {
  39654. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39655. "type": "integer"
  39656. },
  39657. "wrtypename": {
  39658. "description": "商品",
  39659. "type": "string"
  39660. }
  39661. }
  39662. },
  39663. "models.WrOrderQuote": {
  39664. "type": "object",
  39665. "properties": {
  39666. "bannerpicurl": {
  39667. "description": "Banner图",
  39668. "type": "string"
  39669. },
  39670. "buyprice": {
  39671. "description": "买价",
  39672. "type": "number"
  39673. },
  39674. "buypricemove": {
  39675. "description": "买升贴水(基差)",
  39676. "type": "number"
  39677. },
  39678. "buyqty": {
  39679. "description": "买量",
  39680. "type": "number"
  39681. },
  39682. "deliverygoodscode": {
  39683. "description": "品种代码",
  39684. "type": "string"
  39685. },
  39686. "deliverygoodsid": {
  39687. "description": "品种id",
  39688. "type": "integer"
  39689. },
  39690. "deliverygoodsname": {
  39691. "description": "品种名称",
  39692. "type": "string"
  39693. },
  39694. "deliverymonth": {
  39695. "description": "交收月",
  39696. "type": "string"
  39697. },
  39698. "enumdicname": {
  39699. "description": "单位名称",
  39700. "type": "string"
  39701. },
  39702. "goodscode": {
  39703. "description": "商品合约(浮动价列表才有)",
  39704. "type": "string"
  39705. },
  39706. "goodsid": {
  39707. "description": "商品id(浮动价列表才有)",
  39708. "type": "integer"
  39709. },
  39710. "minivalue": {
  39711. "description": "现货商品最小变动值",
  39712. "type": "integer"
  39713. },
  39714. "pictureurls": {
  39715. "description": "详情图片(逗号分隔)",
  39716. "type": "string"
  39717. },
  39718. "sellprice": {
  39719. "description": "卖价",
  39720. "type": "number"
  39721. },
  39722. "sellpricemove": {
  39723. "description": "卖升贴水(基差)",
  39724. "type": "number"
  39725. },
  39726. "sellqty": {
  39727. "description": "卖量",
  39728. "type": "number"
  39729. },
  39730. "thumurls": {
  39731. "description": "缩略图片(1:1)(逗号分隔)",
  39732. "type": "string"
  39733. },
  39734. "warehousecode": {
  39735. "description": "仓库代码",
  39736. "type": "string"
  39737. },
  39738. "warehouseid": {
  39739. "description": "仓库id",
  39740. "type": "integer"
  39741. },
  39742. "warehousename": {
  39743. "description": "仓库名称",
  39744. "type": "string"
  39745. },
  39746. "wrfactortypeid": {
  39747. "description": "仓单要素id",
  39748. "type": "string"
  39749. },
  39750. "wrfactortypename": {
  39751. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39752. "type": "string"
  39753. },
  39754. "wrgoodsname": {
  39755. "description": "商品(商品名称+仓库要素名称 拼接)",
  39756. "type": "string"
  39757. },
  39758. "wrstandardcode": {
  39759. "description": "商品代码",
  39760. "type": "string"
  39761. },
  39762. "wrstandardid": {
  39763. "description": "商品id",
  39764. "type": "integer"
  39765. },
  39766. "wrstandardname": {
  39767. "description": "商品名称",
  39768. "type": "string"
  39769. }
  39770. }
  39771. },
  39772. "models.WrOrderQuoteDetail": {
  39773. "type": "object",
  39774. "properties": {
  39775. "buyorsell": {
  39776. "description": "买卖 - 0:买 1:卖",
  39777. "type": "integer"
  39778. },
  39779. "delistminqty": {
  39780. "description": "起摘数量",
  39781. "type": "number"
  39782. },
  39783. "deliverymonth": {
  39784. "description": "交收月",
  39785. "type": "string"
  39786. },
  39787. "enumdicname": {
  39788. "description": "单位名称",
  39789. "type": "string"
  39790. },
  39791. "fixedprice": {
  39792. "description": "买(卖)价",
  39793. "type": "number"
  39794. },
  39795. "marketid": {
  39796. "description": "市场id",
  39797. "type": "integer"
  39798. },
  39799. "minivalue": {
  39800. "description": "现货商品最小变动值",
  39801. "type": "integer"
  39802. },
  39803. "orderqty": {
  39804. "description": "买(卖)量(=委托量-成交量)",
  39805. "type": "number"
  39806. },
  39807. "ordertime": {
  39808. "description": "委托时间",
  39809. "type": "string"
  39810. },
  39811. "pricemove": {
  39812. "description": "买(卖)升贴水- 基差",
  39813. "type": "number"
  39814. },
  39815. "userid": {
  39816. "description": "购买方(销售方)用户ID",
  39817. "type": "integer"
  39818. },
  39819. "username": {
  39820. "description": "购买方(销售方)",
  39821. "type": "string"
  39822. },
  39823. "wrtradeorderid": {
  39824. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39825. "type": "string"
  39826. }
  39827. }
  39828. },
  39829. "models.WrOutInApply": {
  39830. "type": "object",
  39831. "properties": {
  39832. "applyid": {
  39833. "description": "申请单id",
  39834. "type": "string"
  39835. },
  39836. "applystatus": {
  39837. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  39838. "type": "integer"
  39839. },
  39840. "applytime": {
  39841. "description": "申请时间",
  39842. "type": "string"
  39843. },
  39844. "applytype": {
  39845. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  39846. "type": "integer"
  39847. },
  39848. "bannerpicurl": {
  39849. "description": "Banner图",
  39850. "type": "string"
  39851. },
  39852. "begindate": {
  39853. "description": "开始交易日(yyyymmdd)",
  39854. "type": "string"
  39855. },
  39856. "deliverygoodscode": {
  39857. "description": "品种代码",
  39858. "type": "string"
  39859. },
  39860. "deliverygoodsid": {
  39861. "description": "品种ID",
  39862. "type": "integer"
  39863. },
  39864. "deliverygoodsname": {
  39865. "description": "品种名称",
  39866. "type": "string"
  39867. },
  39868. "enddate": {
  39869. "description": "结束交易日(yyyymmdd)",
  39870. "type": "string"
  39871. },
  39872. "enumdicname": {
  39873. "description": "单位名称",
  39874. "type": "string"
  39875. },
  39876. "expresscompany": {
  39877. "description": "物流公司",
  39878. "type": "string"
  39879. },
  39880. "expressnum": {
  39881. "description": "物流单号",
  39882. "type": "string"
  39883. },
  39884. "minivalue": {
  39885. "description": "现货商品最小变动值",
  39886. "type": "integer"
  39887. },
  39888. "optioncompare": {
  39889. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39890. "type": "string"
  39891. },
  39892. "qty": {
  39893. "description": "数量",
  39894. "type": "integer"
  39895. },
  39896. "userid": {
  39897. "description": "用户id",
  39898. "type": "integer"
  39899. },
  39900. "warehouseid": {
  39901. "description": "仓库ID",
  39902. "type": "integer"
  39903. },
  39904. "warehousename": {
  39905. "description": "仓库名称",
  39906. "type": "string"
  39907. },
  39908. "wrfactortypeid": {
  39909. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39910. "type": "string"
  39911. },
  39912. "wrfactortypename": {
  39913. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39914. "type": "string"
  39915. },
  39916. "wrstandardcode": {
  39917. "description": "现货商品代码",
  39918. "type": "string"
  39919. },
  39920. "wrstandardid": {
  39921. "description": "现货商品ID",
  39922. "type": "integer"
  39923. },
  39924. "wrstandardname": {
  39925. "description": "商品名称",
  39926. "type": "string"
  39927. },
  39928. "wrtypename": {
  39929. "description": "商品",
  39930. "type": "string"
  39931. }
  39932. }
  39933. },
  39934. "models.WrPerformancePlan": {
  39935. "type": "object",
  39936. "required": [
  39937. "userid"
  39938. ],
  39939. "properties": {
  39940. "activatemonth": {
  39941. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  39942. "type": "string"
  39943. },
  39944. "amount": {
  39945. "description": "履约金额(总金额)",
  39946. "type": "number"
  39947. },
  39948. "begindate": {
  39949. "description": "开始交易日(yyyymmdd)",
  39950. "type": "string"
  39951. },
  39952. "buyaccountid": {
  39953. "description": "买方账号",
  39954. "type": "integer"
  39955. },
  39956. "buyerfreezeamount": {
  39957. "description": "履约冻结(买履约)",
  39958. "type": "number"
  39959. },
  39960. "buyerfreezeamountremain": {
  39961. "description": "履约冻结剩余(买履约)",
  39962. "type": "number"
  39963. },
  39964. "buyorsell": {
  39965. "description": "买卖方向 0-买 1-卖",
  39966. "type": "integer"
  39967. },
  39968. "buypaidamount": {
  39969. "description": "买方已冻/已扣金额 (已付金额)",
  39970. "type": "number"
  39971. },
  39972. "buyusername": {
  39973. "description": "买方名字",
  39974. "type": "string"
  39975. },
  39976. "contractid": {
  39977. "description": "合同ID",
  39978. "type": "integer"
  39979. },
  39980. "createtime": {
  39981. "description": "创建时间",
  39982. "type": "string"
  39983. },
  39984. "creatorid": {
  39985. "description": "创建人",
  39986. "type": "integer"
  39987. },
  39988. "curstepdeadline": {
  39989. "description": "当前步骤到期时间",
  39990. "type": "string"
  39991. },
  39992. "curstepid": {
  39993. "description": "当前步骤ID",
  39994. "type": "string"
  39995. },
  39996. "curstepname": {
  39997. "description": "当前步骤名称",
  39998. "type": "string"
  39999. },
  40000. "deliverygoodscode": {
  40001. "description": "品种代码",
  40002. "type": "string"
  40003. },
  40004. "deliverygoodsid": {
  40005. "description": "品种ID",
  40006. "type": "integer"
  40007. },
  40008. "deliverygoodsname": {
  40009. "description": "品种名称",
  40010. "type": "string"
  40011. },
  40012. "enddate": {
  40013. "description": "结束交易日(yyyymmdd)",
  40014. "type": "string"
  40015. },
  40016. "enumdicname": {
  40017. "description": "单位名称",
  40018. "type": "string"
  40019. },
  40020. "expressfee": {
  40021. "description": "运费",
  40022. "type": "number"
  40023. },
  40024. "expressfeeconfirmed": {
  40025. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  40026. "type": "integer"
  40027. },
  40028. "hasovershort": {
  40029. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  40030. "type": "integer"
  40031. },
  40032. "haswr": {
  40033. "description": "类型 0-仓单预售 1-仓单贸易",
  40034. "type": "integer"
  40035. },
  40036. "marketid": {
  40037. "description": "市场ID",
  40038. "type": "integer"
  40039. },
  40040. "middleaccountid": {
  40041. "description": "中间商资金账号ID",
  40042. "type": "integer"
  40043. },
  40044. "middleuserid": {
  40045. "description": "中间商用户ID",
  40046. "type": "integer"
  40047. },
  40048. "minivalue": {
  40049. "description": "现货商品最小变动值",
  40050. "type": "integer"
  40051. },
  40052. "optioncompare": {
  40053. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40054. "type": "string"
  40055. },
  40056. "overshortamount": {
  40057. "description": "溢短金额",
  40058. "type": "number"
  40059. },
  40060. "overshortqty": {
  40061. "description": "溢短数量",
  40062. "type": "number"
  40063. },
  40064. "paymenttype": {
  40065. "description": "付款方式 - 1:冻结 2:扣款",
  40066. "type": "integer"
  40067. },
  40068. "performanceplanid": {
  40069. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  40070. "type": "string"
  40071. },
  40072. "performancestatus": {
  40073. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  40074. "type": "integer"
  40075. },
  40076. "performancetype": {
  40077. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  40078. "type": "integer"
  40079. },
  40080. "qty": {
  40081. "description": "履约数量",
  40082. "type": "number"
  40083. },
  40084. "relatedorderid": {
  40085. "description": "关联单号(履约类型的关联单号)",
  40086. "type": "string"
  40087. },
  40088. "remark": {
  40089. "description": "备注",
  40090. "type": "string"
  40091. },
  40092. "sellaccountid": {
  40093. "description": "卖方账号",
  40094. "type": "integer"
  40095. },
  40096. "sellerfreezeamount": {
  40097. "description": "履约冻结(卖履约)",
  40098. "type": "number"
  40099. },
  40100. "sellerfreezeamountremain": {
  40101. "description": "履约冻结剩余(卖履约)",
  40102. "type": "number"
  40103. },
  40104. "sellreceivedamount": {
  40105. "description": "卖方已收金额",
  40106. "type": "number"
  40107. },
  40108. "sellusername": {
  40109. "description": "卖方名字",
  40110. "type": "string"
  40111. },
  40112. "shipremark": {
  40113. "description": "发货备注[物流单号]",
  40114. "type": "string"
  40115. },
  40116. "starttime": {
  40117. "description": "开始时间",
  40118. "type": "string"
  40119. },
  40120. "steptypeid": {
  40121. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40122. "type": "integer"
  40123. },
  40124. "typename": {
  40125. "description": "履约类型 名称",
  40126. "type": "string"
  40127. },
  40128. "unpaidamount": {
  40129. "description": "剩余款(待支付金额)",
  40130. "type": "number"
  40131. },
  40132. "userid": {
  40133. "description": "用户id",
  40134. "type": "integer"
  40135. },
  40136. "warehouseid": {
  40137. "description": "仓库ID",
  40138. "type": "integer"
  40139. },
  40140. "warehousename": {
  40141. "description": "仓库名称",
  40142. "type": "string"
  40143. },
  40144. "wrfactortypeid": {
  40145. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40146. "type": "string"
  40147. },
  40148. "wrfactortypename": {
  40149. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40150. "type": "string"
  40151. },
  40152. "wrstandardcode": {
  40153. "description": "现货商品代码",
  40154. "type": "string"
  40155. },
  40156. "wrstandardid": {
  40157. "description": "现货商品ID",
  40158. "type": "integer"
  40159. },
  40160. "wrstandardname": {
  40161. "description": "商品名称",
  40162. "type": "string"
  40163. },
  40164. "wrtransferuserid": {
  40165. "description": "仓单受让用户",
  40166. "type": "integer"
  40167. },
  40168. "wrtypename": {
  40169. "description": "商品",
  40170. "type": "string"
  40171. }
  40172. }
  40173. },
  40174. "models.WrPerformancePlanStep": {
  40175. "type": "object",
  40176. "properties": {
  40177. "delaydays": {
  40178. "description": "延期申请天数",
  40179. "type": "integer"
  40180. },
  40181. "deliverygoodscode": {
  40182. "description": "品种代码",
  40183. "type": "string"
  40184. },
  40185. "deliverygoodsid": {
  40186. "description": "品种ID",
  40187. "type": "integer"
  40188. },
  40189. "deliverygoodsname": {
  40190. "description": "品种名称",
  40191. "type": "string"
  40192. },
  40193. "endtime": {
  40194. "description": "结束日期",
  40195. "type": "string"
  40196. },
  40197. "enumdicname": {
  40198. "description": "单位名称",
  40199. "type": "string"
  40200. },
  40201. "executeside": {
  40202. "description": "步骤执行方 - 1:买方 2:卖方",
  40203. "type": "integer"
  40204. },
  40205. "handlestatus": {
  40206. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  40207. "type": "integer"
  40208. },
  40209. "isauto": {
  40210. "description": "是否自动 - 0:不自动 1:自动",
  40211. "type": "integer"
  40212. },
  40213. "islastreceivestep": {
  40214. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  40215. "type": "integer"
  40216. },
  40217. "minivalue": {
  40218. "description": "现货商品最小变动值",
  40219. "type": "integer"
  40220. },
  40221. "optioncompare": {
  40222. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40223. "type": "string"
  40224. },
  40225. "overdays": {
  40226. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  40227. "type": "integer"
  40228. },
  40229. "performancestepid": {
  40230. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  40231. "type": "string"
  40232. },
  40233. "planid": {
  40234. "description": "所属履约计划ID",
  40235. "type": "string"
  40236. },
  40237. "realamount": {
  40238. "description": "实际完成金额",
  40239. "type": "number"
  40240. },
  40241. "relatedorderid": {
  40242. "description": "关联单号",
  40243. "type": "string"
  40244. },
  40245. "remaindays": {
  40246. "description": "剩余天数",
  40247. "type": "integer"
  40248. },
  40249. "remark": {
  40250. "description": "错误备注",
  40251. "type": "string"
  40252. },
  40253. "starttime": {
  40254. "description": "开始日期",
  40255. "type": "string"
  40256. },
  40257. "stepamount": {
  40258. "description": "步骤金额",
  40259. "type": "number"
  40260. },
  40261. "stepdays": {
  40262. "description": "距离上一步天数(分钟)",
  40263. "type": "integer"
  40264. },
  40265. "stepindex": {
  40266. "description": "步骤序号",
  40267. "type": "integer"
  40268. },
  40269. "steplanchtype": {
  40270. "description": "步骤启动类型 - 1:系统自动 2:手动",
  40271. "type": "integer"
  40272. },
  40273. "stepremark": {
  40274. "description": "步骤备注",
  40275. "type": "string"
  40276. },
  40277. "stepstatus": {
  40278. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  40279. "type": "integer"
  40280. },
  40281. "steptypeid": {
  40282. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40283. "type": "integer"
  40284. },
  40285. "steptypename": {
  40286. "description": "步骤名称",
  40287. "type": "string"
  40288. },
  40289. "stepvalue": {
  40290. "description": "步骤值",
  40291. "type": "number"
  40292. },
  40293. "warehouseid": {
  40294. "description": "仓库ID",
  40295. "type": "integer"
  40296. },
  40297. "warehousename": {
  40298. "description": "仓库名称",
  40299. "type": "string"
  40300. },
  40301. "wrfactortypeid": {
  40302. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40303. "type": "string"
  40304. },
  40305. "wrfactortypename": {
  40306. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40307. "type": "string"
  40308. },
  40309. "wrstandardcode": {
  40310. "description": "现货商品代码",
  40311. "type": "string"
  40312. },
  40313. "wrstandardid": {
  40314. "description": "现货商品ID",
  40315. "type": "integer"
  40316. },
  40317. "wrstandardname": {
  40318. "description": "商品名称",
  40319. "type": "string"
  40320. },
  40321. "wrtypename": {
  40322. "description": "商品",
  40323. "type": "string"
  40324. }
  40325. }
  40326. },
  40327. "models.WrPerformanceStepType": {
  40328. "type": "object",
  40329. "properties": {
  40330. "canauto": {
  40331. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  40332. "type": "integer"
  40333. },
  40334. "steptypeid": {
  40335. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  40336. "type": "integer"
  40337. },
  40338. "steptypename": {
  40339. "description": "步骤类型名称",
  40340. "type": "string"
  40341. }
  40342. }
  40343. },
  40344. "models.WrPerformanceTemplateEx": {
  40345. "type": "object",
  40346. "properties": {
  40347. "autoid": {
  40348. "description": "AutoID 模板id",
  40349. "type": "integer"
  40350. },
  40351. "createtime": {
  40352. "description": "创建时间",
  40353. "type": "string"
  40354. },
  40355. "creatorid": {
  40356. "description": "创建人",
  40357. "type": "integer"
  40358. },
  40359. "lstStep": {
  40360. "description": "步骤信息列表",
  40361. "type": "array",
  40362. "items": {
  40363. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40364. }
  40365. },
  40366. "paymenttype": {
  40367. "description": "支付方式 - 1:冻结 2:扣款",
  40368. "type": "integer"
  40369. },
  40370. "takemode": {
  40371. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  40372. "type": "integer"
  40373. },
  40374. "templatename": {
  40375. "description": "模板名称",
  40376. "type": "string"
  40377. },
  40378. "templatetype": {
  40379. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  40380. "type": "integer"
  40381. },
  40382. "userid": {
  40383. "description": "所属用户",
  40384. "type": "integer"
  40385. }
  40386. }
  40387. },
  40388. "models.WrPosition": {
  40389. "type": "object",
  40390. "properties": {
  40391. "accountid": {
  40392. "description": "帐户ID",
  40393. "type": "integer"
  40394. },
  40395. "buyexcuteqty": {
  40396. "description": "采购履约中数量",
  40397. "type": "number"
  40398. },
  40399. "creditcurqty": {
  40400. "description": "授信当前数量(预售仓单:预售当前量)",
  40401. "type": "number"
  40402. },
  40403. "creditenableqty": {
  40404. "description": "授信可用数量(预售仓单: 可用数量)",
  40405. "type": "number"
  40406. },
  40407. "creditfreezeqty": {
  40408. "description": "授信冻结数量(预售仓单: 当前数量)",
  40409. "type": "number"
  40410. },
  40411. "credittotalqty": {
  40412. "description": "授信总数量(预售仓单:预售总量)",
  40413. "type": "number"
  40414. },
  40415. "credittradeqty": {
  40416. "description": "授信成交数量(预售仓单:成交总量)",
  40417. "type": "number"
  40418. },
  40419. "deliverygoodscode": {
  40420. "description": "品种代码",
  40421. "type": "string"
  40422. },
  40423. "deliverygoodsid": {
  40424. "description": "品种ID",
  40425. "type": "integer"
  40426. },
  40427. "deliverygoodsname": {
  40428. "description": "品种名称",
  40429. "type": "string"
  40430. },
  40431. "enalbeqty": {
  40432. "description": "可用数量",
  40433. "type": "number"
  40434. },
  40435. "enumdicname": {
  40436. "description": "单位名称",
  40437. "type": "string"
  40438. },
  40439. "freezeqty": {
  40440. "description": "总冻结数量",
  40441. "type": "number"
  40442. },
  40443. "haswr": {
  40444. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40445. "type": "integer"
  40446. },
  40447. "minivalue": {
  40448. "description": "现货商品最小变动值",
  40449. "type": "integer"
  40450. },
  40451. "modifytime": {
  40452. "description": "修改时间(过户时间)",
  40453. "type": "string"
  40454. },
  40455. "optioncompare": {
  40456. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40457. "type": "string"
  40458. },
  40459. "pledgeqty": {
  40460. "description": "质押数量",
  40461. "type": "number"
  40462. },
  40463. "querytype": {
  40464. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  40465. "type": "integer"
  40466. },
  40467. "sellexcuteqty": {
  40468. "description": "销售履约中数量",
  40469. "type": "number"
  40470. },
  40471. "totalqty": {
  40472. "description": "总数量(库存数量)",
  40473. "type": "number"
  40474. },
  40475. "warehouseid": {
  40476. "description": "仓库ID",
  40477. "type": "integer"
  40478. },
  40479. "warehousename": {
  40480. "description": "仓库名称",
  40481. "type": "string"
  40482. },
  40483. "wrfactortypeid": {
  40484. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40485. "type": "string"
  40486. },
  40487. "wrfactortypename": {
  40488. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40489. "type": "string"
  40490. },
  40491. "wrpositionid": {
  40492. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40493. "type": "string"
  40494. },
  40495. "wrpositionno": {
  40496. "description": "仓单编号",
  40497. "type": "string"
  40498. },
  40499. "wrstandardcode": {
  40500. "description": "现货商品代码",
  40501. "type": "string"
  40502. },
  40503. "wrstandardid": {
  40504. "description": "现货商品ID",
  40505. "type": "integer"
  40506. },
  40507. "wrstandardname": {
  40508. "description": "商品名称",
  40509. "type": "string"
  40510. },
  40511. "wrtypename": {
  40512. "description": "商品",
  40513. "type": "string"
  40514. },
  40515. "wruserid": {
  40516. "description": "持有人ID",
  40517. "type": "integer"
  40518. }
  40519. }
  40520. },
  40521. "models.WrPreSaleInfo": {
  40522. "type": "object",
  40523. "properties": {
  40524. "bannerpicurl": {
  40525. "description": "Banner图",
  40526. "type": "string"
  40527. },
  40528. "baseqty": {
  40529. "description": "中签基数",
  40530. "type": "number"
  40531. },
  40532. "createtime": {
  40533. "description": "创建时间",
  40534. "type": "string"
  40535. },
  40536. "deliverygoodsid": {
  40537. "description": "现货品种ID",
  40538. "type": "integer"
  40539. },
  40540. "enddate": {
  40541. "description": "预售结束日期",
  40542. "type": "string"
  40543. },
  40544. "enumdicname": {
  40545. "description": "单位名称",
  40546. "type": "string"
  40547. },
  40548. "lotteryflag": {
  40549. "description": "摇号标识 - 0:未摇号 1:已摇号",
  40550. "type": "integer"
  40551. },
  40552. "lotteryqty": {
  40553. "description": "摇号总量",
  40554. "type": "number"
  40555. },
  40556. "luckyqty": {
  40557. "description": "已中签量",
  40558. "type": "number"
  40559. },
  40560. "marketid": {
  40561. "description": "市场ID",
  40562. "type": "integer"
  40563. },
  40564. "maxbuyqty": {
  40565. "description": "单人最大申购量",
  40566. "type": "number"
  40567. },
  40568. "maxluckyqty": {
  40569. "description": "单人最大中签量",
  40570. "type": "number"
  40571. },
  40572. "pictureurls": {
  40573. "description": "详情图片(逗号分隔)",
  40574. "type": "string"
  40575. },
  40576. "placeqty": {
  40577. "description": "已配售量",
  40578. "type": "number"
  40579. },
  40580. "presaleapplyid": {
  40581. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40582. "type": "string",
  40583. "example": "0"
  40584. },
  40585. "presaleqty": {
  40586. "description": "预售总量",
  40587. "type": "number"
  40588. },
  40589. "presalestatus": {
  40590. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  40591. "type": "integer"
  40592. },
  40593. "sellaccountid": {
  40594. "description": "发行方资金账户ID",
  40595. "type": "integer"
  40596. },
  40597. "selluserid": {
  40598. "description": "发行方用户ID",
  40599. "type": "integer"
  40600. },
  40601. "sellwrtradeorderid": {
  40602. "description": "发行方卖委托单ID",
  40603. "type": "string"
  40604. },
  40605. "startdate": {
  40606. "description": "预售开始日期",
  40607. "type": "string"
  40608. },
  40609. "takestartdate": {
  40610. "description": "提货开始日期",
  40611. "type": "string"
  40612. },
  40613. "thumurls": {
  40614. "description": "缩略图片(1:1)(逗号分隔)",
  40615. "type": "string"
  40616. },
  40617. "tradedate": {
  40618. "description": "交易日",
  40619. "type": "string"
  40620. },
  40621. "unitid": {
  40622. "description": "单位ID",
  40623. "type": "integer"
  40624. },
  40625. "unitprice": {
  40626. "description": "商品单价",
  40627. "type": "number"
  40628. },
  40629. "username": {
  40630. "description": "发行方用户名称",
  40631. "type": "string"
  40632. },
  40633. "warehousecode": {
  40634. "description": "仓库代码(仓库简称)",
  40635. "type": "string"
  40636. },
  40637. "warehouseid": {
  40638. "description": "仓库ID",
  40639. "type": "integer"
  40640. },
  40641. "warehousename": {
  40642. "description": "仓库名称",
  40643. "type": "string"
  40644. },
  40645. "wrfactortypeid": {
  40646. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  40647. "type": "string",
  40648. "example": "0"
  40649. },
  40650. "wrstandardid": {
  40651. "description": "现货商品ID",
  40652. "type": "integer"
  40653. },
  40654. "wrstandardname": {
  40655. "description": "现货商品名称",
  40656. "type": "string"
  40657. }
  40658. }
  40659. },
  40660. "models.WrQuoteOrderMyq": {
  40661. "type": "object",
  40662. "properties": {
  40663. "buyorsell": {
  40664. "description": "买卖 - 0:买 1:卖",
  40665. "type": "integer"
  40666. },
  40667. "canbargain": {
  40668. "description": "是否可议价 - 0:不可 1:可",
  40669. "type": "integer"
  40670. },
  40671. "canpart": {
  40672. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  40673. "type": "integer"
  40674. },
  40675. "delistminqty": {
  40676. "description": "起摘数量",
  40677. "type": "number"
  40678. },
  40679. "deliverygoodscode": {
  40680. "description": "品种代码",
  40681. "type": "string"
  40682. },
  40683. "deliverygoodsid": {
  40684. "description": "品种ID",
  40685. "type": "integer"
  40686. },
  40687. "deliverygoodsname": {
  40688. "description": "品种名称",
  40689. "type": "string"
  40690. },
  40691. "deliverymonth": {
  40692. "description": "交收月",
  40693. "type": "string"
  40694. },
  40695. "enumdicname": {
  40696. "description": "单位名称",
  40697. "type": "string"
  40698. },
  40699. "fixedprice": {
  40700. "description": "买(卖)价",
  40701. "type": "number"
  40702. },
  40703. "goodscode": {
  40704. "description": "商品合约代码",
  40705. "type": "string"
  40706. },
  40707. "marginflag": {
  40708. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  40709. "type": "integer"
  40710. },
  40711. "marginvalue": {
  40712. "description": "保证金设置值",
  40713. "type": "number"
  40714. },
  40715. "minivalue": {
  40716. "description": "现货商品最小变动值",
  40717. "type": "integer"
  40718. },
  40719. "orderqty": {
  40720. "description": "买(卖)量(=委托量-成交量)",
  40721. "type": "number"
  40722. },
  40723. "ordertime": {
  40724. "description": "委托时间",
  40725. "type": "string"
  40726. },
  40727. "performancetemplateid": {
  40728. "description": "履约模板id",
  40729. "type": "integer"
  40730. },
  40731. "pricemove": {
  40732. "description": "买(卖)升贴水- 基差",
  40733. "type": "number"
  40734. },
  40735. "templatename": {
  40736. "description": "履约模板名称",
  40737. "type": "string"
  40738. },
  40739. "userid": {
  40740. "description": "购买方(销售方)用户ID",
  40741. "type": "integer"
  40742. },
  40743. "username": {
  40744. "description": "购买方(销售方)",
  40745. "type": "string"
  40746. },
  40747. "validtime": {
  40748. "description": "有效期限",
  40749. "type": "string"
  40750. },
  40751. "validtype": {
  40752. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40753. "type": "integer"
  40754. },
  40755. "warehousename": {
  40756. "description": "仓库名称",
  40757. "type": "string"
  40758. },
  40759. "wrfactortypeid": {
  40760. "description": "仓单要素id",
  40761. "type": "string"
  40762. },
  40763. "wrstandardcode": {
  40764. "description": "现货商品代码",
  40765. "type": "string"
  40766. },
  40767. "wrstandardid": {
  40768. "description": "现货商品ID",
  40769. "type": "integer"
  40770. },
  40771. "wrstandardname": {
  40772. "description": "商品名称",
  40773. "type": "string"
  40774. },
  40775. "wrtradeorderid": {
  40776. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40777. "type": "string"
  40778. },
  40779. "wrtypename": {
  40780. "description": "商品",
  40781. "type": "string"
  40782. }
  40783. }
  40784. },
  40785. "models.WrReckonSpotGoodsTradeSum": {
  40786. "type": "object",
  40787. "properties": {
  40788. "begindate": {
  40789. "description": "开始日期(结果含开始日期) yyyymmdd",
  40790. "type": "string"
  40791. },
  40792. "enddate": {
  40793. "description": "结束日期(结果含结束日期) yyyymmdd",
  40794. "type": "string"
  40795. },
  40796. "istoday": {
  40797. "description": "是否当日",
  40798. "type": "boolean"
  40799. },
  40800. "marketid": {
  40801. "description": "市场ID",
  40802. "type": "integer"
  40803. },
  40804. "price": {
  40805. "description": "价格 = 日成交金额 / 日成交数量",
  40806. "type": "string"
  40807. },
  40808. "reckondate": {
  40809. "description": "日期 格式 yyyymmdd",
  40810. "type": "string"
  40811. },
  40812. "tradeamount": {
  40813. "description": "日成交金额(当日单方向成交金额)",
  40814. "type": "number"
  40815. },
  40816. "tradeqty": {
  40817. "description": "日成交数量(当日单方向成交数量)",
  40818. "type": "number"
  40819. },
  40820. "wrstandardid": {
  40821. "description": "现货商品ID",
  40822. "type": "integer"
  40823. }
  40824. }
  40825. },
  40826. "models.WrScfContract": {
  40827. "type": "object",
  40828. "properties": {
  40829. "borroweruserid": {
  40830. "description": "借款用户ID",
  40831. "type": "integer"
  40832. },
  40833. "buybackwrpositionqty": {
  40834. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  40835. "type": "number"
  40836. },
  40837. "closeinterest": {
  40838. "description": "已结利息 -\u003e 已结费用",
  40839. "type": "number"
  40840. },
  40841. "currisklevel": {
  40842. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  40843. "type": "integer"
  40844. },
  40845. "deadline": {
  40846. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  40847. "type": "string"
  40848. },
  40849. "deliverygoodscode": {
  40850. "description": "品种代码",
  40851. "type": "string"
  40852. },
  40853. "deliverygoodsid": {
  40854. "description": "品种ID",
  40855. "type": "integer"
  40856. },
  40857. "deliverygoodsname": {
  40858. "description": "品种名称",
  40859. "type": "string"
  40860. },
  40861. "enumdicname": {
  40862. "description": "单位名称",
  40863. "type": "string"
  40864. },
  40865. "financingdays": {
  40866. "description": "天数(天)",
  40867. "type": "integer"
  40868. },
  40869. "initmargin": {
  40870. "description": "保证金 - [仓单回购]",
  40871. "type": "number"
  40872. },
  40873. "interestamount": {
  40874. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  40875. "type": "number"
  40876. },
  40877. "interestdebt": {
  40878. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  40879. "type": "number"
  40880. },
  40881. "interestminlen": {
  40882. "description": "最小起息天数",
  40883. "type": "integer"
  40884. },
  40885. "interestrate": {
  40886. "description": "利率",
  40887. "type": "number"
  40888. },
  40889. "interestratemode": {
  40890. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40891. "type": "integer"
  40892. },
  40893. "interestsettlemode": {
  40894. "description": "结息方式 - 1:按日结息 3:按月结息",
  40895. "type": "integer"
  40896. },
  40897. "interestsettlevalue": {
  40898. "description": "结息方式值",
  40899. "type": "integer"
  40900. },
  40901. "isautoloan": {
  40902. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  40903. "type": "integer"
  40904. },
  40905. "lastcloseinterestday": {
  40906. "description": "最近结息日(yyyyMMdd)",
  40907. "type": "string"
  40908. },
  40909. "lenderamount": {
  40910. "description": "贷款金额 -\u003e 借款金额",
  40911. "type": "number"
  40912. },
  40913. "lenderuserid": {
  40914. "description": "贷款方用户ID -\u003e 融出方用户ID",
  40915. "type": "integer"
  40916. },
  40917. "lenderusername": {
  40918. "description": "融出方",
  40919. "type": "string"
  40920. },
  40921. "marginratio": {
  40922. "description": "保证金比率质押率 - [仓单质押]",
  40923. "type": "number"
  40924. },
  40925. "marketid": {
  40926. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  40927. "type": "integer"
  40928. },
  40929. "minivalue": {
  40930. "description": "现货商品最小变动值",
  40931. "type": "integer"
  40932. },
  40933. "optioncompare": {
  40934. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40935. "type": "string"
  40936. },
  40937. "pricemove": {
  40938. "description": "估值升贴水值",
  40939. "type": "number"
  40940. },
  40941. "productdetailid": {
  40942. "description": "产品组合ID",
  40943. "type": "integer"
  40944. },
  40945. "productid": {
  40946. "description": "金融产品ID",
  40947. "type": "integer"
  40948. },
  40949. "productname": {
  40950. "description": "产品名称",
  40951. "type": "string"
  40952. },
  40953. "remainamount": {
  40954. "description": "合同剩余金额 -\u003e 剩余金额",
  40955. "type": "number"
  40956. },
  40957. "remainwrpositionqty": {
  40958. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  40959. "type": "number"
  40960. },
  40961. "remark": {
  40962. "description": "备注",
  40963. "type": "string"
  40964. },
  40965. "scfcontractid": {
  40966. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  40967. "type": "string"
  40968. },
  40969. "scfcontractstatus": {
  40970. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  40971. "type": "integer"
  40972. },
  40973. "scfcontracttype": {
  40974. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  40975. "type": "integer"
  40976. },
  40977. "startinterestday": {
  40978. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  40979. "type": "string"
  40980. },
  40981. "totalinterest": {
  40982. "description": "已计利息 -\u003e 已计费用",
  40983. "type": "number"
  40984. },
  40985. "unpaidinterest": {
  40986. "description": "未结费用",
  40987. "type": "number"
  40988. },
  40989. "updatetime": {
  40990. "description": "更新时间",
  40991. "type": "string"
  40992. },
  40993. "warehouseid": {
  40994. "description": "仓库ID",
  40995. "type": "integer"
  40996. },
  40997. "warehousename": {
  40998. "description": "仓库名称",
  40999. "type": "string"
  41000. },
  41001. "wrfactortypeid": {
  41002. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41003. "type": "string"
  41004. },
  41005. "wrfactortypename": {
  41006. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41007. "type": "string"
  41008. },
  41009. "wrqty": {
  41010. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  41011. "type": "number"
  41012. },
  41013. "wrstandardcode": {
  41014. "description": "现货商品代码",
  41015. "type": "string"
  41016. },
  41017. "wrstandardid": {
  41018. "description": "现货商品ID",
  41019. "type": "integer"
  41020. },
  41021. "wrstandardname": {
  41022. "description": "商品名称",
  41023. "type": "string"
  41024. },
  41025. "wrtypename": {
  41026. "description": "商品",
  41027. "type": "string"
  41028. }
  41029. }
  41030. },
  41031. "models.WrScfContractInterest": {
  41032. "type": "object",
  41033. "properties": {
  41034. "closeinterest": {
  41035. "description": "已结利息",
  41036. "type": "number"
  41037. },
  41038. "closeintereststatus": {
  41039. "description": "结息状态 - 1:未结 2:已结",
  41040. "type": "integer"
  41041. },
  41042. "closetime": {
  41043. "description": "结息时间",
  41044. "type": "string"
  41045. },
  41046. "closetradedate": {
  41047. "description": "结息交易日",
  41048. "type": "string"
  41049. },
  41050. "creatorid": {
  41051. "description": "操作人ID",
  41052. "type": "integer"
  41053. },
  41054. "dayrate": {
  41055. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  41056. "type": "number"
  41057. },
  41058. "interest": {
  41059. "description": "利息",
  41060. "type": "number"
  41061. },
  41062. "interestamount": {
  41063. "description": "计息金额",
  41064. "type": "number"
  41065. },
  41066. "interestday": {
  41067. "description": "计息日(yyyyMMdd)",
  41068. "type": "string"
  41069. },
  41070. "scfcontractid": {
  41071. "description": "SCF合同ID",
  41072. "type": "string"
  41073. },
  41074. "scfcontractinterestid": {
  41075. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  41076. "type": "integer"
  41077. },
  41078. "updatetime": {
  41079. "description": "更新时间",
  41080. "type": "string"
  41081. }
  41082. }
  41083. },
  41084. "models.WrSearchUser": {
  41085. "type": "object",
  41086. "required": [
  41087. "username"
  41088. ],
  41089. "properties": {
  41090. "userid": {
  41091. "description": "用户ID",
  41092. "type": "integer"
  41093. },
  41094. "username": {
  41095. "description": "用户名称(已脱敏)",
  41096. "type": "string"
  41097. },
  41098. "username2": {
  41099. "description": "用户名称(未脱敏)",
  41100. "type": "string"
  41101. },
  41102. "usertype": {
  41103. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41104. "type": "integer"
  41105. }
  41106. }
  41107. },
  41108. "models.WrSiteColumnDetail": {
  41109. "type": "object",
  41110. "properties": {
  41111. "brief": {
  41112. "description": "简介",
  41113. "type": "string"
  41114. },
  41115. "context": {
  41116. "description": "内容",
  41117. "type": "string"
  41118. },
  41119. "coverimage": {
  41120. "description": "封面图片",
  41121. "type": "string"
  41122. },
  41123. "creaedate": {
  41124. "description": "创建时间",
  41125. "type": "string"
  41126. },
  41127. "id": {
  41128. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  41129. "type": "integer"
  41130. },
  41131. "istop": {
  41132. "description": "是否置顶 - 0:不置 1:置顶",
  41133. "type": "integer"
  41134. },
  41135. "publishdate": {
  41136. "description": "发布日期",
  41137. "type": "string"
  41138. },
  41139. "title": {
  41140. "description": "标题",
  41141. "type": "string"
  41142. },
  41143. "updatedate": {
  41144. "description": "修改时间",
  41145. "type": "string"
  41146. }
  41147. }
  41148. },
  41149. "models.WrSpecialMatchOrder": {
  41150. "type": "object",
  41151. "properties": {
  41152. "amount": {
  41153. "description": "金额 = 数量 * 价格",
  41154. "type": "number"
  41155. },
  41156. "buyorsell": {
  41157. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41158. "type": "integer"
  41159. },
  41160. "cancelqty": {
  41161. "description": "撤销数量",
  41162. "type": "number"
  41163. },
  41164. "deliverygoodscode": {
  41165. "description": "品种代码",
  41166. "type": "string"
  41167. },
  41168. "deliverygoodsid": {
  41169. "description": "品种ID",
  41170. "type": "integer"
  41171. },
  41172. "deliverygoodsname": {
  41173. "description": "品种名称",
  41174. "type": "string"
  41175. },
  41176. "enumdicname": {
  41177. "description": "单位名称",
  41178. "type": "string"
  41179. },
  41180. "fixedprice": {
  41181. "description": "固定价格(价格)",
  41182. "type": "number"
  41183. },
  41184. "haswr": {
  41185. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41186. "type": "integer"
  41187. },
  41188. "isspecified": {
  41189. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  41190. "type": "integer"
  41191. },
  41192. "marketid": {
  41193. "description": "市场ID",
  41194. "type": "integer"
  41195. },
  41196. "matchuserid": {
  41197. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  41198. "type": "integer"
  41199. },
  41200. "matchusername": {
  41201. "description": "指定方",
  41202. "type": "string"
  41203. },
  41204. "minivalue": {
  41205. "description": "现货商品最小变动值",
  41206. "type": "integer"
  41207. },
  41208. "optioncompare": {
  41209. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41210. "type": "string"
  41211. },
  41212. "orderqty": {
  41213. "description": "委托数量",
  41214. "type": "number"
  41215. },
  41216. "ordertime": {
  41217. "description": "委托时间",
  41218. "type": "string"
  41219. },
  41220. "pricemove": {
  41221. "description": "升贴水(浮动价时填写) - [挂牌]",
  41222. "type": "number"
  41223. },
  41224. "tradedate": {
  41225. "description": "交易日(yyyyMMdd)",
  41226. "type": "string"
  41227. },
  41228. "tradeprice": {
  41229. "description": "成交价格",
  41230. "type": "number"
  41231. },
  41232. "tradeqty": {
  41233. "description": "成交数量",
  41234. "type": "number"
  41235. },
  41236. "userid": {
  41237. "description": "用户ID",
  41238. "type": "integer"
  41239. },
  41240. "username": {
  41241. "description": "发起方",
  41242. "type": "string"
  41243. },
  41244. "warehouseid": {
  41245. "description": "仓库ID",
  41246. "type": "integer"
  41247. },
  41248. "warehousename": {
  41249. "description": "仓库名称",
  41250. "type": "string"
  41251. },
  41252. "wrfactortypeid": {
  41253. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41254. "type": "string"
  41255. },
  41256. "wrfactortypename": {
  41257. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41258. "type": "string"
  41259. },
  41260. "wrpricetype": {
  41261. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41262. "type": "integer"
  41263. },
  41264. "wrstandardcode": {
  41265. "description": "现货商品代码",
  41266. "type": "string"
  41267. },
  41268. "wrstandardid": {
  41269. "description": "现货商品ID",
  41270. "type": "integer"
  41271. },
  41272. "wrstandardname": {
  41273. "description": "商品名称",
  41274. "type": "string"
  41275. },
  41276. "wrtradeorderid": {
  41277. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41278. "type": "string"
  41279. },
  41280. "wrtradeorderstatus": {
  41281. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  41282. "type": "integer"
  41283. },
  41284. "wrtradetype": {
  41285. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41286. "type": "integer"
  41287. },
  41288. "wrtypename": {
  41289. "description": "商品",
  41290. "type": "string"
  41291. }
  41292. }
  41293. },
  41294. "models.WrSpotGroupTradeSum": {
  41295. "type": "object",
  41296. "properties": {
  41297. "deliverygoodscode": {
  41298. "description": "现货品种代码",
  41299. "type": "string"
  41300. },
  41301. "deliverygoodsid": {
  41302. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41303. "type": "integer"
  41304. },
  41305. "deliverygoodsname": {
  41306. "description": "现货品种名称",
  41307. "type": "string"
  41308. },
  41309. "lastavgprice": {
  41310. "description": "上上个交易日价格(前2天价格)",
  41311. "type": "string"
  41312. },
  41313. "lastreckondate": {
  41314. "description": "上上个交易日(前2天交易日)",
  41315. "type": "string"
  41316. },
  41317. "reckondate": {
  41318. "description": "上个交易日(前1天交易日)",
  41319. "type": "string"
  41320. },
  41321. "todayavgprice": {
  41322. "description": "上个交易日价格(前1天价格)",
  41323. "type": "string"
  41324. },
  41325. "updown": {
  41326. "description": "涨跌",
  41327. "type": "string"
  41328. },
  41329. "updownratio": {
  41330. "description": "涨幅(已格式化, 直接显示即可)",
  41331. "type": "string"
  41332. }
  41333. }
  41334. },
  41335. "models.WrSpotGroupTradeSumDetail": {
  41336. "type": "object",
  41337. "properties": {
  41338. "deliverygoodsid": {
  41339. "description": "现货商品id",
  41340. "type": "integer"
  41341. },
  41342. "price": {
  41343. "description": "价格",
  41344. "type": "number"
  41345. },
  41346. "reckondate": {
  41347. "description": "日期(yyymmdd, 如:20211031)",
  41348. "type": "string"
  41349. }
  41350. }
  41351. },
  41352. "models.WrSpotGroupTradeSumEx": {
  41353. "type": "object",
  41354. "properties": {
  41355. "lst": {
  41356. "description": "指数列表",
  41357. "type": "array",
  41358. "items": {
  41359. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  41360. }
  41361. },
  41362. "prereckondate": {
  41363. "description": "上上个交易日(yyymmdd)",
  41364. "type": "string"
  41365. },
  41366. "reckondate": {
  41367. "description": "上个交易日(yyyymmdd)",
  41368. "type": "string"
  41369. }
  41370. }
  41371. },
  41372. "models.WrStandardFactoryItem": {
  41373. "type": "object",
  41374. "properties": {
  41375. "dgfactoryitemid": {
  41376. "description": "选择项id",
  41377. "type": "integer"
  41378. },
  41379. "dgfactoryitemvalue": {
  41380. "description": "要素项值",
  41381. "type": "string"
  41382. },
  41383. "warehouseid": {
  41384. "description": "仓库id",
  41385. "type": "integer"
  41386. }
  41387. }
  41388. },
  41389. "models.WrStandardFactoryItemEx": {
  41390. "type": "object",
  41391. "properties": {
  41392. "dgfactoryitemtypeid": {
  41393. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  41394. "type": "integer"
  41395. },
  41396. "itemlst": {
  41397. "description": "要素项列表",
  41398. "type": "array",
  41399. "items": {
  41400. "$ref": "#/definitions/models.WrStandardFactoryItem"
  41401. }
  41402. },
  41403. "itemtypename": {
  41404. "description": "要素项类型名称",
  41405. "type": "string"
  41406. },
  41407. "wrstandardid": {
  41408. "description": "品类",
  41409. "type": "integer"
  41410. }
  41411. }
  41412. },
  41413. "models.WrTradeDetail": {
  41414. "type": "object",
  41415. "properties": {
  41416. "accountid": {
  41417. "description": "资金账号",
  41418. "type": "integer"
  41419. },
  41420. "bannerpicurl": {
  41421. "description": "Banner图",
  41422. "type": "string"
  41423. },
  41424. "begindate": {
  41425. "description": "开始交易日(yyyymmdd)",
  41426. "type": "string"
  41427. },
  41428. "buyorsell": {
  41429. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41430. "type": "integer"
  41431. },
  41432. "chargevalue": {
  41433. "description": "手续费",
  41434. "type": "number"
  41435. },
  41436. "deliverygoodscode": {
  41437. "description": "品种代码",
  41438. "type": "string"
  41439. },
  41440. "deliverygoodsid": {
  41441. "description": "品种ID",
  41442. "type": "integer"
  41443. },
  41444. "deliverygoodsname": {
  41445. "description": "品种名称",
  41446. "type": "string"
  41447. },
  41448. "deliverymonth": {
  41449. "description": "交收月",
  41450. "type": "string"
  41451. },
  41452. "enddate": {
  41453. "description": "结束交易日(yyyymmdd)",
  41454. "type": "string"
  41455. },
  41456. "enumdicname": {
  41457. "description": "单位名称",
  41458. "type": "string"
  41459. },
  41460. "haswr": {
  41461. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41462. "type": "integer"
  41463. },
  41464. "marketid": {
  41465. "description": "市场ID",
  41466. "type": "integer"
  41467. },
  41468. "matchaccountid": {
  41469. "description": "对手账号",
  41470. "type": "integer"
  41471. },
  41472. "matchusername": {
  41473. "description": "对手方",
  41474. "type": "string"
  41475. },
  41476. "minivalue": {
  41477. "description": "现货商品最小变动值",
  41478. "type": "integer"
  41479. },
  41480. "optioncompare": {
  41481. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41482. "type": "string"
  41483. },
  41484. "thumurls": {
  41485. "description": "缩略图",
  41486. "type": "string"
  41487. },
  41488. "tradedate": {
  41489. "description": "交易日(yyyyMMdd)",
  41490. "type": "string"
  41491. },
  41492. "tradeprice": {
  41493. "description": "成交价格",
  41494. "type": "number"
  41495. },
  41496. "tradeqty": {
  41497. "description": "成交数量",
  41498. "type": "number"
  41499. },
  41500. "tradetime": {
  41501. "description": "成交时间",
  41502. "type": "string"
  41503. },
  41504. "userid": {
  41505. "description": "用户ID",
  41506. "type": "integer"
  41507. },
  41508. "warehouseid": {
  41509. "description": "仓库ID",
  41510. "type": "integer"
  41511. },
  41512. "warehousename": {
  41513. "description": "仓库名称",
  41514. "type": "string"
  41515. },
  41516. "wrfactortypeid": {
  41517. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41518. "type": "string"
  41519. },
  41520. "wrfactortypename": {
  41521. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41522. "type": "string"
  41523. },
  41524. "wrstandardcode": {
  41525. "description": "现货商品代码",
  41526. "type": "string"
  41527. },
  41528. "wrstandardid": {
  41529. "description": "现货商品ID",
  41530. "type": "integer"
  41531. },
  41532. "wrstandardname": {
  41533. "description": "商品名称",
  41534. "type": "string"
  41535. },
  41536. "wrtradedetailid": {
  41537. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41538. "type": "string"
  41539. },
  41540. "wrtradetype": {
  41541. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41542. "type": "integer"
  41543. },
  41544. "wrtypename": {
  41545. "description": "商品",
  41546. "type": "string"
  41547. }
  41548. }
  41549. },
  41550. "models.WrTradeOrderDetail": {
  41551. "type": "object",
  41552. "properties": {
  41553. "buyorsell": {
  41554. "description": "买卖方向 0-买 1-卖",
  41555. "type": "integer"
  41556. },
  41557. "goodsid": {
  41558. "description": "商品id",
  41559. "type": "integer"
  41560. },
  41561. "orderid": {
  41562. "description": "委托单号",
  41563. "type": "string"
  41564. },
  41565. "orderprice": {
  41566. "description": "委托价格",
  41567. "type": "number"
  41568. },
  41569. "orderqty": {
  41570. "description": "委托数量",
  41571. "type": "integer"
  41572. },
  41573. "userid": {
  41574. "description": "用户id",
  41575. "type": "integer"
  41576. },
  41577. "username": {
  41578. "description": "用户名称(已脱敏)",
  41579. "type": "string"
  41580. }
  41581. }
  41582. },
  41583. "models.WrTypeItem": {
  41584. "type": "object",
  41585. "properties": {
  41586. "name": {
  41587. "description": "名称",
  41588. "type": "string"
  41589. },
  41590. "value": {
  41591. "description": "值",
  41592. "type": "string"
  41593. }
  41594. }
  41595. },
  41596. "models.WrUserFriend": {
  41597. "type": "object",
  41598. "properties": {
  41599. "friendname": {
  41600. "description": "朋友名称(已脱敏)",
  41601. "type": "string"
  41602. },
  41603. "frienduserid": {
  41604. "description": "朋友id",
  41605. "type": "integer"
  41606. },
  41607. "isfriend": {
  41608. "description": "是否好友 0-不是 1-是",
  41609. "type": "integer"
  41610. },
  41611. "userid": {
  41612. "description": "用户id",
  41613. "type": "integer"
  41614. }
  41615. }
  41616. },
  41617. "models.WrUserReceiptInfo": {
  41618. "type": "object",
  41619. "properties": {
  41620. "address": {
  41621. "description": "地址[发票类型:企业]",
  41622. "type": "string"
  41623. },
  41624. "autoid": {
  41625. "description": "AutoID",
  41626. "type": "integer"
  41627. },
  41628. "contactinfo": {
  41629. "description": "联系方式",
  41630. "type": "string"
  41631. },
  41632. "idnum": {
  41633. "description": "身份证号码[发票类型:个人]",
  41634. "type": "string"
  41635. },
  41636. "isdefault": {
  41637. "description": "是否默认地址 - 0:否 1:是",
  41638. "type": "integer"
  41639. },
  41640. "receiptaccount": {
  41641. "description": "发票帐号[发票类型:企业]",
  41642. "type": "string"
  41643. },
  41644. "receiptbank": {
  41645. "description": "发票开户行[发票类型:企业]",
  41646. "type": "string"
  41647. },
  41648. "receipttype": {
  41649. "description": "发票类型 - 1:个人 2:企业",
  41650. "type": "integer"
  41651. },
  41652. "taxpayerid": {
  41653. "description": "纳税人识别号",
  41654. "type": "string"
  41655. },
  41656. "userid": {
  41657. "description": "用户ID",
  41658. "type": "integer"
  41659. },
  41660. "username": {
  41661. "description": "户名(个人姓名或企业名称)",
  41662. "type": "string"
  41663. }
  41664. }
  41665. },
  41666. "models.XHBRAND": {
  41667. "type": "object",
  41668. "properties": {
  41669. "brandid": {
  41670. "description": "品牌id",
  41671. "type": "integer"
  41672. },
  41673. "brandname": {
  41674. "description": "品牌名称",
  41675. "type": "string"
  41676. },
  41677. "isvalid": {
  41678. "description": "是否有效 0-无效 1-有效",
  41679. "type": "integer"
  41680. }
  41681. }
  41682. },
  41683. "models.XHDeliveryGoods": {
  41684. "type": "object",
  41685. "properties": {
  41686. "areauserid": {
  41687. "description": "所属机构",
  41688. "type": "integer"
  41689. },
  41690. "bdlst": {
  41691. "description": "品牌列表",
  41692. "type": "array",
  41693. "items": {
  41694. "$ref": "#/definitions/models.XHBRAND"
  41695. }
  41696. },
  41697. "deliverygoodscode": {
  41698. "description": "现货品种代码",
  41699. "type": "string"
  41700. },
  41701. "deliverygoodsid": {
  41702. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41703. "type": "integer"
  41704. },
  41705. "deliverygoodsname": {
  41706. "description": "现货品种名称",
  41707. "type": "string"
  41708. },
  41709. "dgstatus": {
  41710. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  41711. "type": "integer"
  41712. },
  41713. "filterSubEmpty": {
  41714. "description": "过滤下级为空的",
  41715. "type": "integer"
  41716. },
  41717. "isvalid": {
  41718. "description": "是否有效 - 0:无效 1:有效",
  41719. "type": "integer"
  41720. },
  41721. "remark": {
  41722. "description": "备注",
  41723. "type": "string"
  41724. },
  41725. "unitid": {
  41726. "description": "单位id(目前看,数据库中是空值)",
  41727. "type": "integer"
  41728. },
  41729. "wdlst": {
  41730. "description": "品类(现货商品)列表",
  41731. "type": "array",
  41732. "items": {
  41733. "$ref": "#/definitions/models.XHWrstandard"
  41734. }
  41735. }
  41736. }
  41737. },
  41738. "models.XHMiddleGoods": {
  41739. "type": "object",
  41740. "properties": {
  41741. "GPLST": {
  41742. "description": "期货品种列表",
  41743. "type": "array",
  41744. "items": {
  41745. "$ref": "#/definitions/models.TBGoodsGroup"
  41746. }
  41747. },
  41748. "convertratio": {
  41749. "description": "拆算系数",
  41750. "type": "number"
  41751. },
  41752. "costratio": {
  41753. "description": "成本权重",
  41754. "type": "number"
  41755. },
  41756. "deliverygoodsid": {
  41757. "description": "现货商品id",
  41758. "type": "integer"
  41759. },
  41760. "enumdicname": {
  41761. "description": "单位名称",
  41762. "type": "string"
  41763. },
  41764. "middlegoodscode": {
  41765. "description": "套保品种代码",
  41766. "type": "string"
  41767. },
  41768. "middlegoodsid": {
  41769. "description": "套保品种id",
  41770. "type": "integer"
  41771. },
  41772. "middlegoodsname": {
  41773. "description": "套保品种名称",
  41774. "type": "string"
  41775. },
  41776. "unitid": {
  41777. "description": "单位id",
  41778. "type": "integer"
  41779. }
  41780. }
  41781. },
  41782. "models.XHWrstandard": {
  41783. "type": "object",
  41784. "properties": {
  41785. "bannerpicurl": {
  41786. "description": "banner图",
  41787. "type": "string"
  41788. },
  41789. "deliverygoodsid": {
  41790. "description": "品种ID",
  41791. "type": "integer"
  41792. },
  41793. "enumdicname": {
  41794. "description": "单位名称",
  41795. "type": "string"
  41796. },
  41797. "mglst": {
  41798. "description": "套保品列表",
  41799. "type": "array",
  41800. "items": {
  41801. "$ref": "#/definitions/models.XHMiddleGoods"
  41802. }
  41803. },
  41804. "pictureurls": {
  41805. "description": "详情图片(逗号分隔)",
  41806. "type": "string"
  41807. },
  41808. "thumurls": {
  41809. "description": "缩略图片(1:1)(逗号分隔)",
  41810. "type": "string"
  41811. },
  41812. "unitid": {
  41813. "description": "单位id",
  41814. "type": "integer"
  41815. },
  41816. "vatrate": {
  41817. "description": "增值税率",
  41818. "type": "number"
  41819. },
  41820. "wrstandardcode": {
  41821. "description": "现货商品代码",
  41822. "type": "string"
  41823. },
  41824. "wrstandardid": {
  41825. "description": "现货商品ID(SEQ_WRSTANDARD)",
  41826. "type": "integer"
  41827. },
  41828. "wrstandardname": {
  41829. "description": "现货商品名称",
  41830. "type": "string"
  41831. }
  41832. }
  41833. },
  41834. "models.XhcpSellBackApplyEx": {
  41835. "type": "object",
  41836. "required": [
  41837. "userid"
  41838. ],
  41839. "properties": {
  41840. "applyremark": {
  41841. "description": "申请备注",
  41842. "type": "string"
  41843. },
  41844. "expirytype": {
  41845. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  41846. "type": "integer"
  41847. },
  41848. "goodsspec": {
  41849. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  41850. "type": "integer"
  41851. },
  41852. "holeflag": {
  41853. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  41854. "type": "integer"
  41855. },
  41856. "isunopened": {
  41857. "description": "是否原封 - 1:否 2:是",
  41858. "type": "integer"
  41859. },
  41860. "mpflag": {
  41861. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  41862. "type": "integer"
  41863. },
  41864. "openflag": {
  41865. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  41866. "type": "integer"
  41867. },
  41868. "phonenum": {
  41869. "description": "联系电话",
  41870. "type": "string"
  41871. },
  41872. "userid": {
  41873. "description": "所属用户ID",
  41874. "type": "integer"
  41875. },
  41876. "zpflag": {
  41877. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  41878. "type": "integer"
  41879. }
  41880. }
  41881. },
  41882. "models.Xhcpsellbackapply": {
  41883. "type": "object",
  41884. "required": [
  41885. "userid"
  41886. ],
  41887. "properties": {
  41888. "applyid": {
  41889. "description": "申请人",
  41890. "type": "integer"
  41891. },
  41892. "applyremark": {
  41893. "description": "申请备注",
  41894. "type": "string"
  41895. },
  41896. "applysrc": {
  41897. "description": "申请来源 - 1:管理端 2:终端",
  41898. "type": "integer"
  41899. },
  41900. "applystatus": {
  41901. "description": "申请状态 - 1:待确认 2:已处理",
  41902. "type": "integer"
  41903. },
  41904. "applytime": {
  41905. "description": "申请时间",
  41906. "type": "string"
  41907. },
  41908. "auditremark": {
  41909. "description": "审核备注",
  41910. "type": "string"
  41911. },
  41912. "auditsrc": {
  41913. "description": "审核来源 - 1:管理端 2:终端",
  41914. "type": "integer"
  41915. },
  41916. "expirytype": {
  41917. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  41918. "type": "integer"
  41919. },
  41920. "goodsspec": {
  41921. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  41922. "type": "integer"
  41923. },
  41924. "holeflag": {
  41925. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  41926. "type": "integer"
  41927. },
  41928. "isunopened": {
  41929. "description": "是否原封 - 1:否 2:是",
  41930. "type": "integer"
  41931. },
  41932. "mpflag": {
  41933. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  41934. "type": "integer"
  41935. },
  41936. "openflag": {
  41937. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  41938. "type": "integer"
  41939. },
  41940. "phonenum": {
  41941. "description": "联系电话",
  41942. "type": "string"
  41943. },
  41944. "sellbackapplyid": {
  41945. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  41946. "type": "string"
  41947. },
  41948. "userid": {
  41949. "description": "所属用户ID",
  41950. "type": "integer"
  41951. },
  41952. "zpflag": {
  41953. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  41954. "type": "integer"
  41955. }
  41956. }
  41957. },
  41958. "order.QueryHisTradeDetailRsp": {
  41959. "type": "object",
  41960. "required": [
  41961. "accountid",
  41962. "buyorsell",
  41963. "goodsid",
  41964. "histradedate",
  41965. "marketid",
  41966. "memberuserid",
  41967. "orderid",
  41968. "tradeamount",
  41969. "tradedate",
  41970. "tradeid",
  41971. "tradeprice",
  41972. "tradeqty",
  41973. "tradetime"
  41974. ],
  41975. "properties": {
  41976. "accountid": {
  41977. "description": "账户ID[报价币种]",
  41978. "type": "integer"
  41979. },
  41980. "advanceratio": {
  41981. "description": "首付比率",
  41982. "type": "number"
  41983. },
  41984. "buildtype": {
  41985. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  41986. "type": "integer"
  41987. },
  41988. "buyorsell": {
  41989. "description": "方向 - 0:买 1:卖",
  41990. "type": "integer"
  41991. },
  41992. "charge": {
  41993. "description": "手续费",
  41994. "type": "number"
  41995. },
  41996. "closecharge": {
  41997. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  41998. "type": "number"
  41999. },
  42000. "closeexchagechargevalue": {
  42001. "description": "平仓交易所手续费设置值",
  42002. "type": "number"
  42003. },
  42004. "closefeealgorithm": {
  42005. "description": "平仓手续费收取方式 1:比率 2:固定",
  42006. "type": "integer"
  42007. },
  42008. "closememberchargevalue": {
  42009. "description": "平仓会员手续费设置值",
  42010. "type": "number"
  42011. },
  42012. "closepl": {
  42013. "description": "平仓盈亏",
  42014. "type": "number"
  42015. },
  42016. "closepl2": {
  42017. "description": "平仓盈亏[逐笔]",
  42018. "type": "number"
  42019. },
  42020. "closeqty": {
  42021. "description": "平仓数量(先建后平操作 需要记录)",
  42022. "type": "number"
  42023. },
  42024. "creditamount": {
  42025. "description": "授信金额",
  42026. "type": "number"
  42027. },
  42028. "decimalplace": {
  42029. "description": "商品报价小数位",
  42030. "type": "integer"
  42031. },
  42032. "enumdicname": {
  42033. "description": "单位名称",
  42034. "type": "string"
  42035. },
  42036. "gcaccountid": {
  42037. "description": "账户ID[合约币种]",
  42038. "type": "integer"
  42039. },
  42040. "goodscode": {
  42041. "description": "商品代码",
  42042. "type": "string"
  42043. },
  42044. "goodsid": {
  42045. "description": "商品ID",
  42046. "type": "integer"
  42047. },
  42048. "goodsname": {
  42049. "description": "商品名称",
  42050. "type": "string"
  42051. },
  42052. "goodunitid": {
  42053. "description": "商品单位id",
  42054. "type": "integer"
  42055. },
  42056. "histradedate": {
  42057. "description": "历史交易日",
  42058. "type": "string"
  42059. },
  42060. "intclosepl": {
  42061. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42062. "type": "integer"
  42063. },
  42064. "isconfirmexercise": {
  42065. "description": "是否确认行权- 0:否 1:是",
  42066. "type": "integer"
  42067. },
  42068. "ismain": {
  42069. "description": "是否主单 - 0:不是 1:是",
  42070. "type": "integer"
  42071. },
  42072. "ispreexercise": {
  42073. "description": "是否预申报- 0:否 1:是",
  42074. "type": "integer"
  42075. },
  42076. "isreckoned": {
  42077. "description": "是否结算 - 0:未结算 1:已结算",
  42078. "type": "integer"
  42079. },
  42080. "isvaliddata": {
  42081. "description": "是否有效 - 0:无效 1:有效",
  42082. "type": "integer"
  42083. },
  42084. "listingselecttype": {
  42085. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42086. "type": "integer"
  42087. },
  42088. "marketid": {
  42089. "description": "市场ID",
  42090. "type": "integer"
  42091. },
  42092. "marketname": {
  42093. "description": "市场名称",
  42094. "type": "string"
  42095. },
  42096. "matchaccountid": {
  42097. "description": "对手账号id",
  42098. "type": "integer"
  42099. },
  42100. "memberuserid": {
  42101. "description": "会员id 个人投资者 需要填写",
  42102. "type": "integer"
  42103. },
  42104. "opencharge": {
  42105. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42106. "type": "number"
  42107. },
  42108. "openexchagechargevalue": {
  42109. "description": "建仓交易所手续费设置值",
  42110. "type": "number"
  42111. },
  42112. "openfeealgorithm": {
  42113. "description": "建仓手续费收取方式 1:比率 2:固定",
  42114. "type": "integer"
  42115. },
  42116. "openmemberchargevalue": {
  42117. "description": "建仓会员手续费设置值",
  42118. "type": "number"
  42119. },
  42120. "openqty": {
  42121. "description": "开仓数量(先建后平操作 需要记录)",
  42122. "type": "number"
  42123. },
  42124. "optiontype": {
  42125. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42126. "type": "integer"
  42127. },
  42128. "orderid": {
  42129. "description": "委托单号",
  42130. "type": "string"
  42131. },
  42132. "payamount": {
  42133. "description": "支付金额(付款金额)",
  42134. "type": "number"
  42135. },
  42136. "performanceplanid": {
  42137. "description": "履约计划ID[期权]",
  42138. "type": "integer"
  42139. },
  42140. "performancestatus": {
  42141. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42142. "type": "integer"
  42143. },
  42144. "preexerciseprice": {
  42145. "description": "预申报价格",
  42146. "type": "number"
  42147. },
  42148. "premium": {
  42149. "description": "权利金 - [持仓单的权利金]",
  42150. "type": "number"
  42151. },
  42152. "qtydecimalplace": {
  42153. "description": "商品报价小数位",
  42154. "type": "integer"
  42155. },
  42156. "recvamount": {
  42157. "description": "到账金额 = 成交金额 - 手续费",
  42158. "type": "number"
  42159. },
  42160. "relatedouttradeid": {
  42161. "description": "关联外部成交单ID",
  42162. "type": "integer"
  42163. },
  42164. "status": {
  42165. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42166. "type": "integer"
  42167. },
  42168. "totalamount": {
  42169. "description": "订单总额 = 成交金额 + 手续费",
  42170. "type": "number"
  42171. },
  42172. "tradeamount": {
  42173. "description": "成交金额[账户币种,用于所有权]",
  42174. "type": "number"
  42175. },
  42176. "tradedate": {
  42177. "description": "交易日(yyyyMMdd)",
  42178. "type": "string"
  42179. },
  42180. "tradeid": {
  42181. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42182. "type": "string"
  42183. },
  42184. "trademode": {
  42185. "description": "交易模式",
  42186. "type": "integer"
  42187. },
  42188. "tradeprice": {
  42189. "description": "成交价格",
  42190. "type": "number"
  42191. },
  42192. "tradeproperty": {
  42193. "description": "交易属性",
  42194. "type": "integer"
  42195. },
  42196. "tradeqty": {
  42197. "description": "成交数量",
  42198. "type": "number"
  42199. },
  42200. "tradetime": {
  42201. "description": "成交时间",
  42202. "type": "string"
  42203. },
  42204. "tradetype": {
  42205. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42206. "type": "integer"
  42207. }
  42208. }
  42209. },
  42210. "order.QueryHisTradeOrderDetailRsp": {
  42211. "type": "object",
  42212. "required": [
  42213. "accountid",
  42214. "buildtype",
  42215. "buyorsell",
  42216. "goodsid",
  42217. "histradedate",
  42218. "marketid",
  42219. "memberuserid",
  42220. "operatetype",
  42221. "orderid",
  42222. "orderqty",
  42223. "ordertime",
  42224. "pricemode",
  42225. "tradedate",
  42226. "validtype"
  42227. ],
  42228. "properties": {
  42229. "accountid": {
  42230. "description": "账户ID[报价币种]",
  42231. "type": "integer"
  42232. },
  42233. "buildtype": {
  42234. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42235. "type": "integer"
  42236. },
  42237. "buyorsell": {
  42238. "description": "买卖 - 0:买 1:卖",
  42239. "type": "integer"
  42240. },
  42241. "cancelorderid": {
  42242. "description": "撤单单号(撤单时填写)",
  42243. "type": "string"
  42244. },
  42245. "cancelqty": {
  42246. "description": "撤单数量",
  42247. "type": "number"
  42248. },
  42249. "clientordertime": {
  42250. "description": "客户端委托时间",
  42251. "type": "string"
  42252. },
  42253. "clientticket": {
  42254. "description": "客户端流水号",
  42255. "type": "string"
  42256. },
  42257. "clienttype": {
  42258. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42259. "type": "integer"
  42260. },
  42261. "closeexchagechargevalue": {
  42262. "description": "平仓交易所手续费设置值",
  42263. "type": "number"
  42264. },
  42265. "closefeealgorithm": {
  42266. "description": "平仓手续费收取方式 1:比率 2:固定",
  42267. "type": "integer"
  42268. },
  42269. "closefreezecharge": {
  42270. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42271. "type": "number"
  42272. },
  42273. "closememberchargevalue": {
  42274. "description": "平仓会员手续费设置值",
  42275. "type": "number"
  42276. },
  42277. "closeqty": {
  42278. "description": "平仓数量(先建后平操作 需要记录)",
  42279. "type": "number"
  42280. },
  42281. "closetradeqty": {
  42282. "description": "平仓成交数量(先建后平操作,需要记录)",
  42283. "type": "number"
  42284. },
  42285. "closeunfreezecharge": {
  42286. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42287. "type": "number"
  42288. },
  42289. "decimalplace": {
  42290. "description": "商品报价小数位",
  42291. "type": "integer"
  42292. },
  42293. "delistingtype": {
  42294. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42295. "type": "integer"
  42296. },
  42297. "enumdicname": {
  42298. "description": "单位名称",
  42299. "type": "string"
  42300. },
  42301. "freezecharge": {
  42302. "description": "冻结手续费",
  42303. "type": "number"
  42304. },
  42305. "freezemargin": {
  42306. "description": "冻结保证金(冻结交易金额)",
  42307. "type": "number"
  42308. },
  42309. "gcaccountid": {
  42310. "description": "账户ID[合约币种]",
  42311. "type": "integer"
  42312. },
  42313. "goodscode": {
  42314. "description": "商品代码",
  42315. "type": "string"
  42316. },
  42317. "goodsid": {
  42318. "description": "商品ID",
  42319. "type": "integer"
  42320. },
  42321. "goodsname": {
  42322. "description": "商品名称",
  42323. "type": "string"
  42324. },
  42325. "goodunitid": {
  42326. "description": "商品单位id",
  42327. "type": "integer"
  42328. },
  42329. "histradedate": {
  42330. "description": "历史交易日",
  42331. "type": "string"
  42332. },
  42333. "isconfirmexercise": {
  42334. "description": "是否确认行权- 0:否 1:是",
  42335. "type": "integer"
  42336. },
  42337. "ispreexercise": {
  42338. "description": "是否预申报- 0:否 1:是",
  42339. "type": "integer"
  42340. },
  42341. "isvaliddata": {
  42342. "description": "是否有效 - 0:无效 1:有效",
  42343. "type": "integer"
  42344. },
  42345. "listingselecttype": {
  42346. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42347. "type": "integer"
  42348. },
  42349. "marginalgorithm": {
  42350. "description": "保证金收取方式 1:比率 2:固定",
  42351. "type": "integer"
  42352. },
  42353. "marginvalue": {
  42354. "description": "即市保证金设置值",
  42355. "type": "number"
  42356. },
  42357. "marketid": {
  42358. "description": "市场ID",
  42359. "type": "integer"
  42360. },
  42361. "marketmaxsub": {
  42362. "description": "市价最大偏移范围",
  42363. "type": "number"
  42364. },
  42365. "marketname": {
  42366. "description": "市场名称",
  42367. "type": "string"
  42368. },
  42369. "memberuserid": {
  42370. "description": "所属会员UserID",
  42371. "type": "integer"
  42372. },
  42373. "openexchagechargevalue": {
  42374. "description": "建仓交易所手续费设置值",
  42375. "type": "number"
  42376. },
  42377. "openfeealgorithm": {
  42378. "description": "建仓手续费收取方式 1:比率 2:固定",
  42379. "type": "integer"
  42380. },
  42381. "openfreezecharge": {
  42382. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42383. "type": "number"
  42384. },
  42385. "openmemberchargevalue": {
  42386. "description": "建仓会员手续费设置值",
  42387. "type": "number"
  42388. },
  42389. "openqty": {
  42390. "description": "开仓数量(先建后平操作,需要记录)",
  42391. "type": "number"
  42392. },
  42393. "opentradeqty": {
  42394. "description": "开仓成交数量(先建后平操作,需要记录)",
  42395. "type": "number"
  42396. },
  42397. "openunfreezecharge": {
  42398. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42399. "type": "number"
  42400. },
  42401. "operatetype": {
  42402. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42403. "type": "integer"
  42404. },
  42405. "operatorid": {
  42406. "description": "登录账号(LoginID)",
  42407. "type": "integer"
  42408. },
  42409. "optiontype": {
  42410. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42411. "type": "integer"
  42412. },
  42413. "orderid": {
  42414. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42415. "type": "string"
  42416. },
  42417. "orderprice": {
  42418. "description": "委托价格",
  42419. "type": "number"
  42420. },
  42421. "orderqty": {
  42422. "description": "委托数量",
  42423. "type": "number"
  42424. },
  42425. "ordersrc": {
  42426. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42427. "type": "integer"
  42428. },
  42429. "orderstatus": {
  42430. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42431. "type": "integer"
  42432. },
  42433. "ordertime": {
  42434. "description": "委托时间",
  42435. "type": "string"
  42436. },
  42437. "preexerciseprice": {
  42438. "description": "预申报价格",
  42439. "type": "number"
  42440. },
  42441. "premium": {
  42442. "description": "权利金",
  42443. "type": "number"
  42444. },
  42445. "preorderid": {
  42446. "description": "关联预埋单号(止盈止损单时填写)",
  42447. "type": "string"
  42448. },
  42449. "pricemode": {
  42450. "description": "取价方式 - 1:市价 2: 限价",
  42451. "type": "integer"
  42452. },
  42453. "qtydecimalplace": {
  42454. "description": "成交量小数位",
  42455. "type": "integer"
  42456. },
  42457. "quoteid": {
  42458. "description": "报价单ID",
  42459. "type": "integer"
  42460. },
  42461. "relatedid": {
  42462. "description": "关联单号(交割单)",
  42463. "type": "string"
  42464. },
  42465. "retcode": {
  42466. "description": "错误代码",
  42467. "type": "integer"
  42468. },
  42469. "sessionid": {
  42470. "description": "会话ID",
  42471. "type": "integer"
  42472. },
  42473. "tradedate": {
  42474. "description": "交易日(yyyyMMdd)",
  42475. "type": "string"
  42476. },
  42477. "trademode": {
  42478. "description": "交易模式",
  42479. "type": "integer"
  42480. },
  42481. "tradeproperty": {
  42482. "description": "交易属性",
  42483. "type": "integer"
  42484. },
  42485. "tradeqty": {
  42486. "description": "成交数量",
  42487. "type": "number"
  42488. },
  42489. "unfreezecharge": {
  42490. "description": "解冻手续费",
  42491. "type": "number"
  42492. },
  42493. "unfreezemargin": {
  42494. "description": "解冻保证金",
  42495. "type": "number"
  42496. },
  42497. "updatetime": {
  42498. "description": "更新时间",
  42499. "type": "string"
  42500. },
  42501. "uuid": {
  42502. "description": "发起端唯一id",
  42503. "type": "string"
  42504. },
  42505. "validtime": {
  42506. "description": "有效期限",
  42507. "type": "string"
  42508. },
  42509. "validtype": {
  42510. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  42511. "type": "integer"
  42512. },
  42513. "volumetype": {
  42514. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  42515. "type": "integer"
  42516. }
  42517. }
  42518. },
  42519. "order.QueryTradeDetailRsp": {
  42520. "type": "object",
  42521. "required": [
  42522. "accountid",
  42523. "buyorsell",
  42524. "goodsid",
  42525. "marketid",
  42526. "memberuserid",
  42527. "orderid",
  42528. "tradeamount",
  42529. "tradedate",
  42530. "tradeid",
  42531. "tradeprice",
  42532. "tradeqty",
  42533. "tradetime"
  42534. ],
  42535. "properties": {
  42536. "accountid": {
  42537. "description": "账户ID[报价币种]",
  42538. "type": "integer"
  42539. },
  42540. "advanceratio": {
  42541. "description": "首付比率",
  42542. "type": "number"
  42543. },
  42544. "buildtype": {
  42545. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  42546. "type": "integer"
  42547. },
  42548. "buyorsell": {
  42549. "description": "方向 - 0:买 1:卖",
  42550. "type": "integer"
  42551. },
  42552. "charge": {
  42553. "description": "手续费",
  42554. "type": "number"
  42555. },
  42556. "closecharge": {
  42557. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42558. "type": "number"
  42559. },
  42560. "closeexchagechargevalue": {
  42561. "description": "平仓交易所手续费设置值",
  42562. "type": "number"
  42563. },
  42564. "closefeealgorithm": {
  42565. "description": "平仓手续费收取方式 1:比率 2:固定",
  42566. "type": "integer"
  42567. },
  42568. "closememberchargevalue": {
  42569. "description": "平仓会员手续费设置值",
  42570. "type": "number"
  42571. },
  42572. "closepl": {
  42573. "description": "平仓盈亏",
  42574. "type": "number"
  42575. },
  42576. "closepl2": {
  42577. "description": "平仓盈亏[逐笔]",
  42578. "type": "number"
  42579. },
  42580. "closeqty": {
  42581. "description": "平仓数量(先建后平操作 需要记录)",
  42582. "type": "number"
  42583. },
  42584. "creditamount": {
  42585. "description": "授信金额",
  42586. "type": "number"
  42587. },
  42588. "decimalplace": {
  42589. "description": "商品报价小数位",
  42590. "type": "integer"
  42591. },
  42592. "enumdicname": {
  42593. "description": "单位名称",
  42594. "type": "string"
  42595. },
  42596. "gcaccountid": {
  42597. "description": "账户ID[合约币种]",
  42598. "type": "integer"
  42599. },
  42600. "goodscode": {
  42601. "description": "商品代码",
  42602. "type": "string"
  42603. },
  42604. "goodsid": {
  42605. "description": "商品ID",
  42606. "type": "integer"
  42607. },
  42608. "goodsname": {
  42609. "description": "商品名称",
  42610. "type": "string"
  42611. },
  42612. "goodunitid": {
  42613. "description": "商品单位id",
  42614. "type": "integer"
  42615. },
  42616. "intclosepl": {
  42617. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  42618. "type": "integer"
  42619. },
  42620. "isconfirmexercise": {
  42621. "description": "是否确认行权- 0:否 1:是",
  42622. "type": "integer"
  42623. },
  42624. "ismain": {
  42625. "description": "是否主单 - 0:不是 1:是",
  42626. "type": "integer"
  42627. },
  42628. "ispreexercise": {
  42629. "description": "是否预申报- 0:否 1:是",
  42630. "type": "integer"
  42631. },
  42632. "isreckoned": {
  42633. "description": "是否结算 - 0:未结算 1:已结算",
  42634. "type": "integer"
  42635. },
  42636. "listingselecttype": {
  42637. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42638. "type": "integer"
  42639. },
  42640. "marketid": {
  42641. "description": "市场ID",
  42642. "type": "integer"
  42643. },
  42644. "marketname": {
  42645. "description": "市场名称",
  42646. "type": "string"
  42647. },
  42648. "matchaccountid": {
  42649. "description": "对手账号id",
  42650. "type": "integer"
  42651. },
  42652. "memberuserid": {
  42653. "description": "会员id 个人投资者 需要填写",
  42654. "type": "integer"
  42655. },
  42656. "opencharge": {
  42657. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  42658. "type": "number"
  42659. },
  42660. "openexchagechargevalue": {
  42661. "description": "建仓交易所手续费设置值",
  42662. "type": "number"
  42663. },
  42664. "openfeealgorithm": {
  42665. "description": "建仓手续费收取方式 1:比率 2:固定",
  42666. "type": "integer"
  42667. },
  42668. "openmemberchargevalue": {
  42669. "description": "建仓会员手续费设置值",
  42670. "type": "number"
  42671. },
  42672. "openqty": {
  42673. "description": "开仓数量(先建后平操作 需要记录)",
  42674. "type": "number"
  42675. },
  42676. "optiontype": {
  42677. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42678. "type": "integer"
  42679. },
  42680. "orderid": {
  42681. "description": "委托单号",
  42682. "type": "string"
  42683. },
  42684. "payamount": {
  42685. "description": "支付金额(付款金额)",
  42686. "type": "number"
  42687. },
  42688. "performanceplanid": {
  42689. "description": "履约计划ID[期权]",
  42690. "type": "integer"
  42691. },
  42692. "performancestatus": {
  42693. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  42694. "type": "integer"
  42695. },
  42696. "preexerciseprice": {
  42697. "description": "预申报价格",
  42698. "type": "number"
  42699. },
  42700. "premium": {
  42701. "description": "权利金 - [持仓单的权利金]",
  42702. "type": "number"
  42703. },
  42704. "qtydecimalplace": {
  42705. "description": "商品报价小数位",
  42706. "type": "integer"
  42707. },
  42708. "recvamount": {
  42709. "description": "到账金额 = 成交金额 - 手续费",
  42710. "type": "number"
  42711. },
  42712. "relatedouttradeid": {
  42713. "description": "关联外部成交单ID",
  42714. "type": "integer"
  42715. },
  42716. "status": {
  42717. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  42718. "type": "integer"
  42719. },
  42720. "totalamount": {
  42721. "description": "订单总额 = 成交金额 + 手续费",
  42722. "type": "number"
  42723. },
  42724. "tradeamount": {
  42725. "description": "成交金额[账户币种,用于所有权]",
  42726. "type": "number"
  42727. },
  42728. "tradedate": {
  42729. "description": "交易日(yyyyMMdd)",
  42730. "type": "string"
  42731. },
  42732. "tradeid": {
  42733. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42734. "type": "string"
  42735. },
  42736. "trademode": {
  42737. "description": "交易模式",
  42738. "type": "integer"
  42739. },
  42740. "tradeprice": {
  42741. "description": "成交价格",
  42742. "type": "number"
  42743. },
  42744. "tradeproperty": {
  42745. "description": "交易属性",
  42746. "type": "integer"
  42747. },
  42748. "tradeqty": {
  42749. "description": "成交数量",
  42750. "type": "number"
  42751. },
  42752. "tradetime": {
  42753. "description": "成交时间",
  42754. "type": "string"
  42755. },
  42756. "tradetype": {
  42757. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  42758. "type": "integer"
  42759. }
  42760. }
  42761. },
  42762. "order.QueryTradeOrderDetailRsp": {
  42763. "type": "object",
  42764. "required": [
  42765. "accountid",
  42766. "buildtype",
  42767. "buyorsell",
  42768. "goodsid",
  42769. "marketid",
  42770. "operatetype",
  42771. "orderqty",
  42772. "ordertime",
  42773. "pricemode",
  42774. "tradedate",
  42775. "validtype"
  42776. ],
  42777. "properties": {
  42778. "accountid": {
  42779. "description": "账户ID[报价币种]",
  42780. "type": "integer"
  42781. },
  42782. "buildtype": {
  42783. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  42784. "type": "integer"
  42785. },
  42786. "buyorsell": {
  42787. "description": "买卖 - 0:买 1:卖",
  42788. "type": "integer"
  42789. },
  42790. "cancelorderid": {
  42791. "description": "撤单单号(撤单时填写)",
  42792. "type": "string"
  42793. },
  42794. "cancelqty": {
  42795. "description": "撤单数量",
  42796. "type": "number"
  42797. },
  42798. "clienttype": {
  42799. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  42800. "type": "integer"
  42801. },
  42802. "closefreezecharge": {
  42803. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  42804. "type": "number"
  42805. },
  42806. "closeqty": {
  42807. "description": "平仓数量(先建后平操作 需要记录)",
  42808. "type": "number"
  42809. },
  42810. "closetradeqty": {
  42811. "description": "平仓成交数量(先建后平操作,需要记录)",
  42812. "type": "number"
  42813. },
  42814. "closeunfreezecharge": {
  42815. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  42816. "type": "number"
  42817. },
  42818. "decimalplace": {
  42819. "description": "商品报价小数位",
  42820. "type": "integer"
  42821. },
  42822. "delistingtype": {
  42823. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  42824. "type": "integer"
  42825. },
  42826. "enableqty": {
  42827. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  42828. "type": "number"
  42829. },
  42830. "enumdicname": {
  42831. "description": "单位名称",
  42832. "type": "string"
  42833. },
  42834. "freezecharge": {
  42835. "description": "冻结手续费",
  42836. "type": "number"
  42837. },
  42838. "freezemargin": {
  42839. "description": "冻结保证金(冻结交易金额)",
  42840. "type": "number"
  42841. },
  42842. "goodscode": {
  42843. "description": "商品代码",
  42844. "type": "string"
  42845. },
  42846. "goodsid": {
  42847. "description": "商品ID",
  42848. "type": "integer"
  42849. },
  42850. "goodsname": {
  42851. "description": "商品名称",
  42852. "type": "string"
  42853. },
  42854. "goodunitid": {
  42855. "description": "商品单位id",
  42856. "type": "integer"
  42857. },
  42858. "listingselecttype": {
  42859. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  42860. "type": "integer"
  42861. },
  42862. "marketid": {
  42863. "description": "市场ID",
  42864. "type": "integer"
  42865. },
  42866. "marketname": {
  42867. "description": "市场名称",
  42868. "type": "string"
  42869. },
  42870. "openfreezecharge": {
  42871. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  42872. "type": "number"
  42873. },
  42874. "openqty": {
  42875. "description": "开仓数量(先建后平操作,需要记录)",
  42876. "type": "number"
  42877. },
  42878. "opentradeqty": {
  42879. "description": "开仓成交数量(先建后平操作,需要记录)",
  42880. "type": "number"
  42881. },
  42882. "openunfreezecharge": {
  42883. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  42884. "type": "number"
  42885. },
  42886. "operatetype": {
  42887. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  42888. "type": "integer"
  42889. },
  42890. "operatorid": {
  42891. "description": "登录账号(LoginID)",
  42892. "type": "integer"
  42893. },
  42894. "orderid": {
  42895. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42896. "type": "string"
  42897. },
  42898. "orderprice": {
  42899. "description": "委托价格",
  42900. "type": "number"
  42901. },
  42902. "orderqty": {
  42903. "description": "委托数量",
  42904. "type": "number"
  42905. },
  42906. "ordersrc": {
  42907. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  42908. "type": "integer"
  42909. },
  42910. "orderstatus": {
  42911. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  42912. "type": "integer"
  42913. },
  42914. "ordertime": {
  42915. "description": "委托时间",
  42916. "type": "string"
  42917. },
  42918. "preorderid": {
  42919. "description": "关联预埋单号(止盈止损单时填写)",
  42920. "type": "string"
  42921. },
  42922. "pricemode": {
  42923. "description": "取价方式 - 1:市价 2: 限价",
  42924. "type": "integer"
  42925. },
  42926. "qtydecimalplace": {
  42927. "description": "商品报价小数位",
  42928. "type": "integer"
  42929. },
  42930. "relatedid": {
  42931. "description": "关联单号(交割单)",
  42932. "type": "string"
  42933. },
  42934. "tradedate": {
  42935. "description": "交易日(yyyyMMdd)",
  42936. "type": "string"
  42937. },
  42938. "trademode": {
  42939. "description": "交易模式",
  42940. "type": "integer"
  42941. },
  42942. "tradeqty": {
  42943. "description": "成交数量",
  42944. "type": "number"
  42945. },
  42946. "unfreezecharge": {
  42947. "description": "解冻手续费",
  42948. "type": "number"
  42949. },
  42950. "unfreezemargin": {
  42951. "description": "解冻保证金",
  42952. "type": "number"
  42953. },
  42954. "validtime": {
  42955. "description": "有效期限",
  42956. "type": "string"
  42957. },
  42958. "validtype": {
  42959. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  42960. "type": "integer"
  42961. },
  42962. "volumetype": {
  42963. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  42964. "type": "integer"
  42965. }
  42966. }
  42967. },
  42968. "order.QueryTradePositionRsp": {
  42969. "type": "object",
  42970. "required": [
  42971. "goodsid"
  42972. ],
  42973. "properties": {
  42974. "accountid": {
  42975. "description": "资金账户",
  42976. "type": "integer"
  42977. },
  42978. "agreeunit": {
  42979. "description": "合约单位",
  42980. "type": "number"
  42981. },
  42982. "averageprice": {
  42983. "description": "持仓均价",
  42984. "type": "number"
  42985. },
  42986. "buyorsell": {
  42987. "description": "方向 - 0:买 1:卖",
  42988. "type": "integer"
  42989. },
  42990. "closetotalqty": {
  42991. "description": "平仓总数量",
  42992. "type": "number"
  42993. },
  42994. "curholderamount": {
  42995. "description": "当前持仓总金额[商品币种]",
  42996. "type": "number"
  42997. },
  42998. "curpositionqty": {
  42999. "description": "当前持仓总数量",
  43000. "type": "number"
  43001. },
  43002. "currencyid": {
  43003. "description": "报价货币ID",
  43004. "type": "integer"
  43005. },
  43006. "curtdposition": {
  43007. "description": "期末今日头寸",
  43008. "type": "number"
  43009. },
  43010. "decimalplace": {
  43011. "description": "报价小数位",
  43012. "type": "integer"
  43013. },
  43014. "enableqty": {
  43015. "description": "可用量",
  43016. "type": "number"
  43017. },
  43018. "fretdposition": {
  43019. "description": "冻结今日头寸",
  43020. "type": "number"
  43021. },
  43022. "frozenqty": {
  43023. "description": "持仓冻结数量",
  43024. "type": "number"
  43025. },
  43026. "goodscode": {
  43027. "description": "商品代码",
  43028. "type": "string"
  43029. },
  43030. "goodsid": {
  43031. "description": "商品Id",
  43032. "type": "integer"
  43033. },
  43034. "goodsname": {
  43035. "description": "商品名称",
  43036. "type": "string"
  43037. },
  43038. "goodunit": {
  43039. "description": "报价单位",
  43040. "type": "string"
  43041. },
  43042. "goodunitid": {
  43043. "description": "报价单位ID",
  43044. "type": "integer"
  43045. },
  43046. "holderamount": {
  43047. "description": "期初持仓总金额[商品币种]",
  43048. "type": "number"
  43049. },
  43050. "lastprice": {
  43051. "description": "最新价",
  43052. "type": "number"
  43053. },
  43054. "marketamount": {
  43055. "description": "市值",
  43056. "type": "number"
  43057. },
  43058. "marketid": {
  43059. "description": "所属市场ID",
  43060. "type": "integer"
  43061. },
  43062. "openreqqty": {
  43063. "description": "开仓申请数量(用于比较最大持仓数量)",
  43064. "type": "number"
  43065. },
  43066. "opentotalqty": {
  43067. "description": "开仓总数量",
  43068. "type": "number"
  43069. },
  43070. "otherfrozenqty": {
  43071. "description": "持仓其他冻结数量(交割冻结)",
  43072. "type": "number"
  43073. },
  43074. "positionpl": {
  43075. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  43076. "type": "number"
  43077. },
  43078. "positionplrate": {
  43079. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  43080. "type": "number"
  43081. },
  43082. "positionqty": {
  43083. "description": "期初持仓数量",
  43084. "type": "number"
  43085. },
  43086. "qtydecimalplace": {
  43087. "description": "成交量小数位",
  43088. "type": "integer"
  43089. },
  43090. "refgoodscode": {
  43091. "description": "参考商品代码",
  43092. "type": "string"
  43093. },
  43094. "refgoodsid": {
  43095. "description": "参考商品ID",
  43096. "type": "integer"
  43097. },
  43098. "tnqty": {
  43099. "description": "T+N冻结总量",
  43100. "type": "number"
  43101. },
  43102. "tnusedqty": {
  43103. "description": "T+N使用量(可以使用T+N的冻结数量)",
  43104. "type": "number"
  43105. },
  43106. "trademode": {
  43107. "description": "交易模式",
  43108. "type": "integer"
  43109. },
  43110. "tradeproperty": {
  43111. "description": "交易属性",
  43112. "type": "integer"
  43113. },
  43114. "usedmargin": {
  43115. "description": "占用保证金[商品币种]",
  43116. "type": "number"
  43117. }
  43118. }
  43119. },
  43120. "pb.GoodsMarginCfgStruct": {
  43121. "type": "object",
  43122. "properties": {
  43123. "CustomerTypeID": {
  43124. "description": "投资者客户类型",
  43125. "type": "integer"
  43126. },
  43127. "GoodsID": {
  43128. "description": "商品ID",
  43129. "type": "integer"
  43130. },
  43131. "IsDefault": {
  43132. "description": "是否默认标志位",
  43133. "type": "integer"
  43134. },
  43135. "LockMarginValue": {
  43136. "description": "锁仓保证金",
  43137. "type": "number"
  43138. },
  43139. "MarginAlgorithm": {
  43140. "description": "保证金计算方式",
  43141. "type": "integer"
  43142. },
  43143. "MarketMarginValue": {
  43144. "description": "即市保证金值",
  43145. "type": "number"
  43146. },
  43147. "RealMarginAlgorithm": {
  43148. "description": "实付保证金计算方式",
  43149. "type": "integer"
  43150. },
  43151. "RealMarginValue": {
  43152. "description": "实付比例",
  43153. "type": "number"
  43154. },
  43155. "ReckonMarginValue": {
  43156. "description": "结算保证金值",
  43157. "type": "number"
  43158. }
  43159. }
  43160. },
  43161. "quote.HistoryData": {
  43162. "type": "object",
  43163. "properties": {
  43164. "c": {
  43165. "description": "收盘价",
  43166. "type": "number"
  43167. },
  43168. "f": {
  43169. "description": "是否补充数据",
  43170. "type": "boolean"
  43171. },
  43172. "h": {
  43173. "description": "最高价",
  43174. "type": "number"
  43175. },
  43176. "hv": {
  43177. "description": "持仓量",
  43178. "type": "integer"
  43179. },
  43180. "l": {
  43181. "description": "最低价",
  43182. "type": "number"
  43183. },
  43184. "o": {
  43185. "description": "开盘价",
  43186. "type": "number"
  43187. },
  43188. "s": {
  43189. "description": "结算价,日线周期(包括)以上才有",
  43190. "type": "number"
  43191. },
  43192. "ts": {
  43193. "description": "时间",
  43194. "type": "string"
  43195. },
  43196. "tt": {
  43197. "description": "总金额",
  43198. "type": "number"
  43199. },
  43200. "tv": {
  43201. "description": "总量(成交量)",
  43202. "type": "integer"
  43203. }
  43204. }
  43205. },
  43206. "quote.HistoryTikData": {
  43207. "type": "object",
  43208. "properties": {
  43209. "AV": {
  43210. "description": "卖量",
  43211. "type": "integer"
  43212. },
  43213. "Ask": {
  43214. "description": "卖价",
  43215. "type": "number"
  43216. },
  43217. "BV": {
  43218. "description": "买量",
  43219. "type": "integer"
  43220. },
  43221. "Bid": {
  43222. "description": "买价",
  43223. "type": "number"
  43224. },
  43225. "HI": {
  43226. "description": "单笔持仓",
  43227. "type": "integer"
  43228. },
  43229. "HV": {
  43230. "description": "持仓量",
  43231. "type": "integer"
  43232. },
  43233. "PE": {
  43234. "description": "现价",
  43235. "type": "number"
  43236. },
  43237. "TDR": {
  43238. "description": "交易方向,0:买 1:卖",
  43239. "type": "integer"
  43240. },
  43241. "TK": {
  43242. "description": "交易类型",
  43243. "type": "integer"
  43244. },
  43245. "TS": {
  43246. "description": "行情时间文本",
  43247. "type": "string"
  43248. },
  43249. "TT": {
  43250. "description": "现金额",
  43251. "type": "number"
  43252. },
  43253. "Vol": {
  43254. "description": "现量",
  43255. "type": "integer"
  43256. }
  43257. }
  43258. },
  43259. "quote.QueryQuoteDayRsp": {
  43260. "type": "object",
  43261. "properties": {
  43262. "ask": {
  43263. "description": "卖1",
  43264. "type": "number"
  43265. },
  43266. "ask10": {
  43267. "description": "卖10",
  43268. "type": "number"
  43269. },
  43270. "ask2": {
  43271. "description": "卖2",
  43272. "type": "number"
  43273. },
  43274. "ask3": {
  43275. "description": "卖3",
  43276. "type": "number"
  43277. },
  43278. "ask4": {
  43279. "description": "卖4",
  43280. "type": "number"
  43281. },
  43282. "ask5": {
  43283. "description": "卖5",
  43284. "type": "number"
  43285. },
  43286. "ask6": {
  43287. "description": "卖6",
  43288. "type": "number"
  43289. },
  43290. "ask7": {
  43291. "description": "卖7",
  43292. "type": "number"
  43293. },
  43294. "ask8": {
  43295. "description": "卖8",
  43296. "type": "number"
  43297. },
  43298. "ask9": {
  43299. "description": "卖9",
  43300. "type": "number"
  43301. },
  43302. "askorderid": {
  43303. "description": "卖单号1",
  43304. "type": "integer"
  43305. },
  43306. "askorderid2": {
  43307. "description": "卖单号2",
  43308. "type": "integer"
  43309. },
  43310. "askorderid3": {
  43311. "description": "卖单号3",
  43312. "type": "integer"
  43313. },
  43314. "askorderid4": {
  43315. "description": "卖单号4",
  43316. "type": "integer"
  43317. },
  43318. "askorderid5": {
  43319. "description": "卖单号5",
  43320. "type": "integer"
  43321. },
  43322. "askordervolume": {
  43323. "description": "卖单量1",
  43324. "type": "integer"
  43325. },
  43326. "askordervolume10": {
  43327. "description": "卖单量10",
  43328. "type": "integer"
  43329. },
  43330. "askordervolume2": {
  43331. "description": "卖单量2",
  43332. "type": "integer"
  43333. },
  43334. "askordervolume3": {
  43335. "description": "卖单量3",
  43336. "type": "integer"
  43337. },
  43338. "askordervolume4": {
  43339. "description": "卖单量4",
  43340. "type": "integer"
  43341. },
  43342. "askordervolume5": {
  43343. "description": "卖单量5",
  43344. "type": "integer"
  43345. },
  43346. "askordervolume6": {
  43347. "description": "卖单量6",
  43348. "type": "integer"
  43349. },
  43350. "askordervolume7": {
  43351. "description": "卖单量7",
  43352. "type": "integer"
  43353. },
  43354. "askordervolume8": {
  43355. "description": "卖单量8",
  43356. "type": "integer"
  43357. },
  43358. "askordervolume9": {
  43359. "description": "卖单量9",
  43360. "type": "integer"
  43361. },
  43362. "askqueueinfo": {
  43363. "description": "大利市卖港股用",
  43364. "type": "string"
  43365. },
  43366. "askvolume": {
  43367. "description": "卖量1",
  43368. "type": "integer"
  43369. },
  43370. "askvolume10": {
  43371. "description": "卖量10",
  43372. "type": "integer"
  43373. },
  43374. "askvolume2": {
  43375. "description": "卖量2",
  43376. "type": "integer"
  43377. },
  43378. "askvolume3": {
  43379. "description": "卖量3",
  43380. "type": "integer"
  43381. },
  43382. "askvolume4": {
  43383. "description": "卖量4",
  43384. "type": "integer"
  43385. },
  43386. "askvolume5": {
  43387. "description": "卖量5",
  43388. "type": "integer"
  43389. },
  43390. "askvolume6": {
  43391. "description": "卖量6",
  43392. "type": "integer"
  43393. },
  43394. "askvolume7": {
  43395. "description": "卖量7",
  43396. "type": "integer"
  43397. },
  43398. "askvolume8": {
  43399. "description": "卖量8",
  43400. "type": "integer"
  43401. },
  43402. "askvolume9": {
  43403. "description": "卖量9",
  43404. "type": "integer"
  43405. },
  43406. "averageprice": {
  43407. "description": "均价",
  43408. "type": "number"
  43409. },
  43410. "bid": {
  43411. "description": "买1",
  43412. "type": "number"
  43413. },
  43414. "bid10": {
  43415. "description": "买10",
  43416. "type": "number"
  43417. },
  43418. "bid2": {
  43419. "description": "买2",
  43420. "type": "number"
  43421. },
  43422. "bid3": {
  43423. "description": "买3",
  43424. "type": "number"
  43425. },
  43426. "bid4": {
  43427. "description": "买4",
  43428. "type": "number"
  43429. },
  43430. "bid5": {
  43431. "description": "买5",
  43432. "type": "number"
  43433. },
  43434. "bid6": {
  43435. "description": "买6",
  43436. "type": "number"
  43437. },
  43438. "bid7": {
  43439. "description": "买7",
  43440. "type": "number"
  43441. },
  43442. "bid8": {
  43443. "description": "买8",
  43444. "type": "number"
  43445. },
  43446. "bid9": {
  43447. "description": "买9",
  43448. "type": "number"
  43449. },
  43450. "bidorderid": {
  43451. "description": "买单号1",
  43452. "type": "integer"
  43453. },
  43454. "bidorderid2": {
  43455. "description": "买单号2",
  43456. "type": "integer"
  43457. },
  43458. "bidorderid3": {
  43459. "description": "买单号3",
  43460. "type": "integer"
  43461. },
  43462. "bidorderid4": {
  43463. "description": "买单号4",
  43464. "type": "integer"
  43465. },
  43466. "bidorderid5": {
  43467. "description": "买单号5",
  43468. "type": "integer"
  43469. },
  43470. "bidordervolume": {
  43471. "description": "买单量1",
  43472. "type": "integer"
  43473. },
  43474. "bidordervolume10": {
  43475. "description": "买单量10",
  43476. "type": "integer"
  43477. },
  43478. "bidordervolume2": {
  43479. "description": "买单量2",
  43480. "type": "integer"
  43481. },
  43482. "bidordervolume3": {
  43483. "description": "买单量3",
  43484. "type": "integer"
  43485. },
  43486. "bidordervolume4": {
  43487. "description": "买单量4",
  43488. "type": "integer"
  43489. },
  43490. "bidordervolume5": {
  43491. "description": "买单量5",
  43492. "type": "integer"
  43493. },
  43494. "bidordervolume6": {
  43495. "description": "买单量6",
  43496. "type": "integer"
  43497. },
  43498. "bidordervolume7": {
  43499. "description": "买单量7",
  43500. "type": "integer"
  43501. },
  43502. "bidordervolume8": {
  43503. "description": "买单量8",
  43504. "type": "integer"
  43505. },
  43506. "bidordervolume9": {
  43507. "description": "买单量9",
  43508. "type": "integer"
  43509. },
  43510. "bidqueueinfo": {
  43511. "description": "大利市买港股用",
  43512. "type": "string"
  43513. },
  43514. "bidvolume": {
  43515. "description": "买量1",
  43516. "type": "integer"
  43517. },
  43518. "bidvolume10": {
  43519. "description": "买量10",
  43520. "type": "integer"
  43521. },
  43522. "bidvolume2": {
  43523. "description": "买量2",
  43524. "type": "integer"
  43525. },
  43526. "bidvolume3": {
  43527. "description": "买量3",
  43528. "type": "integer"
  43529. },
  43530. "bidvolume4": {
  43531. "description": "买量4",
  43532. "type": "integer"
  43533. },
  43534. "bidvolume5": {
  43535. "description": "买量5",
  43536. "type": "integer"
  43537. },
  43538. "bidvolume6": {
  43539. "description": "买量6",
  43540. "type": "integer"
  43541. },
  43542. "bidvolume7": {
  43543. "description": "买量7",
  43544. "type": "integer"
  43545. },
  43546. "bidvolume8": {
  43547. "description": "买量8",
  43548. "type": "integer"
  43549. },
  43550. "bidvolume9": {
  43551. "description": "买量9",
  43552. "type": "integer"
  43553. },
  43554. "calloptionpremiums": {
  43555. "description": "认购期权1",
  43556. "type": "integer"
  43557. },
  43558. "calloptionpremiums2": {
  43559. "description": "认购期权2",
  43560. "type": "integer"
  43561. },
  43562. "calloptionpremiums3": {
  43563. "description": "认购期权3",
  43564. "type": "integer"
  43565. },
  43566. "calloptionpremiums4": {
  43567. "description": "认购期权4",
  43568. "type": "integer"
  43569. },
  43570. "calloptionpremiums5": {
  43571. "description": "认购期权5",
  43572. "type": "integer"
  43573. },
  43574. "cleartime": {
  43575. "description": "清盘时间",
  43576. "type": "integer"
  43577. },
  43578. "exchangecode": {
  43579. "description": "交易所代码",
  43580. "type": "integer"
  43581. },
  43582. "exchangedate": {
  43583. "description": "交易日",
  43584. "type": "integer"
  43585. },
  43586. "goodscode": {
  43587. "description": "商品代码",
  43588. "type": "string"
  43589. },
  43590. "grepmarketprice": {
  43591. "description": "暗盘价 港股专用",
  43592. "type": "number"
  43593. },
  43594. "highest": {
  43595. "description": "最高价",
  43596. "type": "number"
  43597. },
  43598. "holdincrement": {
  43599. "description": "单笔持仓",
  43600. "type": "integer"
  43601. },
  43602. "holdvolume": {
  43603. "description": "持仓",
  43604. "type": "integer"
  43605. },
  43606. "iep": {
  43607. "description": "平衡价 港股专用",
  43608. "type": "number"
  43609. },
  43610. "iev": {
  43611. "description": "平衡量 港股专用",
  43612. "type": "number"
  43613. },
  43614. "inventory": {
  43615. "description": "库存",
  43616. "type": "integer"
  43617. },
  43618. "iscleared": {
  43619. "description": "是否清盘标志",
  43620. "type": "integer"
  43621. },
  43622. "issettled": {
  43623. "description": "是否结算标志",
  43624. "type": "integer"
  43625. },
  43626. "last": {
  43627. "description": "最新价",
  43628. "type": "number"
  43629. },
  43630. "lastlot": {
  43631. "description": "最新成交手数",
  43632. "type": "integer"
  43633. },
  43634. "lasttime": {
  43635. "description": "行情时间(只有现价变化行情时间才变化)",
  43636. "type": "string"
  43637. },
  43638. "lastturnover": {
  43639. "description": "最新成交金额",
  43640. "type": "number"
  43641. },
  43642. "lastvolume": {
  43643. "description": "最新成交量",
  43644. "type": "integer"
  43645. },
  43646. "limitdown": {
  43647. "description": "跌停价",
  43648. "type": "number"
  43649. },
  43650. "limitup": {
  43651. "description": "涨停价",
  43652. "type": "number"
  43653. },
  43654. "lowest": {
  43655. "description": "最低价",
  43656. "type": "number"
  43657. },
  43658. "nontotalholdervolume": {
  43659. "description": "非交易持仓量",
  43660. "type": "integer"
  43661. },
  43662. "nontotallot": {
  43663. "description": "非交易总手数",
  43664. "type": "integer"
  43665. },
  43666. "nontotalturnover": {
  43667. "description": "非交易总金额",
  43668. "type": "integer"
  43669. },
  43670. "nontotalvolume": {
  43671. "description": "非交易总量",
  43672. "type": "integer"
  43673. },
  43674. "opened": {
  43675. "description": "开盘价",
  43676. "type": "number"
  43677. },
  43678. "opentime": {
  43679. "description": "开盘时间",
  43680. "type": "string"
  43681. },
  43682. "orderid": {
  43683. "description": "序号",
  43684. "type": "integer"
  43685. },
  43686. "preclose": {
  43687. "description": "昨收",
  43688. "type": "number"
  43689. },
  43690. "preholdvolume": {
  43691. "description": "昨持仓",
  43692. "type": "integer"
  43693. },
  43694. "presettle": {
  43695. "description": "昨结价",
  43696. "type": "number"
  43697. },
  43698. "publictradetype": {
  43699. "description": "公共交易标志类型 港股专用",
  43700. "type": "string"
  43701. },
  43702. "putoptionpremiums": {
  43703. "description": "认沽期权1",
  43704. "type": "integer"
  43705. },
  43706. "putoptionpremiums2": {
  43707. "description": "认沽期权2",
  43708. "type": "integer"
  43709. },
  43710. "putoptionpremiums3": {
  43711. "description": "认沽期权3",
  43712. "type": "integer"
  43713. },
  43714. "putoptionpremiums4": {
  43715. "description": "认沽期权4",
  43716. "type": "integer"
  43717. },
  43718. "putoptionpremiums5": {
  43719. "description": "认沽期权5",
  43720. "type": "integer"
  43721. },
  43722. "settle": {
  43723. "description": "结算价",
  43724. "type": "number"
  43725. },
  43726. "strikeprice": {
  43727. "description": "发行价",
  43728. "type": "number"
  43729. },
  43730. "totalaskvolume": {
  43731. "description": "内盘",
  43732. "type": "integer"
  43733. },
  43734. "totalbidvolume": {
  43735. "description": "外盘",
  43736. "type": "integer"
  43737. },
  43738. "totallot": {
  43739. "description": "总手数",
  43740. "type": "integer"
  43741. },
  43742. "totalturnover": {
  43743. "description": "总金额",
  43744. "type": "number"
  43745. },
  43746. "totalvolume": {
  43747. "description": "总量",
  43748. "type": "integer"
  43749. },
  43750. "utclasttime": {
  43751. "description": "utc的行情时间",
  43752. "type": "string"
  43753. }
  43754. }
  43755. },
  43756. "quote.QueryTSDataRsp": {
  43757. "type": "object",
  43758. "properties": {
  43759. "Count": {
  43760. "description": "交易日应有数据个数",
  43761. "type": "integer"
  43762. },
  43763. "decimalPlace": {
  43764. "description": "小数位",
  43765. "type": "integer"
  43766. },
  43767. "endTime": {
  43768. "description": "结束时间",
  43769. "type": "string"
  43770. },
  43771. "goodsCode": {
  43772. "description": "商品代码",
  43773. "type": "string"
  43774. },
  43775. "historyDatas": {
  43776. "description": "历史数据",
  43777. "type": "array",
  43778. "items": {
  43779. "$ref": "#/definitions/quote.HistoryData"
  43780. }
  43781. },
  43782. "outGoodsCode": {
  43783. "description": "外部商品代码",
  43784. "type": "string"
  43785. },
  43786. "preSettle": {
  43787. "description": "昨结价",
  43788. "type": "number"
  43789. },
  43790. "runSteps": {
  43791. "description": "交易日开休市计划",
  43792. "type": "array",
  43793. "items": {
  43794. "$ref": "#/definitions/quote.TSDataRunStep"
  43795. }
  43796. },
  43797. "startTime": {
  43798. "description": "开始时间",
  43799. "type": "string"
  43800. },
  43801. "tradeDate": {
  43802. "description": "交易日",
  43803. "type": "string"
  43804. }
  43805. }
  43806. },
  43807. "quote.TSDataRunStep": {
  43808. "type": "object",
  43809. "properties": {
  43810. "end": {
  43811. "description": "真实结束时间",
  43812. "type": "string"
  43813. },
  43814. "endflag": {
  43815. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  43816. "type": "integer"
  43817. },
  43818. "endtime": {
  43819. "description": "结束时间(HH:mm)",
  43820. "type": "string"
  43821. },
  43822. "endweekday": {
  43823. "description": "结束周几",
  43824. "type": "integer"
  43825. },
  43826. "groupid": {
  43827. "description": "分组ID",
  43828. "type": "integer"
  43829. },
  43830. "runstep": {
  43831. "description": "运行阶段 - 2:连续交易",
  43832. "type": "integer"
  43833. },
  43834. "sectionid": {
  43835. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  43836. "type": "integer"
  43837. },
  43838. "start": {
  43839. "description": "真实开始时间",
  43840. "type": "string"
  43841. },
  43842. "startflag": {
  43843. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  43844. "type": "integer"
  43845. },
  43846. "starttime": {
  43847. "description": "起始时间(HH:mm)",
  43848. "type": "string"
  43849. },
  43850. "startweekday": {
  43851. "description": "起始周几",
  43852. "type": "integer"
  43853. },
  43854. "tradeweekday": {
  43855. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  43856. "type": "integer"
  43857. }
  43858. }
  43859. },
  43860. "szdz.QueryConvertLogRsp": {
  43861. "type": "object",
  43862. "required": [
  43863. "logid"
  43864. ],
  43865. "properties": {
  43866. "accountid": {
  43867. "description": "资金账户ID",
  43868. "type": "integer"
  43869. },
  43870. "clientticket": {
  43871. "description": "客户端流水号",
  43872. "type": "string"
  43873. },
  43874. "converttype": {
  43875. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  43876. "type": "integer"
  43877. },
  43878. "createtime": {
  43879. "description": "记账时间",
  43880. "type": "string"
  43881. },
  43882. "daymaxvalue": {
  43883. "description": "配置当日最大转入限制",
  43884. "type": "number"
  43885. },
  43886. "daymaxvalue2": {
  43887. "description": "配置当日最大转入限制(转入)",
  43888. "type": "number"
  43889. },
  43890. "goodscode": {
  43891. "description": "商品代码",
  43892. "type": "string"
  43893. },
  43894. "goodsname": {
  43895. "description": "商品名称",
  43896. "type": "string"
  43897. },
  43898. "handlestatus": {
  43899. "description": "处理状态",
  43900. "type": "integer"
  43901. },
  43902. "innergoodsid": {
  43903. "description": "内部商品ID",
  43904. "type": "integer"
  43905. },
  43906. "inratio": {
  43907. "description": "配置转入比值",
  43908. "type": "integer"
  43909. },
  43910. "invalue": {
  43911. "description": "目标值",
  43912. "type": "number"
  43913. },
  43914. "logid": {
  43915. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43916. "type": "integer"
  43917. },
  43918. "mobile": {
  43919. "description": "手机号码(加密存储)",
  43920. "type": "string"
  43921. },
  43922. "outergoodscode": {
  43923. "description": "外部商品代码[JD\\PD]",
  43924. "type": "string"
  43925. },
  43926. "outratio": {
  43927. "description": "配置转出比值",
  43928. "type": "integer"
  43929. },
  43930. "outvalue": {
  43931. "description": "源值",
  43932. "type": "number"
  43933. },
  43934. "pddecimalplace": {
  43935. "description": "PD小数位",
  43936. "type": "integer"
  43937. },
  43938. "qty": {
  43939. "description": "数量",
  43940. "type": "string"
  43941. },
  43942. "remark": {
  43943. "description": "备注",
  43944. "type": "string"
  43945. },
  43946. "sessionid": {
  43947. "description": "会话ID",
  43948. "type": "integer"
  43949. },
  43950. "timemaxvalue": {
  43951. "description": "配置单次最大转入限制",
  43952. "type": "number"
  43953. },
  43954. "timemaxvalue2": {
  43955. "description": "配置单次最大转入限制(转入)",
  43956. "type": "number"
  43957. },
  43958. "timeminvalue": {
  43959. "description": "配置单次最小数量限制",
  43960. "type": "number"
  43961. },
  43962. "timeminvalue2": {
  43963. "description": "配置单次最小数量限制(转入)",
  43964. "type": "number"
  43965. },
  43966. "tradedate": {
  43967. "description": "交易日(yyyyMMdd)",
  43968. "type": "string"
  43969. },
  43970. "userid": {
  43971. "description": "用户ID",
  43972. "type": "integer"
  43973. }
  43974. }
  43975. },
  43976. "szdz.QueryGoodsPickupRsp": {
  43977. "type": "object",
  43978. "required": [
  43979. "takeorderid"
  43980. ],
  43981. "properties": {
  43982. "accountid": {
  43983. "description": "账户ID",
  43984. "type": "integer"
  43985. },
  43986. "address": {
  43987. "description": "提货人详细地址",
  43988. "type": "string"
  43989. },
  43990. "auditer": {
  43991. "description": "审核人",
  43992. "type": "integer"
  43993. },
  43994. "audittime": {
  43995. "description": "审核时间",
  43996. "type": "string"
  43997. },
  43998. "cardnum": {
  43999. "description": "提货人证件号码",
  44000. "type": "string"
  44001. },
  44002. "cardtypeid": {
  44003. "description": "提货人证件类型",
  44004. "type": "integer"
  44005. },
  44006. "checkremark": {
  44007. "description": "审核备注",
  44008. "type": "string"
  44009. },
  44010. "goodscode": {
  44011. "description": "商品代码",
  44012. "type": "string"
  44013. },
  44014. "goodsid": {
  44015. "description": "商品ID",
  44016. "type": "integer"
  44017. },
  44018. "goodsname": {
  44019. "description": "商品名称",
  44020. "type": "string"
  44021. },
  44022. "handlestatus": {
  44023. "description": "处理状态",
  44024. "type": "integer"
  44025. },
  44026. "marketid": {
  44027. "description": "市场ID",
  44028. "type": "integer"
  44029. },
  44030. "phonenum": {
  44031. "description": "提货人联系方式",
  44032. "type": "string"
  44033. },
  44034. "qty": {
  44035. "description": "提货数量",
  44036. "type": "number"
  44037. },
  44038. "recivername": {
  44039. "description": "提货人姓名",
  44040. "type": "string"
  44041. },
  44042. "reqtime": {
  44043. "description": "更新时间",
  44044. "type": "string"
  44045. },
  44046. "takemode": {
  44047. "description": "提货方式 - 2:自提 3:配送",
  44048. "type": "integer"
  44049. },
  44050. "takeorderid": {
  44051. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  44052. "type": "string"
  44053. },
  44054. "takeorderstatus": {
  44055. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  44056. "type": "integer"
  44057. },
  44058. "takeremark": {
  44059. "description": "提货备注",
  44060. "type": "string"
  44061. },
  44062. "tradedate": {
  44063. "description": "交易日(yyyyMMdd)",
  44064. "type": "string"
  44065. },
  44066. "userid": {
  44067. "description": "用户ID",
  44068. "type": "integer"
  44069. }
  44070. }
  44071. },
  44072. "szdz.QueryRecieptOrderRsp": {
  44073. "type": "object",
  44074. "required": [
  44075. "ordertime"
  44076. ],
  44077. "properties": {
  44078. "accountName": {
  44079. "description": "所属账号名称(已脱敏)",
  44080. "type": "string"
  44081. },
  44082. "accountid": {
  44083. "description": "资金账号",
  44084. "type": "integer"
  44085. },
  44086. "buyorsell": {
  44087. "description": "方向 - 0:买 1:卖",
  44088. "type": "integer"
  44089. },
  44090. "enableqty": {
  44091. "description": "可摘数量",
  44092. "type": "integer"
  44093. },
  44094. "goodscode": {
  44095. "description": "商品代码",
  44096. "type": "string"
  44097. },
  44098. "goodsid": {
  44099. "description": "商品ID",
  44100. "type": "integer"
  44101. },
  44102. "goodsname": {
  44103. "description": "商品名称",
  44104. "type": "string"
  44105. },
  44106. "orderid": {
  44107. "description": "委托单号",
  44108. "type": "string"
  44109. },
  44110. "orderprice": {
  44111. "description": "委托价格",
  44112. "type": "number"
  44113. },
  44114. "ordertime": {
  44115. "description": "委托时间",
  44116. "type": "string"
  44117. },
  44118. "tradedate": {
  44119. "description": "交易日(yyyyMMdd)",
  44120. "type": "string"
  44121. }
  44122. }
  44123. },
  44124. "szdz.QuerySZDZTradePositionRsp": {
  44125. "type": "object",
  44126. "properties": {
  44127. "accountid": {
  44128. "description": "账号Id",
  44129. "type": "integer"
  44130. },
  44131. "agreeunit": {
  44132. "description": "合约单位",
  44133. "type": "number"
  44134. },
  44135. "averageprice": {
  44136. "description": "持仓均价",
  44137. "type": "number"
  44138. },
  44139. "buyorsell": {
  44140. "description": "方向 - 0:买 1:卖",
  44141. "type": "integer"
  44142. },
  44143. "closetotalqty": {
  44144. "description": "平仓总数量",
  44145. "type": "integer"
  44146. },
  44147. "curholderamount": {
  44148. "description": "当前持仓总金额",
  44149. "type": "number"
  44150. },
  44151. "curpositionqty": {
  44152. "description": "当前持仓总数量",
  44153. "type": "integer"
  44154. },
  44155. "currencyid": {
  44156. "description": "报价货币ID",
  44157. "type": "integer"
  44158. },
  44159. "curtdposition": {
  44160. "description": "期末今日头寸",
  44161. "type": "integer"
  44162. },
  44163. "decimalplace": {
  44164. "description": "报价小数位",
  44165. "type": "integer"
  44166. },
  44167. "enableqty": {
  44168. "description": "可用量",
  44169. "type": "integer"
  44170. },
  44171. "fretdposition": {
  44172. "description": "冻结今日头寸",
  44173. "type": "integer"
  44174. },
  44175. "frozenqty": {
  44176. "description": "持仓冻结数量",
  44177. "type": "integer"
  44178. },
  44179. "goodscode": {
  44180. "description": "商品代码(内部)",
  44181. "type": "string"
  44182. },
  44183. "goodsid": {
  44184. "description": "商品Id",
  44185. "type": "integer"
  44186. },
  44187. "goodsname": {
  44188. "description": "商品名称",
  44189. "type": "string"
  44190. },
  44191. "goodunit": {
  44192. "description": "报价单位",
  44193. "type": "string"
  44194. },
  44195. "goodunitid": {
  44196. "description": "报价单位ID",
  44197. "type": "integer"
  44198. },
  44199. "holderamount": {
  44200. "description": "期初持仓总金额",
  44201. "type": "number"
  44202. },
  44203. "marketid": {
  44204. "description": "市场ID",
  44205. "type": "integer"
  44206. },
  44207. "openreqqty": {
  44208. "description": "开仓申请数量",
  44209. "type": "integer"
  44210. },
  44211. "opentotalqty": {
  44212. "description": "开仓总数量",
  44213. "type": "integer"
  44214. },
  44215. "otherfrozenqty": {
  44216. "description": "持仓其他冻结数量(交割冻结)",
  44217. "type": "integer"
  44218. },
  44219. "positionqty": {
  44220. "description": "期初持仓数量",
  44221. "type": "integer"
  44222. },
  44223. "szdz3freezqty": {
  44224. "description": "尚志大宗转换冻结总数量",
  44225. "type": "integer"
  44226. },
  44227. "tnqty": {
  44228. "description": "T+N冻结总量",
  44229. "type": "integer"
  44230. },
  44231. "tnusedqty": {
  44232. "description": "T+N使用量",
  44233. "type": "integer"
  44234. },
  44235. "trademode": {
  44236. "description": "交易模式",
  44237. "type": "integer"
  44238. },
  44239. "usedmargin": {
  44240. "description": "占用保证金",
  44241. "type": "number"
  44242. }
  44243. }
  44244. },
  44245. "taaccount.QueryAmountLogRsp": {
  44246. "type": "object",
  44247. "required": [
  44248. "accountid",
  44249. "amount",
  44250. "amountadjusttype",
  44251. "autoid",
  44252. "balance",
  44253. "createtime",
  44254. "currentbalance",
  44255. "operatetype"
  44256. ],
  44257. "properties": {
  44258. "OPERATETYPENAME": {
  44259. "description": "资金操作类型名称",
  44260. "type": "string"
  44261. },
  44262. "accountid": {
  44263. "description": "资金账户ID",
  44264. "type": "integer"
  44265. },
  44266. "agoodscode": {
  44267. "description": "竞拍商品代码",
  44268. "type": "string"
  44269. },
  44270. "agoodsname": {
  44271. "description": "竞拍商品名称",
  44272. "type": "string"
  44273. },
  44274. "amount": {
  44275. "description": "资金金额",
  44276. "type": "number"
  44277. },
  44278. "amountadjusttype": {
  44279. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44280. "type": "integer"
  44281. },
  44282. "autoid": {
  44283. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44284. "type": "integer"
  44285. },
  44286. "balance": {
  44287. "description": "期初余额",
  44288. "type": "number"
  44289. },
  44290. "businesscode": {
  44291. "description": "业务编号",
  44292. "type": "integer"
  44293. },
  44294. "createtime": {
  44295. "description": "发生时间",
  44296. "type": "string"
  44297. },
  44298. "currencyid": {
  44299. "description": "币种ID",
  44300. "type": "integer"
  44301. },
  44302. "currentbalance": {
  44303. "description": "期末余额(变动后金额)",
  44304. "type": "number"
  44305. },
  44306. "dgoodscode": {
  44307. "description": "交割商品代码",
  44308. "type": "string"
  44309. },
  44310. "dgoodsname": {
  44311. "description": "交割商品名称",
  44312. "type": "string"
  44313. },
  44314. "goodscode": {
  44315. "description": "商品代码",
  44316. "type": "string"
  44317. },
  44318. "goodsid": {
  44319. "description": "商品ID",
  44320. "type": "integer"
  44321. },
  44322. "goodsname": {
  44323. "description": "商品名称",
  44324. "type": "string"
  44325. },
  44326. "marketid": {
  44327. "description": "市场ID",
  44328. "type": "integer"
  44329. },
  44330. "marketname": {
  44331. "description": "市场名称",
  44332. "type": "string"
  44333. },
  44334. "moneyticket": {
  44335. "description": "资金流水号:银行端流水号",
  44336. "type": "integer"
  44337. },
  44338. "operatetype": {
  44339. "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:营销收款",
  44340. "type": "integer"
  44341. },
  44342. "relationorderid": {
  44343. "description": "关联单号",
  44344. "type": "string"
  44345. },
  44346. "remark": {
  44347. "description": "备注",
  44348. "type": "string"
  44349. },
  44350. "trademode": {
  44351. "description": "交易模式",
  44352. "type": "integer"
  44353. }
  44354. }
  44355. },
  44356. "taaccount.QueryHisAmountLogRsp": {
  44357. "type": "object",
  44358. "required": [
  44359. "accountid",
  44360. "amount",
  44361. "amountadjusttype",
  44362. "autoid",
  44363. "balance",
  44364. "createtime",
  44365. "currentbalance",
  44366. "histradedate",
  44367. "operatetype"
  44368. ],
  44369. "properties": {
  44370. "OPERATETYPENAME": {
  44371. "description": "资金操作类型名称",
  44372. "type": "string"
  44373. },
  44374. "accountid": {
  44375. "description": "资金账户ID",
  44376. "type": "integer"
  44377. },
  44378. "agoodscode": {
  44379. "description": "竞拍商品代码",
  44380. "type": "string"
  44381. },
  44382. "agoodsname": {
  44383. "description": "竞拍商品名称",
  44384. "type": "string"
  44385. },
  44386. "amount": {
  44387. "description": "资金金额",
  44388. "type": "number"
  44389. },
  44390. "amountadjusttype": {
  44391. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  44392. "type": "integer"
  44393. },
  44394. "autoid": {
  44395. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  44396. "type": "integer"
  44397. },
  44398. "balance": {
  44399. "description": "期初余额",
  44400. "type": "number"
  44401. },
  44402. "businesscode": {
  44403. "description": "业务编号",
  44404. "type": "integer"
  44405. },
  44406. "createtime": {
  44407. "description": "发生时间",
  44408. "type": "string"
  44409. },
  44410. "currencyid": {
  44411. "description": "币种ID",
  44412. "type": "integer"
  44413. },
  44414. "currentbalance": {
  44415. "description": "期末余额(变动后金额)",
  44416. "type": "number"
  44417. },
  44418. "dgoodscode": {
  44419. "description": "交割商品代码",
  44420. "type": "string"
  44421. },
  44422. "dgoodsname": {
  44423. "description": "交割商品名称",
  44424. "type": "string"
  44425. },
  44426. "goodscode": {
  44427. "description": "商品代码",
  44428. "type": "string"
  44429. },
  44430. "goodsid": {
  44431. "description": "商品ID",
  44432. "type": "integer"
  44433. },
  44434. "goodsname": {
  44435. "description": "商品名称",
  44436. "type": "string"
  44437. },
  44438. "histradedate": {
  44439. "description": "历史交易日",
  44440. "type": "string"
  44441. },
  44442. "isvaliddata": {
  44443. "description": "是否有效 - 0:无效 1:有效",
  44444. "type": "integer"
  44445. },
  44446. "marketid": {
  44447. "description": "市场ID",
  44448. "type": "integer"
  44449. },
  44450. "marketname": {
  44451. "description": "市场名称",
  44452. "type": "string"
  44453. },
  44454. "moneyticket": {
  44455. "description": "资金流水号:银行端流水号",
  44456. "type": "integer"
  44457. },
  44458. "operatetype": {
  44459. "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:营销收款",
  44460. "type": "integer"
  44461. },
  44462. "relationorderid": {
  44463. "description": "关联单号",
  44464. "type": "string"
  44465. },
  44466. "remark": {
  44467. "description": "备注",
  44468. "type": "string"
  44469. },
  44470. "trademode": {
  44471. "description": "交易模式",
  44472. "type": "integer"
  44473. }
  44474. }
  44475. },
  44476. "trade.QueryRecieptOrderRsp": {
  44477. "type": "object",
  44478. "required": [
  44479. "ordertime"
  44480. ],
  44481. "properties": {
  44482. "accountName": {
  44483. "description": "所属账号名称(已脱敏)",
  44484. "type": "string"
  44485. },
  44486. "accountid": {
  44487. "description": "资金账号",
  44488. "type": "integer"
  44489. },
  44490. "buyorsell": {
  44491. "description": "方向 - 0:买 1:卖",
  44492. "type": "integer"
  44493. },
  44494. "enableqty": {
  44495. "description": "可摘数量",
  44496. "type": "integer"
  44497. },
  44498. "goodscode": {
  44499. "description": "商品代码",
  44500. "type": "string"
  44501. },
  44502. "goodsid": {
  44503. "description": "商品ID",
  44504. "type": "integer"
  44505. },
  44506. "goodsname": {
  44507. "description": "商品名称",
  44508. "type": "string"
  44509. },
  44510. "orderid": {
  44511. "description": "委托单号",
  44512. "type": "string"
  44513. },
  44514. "orderprice": {
  44515. "description": "委托价格",
  44516. "type": "number"
  44517. },
  44518. "ordertime": {
  44519. "description": "委托时间",
  44520. "type": "string"
  44521. },
  44522. "tradedate": {
  44523. "description": "交易日(yyyyMMdd)",
  44524. "type": "string"
  44525. }
  44526. }
  44527. },
  44528. "user.LoginQueryRsp": {
  44529. "type": "object",
  44530. "properties": {
  44531. "areaRoles": {
  44532. "description": "所属角色信息",
  44533. "type": "array",
  44534. "items": {
  44535. "$ref": "#/definitions/models.Arearole"
  44536. }
  44537. },
  44538. "externalExchanges": {
  44539. "description": "外部交易所",
  44540. "type": "array",
  44541. "items": {
  44542. "$ref": "#/definitions/models.Externalexchange"
  44543. }
  44544. },
  44545. "goodsgroups": {
  44546. "description": "商品组",
  44547. "type": "array",
  44548. "items": {
  44549. "$ref": "#/definitions/models.Goodsgroup"
  44550. }
  44551. },
  44552. "loginAccount": {
  44553. "description": "登录账号",
  44554. "$ref": "#/definitions/models.Loginaccount"
  44555. },
  44556. "markets": {
  44557. "description": "市场",
  44558. "type": "array",
  44559. "items": {
  44560. "$ref": "#/definitions/models.Market"
  44561. }
  44562. },
  44563. "systemParams": {
  44564. "description": "系统参数",
  44565. "type": "array",
  44566. "items": {
  44567. "$ref": "#/definitions/models.Systemparam"
  44568. }
  44569. },
  44570. "userAccount": {
  44571. "description": "用户账号",
  44572. "$ref": "#/definitions/models.Useraccount"
  44573. },
  44574. "userInfo": {
  44575. "description": "用户信息",
  44576. "$ref": "#/definitions/models.Userinfo"
  44577. },
  44578. "username": {
  44579. "description": "用户姓名",
  44580. "type": "string"
  44581. }
  44582. }
  44583. }
  44584. },
  44585. "securityDefinitions": {
  44586. "ApiKeyAuth": {
  44587. "type": "apiKey",
  44588. "name": "Authorization",
  44589. "in": "header"
  44590. }
  44591. }
  44592. }`
  44593. type swaggerInfo struct {
  44594. Version string
  44595. Host string
  44596. BasePath string
  44597. Schemes []string
  44598. Title string
  44599. Description string
  44600. }
  44601. // SwaggerInfo holds exported Swagger Info so clients can modify it
  44602. var SwaggerInfo = swaggerInfo{
  44603. Version: "1.0",
  44604. Host: "",
  44605. BasePath: "/api",
  44606. Schemes: []string{},
  44607. Title: "MTP2.0 查询服务 API",
  44608. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  44609. }
  44610. type s struct{}
  44611. func (s *s) ReadDoc() string {
  44612. sInfo := SwaggerInfo
  44613. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  44614. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  44615. "marshal": func(v interface{}) string {
  44616. a, _ := json.Marshal(v)
  44617. return string(a)
  44618. },
  44619. }).Parse(doc)
  44620. if err != nil {
  44621. return doc
  44622. }
  44623. var tpl bytes.Buffer
  44624. if err := t.Execute(&tpl, sInfo); err != nil {
  44625. return doc
  44626. }
  44627. return tpl.String()
  44628. }
  44629. func init() {
  44630. swag.Register(swag.Name, &s{})
  44631. }