docs.go 1.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "登录账号",
  892. "name": "loginID",
  893. "in": "query",
  894. "required": true
  895. },
  896. {
  897. "type": "integer",
  898. "description": "消息类型 - 1:公告通知 2:系统消息",
  899. "name": "msgType",
  900. "in": "query"
  901. },
  902. {
  903. "type": "boolean",
  904. "description": "是否只获取未读信息",
  905. "name": "onlyUnRead",
  906. "in": "query"
  907. },
  908. {
  909. "type": "integer",
  910. "description": "自增ID,传入后会返回这个ID后面的记录",
  911. "name": "lastID",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/common.QueryNoticeRsp"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/Common/QueryProvincesAndCities": {
  932. "get": {
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "通用服务"
  938. ],
  939. "summary": "查询省市信息(不包括区)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "省ID",
  944. "name": "provinceID",
  945. "in": "query"
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Common/QueryTableDefine": {
  965. "get": {
  966. "produces": [
  967. "application/json"
  968. ],
  969. "tags": [
  970. "通用服务"
  971. ],
  972. "summary": "查询交易端列表头信息",
  973. "parameters": [
  974. {
  975. "type": "string",
  976. "description": "表key",
  977. "name": "tableKey",
  978. "in": "query"
  979. },
  980. {
  981. "type": "integer",
  982. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  983. "name": "tableType",
  984. "in": "query"
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "OK",
  990. "schema": {
  991. "$ref": "#/definitions/common.QueryTableDefineRsp"
  992. }
  993. },
  994. "500": {
  995. "description": "Internal Server Error",
  996. "schema": {
  997. "$ref": "#/definitions/app.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/Common/QueryTraderMenu": {
  1004. "get": {
  1005. "produces": [
  1006. "application/json"
  1007. ],
  1008. "tags": [
  1009. "通用服务"
  1010. ],
  1011. "summary": "查询交易端菜单",
  1012. "parameters": [
  1013. {
  1014. "type": "integer",
  1015. "description": "登录账号",
  1016. "name": "loginid",
  1017. "in": "query",
  1018. "required": true
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1026. }
  1027. },
  1028. "500": {
  1029. "description": "Internal Server Error",
  1030. "schema": {
  1031. "$ref": "#/definitions/app.Response"
  1032. }
  1033. }
  1034. }
  1035. }
  1036. },
  1037. "/Common/UpdateNewFuncmenu": {
  1038. "put": {
  1039. "security": [
  1040. {
  1041. "ApiKeyAuth": []
  1042. }
  1043. ],
  1044. "consumes": [
  1045. "application/json"
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "通用服务"
  1052. ],
  1053. "summary": "更新菜单表数据",
  1054. "parameters": [
  1055. {
  1056. "description": "菜单表数据",
  1057. "name": "data",
  1058. "in": "body",
  1059. "required": true,
  1060. "schema": {
  1061. "$ref": "#/definitions/models.NewFuncmenulist"
  1062. }
  1063. }
  1064. ],
  1065. "responses": {
  1066. "200": {
  1067. "description": "OK",
  1068. "schema": {
  1069. "$ref": "#/definitions/app.Response"
  1070. }
  1071. },
  1072. "500": {
  1073. "description": "Internal Server Error",
  1074. "schema": {
  1075. "$ref": "#/definitions/app.Response"
  1076. }
  1077. }
  1078. }
  1079. }
  1080. },
  1081. "/Delivery/QueryDeliveryRelation": {
  1082. "get": {
  1083. "security": [
  1084. {
  1085. "ApiKeyAuth": []
  1086. }
  1087. ],
  1088. "produces": [
  1089. "application/json"
  1090. ],
  1091. "tags": [
  1092. "交割服务"
  1093. ],
  1094. "summary": "查询商品交割关系表",
  1095. "parameters": [
  1096. {
  1097. "type": "integer",
  1098. "description": "商品ID",
  1099. "name": "goodsid",
  1100. "in": "query"
  1101. },
  1102. {
  1103. "type": "integer",
  1104. "description": "品种ID",
  1105. "name": "deliverygoodsid",
  1106. "in": "query"
  1107. },
  1108. {
  1109. "type": "integer",
  1110. "description": "市场ID",
  1111. "name": "marketid",
  1112. "in": "query"
  1113. }
  1114. ],
  1115. "responses": {
  1116. "200": {
  1117. "description": "OK",
  1118. "schema": {
  1119. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1120. }
  1121. },
  1122. "500": {
  1123. "description": "Internal Server Error",
  1124. "schema": {
  1125. "$ref": "#/definitions/app.Response"
  1126. }
  1127. }
  1128. }
  1129. }
  1130. },
  1131. "/Ermcp/GetErmcpGoods": {
  1132. "get": {
  1133. "security": [
  1134. {
  1135. "ApiKeyAuth": []
  1136. }
  1137. ],
  1138. "produces": [
  1139. "application/json"
  1140. ],
  1141. "tags": [
  1142. "企业风险管理(app)"
  1143. ],
  1144. "summary": "查询企业风管期货商品信息",
  1145. "parameters": [
  1146. {
  1147. "type": "integer",
  1148. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1149. "name": "userid",
  1150. "in": "query"
  1151. },
  1152. {
  1153. "type": "string",
  1154. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1155. "name": "lastUpdateTime",
  1156. "in": "query"
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "$ref": "#/definitions/models.ErmcpGoods"
  1164. }
  1165. },
  1166. "500": {
  1167. "description": "Internal Server Error",
  1168. "schema": {
  1169. "$ref": "#/definitions/app.Response"
  1170. }
  1171. }
  1172. }
  1173. }
  1174. },
  1175. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1176. "get": {
  1177. "security": [
  1178. {
  1179. "ApiKeyAuth": []
  1180. }
  1181. ],
  1182. "produces": [
  1183. "application/json"
  1184. ],
  1185. "tags": [
  1186. "企业风险管理(app)"
  1187. ],
  1188. "summary": "查询企业风管期货主力、次主力商品信息",
  1189. "parameters": [
  1190. {
  1191. "type": "string",
  1192. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1193. "name": "sortIndex",
  1194. "in": "query"
  1195. }
  1196. ],
  1197. "responses": {
  1198. "200": {
  1199. "description": "OK",
  1200. "schema": {
  1201. "$ref": "#/definitions/models.Goodssortbypreposition"
  1202. }
  1203. },
  1204. "500": {
  1205. "description": "Internal Server Error",
  1206. "schema": {
  1207. "$ref": "#/definitions/app.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/Ermcp/GetErmcpOutAccountStatus": {
  1214. "get": {
  1215. "security": [
  1216. {
  1217. "ApiKeyAuth": []
  1218. }
  1219. ],
  1220. "produces": [
  1221. "application/json"
  1222. ],
  1223. "tags": [
  1224. "企业风险管理(app)"
  1225. ],
  1226. "summary": "获取目标登录账号当前对冲账号在线状态",
  1227. "parameters": [
  1228. {
  1229. "type": "integer",
  1230. "description": "登录账号",
  1231. "name": "loginID",
  1232. "in": "query",
  1233. "required": true
  1234. }
  1235. ],
  1236. "responses": {
  1237. "200": {
  1238. "description": "OK",
  1239. "schema": {
  1240. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1241. }
  1242. },
  1243. "500": {
  1244. "description": "Internal Server Error",
  1245. "schema": {
  1246. "$ref": "#/definitions/app.Response"
  1247. }
  1248. }
  1249. }
  1250. }
  1251. },
  1252. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1253. "get": {
  1254. "security": [
  1255. {
  1256. "ApiKeyAuth": []
  1257. }
  1258. ],
  1259. "produces": [
  1260. "application/json"
  1261. ],
  1262. "tags": [
  1263. "企业风险管理(app)"
  1264. ],
  1265. "summary": "获取企业风管终端权限",
  1266. "parameters": [
  1267. {
  1268. "type": "integer",
  1269. "description": "登录账号",
  1270. "name": "loginID",
  1271. "in": "query",
  1272. "required": true
  1273. }
  1274. ],
  1275. "responses": {
  1276. "200": {
  1277. "description": "OK",
  1278. "schema": {
  1279. "$ref": "#/definitions/models.Funcmenulist"
  1280. }
  1281. },
  1282. "500": {
  1283. "description": "Internal Server Error",
  1284. "schema": {
  1285. "$ref": "#/definitions/app.Response"
  1286. }
  1287. }
  1288. }
  1289. }
  1290. },
  1291. "/Ermcp/QueryAccMgrBizGroupSet": {
  1292. "get": {
  1293. "security": [
  1294. {
  1295. "ApiKeyAuth": []
  1296. }
  1297. ],
  1298. "produces": [
  1299. "application/json"
  1300. ],
  1301. "tags": [
  1302. "企业风险管理(app)"
  1303. ],
  1304. "summary": "查询业务类型分组(账户管理/账户设置)",
  1305. "parameters": [
  1306. {
  1307. "type": "integer",
  1308. "description": "用户ID",
  1309. "name": "userid",
  1310. "in": "query",
  1311. "required": true
  1312. },
  1313. {
  1314. "type": "integer",
  1315. "description": "现货商品id",
  1316. "name": "deliverygoodsid",
  1317. "in": "query"
  1318. }
  1319. ],
  1320. "responses": {
  1321. "200": {
  1322. "description": "OK",
  1323. "schema": {
  1324. "type": "array",
  1325. "items": {
  1326. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1327. }
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/Ermcp/QueryAccMgrLoginUser": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "produces": [
  1347. "application/json"
  1348. ],
  1349. "tags": [
  1350. "企业风险管理(app)"
  1351. ],
  1352. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1353. "parameters": [
  1354. {
  1355. "type": "integer",
  1356. "description": "用户ID",
  1357. "name": "userid",
  1358. "in": "query",
  1359. "required": true
  1360. },
  1361. {
  1362. "type": "integer",
  1363. "description": "用户类型 2-机构 7-企业成员",
  1364. "name": "usertype",
  1365. "in": "query"
  1366. },
  1367. {
  1368. "type": "integer",
  1369. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1370. "name": "querytype",
  1371. "in": "query",
  1372. "required": true
  1373. }
  1374. ],
  1375. "responses": {
  1376. "200": {
  1377. "description": "OK",
  1378. "schema": {
  1379. "type": "array",
  1380. "items": {
  1381. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1382. }
  1383. }
  1384. },
  1385. "500": {
  1386. "description": "Internal Server Error",
  1387. "schema": {
  1388. "$ref": "#/definitions/app.Response"
  1389. }
  1390. }
  1391. }
  1392. }
  1393. },
  1394. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1395. "get": {
  1396. "security": [
  1397. {
  1398. "ApiKeyAuth": []
  1399. }
  1400. ],
  1401. "produces": [
  1402. "application/json"
  1403. ],
  1404. "tags": [
  1405. "企业风险管理(app)"
  1406. ],
  1407. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1408. "parameters": [
  1409. {
  1410. "type": "integer",
  1411. "description": "用户ID",
  1412. "name": "userid",
  1413. "in": "query"
  1414. },
  1415. {
  1416. "type": "integer",
  1417. "description": "主账号id",
  1418. "name": "accountid",
  1419. "in": "query"
  1420. }
  1421. ],
  1422. "responses": {
  1423. "200": {
  1424. "description": "OK",
  1425. "schema": {
  1426. "type": "array",
  1427. "items": {
  1428. "$ref": "#/definitions/models.MainAccountInfo"
  1429. }
  1430. }
  1431. },
  1432. "500": {
  1433. "description": "Internal Server Error",
  1434. "schema": {
  1435. "$ref": "#/definitions/app.Response"
  1436. }
  1437. }
  1438. }
  1439. }
  1440. },
  1441. "/Ermcp/QueryAccMgrRole": {
  1442. "get": {
  1443. "security": [
  1444. {
  1445. "ApiKeyAuth": []
  1446. }
  1447. ],
  1448. "produces": [
  1449. "application/json"
  1450. ],
  1451. "tags": [
  1452. "企业风险管理(app)"
  1453. ],
  1454. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1455. "parameters": [
  1456. {
  1457. "type": "integer",
  1458. "description": "用户ID",
  1459. "name": "userid",
  1460. "in": "query",
  1461. "required": true
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "OK",
  1467. "schema": {
  1468. "type": "array",
  1469. "items": {
  1470. "$ref": "#/definitions/models.ErmcpRole"
  1471. }
  1472. }
  1473. },
  1474. "500": {
  1475. "description": "Internal Server Error",
  1476. "schema": {
  1477. "$ref": "#/definitions/app.Response"
  1478. }
  1479. }
  1480. }
  1481. }
  1482. },
  1483. "/Ermcp/QueryAccMgrRoleMenu": {
  1484. "get": {
  1485. "security": [
  1486. {
  1487. "ApiKeyAuth": []
  1488. }
  1489. ],
  1490. "produces": [
  1491. "application/json"
  1492. ],
  1493. "tags": [
  1494. "企业风险管理(app)"
  1495. ],
  1496. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1497. "parameters": [
  1498. {
  1499. "type": "integer",
  1500. "description": "用户ID",
  1501. "name": "userid",
  1502. "in": "query",
  1503. "required": true
  1504. },
  1505. {
  1506. "type": "string",
  1507. "description": "角色id(可多个,逗号隔开)",
  1508. "name": "roleid",
  1509. "in": "query"
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1514. "name": "menutype",
  1515. "in": "query"
  1516. }
  1517. ],
  1518. "responses": {
  1519. "200": {
  1520. "description": "OK",
  1521. "schema": {
  1522. "type": "array",
  1523. "items": {
  1524. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1525. }
  1526. }
  1527. },
  1528. "500": {
  1529. "description": "Internal Server Error",
  1530. "schema": {
  1531. "$ref": "#/definitions/app.Response"
  1532. }
  1533. }
  1534. }
  1535. }
  1536. },
  1537. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1538. "get": {
  1539. "security": [
  1540. {
  1541. "ApiKeyAuth": []
  1542. }
  1543. ],
  1544. "produces": [
  1545. "application/json"
  1546. ],
  1547. "tags": [
  1548. "企业风险管理(app)"
  1549. ],
  1550. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1551. "parameters": [
  1552. {
  1553. "type": "integer",
  1554. "description": "用户ID",
  1555. "name": "userid",
  1556. "in": "query",
  1557. "required": true
  1558. },
  1559. {
  1560. "type": "integer",
  1561. "description": "账号id",
  1562. "name": "accountid",
  1563. "in": "query"
  1564. }
  1565. ],
  1566. "responses": {
  1567. "200": {
  1568. "description": "OK",
  1569. "schema": {
  1570. "type": "array",
  1571. "items": {
  1572. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1573. }
  1574. }
  1575. },
  1576. "500": {
  1577. "description": "Internal Server Error",
  1578. "schema": {
  1579. "$ref": "#/definitions/app.Response"
  1580. }
  1581. }
  1582. }
  1583. }
  1584. },
  1585. "/Ermcp/QueryAccMgrTaaccount": {
  1586. "get": {
  1587. "security": [
  1588. {
  1589. "ApiKeyAuth": []
  1590. }
  1591. ],
  1592. "produces": [
  1593. "application/json"
  1594. ],
  1595. "tags": [
  1596. "企业风险管理(app)"
  1597. ],
  1598. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1599. "parameters": [
  1600. {
  1601. "type": "integer",
  1602. "description": "用户ID",
  1603. "name": "userid",
  1604. "in": "query",
  1605. "required": true
  1606. }
  1607. ],
  1608. "responses": {
  1609. "200": {
  1610. "description": "OK",
  1611. "schema": {
  1612. "type": "array",
  1613. "items": {
  1614. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1615. }
  1616. }
  1617. },
  1618. "500": {
  1619. "description": "Internal Server Error",
  1620. "schema": {
  1621. "$ref": "#/definitions/app.Response"
  1622. }
  1623. }
  1624. }
  1625. }
  1626. },
  1627. "/Ermcp/QueryAvaildGoodsGroup": {
  1628. "get": {
  1629. "security": [
  1630. {
  1631. "ApiKeyAuth": []
  1632. }
  1633. ],
  1634. "produces": [
  1635. "application/json"
  1636. ],
  1637. "tags": [
  1638. "企业风险管理(app)"
  1639. ],
  1640. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1641. "parameters": [
  1642. {
  1643. "type": "integer",
  1644. "description": "所属机构ID",
  1645. "name": "userid",
  1646. "in": "query",
  1647. "required": true
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Ermcp/QueryBusinessDj": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "企业风险管理(app)"
  1681. ],
  1682. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1683. "parameters": [
  1684. {
  1685. "type": "integer",
  1686. "description": "用户ID",
  1687. "name": "UserId",
  1688. "in": "query",
  1689. "required": true
  1690. },
  1691. {
  1692. "type": "integer",
  1693. "description": "用户类型 2-机构 7-企业成员",
  1694. "name": "usertype",
  1695. "in": "query"
  1696. },
  1697. {
  1698. "type": "string",
  1699. "description": "现货合同ID, 不填则查所有",
  1700. "name": "relatedid",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1706. "name": "applystatus",
  1707. "in": "query"
  1708. }
  1709. ],
  1710. "responses": {
  1711. "200": {
  1712. "description": "OK",
  1713. "schema": {
  1714. "type": "array",
  1715. "items": {
  1716. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1717. }
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Ermcp/QueryBusinessFp": {
  1730. "get": {
  1731. "security": [
  1732. {
  1733. "ApiKeyAuth": []
  1734. }
  1735. ],
  1736. "produces": [
  1737. "application/json"
  1738. ],
  1739. "tags": [
  1740. "企业风险管理(app)"
  1741. ],
  1742. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1743. "parameters": [
  1744. {
  1745. "type": "integer",
  1746. "description": "用户ID",
  1747. "name": "UserId",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "用户类型 2-机构 7-企业成员",
  1754. "name": "usertype",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "string",
  1759. "description": "现货合同ID, 不填则查所有",
  1760. "name": "relatedid",
  1761. "in": "query"
  1762. },
  1763. {
  1764. "type": "string",
  1765. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1766. "name": "applystatus",
  1767. "in": "query"
  1768. }
  1769. ],
  1770. "responses": {
  1771. "200": {
  1772. "description": "OK",
  1773. "schema": {
  1774. "type": "array",
  1775. "items": {
  1776. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1777. }
  1778. }
  1779. },
  1780. "500": {
  1781. "description": "Internal Server Error",
  1782. "schema": {
  1783. "$ref": "#/definitions/app.Response"
  1784. }
  1785. }
  1786. }
  1787. }
  1788. },
  1789. "/Ermcp/QueryBusinessJs": {
  1790. "get": {
  1791. "security": [
  1792. {
  1793. "ApiKeyAuth": []
  1794. }
  1795. ],
  1796. "produces": [
  1797. "application/json"
  1798. ],
  1799. "tags": [
  1800. "企业风险管理(app)"
  1801. ],
  1802. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1803. "parameters": [
  1804. {
  1805. "type": "integer",
  1806. "description": "用户ID",
  1807. "name": "UserId",
  1808. "in": "query",
  1809. "required": true
  1810. },
  1811. {
  1812. "type": "integer",
  1813. "description": "用户类型 2-机构 7-企业成员",
  1814. "name": "usertype",
  1815. "in": "query"
  1816. },
  1817. {
  1818. "type": "string",
  1819. "description": "现货合同ID, 不填则查所有",
  1820. "name": "relatedid",
  1821. "in": "query"
  1822. },
  1823. {
  1824. "type": "string",
  1825. "description": "操作申请id",
  1826. "name": "operateapplyid",
  1827. "in": "query"
  1828. },
  1829. {
  1830. "type": "string",
  1831. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1832. "name": "applystatus",
  1833. "in": "query"
  1834. }
  1835. ],
  1836. "responses": {
  1837. "200": {
  1838. "description": "OK",
  1839. "schema": {
  1840. "type": "array",
  1841. "items": {
  1842. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1843. }
  1844. }
  1845. },
  1846. "500": {
  1847. "description": "Internal Server Error",
  1848. "schema": {
  1849. "$ref": "#/definitions/app.Response"
  1850. }
  1851. }
  1852. }
  1853. }
  1854. },
  1855. "/Ermcp/QueryBusinessJsEx": {
  1856. "get": {
  1857. "security": [
  1858. {
  1859. "ApiKeyAuth": []
  1860. }
  1861. ],
  1862. "produces": [
  1863. "application/json"
  1864. ],
  1865. "tags": [
  1866. "企业风险管理(app)"
  1867. ],
  1868. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1869. "parameters": [
  1870. {
  1871. "type": "integer",
  1872. "description": "用户ID",
  1873. "name": "UserId",
  1874. "in": "query",
  1875. "required": true
  1876. },
  1877. {
  1878. "type": "integer",
  1879. "description": "用户类型 2-机构 7-企业成员",
  1880. "name": "usertype",
  1881. "in": "query"
  1882. },
  1883. {
  1884. "type": "string",
  1885. "description": "现货合同ID, 不填则查所有",
  1886. "name": "relatedid",
  1887. "in": "query"
  1888. },
  1889. {
  1890. "type": "string",
  1891. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1892. "name": "applystatus",
  1893. "in": "query"
  1894. }
  1895. ],
  1896. "responses": {
  1897. "200": {
  1898. "description": "OK",
  1899. "schema": {
  1900. "type": "array",
  1901. "items": {
  1902. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1903. }
  1904. }
  1905. },
  1906. "500": {
  1907. "description": "Internal Server Error",
  1908. "schema": {
  1909. "$ref": "#/definitions/app.Response"
  1910. }
  1911. }
  1912. }
  1913. }
  1914. },
  1915. "/Ermcp/QueryBusinessKx": {
  1916. "get": {
  1917. "security": [
  1918. {
  1919. "ApiKeyAuth": []
  1920. }
  1921. ],
  1922. "produces": [
  1923. "application/json"
  1924. ],
  1925. "tags": [
  1926. "企业风险管理(app)"
  1927. ],
  1928. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1929. "parameters": [
  1930. {
  1931. "type": "integer",
  1932. "description": "用户ID",
  1933. "name": "UserId",
  1934. "in": "query",
  1935. "required": true
  1936. },
  1937. {
  1938. "type": "integer",
  1939. "description": "用户类型 2-机构 7-企业成员",
  1940. "name": "usertype",
  1941. "in": "query"
  1942. },
  1943. {
  1944. "type": "string",
  1945. "description": "现货合同ID, 不填则查所有",
  1946. "name": "relatedid",
  1947. "in": "query"
  1948. },
  1949. {
  1950. "type": "string",
  1951. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1952. "name": "applystatus",
  1953. "in": "query"
  1954. }
  1955. ],
  1956. "responses": {
  1957. "200": {
  1958. "description": "OK",
  1959. "schema": {
  1960. "type": "array",
  1961. "items": {
  1962. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1963. }
  1964. }
  1965. },
  1966. "500": {
  1967. "description": "Internal Server Error",
  1968. "schema": {
  1969. "$ref": "#/definitions/app.Response"
  1970. }
  1971. }
  1972. }
  1973. }
  1974. },
  1975. "/Ermcp/QueryChangeLog": {
  1976. "get": {
  1977. "security": [
  1978. {
  1979. "ApiKeyAuth": []
  1980. }
  1981. ],
  1982. "produces": [
  1983. "application/json"
  1984. ],
  1985. "tags": [
  1986. "企业风险管理(app)"
  1987. ],
  1988. "summary": "查询变更记录",
  1989. "parameters": [
  1990. {
  1991. "type": "string",
  1992. "description": "合同ID",
  1993. "name": "RelatedId",
  1994. "in": "query",
  1995. "required": true
  1996. }
  1997. ],
  1998. "responses": {
  1999. "200": {
  2000. "description": "OK",
  2001. "schema": {
  2002. "type": "array",
  2003. "items": {
  2004. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2005. }
  2006. }
  2007. },
  2008. "500": {
  2009. "description": "Internal Server Error",
  2010. "schema": {
  2011. "$ref": "#/definitions/app.Response"
  2012. }
  2013. }
  2014. }
  2015. }
  2016. },
  2017. "/Ermcp/QueryErmcpHisOrderDetails": {
  2018. "get": {
  2019. "security": [
  2020. {
  2021. "ApiKeyAuth": []
  2022. }
  2023. ],
  2024. "produces": [
  2025. "application/json"
  2026. ],
  2027. "tags": [
  2028. "企业风险管理(app)"
  2029. ],
  2030. "summary": "获取企业风管期货历史委托单信息",
  2031. "parameters": [
  2032. {
  2033. "type": "integer",
  2034. "description": "资金账户ID",
  2035. "name": "accountID",
  2036. "in": "query",
  2037. "required": true
  2038. },
  2039. {
  2040. "type": "string",
  2041. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2042. "name": "startDate",
  2043. "in": "query"
  2044. },
  2045. {
  2046. "type": "string",
  2047. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2048. "name": "endDate",
  2049. "in": "query"
  2050. }
  2051. ],
  2052. "responses": {
  2053. "200": {
  2054. "description": "OK",
  2055. "schema": {
  2056. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2057. }
  2058. },
  2059. "500": {
  2060. "description": "Internal Server Error",
  2061. "schema": {
  2062. "$ref": "#/definitions/app.Response"
  2063. }
  2064. }
  2065. }
  2066. }
  2067. },
  2068. "/Ermcp/QueryErmcpHisTradeDetails": {
  2069. "get": {
  2070. "security": [
  2071. {
  2072. "ApiKeyAuth": []
  2073. }
  2074. ],
  2075. "produces": [
  2076. "application/json"
  2077. ],
  2078. "tags": [
  2079. "企业风险管理(app)"
  2080. ],
  2081. "summary": "获取企业风管期货历史成交单信息",
  2082. "parameters": [
  2083. {
  2084. "type": "integer",
  2085. "description": "资金账户ID",
  2086. "name": "accountID",
  2087. "in": "query",
  2088. "required": true
  2089. },
  2090. {
  2091. "type": "integer",
  2092. "description": "商品ID",
  2093. "name": "goodsID",
  2094. "in": "query"
  2095. },
  2096. {
  2097. "type": "integer",
  2098. "description": "买卖方向,0:买 1:卖",
  2099. "name": "buyOrSell",
  2100. "in": "query"
  2101. },
  2102. {
  2103. "type": "integer",
  2104. "description": "关联委托单号",
  2105. "name": "orderID",
  2106. "in": "query"
  2107. },
  2108. {
  2109. "type": "string",
  2110. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2111. "name": "startDate",
  2112. "in": "query"
  2113. },
  2114. {
  2115. "type": "string",
  2116. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2117. "name": "endDate",
  2118. "in": "query"
  2119. }
  2120. ],
  2121. "responses": {
  2122. "200": {
  2123. "description": "OK",
  2124. "schema": {
  2125. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2126. }
  2127. },
  2128. "500": {
  2129. "description": "Internal Server Error",
  2130. "schema": {
  2131. "$ref": "#/definitions/app.Response"
  2132. }
  2133. }
  2134. }
  2135. }
  2136. },
  2137. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2138. "get": {
  2139. "security": [
  2140. {
  2141. "ApiKeyAuth": []
  2142. }
  2143. ],
  2144. "produces": [
  2145. "application/json"
  2146. ],
  2147. "tags": [
  2148. "企业风险管理(app)"
  2149. ],
  2150. "summary": "获取企业风管期货内部持仓单信息",
  2151. "parameters": [
  2152. {
  2153. "type": "integer",
  2154. "description": "资金账户ID",
  2155. "name": "accountID",
  2156. "in": "query",
  2157. "required": true
  2158. },
  2159. {
  2160. "type": "integer",
  2161. "description": "商品ID",
  2162. "name": "goodsID",
  2163. "in": "query"
  2164. },
  2165. {
  2166. "type": "integer",
  2167. "description": "买卖方向,0:买 1:卖",
  2168. "name": "buyOrSell",
  2169. "in": "query"
  2170. }
  2171. ],
  2172. "responses": {
  2173. "200": {
  2174. "description": "OK",
  2175. "schema": {
  2176. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2177. }
  2178. },
  2179. "500": {
  2180. "description": "Internal Server Error",
  2181. "schema": {
  2182. "$ref": "#/definitions/app.Response"
  2183. }
  2184. }
  2185. }
  2186. }
  2187. },
  2188. "/Ermcp/QueryErmcpOrderDetails": {
  2189. "get": {
  2190. "security": [
  2191. {
  2192. "ApiKeyAuth": []
  2193. }
  2194. ],
  2195. "produces": [
  2196. "application/json"
  2197. ],
  2198. "tags": [
  2199. "企业风险管理(app)"
  2200. ],
  2201. "summary": "获取企业风管期货委托单信息",
  2202. "parameters": [
  2203. {
  2204. "type": "integer",
  2205. "description": "资金账户ID",
  2206. "name": "accountID",
  2207. "in": "query",
  2208. "required": true
  2209. }
  2210. ],
  2211. "responses": {
  2212. "200": {
  2213. "description": "OK",
  2214. "schema": {
  2215. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2216. }
  2217. },
  2218. "500": {
  2219. "description": "Internal Server Error",
  2220. "schema": {
  2221. "$ref": "#/definitions/app.Response"
  2222. }
  2223. }
  2224. }
  2225. }
  2226. },
  2227. "/Ermcp/QueryErmcpTradeDetails": {
  2228. "get": {
  2229. "security": [
  2230. {
  2231. "ApiKeyAuth": []
  2232. }
  2233. ],
  2234. "produces": [
  2235. "application/json"
  2236. ],
  2237. "tags": [
  2238. "企业风险管理(app)"
  2239. ],
  2240. "summary": "获取企业风管期货成交单信息",
  2241. "parameters": [
  2242. {
  2243. "type": "integer",
  2244. "description": "资金账户ID",
  2245. "name": "accountID",
  2246. "in": "query",
  2247. "required": true
  2248. },
  2249. {
  2250. "type": "integer",
  2251. "description": "商品ID",
  2252. "name": "goodsID",
  2253. "in": "query"
  2254. },
  2255. {
  2256. "type": "integer",
  2257. "description": "买卖方向,0:买 1:卖",
  2258. "name": "buyOrSell",
  2259. "in": "query"
  2260. },
  2261. {
  2262. "type": "integer",
  2263. "description": "关联委托单号",
  2264. "name": "orderID",
  2265. "in": "query"
  2266. }
  2267. ],
  2268. "responses": {
  2269. "200": {
  2270. "description": "OK",
  2271. "schema": {
  2272. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2273. }
  2274. },
  2275. "500": {
  2276. "description": "Internal Server Error",
  2277. "schema": {
  2278. "$ref": "#/definitions/app.Response"
  2279. }
  2280. }
  2281. }
  2282. }
  2283. },
  2284. "/Ermcp/QueryErmcpTradePosition": {
  2285. "get": {
  2286. "security": [
  2287. {
  2288. "ApiKeyAuth": []
  2289. }
  2290. ],
  2291. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2292. "produces": [
  2293. "application/json"
  2294. ],
  2295. "tags": [
  2296. "企业风险管理(app)"
  2297. ],
  2298. "summary": "获取企业风管期货持仓头寸信息",
  2299. "parameters": [
  2300. {
  2301. "type": "integer",
  2302. "description": "资金账户ID",
  2303. "name": "accountID",
  2304. "in": "query",
  2305. "required": true
  2306. },
  2307. {
  2308. "type": "integer",
  2309. "description": "所属市场ID",
  2310. "name": "marketID",
  2311. "in": "query"
  2312. }
  2313. ],
  2314. "responses": {
  2315. "200": {
  2316. "description": "OK",
  2317. "schema": {
  2318. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryExposureDetail": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询敞口现货明细",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "所属机构ID",
  2348. "name": "areaUserId",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "套保商品",
  2355. "name": "middleGoodsId",
  2356. "in": "query",
  2357. "required": true
  2358. }
  2359. ],
  2360. "responses": {
  2361. "200": {
  2362. "description": "OK",
  2363. "schema": {
  2364. "type": "array",
  2365. "items": {
  2366. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2367. }
  2368. }
  2369. },
  2370. "500": {
  2371. "description": "Internal Server Error",
  2372. "schema": {
  2373. "$ref": "#/definitions/app.Response"
  2374. }
  2375. }
  2376. }
  2377. }
  2378. },
  2379. "/Ermcp/QueryExposureGoods": {
  2380. "get": {
  2381. "security": [
  2382. {
  2383. "ApiKeyAuth": []
  2384. }
  2385. ],
  2386. "produces": [
  2387. "application/json"
  2388. ],
  2389. "tags": [
  2390. "企业风险管理(app)"
  2391. ],
  2392. "summary": "查询敞口主力合约",
  2393. "parameters": [
  2394. {
  2395. "type": "integer",
  2396. "description": "套保商品id",
  2397. "name": "middlegoodsid",
  2398. "in": "query",
  2399. "required": true
  2400. }
  2401. ],
  2402. "responses": {
  2403. "200": {
  2404. "description": "OK",
  2405. "schema": {
  2406. "type": "array",
  2407. "items": {
  2408. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2409. }
  2410. }
  2411. },
  2412. "500": {
  2413. "description": "Internal Server Error",
  2414. "schema": {
  2415. "$ref": "#/definitions/app.Response"
  2416. }
  2417. }
  2418. }
  2419. }
  2420. },
  2421. "/Ermcp/QueryExposureHedgePosition": {
  2422. "get": {
  2423. "security": [
  2424. {
  2425. "ApiKeyAuth": []
  2426. }
  2427. ],
  2428. "produces": [
  2429. "application/json"
  2430. ],
  2431. "tags": [
  2432. "企业风险管理(app)"
  2433. ],
  2434. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2435. "parameters": [
  2436. {
  2437. "type": "integer",
  2438. "description": "用户id",
  2439. "name": "userid",
  2440. "in": "query",
  2441. "required": true
  2442. }
  2443. ],
  2444. "responses": {
  2445. "200": {
  2446. "description": "OK",
  2447. "schema": {
  2448. "type": "array",
  2449. "items": {
  2450. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2451. }
  2452. }
  2453. },
  2454. "500": {
  2455. "description": "Internal Server Error",
  2456. "schema": {
  2457. "$ref": "#/definitions/app.Response"
  2458. }
  2459. }
  2460. }
  2461. }
  2462. },
  2463. "/Ermcp/QueryExposureHedgePositionDetail": {
  2464. "get": {
  2465. "security": [
  2466. {
  2467. "ApiKeyAuth": []
  2468. }
  2469. ],
  2470. "produces": [
  2471. "application/json"
  2472. ],
  2473. "tags": [
  2474. "企业风险管理(app)"
  2475. ],
  2476. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2477. "parameters": [
  2478. {
  2479. "type": "integer",
  2480. "description": "所属机构ID",
  2481. "name": "userid",
  2482. "in": "query",
  2483. "required": true
  2484. },
  2485. {
  2486. "type": "integer",
  2487. "description": "商品id",
  2488. "name": "goodsId",
  2489. "in": "query",
  2490. "required": true
  2491. }
  2492. ],
  2493. "responses": {
  2494. "200": {
  2495. "description": "OK",
  2496. "schema": {
  2497. "type": "array",
  2498. "items": {
  2499. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2500. }
  2501. }
  2502. },
  2503. "500": {
  2504. "description": "Internal Server Error",
  2505. "schema": {
  2506. "$ref": "#/definitions/app.Response"
  2507. }
  2508. }
  2509. }
  2510. }
  2511. },
  2512. "/Ermcp/QueryExposureSpot": {
  2513. "get": {
  2514. "security": [
  2515. {
  2516. "ApiKeyAuth": []
  2517. }
  2518. ],
  2519. "produces": [
  2520. "application/json"
  2521. ],
  2522. "tags": [
  2523. "企业风险管理(app)"
  2524. ],
  2525. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2526. "parameters": [
  2527. {
  2528. "type": "integer",
  2529. "description": "所属机构ID",
  2530. "name": "areaUserId",
  2531. "in": "query",
  2532. "required": true
  2533. }
  2534. ],
  2535. "responses": {
  2536. "200": {
  2537. "description": "OK",
  2538. "schema": {
  2539. "type": "array",
  2540. "items": {
  2541. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2542. }
  2543. }
  2544. },
  2545. "500": {
  2546. "description": "Internal Server Error",
  2547. "schema": {
  2548. "$ref": "#/definitions/app.Response"
  2549. }
  2550. }
  2551. }
  2552. }
  2553. },
  2554. "/Ermcp/QueryExposureSpotDetail": {
  2555. "get": {
  2556. "security": [
  2557. {
  2558. "ApiKeyAuth": []
  2559. }
  2560. ],
  2561. "produces": [
  2562. "application/json"
  2563. ],
  2564. "tags": [
  2565. "企业风险管理(app)"
  2566. ],
  2567. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2568. "parameters": [
  2569. {
  2570. "type": "integer",
  2571. "description": "所属机构ID",
  2572. "name": "areaUserId",
  2573. "in": "query",
  2574. "required": true
  2575. },
  2576. {
  2577. "type": "integer",
  2578. "description": "现货品种ID",
  2579. "name": "wrstandardId",
  2580. "in": "query",
  2581. "required": true
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "type": "array",
  2589. "items": {
  2590. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2591. }
  2592. }
  2593. },
  2594. "500": {
  2595. "description": "Internal Server Error",
  2596. "schema": {
  2597. "$ref": "#/definitions/app.Response"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/Ermcp/QueryFuturesCompany": {
  2604. "get": {
  2605. "security": [
  2606. {
  2607. "ApiKeyAuth": []
  2608. }
  2609. ],
  2610. "produces": [
  2611. "application/json"
  2612. ],
  2613. "tags": [
  2614. "企业风险管理(app)"
  2615. ],
  2616. "summary": "查询期货公司",
  2617. "responses": {
  2618. "200": {
  2619. "description": "OK",
  2620. "schema": {
  2621. "type": "array",
  2622. "items": {
  2623. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2624. }
  2625. }
  2626. },
  2627. "500": {
  2628. "description": "Internal Server Error",
  2629. "schema": {
  2630. "$ref": "#/definitions/app.Response"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/Ermcp/QueryGGConvertConfig": {
  2637. "get": {
  2638. "security": [
  2639. {
  2640. "ApiKeyAuth": []
  2641. }
  2642. ],
  2643. "produces": [
  2644. "application/json"
  2645. ],
  2646. "tags": [
  2647. "企业风险管理(app)"
  2648. ],
  2649. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2650. "parameters": [
  2651. {
  2652. "type": "integer",
  2653. "description": "品种id(不填则查所有)",
  2654. "name": "goodsgroupid",
  2655. "in": "query"
  2656. }
  2657. ],
  2658. "responses": {
  2659. "200": {
  2660. "description": "OK",
  2661. "schema": {
  2662. "type": "array",
  2663. "items": {
  2664. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2665. }
  2666. }
  2667. },
  2668. "500": {
  2669. "description": "Internal Server Error",
  2670. "schema": {
  2671. "$ref": "#/definitions/app.Response"
  2672. }
  2673. }
  2674. }
  2675. }
  2676. },
  2677. "/Ermcp/QueryGoodsBrand": {
  2678. "get": {
  2679. "security": [
  2680. {
  2681. "ApiKeyAuth": []
  2682. }
  2683. ],
  2684. "produces": [
  2685. "application/json"
  2686. ],
  2687. "tags": [
  2688. "企业风险管理(app)"
  2689. ],
  2690. "summary": "查询商品品牌",
  2691. "parameters": [
  2692. {
  2693. "type": "integer",
  2694. "description": "用户ID",
  2695. "name": "userid",
  2696. "in": "query",
  2697. "required": true
  2698. },
  2699. {
  2700. "type": "integer",
  2701. "description": "现货商品ID",
  2702. "name": "wrstandardid",
  2703. "in": "query"
  2704. }
  2705. ],
  2706. "responses": {
  2707. "200": {
  2708. "description": "OK",
  2709. "schema": {
  2710. "type": "array",
  2711. "items": {
  2712. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2713. }
  2714. }
  2715. },
  2716. "500": {
  2717. "description": "Internal Server Error",
  2718. "schema": {
  2719. "$ref": "#/definitions/app.Response"
  2720. }
  2721. }
  2722. }
  2723. }
  2724. },
  2725. "/Ermcp/QueryGoodsModel": {
  2726. "get": {
  2727. "security": [
  2728. {
  2729. "ApiKeyAuth": []
  2730. }
  2731. ],
  2732. "produces": [
  2733. "application/json"
  2734. ],
  2735. "tags": [
  2736. "企业风险管理(app)"
  2737. ],
  2738. "summary": "查询商品型号",
  2739. "parameters": [
  2740. {
  2741. "type": "integer",
  2742. "description": "用户ID",
  2743. "name": "userid",
  2744. "in": "query",
  2745. "required": true
  2746. }
  2747. ],
  2748. "responses": {
  2749. "200": {
  2750. "description": "OK",
  2751. "schema": {
  2752. "type": "array",
  2753. "items": {
  2754. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2755. }
  2756. }
  2757. },
  2758. "500": {
  2759. "description": "Internal Server Error",
  2760. "schema": {
  2761. "$ref": "#/definitions/app.Response"
  2762. }
  2763. }
  2764. }
  2765. }
  2766. },
  2767. "/Ermcp/QueryHisExposure": {
  2768. "get": {
  2769. "security": [
  2770. {
  2771. "ApiKeyAuth": []
  2772. }
  2773. ],
  2774. "produces": [
  2775. "application/json"
  2776. ],
  2777. "tags": [
  2778. "企业风险管理(app)"
  2779. ],
  2780. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2781. "parameters": [
  2782. {
  2783. "type": "integer",
  2784. "description": "用户id",
  2785. "name": "userid",
  2786. "in": "query",
  2787. "required": true
  2788. },
  2789. {
  2790. "type": "integer",
  2791. "description": "每个品种记录数",
  2792. "name": "lastNum",
  2793. "in": "query",
  2794. "required": true
  2795. }
  2796. ],
  2797. "responses": {
  2798. "200": {
  2799. "description": "OK",
  2800. "schema": {
  2801. "type": "array",
  2802. "items": {
  2803. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2804. }
  2805. }
  2806. },
  2807. "500": {
  2808. "description": "Internal Server Error",
  2809. "schema": {
  2810. "$ref": "#/definitions/app.Response"
  2811. }
  2812. }
  2813. }
  2814. }
  2815. },
  2816. "/Ermcp/QueryMiddleGoods": {
  2817. "get": {
  2818. "security": [
  2819. {
  2820. "ApiKeyAuth": []
  2821. }
  2822. ],
  2823. "produces": [
  2824. "application/json"
  2825. ],
  2826. "tags": [
  2827. "企业风险管理(app)"
  2828. ],
  2829. "summary": "查询套保品种(菜单:套保品种)",
  2830. "parameters": [
  2831. {
  2832. "type": "integer",
  2833. "description": "所属机构ID",
  2834. "name": "userid",
  2835. "in": "query",
  2836. "required": true
  2837. },
  2838. {
  2839. "type": "integer",
  2840. "description": "状态 0-停用 1-正常",
  2841. "name": "status",
  2842. "in": "query",
  2843. "required": true
  2844. }
  2845. ],
  2846. "responses": {
  2847. "200": {
  2848. "description": "OK",
  2849. "schema": {
  2850. "type": "array",
  2851. "items": {
  2852. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2853. }
  2854. }
  2855. },
  2856. "500": {
  2857. "description": "Internal Server Error",
  2858. "schema": {
  2859. "$ref": "#/definitions/app.Response"
  2860. }
  2861. }
  2862. }
  2863. }
  2864. },
  2865. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2866. "get": {
  2867. "security": [
  2868. {
  2869. "ApiKeyAuth": []
  2870. }
  2871. ],
  2872. "produces": [
  2873. "application/json"
  2874. ],
  2875. "tags": [
  2876. "企业风险管理(app)"
  2877. ],
  2878. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2879. "parameters": [
  2880. {
  2881. "type": "integer",
  2882. "description": "所属机构ID",
  2883. "name": "userid",
  2884. "in": "query",
  2885. "required": true
  2886. },
  2887. {
  2888. "type": "integer",
  2889. "description": "套保品种id",
  2890. "name": "middlegoodsid",
  2891. "in": "query",
  2892. "required": true
  2893. }
  2894. ],
  2895. "responses": {
  2896. "200": {
  2897. "description": "OK",
  2898. "schema": {
  2899. "type": "array",
  2900. "items": {
  2901. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2902. }
  2903. }
  2904. },
  2905. "500": {
  2906. "description": "Internal Server Error",
  2907. "schema": {
  2908. "$ref": "#/definitions/app.Response"
  2909. }
  2910. }
  2911. }
  2912. }
  2913. },
  2914. "/Ermcp/QueryMiddleGoodsDetail": {
  2915. "get": {
  2916. "security": [
  2917. {
  2918. "ApiKeyAuth": []
  2919. }
  2920. ],
  2921. "produces": [
  2922. "application/json"
  2923. ],
  2924. "tags": [
  2925. "企业风险管理(app)"
  2926. ],
  2927. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2928. "parameters": [
  2929. {
  2930. "type": "integer",
  2931. "description": "所属机构ID",
  2932. "name": "userid",
  2933. "in": "query",
  2934. "required": true
  2935. },
  2936. {
  2937. "type": "integer",
  2938. "description": "套保品种id",
  2939. "name": "middlegoodsid",
  2940. "in": "query"
  2941. }
  2942. ],
  2943. "responses": {
  2944. "200": {
  2945. "description": "OK",
  2946. "schema": {
  2947. "type": "array",
  2948. "items": {
  2949. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2950. }
  2951. }
  2952. },
  2953. "500": {
  2954. "description": "Internal Server Error",
  2955. "schema": {
  2956. "$ref": "#/definitions/app.Response"
  2957. }
  2958. }
  2959. }
  2960. }
  2961. },
  2962. "/Ermcp/QueryPendingAuditInfo": {
  2963. "get": {
  2964. "security": [
  2965. {
  2966. "ApiKeyAuth": []
  2967. }
  2968. ],
  2969. "produces": [
  2970. "application/json"
  2971. ],
  2972. "tags": [
  2973. "企业风险管理(app)"
  2974. ],
  2975. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2976. "parameters": [
  2977. {
  2978. "type": "integer",
  2979. "description": "用户ID",
  2980. "name": "UserId",
  2981. "in": "query",
  2982. "required": true
  2983. }
  2984. ],
  2985. "responses": {
  2986. "200": {
  2987. "description": "OK",
  2988. "schema": {
  2989. "type": "array",
  2990. "items": {
  2991. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2992. }
  2993. }
  2994. },
  2995. "500": {
  2996. "description": "Internal Server Error",
  2997. "schema": {
  2998. "$ref": "#/definitions/app.Response"
  2999. }
  3000. }
  3001. }
  3002. }
  3003. },
  3004. "/Ermcp/QueryRealtimeExposure": {
  3005. "get": {
  3006. "security": [
  3007. {
  3008. "ApiKeyAuth": []
  3009. }
  3010. ],
  3011. "produces": [
  3012. "application/json"
  3013. ],
  3014. "tags": [
  3015. "企业风险管理(app)"
  3016. ],
  3017. "summary": "查询实时敞口",
  3018. "parameters": [
  3019. {
  3020. "type": "integer",
  3021. "description": "所属机构ID",
  3022. "name": "userid",
  3023. "in": "query",
  3024. "required": true
  3025. }
  3026. ],
  3027. "responses": {
  3028. "200": {
  3029. "description": "OK",
  3030. "schema": {
  3031. "type": "array",
  3032. "items": {
  3033. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3034. }
  3035. }
  3036. },
  3037. "500": {
  3038. "description": "Internal Server Error",
  3039. "schema": {
  3040. "$ref": "#/definitions/app.Response"
  3041. }
  3042. }
  3043. }
  3044. }
  3045. },
  3046. "/Ermcp/QueryRealtimeExposurePosition": {
  3047. "get": {
  3048. "security": [
  3049. {
  3050. "ApiKeyAuth": []
  3051. }
  3052. ],
  3053. "produces": [
  3054. "application/json"
  3055. ],
  3056. "tags": [
  3057. "企业风险管理(app)"
  3058. ],
  3059. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3060. "parameters": [
  3061. {
  3062. "type": "integer",
  3063. "description": "用户id",
  3064. "name": "userid",
  3065. "in": "query",
  3066. "required": true
  3067. },
  3068. {
  3069. "type": "integer",
  3070. "description": "套保商品ID",
  3071. "name": "middleGoodsId",
  3072. "in": "query",
  3073. "required": true
  3074. }
  3075. ],
  3076. "responses": {
  3077. "200": {
  3078. "description": "OK",
  3079. "schema": {
  3080. "type": "array",
  3081. "items": {
  3082. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3083. }
  3084. }
  3085. },
  3086. "500": {
  3087. "description": "Internal Server Error",
  3088. "schema": {
  3089. "$ref": "#/definitions/app.Response"
  3090. }
  3091. }
  3092. }
  3093. }
  3094. },
  3095. "/Ermcp/QueryRoleMenu": {
  3096. "get": {
  3097. "security": [
  3098. {
  3099. "ApiKeyAuth": []
  3100. }
  3101. ],
  3102. "produces": [
  3103. "application/json"
  3104. ],
  3105. "tags": [
  3106. "企业风险管理(app)"
  3107. ],
  3108. "summary": "查询角色菜单和权限",
  3109. "parameters": [
  3110. {
  3111. "type": "integer",
  3112. "description": "登录ID",
  3113. "name": "loginid",
  3114. "in": "query",
  3115. "required": true
  3116. },
  3117. {
  3118. "type": "integer",
  3119. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3120. "name": "menutype",
  3121. "in": "query"
  3122. }
  3123. ],
  3124. "responses": {
  3125. "200": {
  3126. "description": "OK",
  3127. "schema": {
  3128. "type": "array",
  3129. "items": {
  3130. "$ref": "#/definitions/models.RoleMenu"
  3131. }
  3132. }
  3133. },
  3134. "500": {
  3135. "description": "Internal Server Error",
  3136. "schema": {
  3137. "$ref": "#/definitions/app.Response"
  3138. }
  3139. }
  3140. }
  3141. }
  3142. },
  3143. "/Ermcp/QueryTradeConfigTMP": {
  3144. "get": {
  3145. "security": [
  3146. {
  3147. "ApiKeyAuth": []
  3148. }
  3149. ],
  3150. "produces": [
  3151. "application/json"
  3152. ],
  3153. "tags": [
  3154. "企业风险管理(app)"
  3155. ],
  3156. "summary": "查询交易模板配置",
  3157. "parameters": [
  3158. {
  3159. "type": "integer",
  3160. "description": "所属机构id",
  3161. "name": "areauserid",
  3162. "in": "query"
  3163. }
  3164. ],
  3165. "responses": {
  3166. "200": {
  3167. "description": "OK",
  3168. "schema": {
  3169. "type": "array",
  3170. "items": {
  3171. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3172. }
  3173. }
  3174. },
  3175. "500": {
  3176. "description": "Internal Server Error",
  3177. "schema": {
  3178. "$ref": "#/definitions/app.Response"
  3179. }
  3180. }
  3181. }
  3182. }
  3183. },
  3184. "/Ermcp/QueryUserInfo": {
  3185. "get": {
  3186. "security": [
  3187. {
  3188. "ApiKeyAuth": []
  3189. }
  3190. ],
  3191. "produces": [
  3192. "application/json"
  3193. ],
  3194. "tags": [
  3195. "企业风险管理(app)"
  3196. ],
  3197. "summary": "查询客户资料",
  3198. "parameters": [
  3199. {
  3200. "type": "integer",
  3201. "description": "所属机构用户ID",
  3202. "name": "MemberUserID",
  3203. "in": "query",
  3204. "required": true
  3205. },
  3206. {
  3207. "type": "integer",
  3208. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3209. "name": "queryType",
  3210. "in": "query",
  3211. "required": true
  3212. }
  3213. ],
  3214. "responses": {
  3215. "200": {
  3216. "description": "OK",
  3217. "schema": {
  3218. "type": "array",
  3219. "items": {
  3220. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3221. }
  3222. }
  3223. },
  3224. "500": {
  3225. "description": "Internal Server Error",
  3226. "schema": {
  3227. "$ref": "#/definitions/app.Response"
  3228. }
  3229. }
  3230. }
  3231. }
  3232. },
  3233. "/Ermcp/QueryWarehouseInfo": {
  3234. "get": {
  3235. "security": [
  3236. {
  3237. "ApiKeyAuth": []
  3238. }
  3239. ],
  3240. "produces": [
  3241. "application/json"
  3242. ],
  3243. "tags": [
  3244. "企业风险管理(app)"
  3245. ],
  3246. "summary": "查询仓库信息",
  3247. "parameters": [
  3248. {
  3249. "type": "integer",
  3250. "description": "用户ID",
  3251. "name": "userid",
  3252. "in": "query",
  3253. "required": true
  3254. },
  3255. {
  3256. "type": "string",
  3257. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3258. "name": "status",
  3259. "in": "query"
  3260. }
  3261. ],
  3262. "responses": {
  3263. "200": {
  3264. "description": "OK",
  3265. "schema": {
  3266. "type": "array",
  3267. "items": {
  3268. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3269. }
  3270. }
  3271. },
  3272. "500": {
  3273. "description": "Internal Server Error",
  3274. "schema": {
  3275. "$ref": "#/definitions/app.Response"
  3276. }
  3277. }
  3278. }
  3279. }
  3280. },
  3281. "/Ermcp3/QryAreaExpourseContractDetail": {
  3282. "get": {
  3283. "security": [
  3284. {
  3285. "ApiKeyAuth": []
  3286. }
  3287. ],
  3288. "produces": [
  3289. "application/json"
  3290. ],
  3291. "tags": [
  3292. "企业风险管理v3(app)"
  3293. ],
  3294. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3295. "parameters": [
  3296. {
  3297. "type": "integer",
  3298. "description": "用户ID",
  3299. "name": "userid",
  3300. "in": "query",
  3301. "required": true
  3302. },
  3303. {
  3304. "type": "integer",
  3305. "description": "套保商品id",
  3306. "name": "middlegoodsid",
  3307. "in": "query",
  3308. "required": true
  3309. },
  3310. {
  3311. "type": "integer",
  3312. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3313. "name": "cycletype",
  3314. "in": "query",
  3315. "required": true
  3316. },
  3317. {
  3318. "type": "string",
  3319. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3320. "name": "cycletime",
  3321. "in": "query",
  3322. "required": true
  3323. }
  3324. ],
  3325. "responses": {
  3326. "200": {
  3327. "description": "OK",
  3328. "schema": {
  3329. "type": "array",
  3330. "items": {
  3331. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3332. }
  3333. }
  3334. },
  3335. "500": {
  3336. "description": "Internal Server Error",
  3337. "schema": {
  3338. "$ref": "#/definitions/app.Response"
  3339. }
  3340. }
  3341. }
  3342. }
  3343. },
  3344. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3345. "get": {
  3346. "security": [
  3347. {
  3348. "ApiKeyAuth": []
  3349. }
  3350. ],
  3351. "produces": [
  3352. "application/json"
  3353. ],
  3354. "tags": [
  3355. "企业风险管理v3(app)"
  3356. ],
  3357. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3358. "parameters": [
  3359. {
  3360. "type": "integer",
  3361. "description": "用户ID",
  3362. "name": "userid",
  3363. "in": "query",
  3364. "required": true
  3365. },
  3366. {
  3367. "type": "integer",
  3368. "description": "套保商品id",
  3369. "name": "middlegoodsid",
  3370. "in": "query",
  3371. "required": true
  3372. },
  3373. {
  3374. "type": "integer",
  3375. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3376. "name": "cycletype",
  3377. "in": "query",
  3378. "required": true
  3379. },
  3380. {
  3381. "type": "string",
  3382. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3383. "name": "cycletime",
  3384. "in": "query",
  3385. "required": true
  3386. }
  3387. ],
  3388. "responses": {
  3389. "200": {
  3390. "description": "OK",
  3391. "schema": {
  3392. "type": "array",
  3393. "items": {
  3394. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3395. }
  3396. }
  3397. },
  3398. "500": {
  3399. "description": "Internal Server Error",
  3400. "schema": {
  3401. "$ref": "#/definitions/app.Response"
  3402. }
  3403. }
  3404. }
  3405. }
  3406. },
  3407. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3408. "get": {
  3409. "security": [
  3410. {
  3411. "ApiKeyAuth": []
  3412. }
  3413. ],
  3414. "produces": [
  3415. "application/json"
  3416. ],
  3417. "tags": [
  3418. "企业风险管理v3(app)"
  3419. ],
  3420. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3421. "parameters": [
  3422. {
  3423. "type": "integer",
  3424. "description": "用户ID",
  3425. "name": "userid",
  3426. "in": "query",
  3427. "required": true
  3428. },
  3429. {
  3430. "type": "integer",
  3431. "description": "套保商品id",
  3432. "name": "middlegoodsid",
  3433. "in": "query",
  3434. "required": true
  3435. },
  3436. {
  3437. "type": "integer",
  3438. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3439. "name": "cycletype",
  3440. "in": "query",
  3441. "required": true
  3442. },
  3443. {
  3444. "type": "string",
  3445. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3446. "name": "cycletime",
  3447. "in": "query",
  3448. "required": true
  3449. }
  3450. ],
  3451. "responses": {
  3452. "200": {
  3453. "description": "OK",
  3454. "schema": {
  3455. "type": "array",
  3456. "items": {
  3457. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3458. }
  3459. }
  3460. },
  3461. "500": {
  3462. "description": "Internal Server Error",
  3463. "schema": {
  3464. "$ref": "#/definitions/app.Response"
  3465. }
  3466. }
  3467. }
  3468. }
  3469. },
  3470. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3471. "get": {
  3472. "security": [
  3473. {
  3474. "ApiKeyAuth": []
  3475. }
  3476. ],
  3477. "produces": [
  3478. "application/json"
  3479. ],
  3480. "tags": [
  3481. "企业风险管理v3(app)"
  3482. ],
  3483. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3484. "parameters": [
  3485. {
  3486. "type": "integer",
  3487. "description": "用户ID",
  3488. "name": "userid",
  3489. "in": "query",
  3490. "required": true
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "套保商品id",
  3495. "name": "middlegoodsid",
  3496. "in": "query",
  3497. "required": true
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3502. "name": "cycletype",
  3503. "in": "query",
  3504. "required": true
  3505. },
  3506. {
  3507. "type": "string",
  3508. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3509. "name": "cycletime",
  3510. "in": "query",
  3511. "required": true
  3512. }
  3513. ],
  3514. "responses": {
  3515. "200": {
  3516. "description": "OK",
  3517. "schema": {
  3518. "type": "array",
  3519. "items": {
  3520. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3521. }
  3522. }
  3523. },
  3524. "500": {
  3525. "description": "Internal Server Error",
  3526. "schema": {
  3527. "$ref": "#/definitions/app.Response"
  3528. }
  3529. }
  3530. }
  3531. }
  3532. },
  3533. "/Ermcp3/QryAreaExpourseReport": {
  3534. "get": {
  3535. "security": [
  3536. {
  3537. "ApiKeyAuth": []
  3538. }
  3539. ],
  3540. "produces": [
  3541. "application/json"
  3542. ],
  3543. "tags": [
  3544. "企业风险管理v3(app)"
  3545. ],
  3546. "summary": "查询敞口报表",
  3547. "parameters": [
  3548. {
  3549. "type": "integer",
  3550. "description": "用户ID",
  3551. "name": "userid",
  3552. "in": "query",
  3553. "required": true
  3554. },
  3555. {
  3556. "type": "integer",
  3557. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3558. "name": "querytype",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3565. "name": "cycletype",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "string",
  3571. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3572. "name": "cycletime",
  3573. "in": "query",
  3574. "required": true
  3575. }
  3576. ],
  3577. "responses": {
  3578. "200": {
  3579. "description": "OK",
  3580. "schema": {
  3581. "type": "array",
  3582. "items": {
  3583. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3584. }
  3585. }
  3586. },
  3587. "500": {
  3588. "description": "Internal Server Error",
  3589. "schema": {
  3590. "$ref": "#/definitions/app.Response"
  3591. }
  3592. }
  3593. }
  3594. }
  3595. },
  3596. "/Ermcp3/QryAreaSpotplReport": {
  3597. "get": {
  3598. "security": [
  3599. {
  3600. "ApiKeyAuth": []
  3601. }
  3602. ],
  3603. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3604. "produces": [
  3605. "application/json"
  3606. ],
  3607. "tags": [
  3608. "企业风险管理v3(app)"
  3609. ],
  3610. "summary": "查询现货报表",
  3611. "parameters": [
  3612. {
  3613. "type": "integer",
  3614. "description": "用户ID",
  3615. "name": "userid",
  3616. "in": "query",
  3617. "required": true
  3618. },
  3619. {
  3620. "type": "integer",
  3621. "description": "查询类型 1-报表 2-报表明细",
  3622. "name": "querytype",
  3623. "in": "query",
  3624. "required": true
  3625. },
  3626. {
  3627. "type": "integer",
  3628. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3629. "name": "cycletype",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "string",
  3635. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3636. "name": "cycletime",
  3637. "in": "query",
  3638. "required": true
  3639. },
  3640. {
  3641. "type": "integer",
  3642. "description": "现货品种id(明细必填)",
  3643. "name": "deliverygoodsid",
  3644. "in": "query"
  3645. },
  3646. {
  3647. "type": "integer",
  3648. "description": "币种id(明细必填)",
  3649. "name": "currencyid",
  3650. "in": "query"
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "日/周/月报表汇总维度 1:品种+品类",
  3655. "name": "sumflag",
  3656. "in": "query"
  3657. }
  3658. ],
  3659. "responses": {
  3660. "200": {
  3661. "description": "OK",
  3662. "schema": {
  3663. "type": "array",
  3664. "items": {
  3665. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3666. }
  3667. }
  3668. },
  3669. "500": {
  3670. "description": "Internal Server Error",
  3671. "schema": {
  3672. "$ref": "#/definitions/app.Response"
  3673. }
  3674. }
  3675. }
  3676. }
  3677. },
  3678. "/Ermcp3/QryAreaStockReport": {
  3679. "get": {
  3680. "security": [
  3681. {
  3682. "ApiKeyAuth": []
  3683. }
  3684. ],
  3685. "produces": [
  3686. "application/json"
  3687. ],
  3688. "tags": [
  3689. "企业风险管理v3(app)"
  3690. ],
  3691. "summary": "查询库存报表",
  3692. "parameters": [
  3693. {
  3694. "type": "integer",
  3695. "description": "用户ID",
  3696. "name": "userid",
  3697. "in": "query",
  3698. "required": true
  3699. },
  3700. {
  3701. "type": "integer",
  3702. "description": "查询类型 1-报表 2-报表明细",
  3703. "name": "querytype",
  3704. "in": "query",
  3705. "required": true
  3706. },
  3707. {
  3708. "type": "integer",
  3709. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3710. "name": "cycletype",
  3711. "in": "query",
  3712. "required": true
  3713. },
  3714. {
  3715. "type": "string",
  3716. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3717. "name": "cycletime",
  3718. "in": "query",
  3719. "required": true
  3720. },
  3721. {
  3722. "type": "string",
  3723. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3724. "name": "sumfields",
  3725. "in": "query"
  3726. },
  3727. {
  3728. "type": "integer",
  3729. "description": "品种ID",
  3730. "name": "deliverygoodsid",
  3731. "in": "query"
  3732. },
  3733. {
  3734. "type": "integer",
  3735. "description": "品类ID",
  3736. "name": "wrstandardid",
  3737. "in": "query"
  3738. },
  3739. {
  3740. "type": "integer",
  3741. "description": "品牌ID",
  3742. "name": "spotgoodsbrandid",
  3743. "in": "query"
  3744. },
  3745. {
  3746. "type": "integer",
  3747. "description": "仓库ID",
  3748. "name": "warehouseinfoid",
  3749. "in": "query"
  3750. }
  3751. ],
  3752. "responses": {
  3753. "200": {
  3754. "description": "OK",
  3755. "schema": {
  3756. "type": "array",
  3757. "items": {
  3758. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3759. }
  3760. }
  3761. },
  3762. "500": {
  3763. "description": "Internal Server Error",
  3764. "schema": {
  3765. "$ref": "#/definitions/app.Response"
  3766. }
  3767. }
  3768. }
  3769. }
  3770. },
  3771. "/Ermcp3/QryAreaSumPL": {
  3772. "get": {
  3773. "security": [
  3774. {
  3775. "ApiKeyAuth": []
  3776. }
  3777. ],
  3778. "produces": [
  3779. "application/json"
  3780. ],
  3781. "tags": [
  3782. "企业风险管理v3(app)"
  3783. ],
  3784. "summary": "查询汇总损益表",
  3785. "parameters": [
  3786. {
  3787. "type": "integer",
  3788. "description": "用户ID",
  3789. "name": "userid",
  3790. "in": "query",
  3791. "required": true
  3792. },
  3793. {
  3794. "type": "integer",
  3795. "description": "查询类型 1-报表 2-报表明细",
  3796. "name": "querytype",
  3797. "in": "query",
  3798. "required": true
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3803. "name": "cycletype",
  3804. "in": "query",
  3805. "required": true
  3806. },
  3807. {
  3808. "type": "string",
  3809. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3810. "name": "cycletime",
  3811. "in": "query",
  3812. "required": true
  3813. },
  3814. {
  3815. "type": "integer",
  3816. "description": "币种id(明细必填)",
  3817. "name": "currencyid",
  3818. "in": "query"
  3819. },
  3820. {
  3821. "type": "integer",
  3822. "description": "套保品种ID, 查询类型为2时起效",
  3823. "name": "middlegoodsid",
  3824. "in": "query"
  3825. }
  3826. ],
  3827. "responses": {
  3828. "200": {
  3829. "description": "OK",
  3830. "schema": {
  3831. "type": "array",
  3832. "items": {
  3833. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3834. }
  3835. }
  3836. },
  3837. "500": {
  3838. "description": "Internal Server Error",
  3839. "schema": {
  3840. "$ref": "#/definitions/app.Response"
  3841. }
  3842. }
  3843. }
  3844. }
  3845. },
  3846. "/Ermcp3/QryFinanceReport": {
  3847. "get": {
  3848. "security": [
  3849. {
  3850. "ApiKeyAuth": []
  3851. }
  3852. ],
  3853. "produces": [
  3854. "application/json"
  3855. ],
  3856. "tags": [
  3857. "企业风险管理v3(app)"
  3858. ],
  3859. "summary": "查询财务报表",
  3860. "parameters": [
  3861. {
  3862. "type": "integer",
  3863. "description": "用户ID",
  3864. "name": "userid",
  3865. "in": "query",
  3866. "required": true
  3867. },
  3868. {
  3869. "type": "integer",
  3870. "description": "查询类型 1-报表 2-报表明细",
  3871. "name": "querytype",
  3872. "in": "query",
  3873. "required": true
  3874. },
  3875. {
  3876. "type": "integer",
  3877. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3878. "name": "cycletype",
  3879. "in": "query",
  3880. "required": true
  3881. },
  3882. {
  3883. "type": "string",
  3884. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3885. "name": "cycletime",
  3886. "in": "query",
  3887. "required": true
  3888. },
  3889. {
  3890. "type": "integer",
  3891. "description": "币种id(报表明细必填)",
  3892. "name": "currencyid",
  3893. "in": "query"
  3894. },
  3895. {
  3896. "type": "string",
  3897. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3898. "name": "sumfields",
  3899. "in": "query"
  3900. }
  3901. ],
  3902. "responses": {
  3903. "200": {
  3904. "description": "OK",
  3905. "schema": {
  3906. "type": "array",
  3907. "items": {
  3908. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3909. }
  3910. }
  3911. },
  3912. "500": {
  3913. "description": "Internal Server Error",
  3914. "schema": {
  3915. "$ref": "#/definitions/app.Response"
  3916. }
  3917. }
  3918. }
  3919. }
  3920. },
  3921. "/Ermcp3/QrySCMiddleGoodsReport": {
  3922. "get": {
  3923. "security": [
  3924. {
  3925. "ApiKeyAuth": []
  3926. }
  3927. ],
  3928. "produces": [
  3929. "application/json"
  3930. ],
  3931. "tags": [
  3932. "企业风险管理v3(app)"
  3933. ],
  3934. "summary": "查询定价报表",
  3935. "parameters": [
  3936. {
  3937. "type": "integer",
  3938. "description": "用户ID",
  3939. "name": "userid",
  3940. "in": "query",
  3941. "required": true
  3942. },
  3943. {
  3944. "type": "integer",
  3945. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3946. "name": "cycletype",
  3947. "in": "query",
  3948. "required": true
  3949. },
  3950. {
  3951. "type": "string",
  3952. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3953. "name": "cycletime",
  3954. "in": "query",
  3955. "required": true
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": "合同id",
  3960. "name": "spotcontractid",
  3961. "in": "query"
  3962. },
  3963. {
  3964. "type": "integer",
  3965. "description": "套保品种id",
  3966. "name": "middlegoodsid",
  3967. "in": "query"
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "现货品种id",
  3972. "name": "deliverygoodsid",
  3973. "in": "query"
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "现货商品id",
  3978. "name": "wrstandardid",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "string",
  3983. "description": "合同编号(模糊匹配)",
  3984. "name": "contractno",
  3985. "in": "query"
  3986. }
  3987. ],
  3988. "responses": {
  3989. "200": {
  3990. "description": "OK",
  3991. "schema": {
  3992. "type": "array",
  3993. "items": {
  3994. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3995. }
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Ermcp3/QryTaFutureDataReport": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "企业风险管理v3(app)"
  4019. ],
  4020. "summary": "查询期货报表",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "用户ID",
  4025. "name": "userid",
  4026. "in": "query",
  4027. "required": true
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "查询类型 1-报表 2-报表明细",
  4032. "name": "querytype",
  4033. "in": "query",
  4034. "required": true
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4039. "name": "cycletype",
  4040. "in": "query",
  4041. "required": true
  4042. },
  4043. {
  4044. "type": "string",
  4045. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4046. "name": "cycletime",
  4047. "in": "query",
  4048. "required": true
  4049. },
  4050. {
  4051. "type": "integer",
  4052. "description": "币种id(查明细必填)",
  4053. "name": "currencyid",
  4054. "in": "query"
  4055. },
  4056. {
  4057. "type": "integer",
  4058. "description": "品种id(查明细必填)",
  4059. "name": "goodsgroupid",
  4060. "in": "query"
  4061. },
  4062. {
  4063. "type": "integer",
  4064. "description": "商品id(查明细必填)",
  4065. "name": "goodsid",
  4066. "in": "query"
  4067. },
  4068. {
  4069. "type": "integer",
  4070. "description": "买卖方向(查明细必填)",
  4071. "name": "buyorsell",
  4072. "in": "query"
  4073. }
  4074. ],
  4075. "responses": {
  4076. "200": {
  4077. "description": "OK",
  4078. "schema": {
  4079. "type": "array",
  4080. "items": {
  4081. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4082. }
  4083. }
  4084. },
  4085. "500": {
  4086. "description": "Internal Server Error",
  4087. "schema": {
  4088. "$ref": "#/definitions/app.Response"
  4089. }
  4090. }
  4091. }
  4092. }
  4093. },
  4094. "/Ermcp3/QueryAreaStock": {
  4095. "get": {
  4096. "security": [
  4097. {
  4098. "ApiKeyAuth": []
  4099. }
  4100. ],
  4101. "produces": [
  4102. "application/json"
  4103. ],
  4104. "tags": [
  4105. "企业风险管理v3(app)"
  4106. ],
  4107. "summary": "查询机构库存(库存管理/当前库存)",
  4108. "parameters": [
  4109. {
  4110. "type": "integer",
  4111. "description": "用户ID",
  4112. "name": "userid",
  4113. "in": "query",
  4114. "required": true
  4115. }
  4116. ],
  4117. "responses": {
  4118. "200": {
  4119. "description": "OK",
  4120. "schema": {
  4121. "type": "array",
  4122. "items": {
  4123. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4124. }
  4125. }
  4126. },
  4127. "500": {
  4128. "description": "Internal Server Error",
  4129. "schema": {
  4130. "$ref": "#/definitions/app.Response"
  4131. }
  4132. }
  4133. }
  4134. }
  4135. },
  4136. "/Ermcp3/QueryAreaStockApply": {
  4137. "get": {
  4138. "security": [
  4139. {
  4140. "ApiKeyAuth": []
  4141. }
  4142. ],
  4143. "produces": [
  4144. "application/json"
  4145. ],
  4146. "tags": [
  4147. "企业风险管理v3(app)"
  4148. ],
  4149. "summary": "查询库存申请(出入库记录|库存审核)",
  4150. "parameters": [
  4151. {
  4152. "type": "integer",
  4153. "description": "用户ID",
  4154. "name": "userid",
  4155. "in": "query",
  4156. "required": true
  4157. },
  4158. {
  4159. "type": "integer",
  4160. "description": "用户类型 2-机构 7-企业成员",
  4161. "name": "usertype",
  4162. "in": "query"
  4163. },
  4164. {
  4165. "type": "integer",
  4166. "description": "现货商品ID",
  4167. "name": "deliverygoodsid",
  4168. "in": "query"
  4169. },
  4170. {
  4171. "type": "string",
  4172. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4173. "name": "inouttype",
  4174. "in": "query"
  4175. },
  4176. {
  4177. "type": "integer",
  4178. "description": "合同ID",
  4179. "name": "spotcontractid",
  4180. "in": "query"
  4181. },
  4182. {
  4183. "type": "integer",
  4184. "description": "品类ID",
  4185. "name": "wrstandardid",
  4186. "in": "query"
  4187. },
  4188. {
  4189. "type": "integer",
  4190. "description": "品牌ID",
  4191. "name": "spotgoodsbrandid",
  4192. "in": "query"
  4193. },
  4194. {
  4195. "type": "integer",
  4196. "description": "仓库ID",
  4197. "name": "warehouseinfoid",
  4198. "in": "query"
  4199. },
  4200. {
  4201. "type": "string",
  4202. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4203. "name": "applystatus",
  4204. "in": "query"
  4205. }
  4206. ],
  4207. "responses": {
  4208. "200": {
  4209. "description": "OK",
  4210. "schema": {
  4211. "type": "array",
  4212. "items": {
  4213. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4214. }
  4215. }
  4216. },
  4217. "500": {
  4218. "description": "Internal Server Error",
  4219. "schema": {
  4220. "$ref": "#/definitions/app.Response"
  4221. }
  4222. }
  4223. }
  4224. }
  4225. },
  4226. "/Ermcp3/QueryAreaStockApplySum": {
  4227. "get": {
  4228. "security": [
  4229. {
  4230. "ApiKeyAuth": []
  4231. }
  4232. ],
  4233. "produces": [
  4234. "application/json"
  4235. ],
  4236. "tags": [
  4237. "企业风险管理v3(app)"
  4238. ],
  4239. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4240. "parameters": [
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query",
  4246. "required": true
  4247. }
  4248. ],
  4249. "responses": {
  4250. "200": {
  4251. "description": "OK",
  4252. "schema": {
  4253. "type": "array",
  4254. "items": {
  4255. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4256. }
  4257. }
  4258. },
  4259. "500": {
  4260. "description": "Internal Server Error",
  4261. "schema": {
  4262. "$ref": "#/definitions/app.Response"
  4263. }
  4264. }
  4265. }
  4266. }
  4267. },
  4268. "/Ermcp3/QueryDGFactoryItem": {
  4269. "get": {
  4270. "security": [
  4271. {
  4272. "ApiKeyAuth": []
  4273. }
  4274. ],
  4275. "produces": [
  4276. "application/json"
  4277. ],
  4278. "tags": [
  4279. "企业风险管理v3(app)"
  4280. ],
  4281. "summary": "查询品种要素定义项",
  4282. "parameters": [
  4283. {
  4284. "type": "integer",
  4285. "description": "用户id",
  4286. "name": "userid",
  4287. "in": "query"
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "用户类型 2-机构 7-企业成员",
  4292. "name": "usertype",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4298. "name": "dgfactoryitemid",
  4299. "in": "query"
  4300. },
  4301. {
  4302. "type": "integer",
  4303. "description": "现货品种ID",
  4304. "name": "deliverygoodsid",
  4305. "in": "query"
  4306. },
  4307. {
  4308. "type": "integer",
  4309. "description": "要素项类型",
  4310. "name": "dgfactoryitemtypeid",
  4311. "in": "query"
  4312. },
  4313. {
  4314. "type": "integer",
  4315. "description": "顺序",
  4316. "name": "orderindex",
  4317. "in": "query"
  4318. }
  4319. ],
  4320. "responses": {
  4321. "200": {
  4322. "description": "OK",
  4323. "schema": {
  4324. "type": "array",
  4325. "items": {
  4326. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4327. }
  4328. }
  4329. },
  4330. "500": {
  4331. "description": "Internal Server Error",
  4332. "schema": {
  4333. "$ref": "#/definitions/app.Response"
  4334. }
  4335. }
  4336. }
  4337. }
  4338. },
  4339. "/Ermcp3/QueryDeliveryGoods": {
  4340. "get": {
  4341. "security": [
  4342. {
  4343. "ApiKeyAuth": []
  4344. }
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "企业风险管理v3(app)"
  4351. ],
  4352. "summary": "查询现货商品",
  4353. "parameters": [
  4354. {
  4355. "type": "integer",
  4356. "description": "用户id",
  4357. "name": "userid",
  4358. "in": "query",
  4359. "required": true
  4360. },
  4361. {
  4362. "type": "integer",
  4363. "description": "用户类型 2-机构 7-企业成员",
  4364. "name": "usertype",
  4365. "in": "query"
  4366. },
  4367. {
  4368. "type": "integer",
  4369. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4370. "name": "excludecfg",
  4371. "in": "query"
  4372. }
  4373. ],
  4374. "responses": {
  4375. "200": {
  4376. "description": "OK",
  4377. "schema": {
  4378. "type": "array",
  4379. "items": {
  4380. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4381. }
  4382. }
  4383. },
  4384. "500": {
  4385. "description": "Internal Server Error",
  4386. "schema": {
  4387. "$ref": "#/definitions/app.Response"
  4388. }
  4389. }
  4390. }
  4391. }
  4392. },
  4393. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4394. "get": {
  4395. "security": [
  4396. {
  4397. "ApiKeyAuth": []
  4398. }
  4399. ],
  4400. "produces": [
  4401. "application/json"
  4402. ],
  4403. "tags": [
  4404. "企业风险管理v3(app)"
  4405. ],
  4406. "summary": "查询现货商品详情",
  4407. "parameters": [
  4408. {
  4409. "type": "integer",
  4410. "description": "用户id",
  4411. "name": "userid",
  4412. "in": "query",
  4413. "required": true
  4414. },
  4415. {
  4416. "type": "integer",
  4417. "description": "用户类型 2-机构 7-企业成员",
  4418. "name": "usertype",
  4419. "in": "query"
  4420. },
  4421. {
  4422. "type": "integer",
  4423. "description": "现货商品id",
  4424. "name": "deliverygoodsid",
  4425. "in": "query"
  4426. },
  4427. {
  4428. "type": "integer",
  4429. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4430. "name": "filtersubempty",
  4431. "in": "query"
  4432. }
  4433. ],
  4434. "responses": {
  4435. "200": {
  4436. "description": "OK",
  4437. "schema": {
  4438. "type": "array",
  4439. "items": {
  4440. "$ref": "#/definitions/models.XHDeliveryGoods"
  4441. }
  4442. }
  4443. },
  4444. "500": {
  4445. "description": "Internal Server Error",
  4446. "schema": {
  4447. "$ref": "#/definitions/app.Response"
  4448. }
  4449. }
  4450. }
  4451. }
  4452. },
  4453. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4454. "get": {
  4455. "security": [
  4456. {
  4457. "ApiKeyAuth": []
  4458. }
  4459. ],
  4460. "produces": [
  4461. "application/json"
  4462. ],
  4463. "tags": [
  4464. "企业风险管理v3(app)"
  4465. ],
  4466. "summary": "查询现货合同期现配置信息",
  4467. "parameters": [
  4468. {
  4469. "type": "string",
  4470. "description": "合同id",
  4471. "name": "spotcontractid",
  4472. "in": "query",
  4473. "required": true
  4474. }
  4475. ],
  4476. "responses": {
  4477. "200": {
  4478. "description": "OK",
  4479. "schema": {
  4480. "type": "array",
  4481. "items": {
  4482. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4483. }
  4484. }
  4485. },
  4486. "500": {
  4487. "description": "Internal Server Error",
  4488. "schema": {
  4489. "$ref": "#/definitions/app.Response"
  4490. }
  4491. }
  4492. }
  4493. }
  4494. },
  4495. "/Ermcp3/QueryExposureDetail": {
  4496. "get": {
  4497. "security": [
  4498. {
  4499. "ApiKeyAuth": []
  4500. }
  4501. ],
  4502. "produces": [
  4503. "application/json"
  4504. ],
  4505. "tags": [
  4506. "企业风险管理v3(app)"
  4507. ],
  4508. "summary": "查询敞口现货明细",
  4509. "parameters": [
  4510. {
  4511. "type": "integer",
  4512. "description": "用户id",
  4513. "name": "userid",
  4514. "in": "query",
  4515. "required": true
  4516. },
  4517. {
  4518. "type": "integer",
  4519. "description": "用户类型 2-机构 7-企业成员",
  4520. "name": "usertype",
  4521. "in": "query"
  4522. },
  4523. {
  4524. "type": "integer",
  4525. "description": "套保商品",
  4526. "name": "middlegoodsid",
  4527. "in": "query",
  4528. "required": true
  4529. }
  4530. ],
  4531. "responses": {
  4532. "200": {
  4533. "description": "OK",
  4534. "schema": {
  4535. "type": "array",
  4536. "items": {
  4537. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4538. }
  4539. }
  4540. },
  4541. "500": {
  4542. "description": "Internal Server Error",
  4543. "schema": {
  4544. "$ref": "#/definitions/app.Response"
  4545. }
  4546. }
  4547. }
  4548. }
  4549. },
  4550. "/Ermcp3/QueryExposureSpot": {
  4551. "get": {
  4552. "security": [
  4553. {
  4554. "ApiKeyAuth": []
  4555. }
  4556. ],
  4557. "produces": [
  4558. "application/json"
  4559. ],
  4560. "tags": [
  4561. "企业风险管理v3(app)"
  4562. ],
  4563. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4564. "parameters": [
  4565. {
  4566. "type": "integer",
  4567. "description": "用户id",
  4568. "name": "userid",
  4569. "in": "query",
  4570. "required": true
  4571. },
  4572. {
  4573. "type": "integer",
  4574. "description": "用户类型 2-机构 7-企业成员",
  4575. "name": "usertype",
  4576. "in": "query"
  4577. }
  4578. ],
  4579. "responses": {
  4580. "200": {
  4581. "description": "OK",
  4582. "schema": {
  4583. "type": "array",
  4584. "items": {
  4585. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4586. }
  4587. }
  4588. },
  4589. "500": {
  4590. "description": "Internal Server Error",
  4591. "schema": {
  4592. "$ref": "#/definitions/app.Response"
  4593. }
  4594. }
  4595. }
  4596. }
  4597. },
  4598. "/Ermcp3/QueryExposureSpotDetail": {
  4599. "get": {
  4600. "security": [
  4601. {
  4602. "ApiKeyAuth": []
  4603. }
  4604. ],
  4605. "produces": [
  4606. "application/json"
  4607. ],
  4608. "tags": [
  4609. "企业风险管理v3(app)"
  4610. ],
  4611. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4612. "parameters": [
  4613. {
  4614. "type": "integer",
  4615. "description": "用户id",
  4616. "name": "userid",
  4617. "in": "query",
  4618. "required": true
  4619. },
  4620. {
  4621. "type": "integer",
  4622. "description": "用户类型 2-机构 7-企业成员",
  4623. "name": "usertype",
  4624. "in": "query"
  4625. },
  4626. {
  4627. "type": "integer",
  4628. "description": "现货商品ID",
  4629. "name": "wrstandardid",
  4630. "in": "query",
  4631. "required": true
  4632. }
  4633. ],
  4634. "responses": {
  4635. "200": {
  4636. "description": "OK",
  4637. "schema": {
  4638. "type": "array",
  4639. "items": {
  4640. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4641. }
  4642. }
  4643. },
  4644. "500": {
  4645. "description": "Internal Server Error",
  4646. "schema": {
  4647. "$ref": "#/definitions/app.Response"
  4648. }
  4649. }
  4650. }
  4651. }
  4652. },
  4653. "/Ermcp3/QueryGoodsGroup": {
  4654. "get": {
  4655. "security": [
  4656. {
  4657. "ApiKeyAuth": []
  4658. }
  4659. ],
  4660. "produces": [
  4661. "application/json"
  4662. ],
  4663. "tags": [
  4664. "企业风险管理v3(app)"
  4665. ],
  4666. "summary": "查询期货商品组",
  4667. "parameters": [
  4668. {
  4669. "type": "integer",
  4670. "description": "用户id",
  4671. "name": "userid",
  4672. "in": "query",
  4673. "required": true
  4674. },
  4675. {
  4676. "type": "integer",
  4677. "description": "用户类型 2-机构 7-企业成员",
  4678. "name": "usertype",
  4679. "in": "query"
  4680. },
  4681. {
  4682. "type": "integer",
  4683. "description": "排除套保品中已关联的商品组 1-排除",
  4684. "name": "excludecfg",
  4685. "in": "query"
  4686. }
  4687. ],
  4688. "responses": {
  4689. "200": {
  4690. "description": "OK",
  4691. "schema": {
  4692. "type": "array",
  4693. "items": {
  4694. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4695. }
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/Ermcp3/QueryGoodsWrstandard": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "produces": [
  4715. "application/json"
  4716. ],
  4717. "tags": [
  4718. "企业风险管理v3(app)"
  4719. ],
  4720. "summary": "查询商品品类",
  4721. "parameters": [
  4722. {
  4723. "type": "integer",
  4724. "description": "用户id",
  4725. "name": "userid",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "integer",
  4731. "description": "用户类型 2-机构 7-企业成员",
  4732. "name": "usertype",
  4733. "in": "query"
  4734. },
  4735. {
  4736. "type": "integer",
  4737. "description": "现货商品id",
  4738. "name": "deliverygoodsid",
  4739. "in": "query"
  4740. }
  4741. ],
  4742. "responses": {
  4743. "200": {
  4744. "description": "OK",
  4745. "schema": {
  4746. "type": "array",
  4747. "items": {
  4748. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4749. }
  4750. }
  4751. },
  4752. "500": {
  4753. "description": "Internal Server Error",
  4754. "schema": {
  4755. "$ref": "#/definitions/app.Response"
  4756. }
  4757. }
  4758. }
  4759. }
  4760. },
  4761. "/Ermcp3/QueryGoodsbrand": {
  4762. "get": {
  4763. "security": [
  4764. {
  4765. "ApiKeyAuth": []
  4766. }
  4767. ],
  4768. "produces": [
  4769. "application/json"
  4770. ],
  4771. "tags": [
  4772. "企业风险管理v3(app)"
  4773. ],
  4774. "summary": "查询商品品牌",
  4775. "parameters": [
  4776. {
  4777. "type": "integer",
  4778. "description": "用户id",
  4779. "name": "userid",
  4780. "in": "query",
  4781. "required": true
  4782. },
  4783. {
  4784. "type": "integer",
  4785. "description": "用户类型 2-机构 7-企业成员",
  4786. "name": "usertype",
  4787. "in": "query"
  4788. }
  4789. ],
  4790. "responses": {
  4791. "200": {
  4792. "description": "OK",
  4793. "schema": {
  4794. "type": "array",
  4795. "items": {
  4796. "$ref": "#/definitions/models.Ermcp3Brand"
  4797. }
  4798. }
  4799. },
  4800. "500": {
  4801. "description": "Internal Server Error",
  4802. "schema": {
  4803. "$ref": "#/definitions/app.Response"
  4804. }
  4805. }
  4806. }
  4807. }
  4808. },
  4809. "/Ermcp3/QueryHPMiddleGoods": {
  4810. "get": {
  4811. "security": [
  4812. {
  4813. "ApiKeyAuth": []
  4814. }
  4815. ],
  4816. "produces": [
  4817. "application/json"
  4818. ],
  4819. "tags": [
  4820. "企业风险管理v3(app)"
  4821. ],
  4822. "summary": "查询可关联套保计划",
  4823. "parameters": [
  4824. {
  4825. "type": "integer",
  4826. "description": "用户ID(填登录用户的userid)",
  4827. "name": "userid",
  4828. "in": "query",
  4829. "required": true
  4830. },
  4831. {
  4832. "type": "integer",
  4833. "description": "买卖方向 0-买 1-卖",
  4834. "name": "buyorsell",
  4835. "in": "query",
  4836. "required": true
  4837. },
  4838. {
  4839. "type": "integer",
  4840. "description": "商品组id",
  4841. "name": "goodsgroupid",
  4842. "in": "query",
  4843. "required": true
  4844. },
  4845. {
  4846. "type": "string",
  4847. "description": "套保计划编号(模糊匹配)",
  4848. "name": "hedgeplanno",
  4849. "in": "query"
  4850. },
  4851. {
  4852. "type": "string",
  4853. "description": "现货商品名称(模糊匹配)",
  4854. "name": "wrstandardname",
  4855. "in": "query"
  4856. }
  4857. ],
  4858. "responses": {
  4859. "200": {
  4860. "description": "OK",
  4861. "schema": {
  4862. "type": "array",
  4863. "items": {
  4864. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4865. }
  4866. }
  4867. },
  4868. "500": {
  4869. "description": "Internal Server Error",
  4870. "schema": {
  4871. "$ref": "#/definitions/app.Response"
  4872. }
  4873. }
  4874. }
  4875. }
  4876. },
  4877. "/Ermcp3/QueryHedgePlan": {
  4878. "get": {
  4879. "security": [
  4880. {
  4881. "ApiKeyAuth": []
  4882. }
  4883. ],
  4884. "produces": [
  4885. "application/json"
  4886. ],
  4887. "tags": [
  4888. "企业风险管理v3(app)"
  4889. ],
  4890. "summary": "查询套保计划",
  4891. "parameters": [
  4892. {
  4893. "type": "integer",
  4894. "description": "用户ID",
  4895. "name": "userid",
  4896. "in": "query",
  4897. "required": true
  4898. },
  4899. {
  4900. "type": "integer",
  4901. "description": "用户类型 2-机构 7-企业成员",
  4902. "name": "usertype",
  4903. "in": "query"
  4904. },
  4905. {
  4906. "type": "string",
  4907. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4908. "name": "hedgeplanstatus",
  4909. "in": "query",
  4910. "required": true
  4911. }
  4912. ],
  4913. "responses": {
  4914. "200": {
  4915. "description": "OK",
  4916. "schema": {
  4917. "type": "array",
  4918. "items": {
  4919. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4920. }
  4921. }
  4922. },
  4923. "500": {
  4924. "description": "Internal Server Error",
  4925. "schema": {
  4926. "$ref": "#/definitions/app.Response"
  4927. }
  4928. }
  4929. }
  4930. }
  4931. },
  4932. "/Ermcp3/QueryInnerTradeLink": {
  4933. "get": {
  4934. "security": [
  4935. {
  4936. "ApiKeyAuth": []
  4937. }
  4938. ],
  4939. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4940. "produces": [
  4941. "application/json"
  4942. ],
  4943. "tags": [
  4944. "企业风险管理v3(app)"
  4945. ],
  4946. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4947. "parameters": [
  4948. {
  4949. "type": "integer",
  4950. "description": "外部成交单号",
  4951. "name": "outtradeid",
  4952. "in": "query",
  4953. "required": true
  4954. }
  4955. ],
  4956. "responses": {
  4957. "200": {
  4958. "description": "OK",
  4959. "schema": {
  4960. "type": "array",
  4961. "items": {
  4962. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4963. }
  4964. }
  4965. },
  4966. "500": {
  4967. "description": "Internal Server Error",
  4968. "schema": {
  4969. "$ref": "#/definitions/app.Response"
  4970. }
  4971. }
  4972. }
  4973. }
  4974. },
  4975. "/Ermcp3/QueryMiddleGoodsDetail": {
  4976. "get": {
  4977. "security": [
  4978. {
  4979. "ApiKeyAuth": []
  4980. }
  4981. ],
  4982. "produces": [
  4983. "application/json"
  4984. ],
  4985. "tags": [
  4986. "企业风险管理v3(app)"
  4987. ],
  4988. "summary": "查询套保品种详情(套保品种/商品详情)",
  4989. "parameters": [
  4990. {
  4991. "type": "integer",
  4992. "description": "用户id",
  4993. "name": "userid",
  4994. "in": "query",
  4995. "required": true
  4996. },
  4997. {
  4998. "type": "integer",
  4999. "description": "用户类型 2-机构 7-企业成员",
  5000. "name": "usertype",
  5001. "in": "query"
  5002. },
  5003. {
  5004. "type": "integer",
  5005. "description": "套保品种id",
  5006. "name": "middlegoodsid",
  5007. "in": "query"
  5008. }
  5009. ],
  5010. "responses": {
  5011. "200": {
  5012. "description": "OK",
  5013. "schema": {
  5014. "type": "array",
  5015. "items": {
  5016. "$ref": "#/definitions/models.TBMiddleGoods"
  5017. }
  5018. }
  5019. },
  5020. "500": {
  5021. "description": "Internal Server Error",
  5022. "schema": {
  5023. "$ref": "#/definitions/app.Response"
  5024. }
  5025. }
  5026. }
  5027. }
  5028. },
  5029. "/Ermcp3/QueryOutTradeLink": {
  5030. "get": {
  5031. "security": [
  5032. {
  5033. "ApiKeyAuth": []
  5034. }
  5035. ],
  5036. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5037. "produces": [
  5038. "application/json"
  5039. ],
  5040. "tags": [
  5041. "企业风险管理v3(app)"
  5042. ],
  5043. "summary": "查询外部成交单关联",
  5044. "parameters": [
  5045. {
  5046. "type": "integer",
  5047. "description": "用户ID(填登录用户的userid)",
  5048. "name": "userid",
  5049. "in": "query",
  5050. "required": true
  5051. },
  5052. {
  5053. "type": "string",
  5054. "description": "外部订单号(模糊匹配)",
  5055. "name": "outtradeid",
  5056. "in": "query"
  5057. },
  5058. {
  5059. "type": "string",
  5060. "description": "合约名称/代码(模糊匹配)",
  5061. "name": "goodsname",
  5062. "in": "query"
  5063. },
  5064. {
  5065. "type": "integer",
  5066. "description": "关联状态 0-未关联 1-已关联",
  5067. "name": "hasinnerorder",
  5068. "in": "query"
  5069. }
  5070. ],
  5071. "responses": {
  5072. "200": {
  5073. "description": "OK",
  5074. "schema": {
  5075. "type": "array",
  5076. "items": {
  5077. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5078. }
  5079. }
  5080. },
  5081. "500": {
  5082. "description": "Internal Server Error",
  5083. "schema": {
  5084. "$ref": "#/definitions/app.Response"
  5085. }
  5086. }
  5087. }
  5088. }
  5089. },
  5090. "/Ermcp3/QueryPaAreaAuditCfg": {
  5091. "get": {
  5092. "security": [
  5093. {
  5094. "ApiKeyAuth": []
  5095. }
  5096. ],
  5097. "produces": [
  5098. "application/json"
  5099. ],
  5100. "tags": [
  5101. "企业风险管理v3(app)"
  5102. ],
  5103. "summary": "查询审核设置",
  5104. "parameters": [
  5105. {
  5106. "type": "integer",
  5107. "description": "用户id",
  5108. "name": "userid",
  5109. "in": "query",
  5110. "required": true
  5111. }
  5112. ],
  5113. "responses": {
  5114. "200": {
  5115. "description": "OK",
  5116. "schema": {
  5117. "type": "array",
  5118. "items": {
  5119. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5120. }
  5121. }
  5122. },
  5123. "500": {
  5124. "description": "Internal Server Error",
  5125. "schema": {
  5126. "$ref": "#/definitions/app.Response"
  5127. }
  5128. }
  5129. }
  5130. }
  5131. },
  5132. "/Ermcp3/QueryPaAreaSubject": {
  5133. "get": {
  5134. "security": [
  5135. {
  5136. "ApiKeyAuth": []
  5137. }
  5138. ],
  5139. "produces": [
  5140. "application/json"
  5141. ],
  5142. "tags": [
  5143. "企业风险管理v3(app)"
  5144. ],
  5145. "summary": "查询交易主体",
  5146. "parameters": [
  5147. {
  5148. "type": "integer",
  5149. "description": "用户id",
  5150. "name": "userid",
  5151. "in": "query",
  5152. "required": true
  5153. },
  5154. {
  5155. "type": "integer",
  5156. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5157. "name": "subjectid",
  5158. "in": "query"
  5159. },
  5160. {
  5161. "type": "integer",
  5162. "description": "主体类型 - 1:交易主体 2:业务部门",
  5163. "name": "subjecttype",
  5164. "in": "query"
  5165. },
  5166. {
  5167. "type": "integer",
  5168. "description": "主体状态 - 1:正常 2: 停用",
  5169. "name": "subjectstatus",
  5170. "in": "query"
  5171. }
  5172. ],
  5173. "responses": {
  5174. "200": {
  5175. "description": "OK",
  5176. "schema": {
  5177. "type": "array",
  5178. "items": {
  5179. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5180. }
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/Ermcp3/QueryPaTradeLink": {
  5193. "get": {
  5194. "security": [
  5195. {
  5196. "ApiKeyAuth": []
  5197. }
  5198. ],
  5199. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5200. "produces": [
  5201. "application/json"
  5202. ],
  5203. "tags": [
  5204. "企业风险管理v3(app)"
  5205. ],
  5206. "summary": "查询期现单据关联",
  5207. "parameters": [
  5208. {
  5209. "type": "integer",
  5210. "description": "用户ID",
  5211. "name": "userid",
  5212. "in": "query",
  5213. "required": true
  5214. }
  5215. ],
  5216. "responses": {
  5217. "200": {
  5218. "description": "OK",
  5219. "schema": {
  5220. "type": "array",
  5221. "items": {
  5222. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5223. }
  5224. }
  5225. },
  5226. "500": {
  5227. "description": "Internal Server Error",
  5228. "schema": {
  5229. "$ref": "#/definitions/app.Response"
  5230. }
  5231. }
  5232. }
  5233. }
  5234. },
  5235. "/Ermcp3/QueryPaTradeLinkDetail": {
  5236. "get": {
  5237. "security": [
  5238. {
  5239. "ApiKeyAuth": []
  5240. }
  5241. ],
  5242. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5243. "produces": [
  5244. "application/json"
  5245. ],
  5246. "tags": [
  5247. "企业风险管理v3(app)"
  5248. ],
  5249. "summary": "查询期现关联记录",
  5250. "parameters": [
  5251. {
  5252. "type": "integer",
  5253. "description": "用户ID(填登录用户的userid)",
  5254. "name": "userid",
  5255. "in": "query",
  5256. "required": true
  5257. },
  5258. {
  5259. "type": "integer",
  5260. "description": "关联状态 1:成功 2:失败 3:解绑",
  5261. "name": "linkstatus",
  5262. "in": "query"
  5263. },
  5264. {
  5265. "type": "string",
  5266. "description": "期货订单号(模糊匹配)",
  5267. "name": "tradeid",
  5268. "in": "query"
  5269. },
  5270. {
  5271. "type": "string",
  5272. "description": "现货编号(模糊匹配)",
  5273. "name": "contractno",
  5274. "in": "query"
  5275. },
  5276. {
  5277. "type": "string",
  5278. "description": "期货账户(模糊匹配)",
  5279. "name": "taname",
  5280. "in": "query"
  5281. }
  5282. ],
  5283. "responses": {
  5284. "200": {
  5285. "description": "OK",
  5286. "schema": {
  5287. "type": "array",
  5288. "items": {
  5289. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5290. }
  5291. }
  5292. },
  5293. "500": {
  5294. "description": "Internal Server Error",
  5295. "schema": {
  5296. "$ref": "#/definitions/app.Response"
  5297. }
  5298. }
  5299. }
  5300. }
  5301. },
  5302. "/Ermcp3/QueryParamChangeApp": {
  5303. "get": {
  5304. "security": [
  5305. {
  5306. "ApiKeyAuth": []
  5307. }
  5308. ],
  5309. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5310. "produces": [
  5311. "application/json"
  5312. ],
  5313. "tags": [
  5314. "企业风险管理v3(app)"
  5315. ],
  5316. "summary": "查询现货商品参数变更申请(流水)",
  5317. "parameters": [
  5318. {
  5319. "type": "integer",
  5320. "description": "用户ID",
  5321. "name": "userid",
  5322. "in": "query",
  5323. "required": true
  5324. },
  5325. {
  5326. "type": "integer",
  5327. "description": "现货品种id",
  5328. "name": "deliverygoodsid",
  5329. "in": "query"
  5330. },
  5331. {
  5332. "type": "integer",
  5333. "description": "现货商品id",
  5334. "name": "wrstandardid",
  5335. "in": "query"
  5336. },
  5337. {
  5338. "type": "integer",
  5339. "description": "套保商品id",
  5340. "name": "middlegoodsid",
  5341. "in": "query"
  5342. },
  5343. {
  5344. "type": "integer",
  5345. "description": "操作类型 1:新增 2:修改",
  5346. "name": "operatetype",
  5347. "in": "query"
  5348. },
  5349. {
  5350. "type": "integer",
  5351. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5352. "name": "paramchangetype",
  5353. "in": "query"
  5354. },
  5355. {
  5356. "type": "string",
  5357. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5358. "name": "ftstatus",
  5359. "in": "query"
  5360. }
  5361. ],
  5362. "responses": {
  5363. "200": {
  5364. "description": "OK",
  5365. "schema": {
  5366. "type": "array",
  5367. "items": {
  5368. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5369. }
  5370. }
  5371. },
  5372. "500": {
  5373. "description": "Internal Server Error",
  5374. "schema": {
  5375. "$ref": "#/definitions/app.Response"
  5376. }
  5377. }
  5378. }
  5379. }
  5380. },
  5381. "/Ermcp3/QueryRootUserAccount": {
  5382. "get": {
  5383. "security": [
  5384. {
  5385. "ApiKeyAuth": []
  5386. }
  5387. ],
  5388. "produces": [
  5389. "application/json"
  5390. ],
  5391. "tags": [
  5392. "企业风险管理v3(app)"
  5393. ],
  5394. "summary": "查询顶级用户信息",
  5395. "parameters": [
  5396. {
  5397. "type": "integer",
  5398. "description": "用户ID",
  5399. "name": "userid",
  5400. "in": "query",
  5401. "required": true
  5402. }
  5403. ],
  5404. "responses": {
  5405. "200": {
  5406. "description": "OK",
  5407. "schema": {
  5408. "type": "array",
  5409. "items": {
  5410. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5411. }
  5412. }
  5413. },
  5414. "500": {
  5415. "description": "Internal Server Error",
  5416. "schema": {
  5417. "$ref": "#/definitions/app.Response"
  5418. }
  5419. }
  5420. }
  5421. }
  5422. },
  5423. "/Ermcp3/QuerySCMiddleGoods": {
  5424. "get": {
  5425. "security": [
  5426. {
  5427. "ApiKeyAuth": []
  5428. }
  5429. ],
  5430. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5431. "produces": [
  5432. "application/json"
  5433. ],
  5434. "tags": [
  5435. "企业风险管理v3(app)"
  5436. ],
  5437. "summary": "查询现货订单",
  5438. "parameters": [
  5439. {
  5440. "type": "integer",
  5441. "description": "用户ID(填登录用户的userid)",
  5442. "name": "userid",
  5443. "in": "query",
  5444. "required": true
  5445. },
  5446. {
  5447. "type": "integer",
  5448. "description": "买卖方向 0-买 1-卖",
  5449. "name": "buyorsell",
  5450. "in": "query",
  5451. "required": true
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "商品组id",
  5456. "name": "goodsgroupid",
  5457. "in": "query",
  5458. "required": true
  5459. },
  5460. {
  5461. "type": "integer",
  5462. "description": "业务类型 1:套保 2:套利",
  5463. "name": "biztype",
  5464. "in": "query"
  5465. },
  5466. {
  5467. "type": "string",
  5468. "description": "现货编号(模糊匹配)",
  5469. "name": "contractno",
  5470. "in": "query"
  5471. },
  5472. {
  5473. "type": "string",
  5474. "description": "对手方(模糊匹配)",
  5475. "name": "customername",
  5476. "in": "query"
  5477. },
  5478. {
  5479. "type": "string",
  5480. "description": "现货商品名称(模糊匹配)",
  5481. "name": "wrstandardname",
  5482. "in": "query"
  5483. }
  5484. ],
  5485. "responses": {
  5486. "200": {
  5487. "description": "OK",
  5488. "schema": {
  5489. "type": "array",
  5490. "items": {
  5491. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5492. }
  5493. }
  5494. },
  5495. "500": {
  5496. "description": "Internal Server Error",
  5497. "schema": {
  5498. "$ref": "#/definitions/app.Response"
  5499. }
  5500. }
  5501. }
  5502. }
  5503. },
  5504. "/Ermcp3/QuerySpotContract": {
  5505. "get": {
  5506. "security": [
  5507. {
  5508. "ApiKeyAuth": []
  5509. }
  5510. ],
  5511. "produces": [
  5512. "application/json"
  5513. ],
  5514. "tags": [
  5515. "企业风险管理v3(app)"
  5516. ],
  5517. "summary": "查询现货合同",
  5518. "parameters": [
  5519. {
  5520. "type": "integer",
  5521. "description": "用户id(当指定contractid, userid可不填)",
  5522. "name": "userid",
  5523. "in": "query",
  5524. "required": true
  5525. },
  5526. {
  5527. "type": "integer",
  5528. "description": "用户类型 2-机构 7-企业成员",
  5529. "name": "usertype",
  5530. "in": "query"
  5531. },
  5532. {
  5533. "type": "integer",
  5534. "description": "合同类型 1-采购, -1-销售",
  5535. "name": "contracttype",
  5536. "in": "query"
  5537. },
  5538. {
  5539. "type": "string",
  5540. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5541. "name": "querytype",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "string",
  5546. "description": "合同ID(SpotContractId)",
  5547. "name": "contractid",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "string",
  5552. "description": "合同编号(模糊匹配)",
  5553. "name": "contractno",
  5554. "in": "query"
  5555. },
  5556. {
  5557. "type": "string",
  5558. "description": "商品名称(模糊匹配)",
  5559. "name": "wrstandardname",
  5560. "in": "query"
  5561. },
  5562. {
  5563. "type": "string",
  5564. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5565. "name": "status",
  5566. "in": "query"
  5567. },
  5568. {
  5569. "type": "integer",
  5570. "description": "是否只查今日的合同 1-查今日合同",
  5571. "name": "istoday",
  5572. "in": "query"
  5573. }
  5574. ],
  5575. "responses": {
  5576. "200": {
  5577. "description": "OK",
  5578. "schema": {
  5579. "type": "array",
  5580. "items": {
  5581. "$ref": "#/definitions/models.Ermcp3Contract"
  5582. }
  5583. }
  5584. },
  5585. "500": {
  5586. "description": "Internal Server Error",
  5587. "schema": {
  5588. "$ref": "#/definitions/app.Response"
  5589. }
  5590. }
  5591. }
  5592. }
  5593. },
  5594. "/Ermcp3/QuerySpotContractBS": {
  5595. "get": {
  5596. "security": [
  5597. {
  5598. "ApiKeyAuth": []
  5599. }
  5600. ],
  5601. "produces": [
  5602. "application/json"
  5603. ],
  5604. "tags": [
  5605. "企业风险管理v3(app)"
  5606. ],
  5607. "summary": "查询合同(采购/销售)",
  5608. "parameters": [
  5609. {
  5610. "type": "integer",
  5611. "description": "用户id",
  5612. "name": "userid",
  5613. "in": "query",
  5614. "required": true
  5615. },
  5616. {
  5617. "type": "integer",
  5618. "description": "用户类型 2-机构 7-企业成员",
  5619. "name": "usertype",
  5620. "in": "query"
  5621. },
  5622. {
  5623. "type": "integer",
  5624. "description": "合同类型 1-采购, -1-销售",
  5625. "name": "contracttype",
  5626. "in": "query",
  5627. "required": true
  5628. },
  5629. {
  5630. "type": "integer",
  5631. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5632. "name": "querytype",
  5633. "in": "query"
  5634. },
  5635. {
  5636. "type": "string",
  5637. "description": "合同ID(SpotContractId)",
  5638. "name": "contractid",
  5639. "in": "query"
  5640. },
  5641. {
  5642. "type": "string",
  5643. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5644. "name": "status",
  5645. "in": "query"
  5646. },
  5647. {
  5648. "type": "integer",
  5649. "description": "是否只查今日的合同 1-查今日合同",
  5650. "name": "istoday",
  5651. "in": "query"
  5652. }
  5653. ],
  5654. "responses": {
  5655. "200": {
  5656. "description": "OK",
  5657. "schema": {
  5658. "type": "array",
  5659. "items": {
  5660. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5661. }
  5662. }
  5663. },
  5664. "500": {
  5665. "description": "Internal Server Error",
  5666. "schema": {
  5667. "$ref": "#/definitions/app.Response"
  5668. }
  5669. }
  5670. }
  5671. }
  5672. },
  5673. "/Ermcp3/QuerySpotGoodsPrice": {
  5674. "get": {
  5675. "security": [
  5676. {
  5677. "ApiKeyAuth": []
  5678. }
  5679. ],
  5680. "produces": [
  5681. "application/json"
  5682. ],
  5683. "tags": [
  5684. "企业风险管理v3(app)"
  5685. ],
  5686. "summary": "查询现货市价(现货市价)",
  5687. "parameters": [
  5688. {
  5689. "type": "integer",
  5690. "description": "用户ID",
  5691. "name": "userid",
  5692. "in": "query",
  5693. "required": true
  5694. }
  5695. ],
  5696. "responses": {
  5697. "200": {
  5698. "description": "OK",
  5699. "schema": {
  5700. "type": "array",
  5701. "items": {
  5702. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5703. }
  5704. }
  5705. },
  5706. "500": {
  5707. "description": "Internal Server Error",
  5708. "schema": {
  5709. "$ref": "#/definitions/app.Response"
  5710. }
  5711. }
  5712. }
  5713. }
  5714. },
  5715. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5716. "get": {
  5717. "security": [
  5718. {
  5719. "ApiKeyAuth": []
  5720. }
  5721. ],
  5722. "produces": [
  5723. "application/json"
  5724. ],
  5725. "tags": [
  5726. "企业风险管理v3(app)"
  5727. ],
  5728. "summary": "查询现货市价详情(现货市价/详情)",
  5729. "parameters": [
  5730. {
  5731. "type": "integer",
  5732. "description": "用户ID",
  5733. "name": "userid",
  5734. "in": "query",
  5735. "required": true
  5736. },
  5737. {
  5738. "type": "integer",
  5739. "description": "现货商品ID",
  5740. "name": "deliverygoodsid",
  5741. "in": "query",
  5742. "required": true
  5743. },
  5744. {
  5745. "type": "integer",
  5746. "description": "品牌ID",
  5747. "name": "brandid",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "integer",
  5752. "description": "品类ID",
  5753. "name": "wrstandardid",
  5754. "in": "query"
  5755. }
  5756. ],
  5757. "responses": {
  5758. "200": {
  5759. "description": "OK",
  5760. "schema": {
  5761. "type": "array",
  5762. "items": {
  5763. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5764. }
  5765. }
  5766. },
  5767. "500": {
  5768. "description": "Internal Server Error",
  5769. "schema": {
  5770. "$ref": "#/definitions/app.Response"
  5771. }
  5772. }
  5773. }
  5774. }
  5775. },
  5776. "/Ermcp3/QuerySubTaaccount": {
  5777. "get": {
  5778. "security": [
  5779. {
  5780. "ApiKeyAuth": []
  5781. }
  5782. ],
  5783. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5784. "produces": [
  5785. "application/json"
  5786. ],
  5787. "tags": [
  5788. "企业风险管理v3(app)"
  5789. ],
  5790. "summary": "查询期货子账户",
  5791. "parameters": [
  5792. {
  5793. "type": "integer",
  5794. "description": "母账号id",
  5795. "name": "parentaccountid",
  5796. "in": "query"
  5797. },
  5798. {
  5799. "type": "string",
  5800. "description": "母账号代码",
  5801. "name": "parentaccountcode",
  5802. "in": "query"
  5803. }
  5804. ],
  5805. "responses": {
  5806. "200": {
  5807. "description": "OK",
  5808. "schema": {
  5809. "type": "array",
  5810. "items": {
  5811. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5812. }
  5813. }
  5814. },
  5815. "500": {
  5816. "description": "Internal Server Error",
  5817. "schema": {
  5818. "$ref": "#/definitions/app.Response"
  5819. }
  5820. }
  5821. }
  5822. }
  5823. },
  5824. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5825. "get": {
  5826. "security": [
  5827. {
  5828. "ApiKeyAuth": []
  5829. }
  5830. ],
  5831. "produces": [
  5832. "application/json"
  5833. ],
  5834. "tags": [
  5835. "企业风险管理v8"
  5836. ],
  5837. "summary": "现货成交明细查询",
  5838. "parameters": [
  5839. {
  5840. "type": "integer",
  5841. "description": "套期项目ID",
  5842. "name": "hedgeditemid",
  5843. "in": "query",
  5844. "required": true
  5845. }
  5846. ],
  5847. "responses": {
  5848. "200": {
  5849. "description": "OK",
  5850. "schema": {
  5851. "type": "array",
  5852. "items": {
  5853. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5854. }
  5855. }
  5856. },
  5857. "500": {
  5858. "description": "Internal Server Error",
  5859. "schema": {
  5860. "$ref": "#/definitions/app.Response"
  5861. }
  5862. }
  5863. }
  5864. }
  5865. },
  5866. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5867. "get": {
  5868. "security": [
  5869. {
  5870. "ApiKeyAuth": []
  5871. }
  5872. ],
  5873. "produces": [
  5874. "application/json"
  5875. ],
  5876. "tags": [
  5877. "企业风险管理v8"
  5878. ],
  5879. "summary": "套期计划明细查询",
  5880. "parameters": [
  5881. {
  5882. "type": "integer",
  5883. "description": "套期项目ID",
  5884. "name": "hedgeditemid",
  5885. "in": "query",
  5886. "required": true
  5887. }
  5888. ],
  5889. "responses": {
  5890. "200": {
  5891. "description": "OK",
  5892. "schema": {
  5893. "type": "array",
  5894. "items": {
  5895. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5896. }
  5897. }
  5898. },
  5899. "500": {
  5900. "description": "Internal Server Error",
  5901. "schema": {
  5902. "$ref": "#/definitions/app.Response"
  5903. }
  5904. }
  5905. }
  5906. }
  5907. },
  5908. "/Ermcp8/QueryERMCPJRLinkPos": {
  5909. "get": {
  5910. "security": [
  5911. {
  5912. "ApiKeyAuth": []
  5913. }
  5914. ],
  5915. "produces": [
  5916. "application/json"
  5917. ],
  5918. "tags": [
  5919. "企业风险管理v8"
  5920. ],
  5921. "summary": "期货持仓明细查询",
  5922. "parameters": [
  5923. {
  5924. "type": "integer",
  5925. "description": "套期项目ID",
  5926. "name": "hedgeditemid",
  5927. "in": "query",
  5928. "required": true
  5929. }
  5930. ],
  5931. "responses": {
  5932. "200": {
  5933. "description": "OK",
  5934. "schema": {
  5935. "type": "array",
  5936. "items": {
  5937. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  5938. }
  5939. }
  5940. },
  5941. "500": {
  5942. "description": "Internal Server Error",
  5943. "schema": {
  5944. "$ref": "#/definitions/app.Response"
  5945. }
  5946. }
  5947. }
  5948. }
  5949. },
  5950. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  5951. "get": {
  5952. "security": [
  5953. {
  5954. "ApiKeyAuth": []
  5955. }
  5956. ],
  5957. "produces": [
  5958. "application/json"
  5959. ],
  5960. "tags": [
  5961. "企业风险管理v8"
  5962. ],
  5963. "summary": "期货成交单明细查询",
  5964. "parameters": [
  5965. {
  5966. "type": "integer",
  5967. "description": "套期项目ID",
  5968. "name": "hedgeditemid",
  5969. "in": "query",
  5970. "required": true
  5971. }
  5972. ],
  5973. "responses": {
  5974. "200": {
  5975. "description": "OK",
  5976. "schema": {
  5977. "type": "array",
  5978. "items": {
  5979. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  5980. }
  5981. }
  5982. },
  5983. "500": {
  5984. "description": "Internal Server Error",
  5985. "schema": {
  5986. "$ref": "#/definitions/app.Response"
  5987. }
  5988. }
  5989. }
  5990. }
  5991. },
  5992. "/Ermcp8/QueryErmcp2AreaExposure": {
  5993. "get": {
  5994. "security": [
  5995. {
  5996. "ApiKeyAuth": []
  5997. }
  5998. ],
  5999. "produces": [
  6000. "application/json"
  6001. ],
  6002. "tags": [
  6003. "企业风险管理v8"
  6004. ],
  6005. "summary": "企业敞口查询",
  6006. "parameters": [
  6007. {
  6008. "type": "string",
  6009. "description": "用户ID",
  6010. "name": "userid",
  6011. "in": "query",
  6012. "required": true
  6013. }
  6014. ],
  6015. "responses": {
  6016. "200": {
  6017. "description": "OK",
  6018. "schema": {
  6019. "type": "array",
  6020. "items": {
  6021. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6022. }
  6023. }
  6024. },
  6025. "500": {
  6026. "description": "Internal Server Error",
  6027. "schema": {
  6028. "$ref": "#/definitions/app.Response"
  6029. }
  6030. }
  6031. }
  6032. }
  6033. },
  6034. "/Ermcp8/QueryErmcp2HedgedItem": {
  6035. "get": {
  6036. "security": [
  6037. {
  6038. "ApiKeyAuth": []
  6039. }
  6040. ],
  6041. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6042. "produces": [
  6043. "application/json"
  6044. ],
  6045. "tags": [
  6046. "企业风险管理v8"
  6047. ],
  6048. "summary": "查询被套期项目信息",
  6049. "parameters": [
  6050. {
  6051. "type": "string",
  6052. "description": "用户ID",
  6053. "name": "userid",
  6054. "in": "query",
  6055. "required": true
  6056. },
  6057. {
  6058. "type": "integer",
  6059. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6060. "name": "hedgedtype",
  6061. "in": "query"
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6066. "name": "hedgeditemstatus",
  6067. "in": "query"
  6068. }
  6069. ],
  6070. "responses": {
  6071. "200": {
  6072. "description": "OK",
  6073. "schema": {
  6074. "type": "array",
  6075. "items": {
  6076. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6077. }
  6078. }
  6079. },
  6080. "500": {
  6081. "description": "Internal Server Error",
  6082. "schema": {
  6083. "$ref": "#/definitions/app.Response"
  6084. }
  6085. }
  6086. }
  6087. }
  6088. },
  6089. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6090. "get": {
  6091. "security": [
  6092. {
  6093. "ApiKeyAuth": []
  6094. }
  6095. ],
  6096. "produces": [
  6097. "application/json"
  6098. ],
  6099. "tags": [
  6100. "企业风险管理v8"
  6101. ],
  6102. "summary": "现货合同关联被套期项目查询",
  6103. "parameters": [
  6104. {
  6105. "type": "integer",
  6106. "description": "现货合同ID",
  6107. "name": "spotcontractid",
  6108. "in": "query",
  6109. "required": true
  6110. }
  6111. ],
  6112. "responses": {
  6113. "200": {
  6114. "description": "OK",
  6115. "schema": {
  6116. "type": "array",
  6117. "items": {
  6118. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6119. }
  6120. }
  6121. },
  6122. "500": {
  6123. "description": "Internal Server Error",
  6124. "schema": {
  6125. "$ref": "#/definitions/app.Response"
  6126. }
  6127. }
  6128. }
  6129. }
  6130. },
  6131. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6132. "get": {
  6133. "security": [
  6134. {
  6135. "ApiKeyAuth": []
  6136. }
  6137. ],
  6138. "produces": [
  6139. "application/json"
  6140. ],
  6141. "tags": [
  6142. "企业风险管理v8"
  6143. ],
  6144. "summary": "敞口明细 - 计划变动明细",
  6145. "parameters": [
  6146. {
  6147. "type": "integer",
  6148. "description": "用户ID",
  6149. "name": "userid",
  6150. "in": "query",
  6151. "required": true
  6152. },
  6153. {
  6154. "type": "integer",
  6155. "description": "套保品种ID",
  6156. "name": "middlegoodsid",
  6157. "in": "query",
  6158. "required": true
  6159. }
  6160. ],
  6161. "responses": {
  6162. "200": {
  6163. "description": "OK",
  6164. "schema": {
  6165. "type": "array",
  6166. "items": {
  6167. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6168. }
  6169. }
  6170. },
  6171. "500": {
  6172. "description": "Internal Server Error",
  6173. "schema": {
  6174. "$ref": "#/definitions/app.Response"
  6175. }
  6176. }
  6177. }
  6178. }
  6179. },
  6180. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6181. "get": {
  6182. "security": [
  6183. {
  6184. "ApiKeyAuth": []
  6185. }
  6186. ],
  6187. "produces": [
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "企业风险管理v8"
  6192. ],
  6193. "summary": "敞口明细 - 现货变动明细查询",
  6194. "parameters": [
  6195. {
  6196. "type": "integer",
  6197. "description": "用户ID",
  6198. "name": "userid",
  6199. "in": "query",
  6200. "required": true
  6201. },
  6202. {
  6203. "type": "integer",
  6204. "description": "套保品种ID",
  6205. "name": "middlegoodsid",
  6206. "in": "query",
  6207. "required": true
  6208. }
  6209. ],
  6210. "responses": {
  6211. "200": {
  6212. "description": "OK",
  6213. "schema": {
  6214. "type": "array",
  6215. "items": {
  6216. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6217. }
  6218. }
  6219. },
  6220. "500": {
  6221. "description": "Internal Server Error",
  6222. "schema": {
  6223. "$ref": "#/definitions/app.Response"
  6224. }
  6225. }
  6226. }
  6227. }
  6228. },
  6229. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6230. "get": {
  6231. "security": [
  6232. {
  6233. "ApiKeyAuth": []
  6234. }
  6235. ],
  6236. "produces": [
  6237. "application/json"
  6238. ],
  6239. "tags": [
  6240. "企业风险管理v8"
  6241. ],
  6242. "summary": "可关联项目查询",
  6243. "parameters": [
  6244. {
  6245. "type": "integer",
  6246. "description": "用户ID",
  6247. "name": "userid",
  6248. "in": "query",
  6249. "required": true
  6250. },
  6251. {
  6252. "type": "integer",
  6253. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6254. "name": "spottype",
  6255. "in": "query",
  6256. "required": true
  6257. },
  6258. {
  6259. "type": "integer",
  6260. "description": "现货商品ID",
  6261. "name": "wrstandardid",
  6262. "in": "query"
  6263. }
  6264. ],
  6265. "responses": {
  6266. "200": {
  6267. "description": "OK",
  6268. "schema": {
  6269. "type": "array",
  6270. "items": {
  6271. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6272. }
  6273. }
  6274. },
  6275. "500": {
  6276. "description": "Internal Server Error",
  6277. "schema": {
  6278. "$ref": "#/definitions/app.Response"
  6279. }
  6280. }
  6281. }
  6282. }
  6283. },
  6284. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6285. "get": {
  6286. "security": [
  6287. {
  6288. "ApiKeyAuth": []
  6289. }
  6290. ],
  6291. "produces": [
  6292. "application/json"
  6293. ],
  6294. "tags": [
  6295. "企业风险管理v8"
  6296. ],
  6297. "summary": "套期项目报表查询",
  6298. "parameters": [
  6299. {
  6300. "type": "integer",
  6301. "description": "用户ID",
  6302. "name": "userid",
  6303. "in": "query",
  6304. "required": true
  6305. },
  6306. {
  6307. "type": "integer",
  6308. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6309. "name": "cycletype",
  6310. "in": "query"
  6311. },
  6312. {
  6313. "type": "string",
  6314. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6315. "name": "cycletime",
  6316. "in": "query",
  6317. "required": true
  6318. },
  6319. {
  6320. "type": "integer",
  6321. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6322. "name": "hedgedtype",
  6323. "in": "query"
  6324. },
  6325. {
  6326. "type": "integer",
  6327. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6328. "name": "hedgeditemstatus",
  6329. "in": "query"
  6330. },
  6331. {
  6332. "type": "string",
  6333. "description": "项目编号,模糊查询",
  6334. "name": "hedgeditemnum",
  6335. "in": "query"
  6336. },
  6337. {
  6338. "type": "integer",
  6339. "description": "现货商品ID",
  6340. "name": "wrstandardid",
  6341. "in": "query"
  6342. }
  6343. ],
  6344. "responses": {
  6345. "200": {
  6346. "description": "OK",
  6347. "schema": {
  6348. "type": "array",
  6349. "items": {
  6350. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6351. }
  6352. }
  6353. },
  6354. "500": {
  6355. "description": "Internal Server Error",
  6356. "schema": {
  6357. "$ref": "#/definitions/app.Response"
  6358. }
  6359. }
  6360. }
  6361. }
  6362. },
  6363. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6364. "get": {
  6365. "security": [
  6366. {
  6367. "ApiKeyAuth": []
  6368. }
  6369. ],
  6370. "produces": [
  6371. "application/json"
  6372. ],
  6373. "tags": [
  6374. "企业风险管理v8"
  6375. ],
  6376. "summary": "查询执行中项目查询信息",
  6377. "parameters": [
  6378. {
  6379. "type": "string",
  6380. "description": "用户ID",
  6381. "name": "userid",
  6382. "in": "query",
  6383. "required": true
  6384. }
  6385. ],
  6386. "responses": {
  6387. "200": {
  6388. "description": "OK",
  6389. "schema": {
  6390. "type": "array",
  6391. "items": {
  6392. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6393. }
  6394. }
  6395. },
  6396. "500": {
  6397. "description": "Internal Server Error",
  6398. "schema": {
  6399. "$ref": "#/definitions/app.Response"
  6400. }
  6401. }
  6402. }
  6403. }
  6404. },
  6405. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6406. "get": {
  6407. "security": [
  6408. {
  6409. "ApiKeyAuth": []
  6410. }
  6411. ],
  6412. "produces": [
  6413. "application/json"
  6414. ],
  6415. "tags": [
  6416. "企业风险管理v8"
  6417. ],
  6418. "summary": "内部成交单可关联项目查询",
  6419. "parameters": [
  6420. {
  6421. "type": "integer",
  6422. "description": "企业ID",
  6423. "name": "areauserid",
  6424. "in": "query",
  6425. "required": true
  6426. },
  6427. {
  6428. "type": "integer",
  6429. "description": "期货合约ID",
  6430. "name": "goodsid",
  6431. "in": "query",
  6432. "required": true
  6433. },
  6434. {
  6435. "type": "integer",
  6436. "description": "交易用户ID",
  6437. "name": "tradeuserid",
  6438. "in": "query",
  6439. "required": true
  6440. }
  6441. ],
  6442. "responses": {
  6443. "200": {
  6444. "description": "OK",
  6445. "schema": {
  6446. "type": "array",
  6447. "items": {
  6448. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6449. }
  6450. }
  6451. },
  6452. "500": {
  6453. "description": "Internal Server Error",
  6454. "schema": {
  6455. "$ref": "#/definitions/app.Response"
  6456. }
  6457. }
  6458. }
  6459. }
  6460. },
  6461. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6462. "get": {
  6463. "security": [
  6464. {
  6465. "ApiKeyAuth": []
  6466. }
  6467. ],
  6468. "produces": [
  6469. "application/json"
  6470. ],
  6471. "tags": [
  6472. "企业风险管理v8"
  6473. ],
  6474. "summary": "内部未关联成交单查询",
  6475. "parameters": [
  6476. {
  6477. "type": "integer",
  6478. "description": "用户编号",
  6479. "name": "userid",
  6480. "in": "query",
  6481. "required": true
  6482. },
  6483. {
  6484. "type": "string",
  6485. "description": "起始日期(格式yyyymmdd)",
  6486. "name": "begindate",
  6487. "in": "query"
  6488. },
  6489. {
  6490. "type": "string",
  6491. "description": "终止日期(格式yyyymmdd)",
  6492. "name": "enddate",
  6493. "in": "query"
  6494. },
  6495. {
  6496. "type": "string",
  6497. "description": "合约代码",
  6498. "name": "goodscode",
  6499. "in": "query"
  6500. },
  6501. {
  6502. "type": "string",
  6503. "description": "合约名称",
  6504. "name": "goodsname",
  6505. "in": "query"
  6506. },
  6507. {
  6508. "type": "integer",
  6509. "description": "成交单号",
  6510. "name": "tradeid",
  6511. "in": "query"
  6512. },
  6513. {
  6514. "type": "integer",
  6515. "description": "方向 - 0:买 1:卖",
  6516. "name": "buyorsell",
  6517. "in": "query"
  6518. },
  6519. {
  6520. "type": "string",
  6521. "description": "套期主体",
  6522. "name": "accountname",
  6523. "in": "query"
  6524. }
  6525. ],
  6526. "responses": {
  6527. "200": {
  6528. "description": "OK",
  6529. "schema": {
  6530. "type": "array",
  6531. "items": {
  6532. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6533. }
  6534. }
  6535. },
  6536. "500": {
  6537. "description": "Internal Server Error",
  6538. "schema": {
  6539. "$ref": "#/definitions/app.Response"
  6540. }
  6541. }
  6542. }
  6543. }
  6544. },
  6545. "/Ermcp8/QueryMarketCalendar": {
  6546. "get": {
  6547. "security": [
  6548. {
  6549. "ApiKeyAuth": []
  6550. }
  6551. ],
  6552. "produces": [
  6553. "application/json"
  6554. ],
  6555. "tags": [
  6556. "企业风险管理v8"
  6557. ],
  6558. "summary": "市场节假日查询",
  6559. "parameters": [
  6560. {
  6561. "type": "integer",
  6562. "description": "市场ID",
  6563. "name": "marketid",
  6564. "in": "query"
  6565. }
  6566. ],
  6567. "responses": {
  6568. "200": {
  6569. "description": "OK",
  6570. "schema": {
  6571. "type": "array",
  6572. "items": {
  6573. "$ref": "#/definitions/models.Marketcalendar"
  6574. }
  6575. }
  6576. },
  6577. "500": {
  6578. "description": "Internal Server Error",
  6579. "schema": {
  6580. "$ref": "#/definitions/app.Response"
  6581. }
  6582. }
  6583. }
  6584. }
  6585. },
  6586. "/Ermcp8/QueryPatradeLinkDetail": {
  6587. "get": {
  6588. "security": [
  6589. {
  6590. "ApiKeyAuth": []
  6591. }
  6592. ],
  6593. "produces": [
  6594. "application/json"
  6595. ],
  6596. "tags": [
  6597. "企业风险管理v8"
  6598. ],
  6599. "summary": "敞口明细 - 期货变动明细",
  6600. "parameters": [
  6601. {
  6602. "type": "integer",
  6603. "description": "用户ID",
  6604. "name": "userid",
  6605. "in": "query",
  6606. "required": true
  6607. },
  6608. {
  6609. "type": "integer",
  6610. "description": "套保品种ID",
  6611. "name": "middlegoodsid",
  6612. "in": "query",
  6613. "required": true
  6614. }
  6615. ],
  6616. "responses": {
  6617. "200": {
  6618. "description": "OK",
  6619. "schema": {
  6620. "type": "array",
  6621. "items": {
  6622. "$ref": "#/definitions/models.Patradelinkdetail"
  6623. }
  6624. }
  6625. },
  6626. "500": {
  6627. "description": "Internal Server Error",
  6628. "schema": {
  6629. "$ref": "#/definitions/app.Response"
  6630. }
  6631. }
  6632. }
  6633. }
  6634. },
  6635. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6636. "get": {
  6637. "security": [
  6638. {
  6639. "ApiKeyAuth": []
  6640. }
  6641. ],
  6642. "produces": [
  6643. "application/json"
  6644. ],
  6645. "tags": [
  6646. "企业风险管理v8"
  6647. ],
  6648. "summary": "未关联购销计划",
  6649. "parameters": [
  6650. {
  6651. "type": "integer",
  6652. "description": "企业ID",
  6653. "name": "areauserid",
  6654. "in": "query",
  6655. "required": true
  6656. },
  6657. {
  6658. "type": "integer",
  6659. "description": "计划类型 - 1:采购 -1:销售",
  6660. "name": "contracttype",
  6661. "in": "query"
  6662. },
  6663. {
  6664. "type": "string",
  6665. "description": "计划编号,模糊查询",
  6666. "name": "hedgeplanno",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "string",
  6671. "description": "现货商品,模糊查询",
  6672. "name": "wrstandardname",
  6673. "in": "query"
  6674. }
  6675. ],
  6676. "responses": {
  6677. "200": {
  6678. "description": "OK",
  6679. "schema": {
  6680. "type": "array",
  6681. "items": {
  6682. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6683. }
  6684. }
  6685. },
  6686. "500": {
  6687. "description": "Internal Server Error",
  6688. "schema": {
  6689. "$ref": "#/definitions/app.Response"
  6690. }
  6691. }
  6692. }
  6693. }
  6694. },
  6695. "/Ermcp8/QueryUnLinkSpotContract": {
  6696. "get": {
  6697. "security": [
  6698. {
  6699. "ApiKeyAuth": []
  6700. }
  6701. ],
  6702. "produces": [
  6703. "application/json"
  6704. ],
  6705. "tags": [
  6706. "企业风险管理v8"
  6707. ],
  6708. "summary": "未关联合同查询",
  6709. "parameters": [
  6710. {
  6711. "type": "integer",
  6712. "description": "用户ID",
  6713. "name": "userid",
  6714. "in": "query",
  6715. "required": true
  6716. },
  6717. {
  6718. "type": "integer",
  6719. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6720. "name": "pricetype",
  6721. "in": "query"
  6722. },
  6723. {
  6724. "type": "string",
  6725. "description": "合同编号, 模拟查询",
  6726. "name": "contractno",
  6727. "in": "query"
  6728. },
  6729. {
  6730. "type": "string",
  6731. "description": "对手方, 模拟查询",
  6732. "name": "customername",
  6733. "in": "query"
  6734. },
  6735. {
  6736. "type": "integer",
  6737. "description": "项合同类型 - 1:采购 -1:销售",
  6738. "name": "contracttype",
  6739. "in": "query"
  6740. }
  6741. ],
  6742. "responses": {
  6743. "200": {
  6744. "description": "OK",
  6745. "schema": {
  6746. "type": "array",
  6747. "items": {
  6748. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6749. }
  6750. }
  6751. },
  6752. "500": {
  6753. "description": "Internal Server Error",
  6754. "schema": {
  6755. "$ref": "#/definitions/app.Response"
  6756. }
  6757. }
  6758. }
  6759. }
  6760. },
  6761. "/Erms2/QueryArbitrageStrategy": {
  6762. "get": {
  6763. "security": [
  6764. {
  6765. "ApiKeyAuth": []
  6766. }
  6767. ],
  6768. "produces": [
  6769. "application/json"
  6770. ],
  6771. "tags": [
  6772. "风险管理"
  6773. ],
  6774. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6775. "parameters": [
  6776. {
  6777. "type": "integer",
  6778. "description": "账户ID",
  6779. "name": "userid",
  6780. "in": "query",
  6781. "required": true
  6782. },
  6783. {
  6784. "type": "string",
  6785. "description": "商品组ID(品种ID)",
  6786. "name": "goodsgroupid",
  6787. "in": "query"
  6788. }
  6789. ],
  6790. "responses": {
  6791. "200": {
  6792. "description": "OK",
  6793. "schema": {
  6794. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6795. }
  6796. },
  6797. "500": {
  6798. "description": "Internal Server Error",
  6799. "schema": {
  6800. "$ref": "#/definitions/app.Response"
  6801. }
  6802. }
  6803. }
  6804. }
  6805. },
  6806. "/Erms2/QueryInnerTradeDetail": {
  6807. "get": {
  6808. "security": [
  6809. {
  6810. "ApiKeyAuth": []
  6811. }
  6812. ],
  6813. "produces": [
  6814. "application/json"
  6815. ],
  6816. "tags": [
  6817. "风险管理"
  6818. ],
  6819. "summary": "查询内部成交单信息",
  6820. "parameters": [
  6821. {
  6822. "type": "integer",
  6823. "description": "资金账户",
  6824. "name": "accountid",
  6825. "in": "query",
  6826. "required": true
  6827. }
  6828. ],
  6829. "responses": {
  6830. "200": {
  6831. "description": "OK",
  6832. "schema": {
  6833. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6834. }
  6835. },
  6836. "500": {
  6837. "description": "Internal Server Error",
  6838. "schema": {
  6839. "$ref": "#/definitions/app.Response"
  6840. }
  6841. }
  6842. }
  6843. }
  6844. },
  6845. "/Erms2/QuerySpotContract": {
  6846. "get": {
  6847. "security": [
  6848. {
  6849. "ApiKeyAuth": []
  6850. }
  6851. ],
  6852. "produces": [
  6853. "application/json"
  6854. ],
  6855. "tags": [
  6856. "风险管理"
  6857. ],
  6858. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6859. "parameters": [
  6860. {
  6861. "type": "integer",
  6862. "description": "策略申请ID",
  6863. "name": "asapplyid",
  6864. "in": "query",
  6865. "required": true
  6866. },
  6867. {
  6868. "type": "integer",
  6869. "description": "现货合同ID",
  6870. "name": "spotcontractid",
  6871. "in": "query"
  6872. }
  6873. ],
  6874. "responses": {
  6875. "200": {
  6876. "description": "OK",
  6877. "schema": {
  6878. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6879. }
  6880. },
  6881. "500": {
  6882. "description": "Internal Server Error",
  6883. "schema": {
  6884. "$ref": "#/definitions/app.Response"
  6885. }
  6886. }
  6887. }
  6888. }
  6889. },
  6890. "/Erms3/AddErms2ASApply": {
  6891. "post": {
  6892. "security": [
  6893. {
  6894. "ApiKeyAuth": []
  6895. }
  6896. ],
  6897. "produces": [
  6898. "application/json"
  6899. ],
  6900. "tags": [
  6901. "风险管理v3"
  6902. ],
  6903. "summary": "新增期现套利业务申请",
  6904. "parameters": [
  6905. {
  6906. "description": "申请参数",
  6907. "name": "jsonBody",
  6908. "in": "body",
  6909. "required": true,
  6910. "schema": {
  6911. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6912. }
  6913. }
  6914. ],
  6915. "responses": {
  6916. "200": {
  6917. "description": "OK",
  6918. "schema": {
  6919. "$ref": "#/definitions/app.Response"
  6920. }
  6921. },
  6922. "500": {
  6923. "description": "Internal Server Error",
  6924. "schema": {
  6925. "$ref": "#/definitions/app.Response"
  6926. }
  6927. }
  6928. }
  6929. }
  6930. },
  6931. "/Erms3/AddErms2SpotTradeApply": {
  6932. "post": {
  6933. "security": [
  6934. {
  6935. "ApiKeyAuth": []
  6936. }
  6937. ],
  6938. "produces": [
  6939. "application/json"
  6940. ],
  6941. "tags": [
  6942. "风险管理v3"
  6943. ],
  6944. "summary": "新增现货贸易业务申请",
  6945. "parameters": [
  6946. {
  6947. "description": "申请参数",
  6948. "name": "jsonBody",
  6949. "in": "body",
  6950. "required": true,
  6951. "schema": {
  6952. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  6953. }
  6954. }
  6955. ],
  6956. "responses": {
  6957. "200": {
  6958. "description": "OK",
  6959. "schema": {
  6960. "$ref": "#/definitions/app.Response"
  6961. }
  6962. },
  6963. "500": {
  6964. "description": "Internal Server Error",
  6965. "schema": {
  6966. "$ref": "#/definitions/app.Response"
  6967. }
  6968. }
  6969. }
  6970. }
  6971. },
  6972. "/Erms3/AddSpotContractApply": {
  6973. "post": {
  6974. "security": [
  6975. {
  6976. "ApiKeyAuth": []
  6977. }
  6978. ],
  6979. "produces": [
  6980. "application/json"
  6981. ],
  6982. "tags": [
  6983. "风险管理v3"
  6984. ],
  6985. "summary": "新增现货合同申请",
  6986. "parameters": [
  6987. {
  6988. "description": "申请参数",
  6989. "name": "jsonBody",
  6990. "in": "body",
  6991. "required": true,
  6992. "schema": {
  6993. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  6994. }
  6995. }
  6996. ],
  6997. "responses": {
  6998. "200": {
  6999. "description": "OK",
  7000. "schema": {
  7001. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7002. }
  7003. },
  7004. "500": {
  7005. "description": "Internal Server Error",
  7006. "schema": {
  7007. "$ref": "#/definitions/app.Response"
  7008. }
  7009. }
  7010. }
  7011. }
  7012. },
  7013. "/Erms3/AddUserInfoApply": {
  7014. "post": {
  7015. "security": [
  7016. {
  7017. "ApiKeyAuth": []
  7018. }
  7019. ],
  7020. "produces": [
  7021. "application/json"
  7022. ],
  7023. "tags": [
  7024. "风险管理v3"
  7025. ],
  7026. "summary": "新增客户申请",
  7027. "parameters": [
  7028. {
  7029. "description": "用户信息",
  7030. "name": "jsonBody",
  7031. "in": "body",
  7032. "required": true,
  7033. "schema": {
  7034. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7035. }
  7036. }
  7037. ],
  7038. "responses": {
  7039. "200": {
  7040. "description": "OK",
  7041. "schema": {
  7042. "$ref": "#/definitions/app.Response"
  7043. }
  7044. },
  7045. "500": {
  7046. "description": "Internal Server Error",
  7047. "schema": {
  7048. "$ref": "#/definitions/app.Response"
  7049. }
  7050. }
  7051. }
  7052. }
  7053. },
  7054. "/Erms3/DeleteUserInfoApply": {
  7055. "get": {
  7056. "security": [
  7057. {
  7058. "ApiKeyAuth": []
  7059. }
  7060. ],
  7061. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7062. "produces": [
  7063. "application/json"
  7064. ],
  7065. "tags": [
  7066. "风险管理v3"
  7067. ],
  7068. "summary": "删除客户申请",
  7069. "parameters": [
  7070. {
  7071. "type": "integer",
  7072. "description": "用户ID",
  7073. "name": "userID",
  7074. "in": "query",
  7075. "required": true
  7076. }
  7077. ],
  7078. "responses": {
  7079. "200": {
  7080. "description": "OK",
  7081. "schema": {
  7082. "$ref": "#/definitions/app.Response"
  7083. }
  7084. },
  7085. "500": {
  7086. "description": "Internal Server Error",
  7087. "schema": {
  7088. "$ref": "#/definitions/app.Response"
  7089. }
  7090. }
  7091. }
  7092. }
  7093. },
  7094. "/Erms3/ModifyUserInfoApply": {
  7095. "post": {
  7096. "security": [
  7097. {
  7098. "ApiKeyAuth": []
  7099. }
  7100. ],
  7101. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "风险管理v3"
  7107. ],
  7108. "summary": "修改客户申请",
  7109. "parameters": [
  7110. {
  7111. "description": "用户信息",
  7112. "name": "jsonBody",
  7113. "in": "body",
  7114. "required": true,
  7115. "schema": {
  7116. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7117. }
  7118. }
  7119. ],
  7120. "responses": {
  7121. "200": {
  7122. "description": "OK",
  7123. "schema": {
  7124. "$ref": "#/definitions/app.Response"
  7125. }
  7126. },
  7127. "500": {
  7128. "description": "Internal Server Error",
  7129. "schema": {
  7130. "$ref": "#/definitions/app.Response"
  7131. }
  7132. }
  7133. }
  7134. }
  7135. },
  7136. "/Erms3/QueryBusinessInfo": {
  7137. "get": {
  7138. "security": [
  7139. {
  7140. "ApiKeyAuth": []
  7141. }
  7142. ],
  7143. "produces": [
  7144. "application/json"
  7145. ],
  7146. "tags": [
  7147. "风险管理v3"
  7148. ],
  7149. "summary": "查询业务表单数据",
  7150. "parameters": [
  7151. {
  7152. "type": "string",
  7153. "description": "资金账号ID列表,用逗号分隔",
  7154. "name": "accountids",
  7155. "in": "query",
  7156. "required": true
  7157. },
  7158. {
  7159. "type": "integer",
  7160. "description": "状态,0为未结束 1为已结束",
  7161. "name": "status",
  7162. "in": "query",
  7163. "required": true
  7164. }
  7165. ],
  7166. "responses": {
  7167. "200": {
  7168. "description": "OK",
  7169. "schema": {
  7170. "type": "array",
  7171. "items": {
  7172. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7173. }
  7174. }
  7175. },
  7176. "500": {
  7177. "description": "Internal Server Error",
  7178. "schema": {
  7179. "$ref": "#/definitions/app.Response"
  7180. }
  7181. }
  7182. }
  7183. }
  7184. },
  7185. "/Erms3/QueryPendingAuditContract": {
  7186. "get": {
  7187. "security": [
  7188. {
  7189. "ApiKeyAuth": []
  7190. }
  7191. ],
  7192. "produces": [
  7193. "application/json"
  7194. ],
  7195. "tags": [
  7196. "风险管理v3"
  7197. ],
  7198. "summary": "查询待审核合同",
  7199. "parameters": [
  7200. {
  7201. "type": "string",
  7202. "description": "资金账号ID列表,逗号隔开",
  7203. "name": "accountids",
  7204. "in": "query",
  7205. "required": true
  7206. },
  7207. {
  7208. "type": "integer",
  7209. "description": "合同类型 1-采购 -1-销售",
  7210. "name": "contracttype",
  7211. "in": "query",
  7212. "required": true
  7213. },
  7214. {
  7215. "type": "integer",
  7216. "description": "合同模式 1-普通 2-回购",
  7217. "name": "contractmode",
  7218. "in": "query",
  7219. "required": true
  7220. }
  7221. ],
  7222. "responses": {
  7223. "200": {
  7224. "description": "OK",
  7225. "schema": {
  7226. "type": "array",
  7227. "items": {
  7228. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7229. }
  7230. }
  7231. },
  7232. "500": {
  7233. "description": "Internal Server Error",
  7234. "schema": {
  7235. "$ref": "#/definitions/app.Response"
  7236. }
  7237. }
  7238. }
  7239. }
  7240. },
  7241. "/Erms3/QueryPendingBusiness": {
  7242. "get": {
  7243. "security": [
  7244. {
  7245. "ApiKeyAuth": []
  7246. }
  7247. ],
  7248. "produces": [
  7249. "application/json"
  7250. ],
  7251. "tags": [
  7252. "风险管理v3"
  7253. ],
  7254. "summary": "查询待审核基差贸易业务",
  7255. "parameters": [
  7256. {
  7257. "type": "string",
  7258. "description": "资金账号ID列表,逗号隔开",
  7259. "name": "accountids",
  7260. "in": "query",
  7261. "required": true
  7262. }
  7263. ],
  7264. "responses": {
  7265. "200": {
  7266. "description": "OK",
  7267. "schema": {
  7268. "type": "array",
  7269. "items": {
  7270. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7271. }
  7272. }
  7273. },
  7274. "500": {
  7275. "description": "Internal Server Error",
  7276. "schema": {
  7277. "$ref": "#/definitions/app.Response"
  7278. }
  7279. }
  7280. }
  7281. }
  7282. },
  7283. "/Erms3/QuerySpotContractAppleForm": {
  7284. "get": {
  7285. "security": [
  7286. {
  7287. "ApiKeyAuth": []
  7288. }
  7289. ],
  7290. "produces": [
  7291. "application/json"
  7292. ],
  7293. "tags": [
  7294. "风险管理v3"
  7295. ],
  7296. "summary": "查询合同申请表单数据",
  7297. "parameters": [
  7298. {
  7299. "type": "integer",
  7300. "description": "登录账号",
  7301. "name": "loginID",
  7302. "in": "query",
  7303. "required": true
  7304. }
  7305. ],
  7306. "responses": {
  7307. "200": {
  7308. "description": "OK",
  7309. "schema": {
  7310. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7311. }
  7312. },
  7313. "500": {
  7314. "description": "Internal Server Error",
  7315. "schema": {
  7316. "$ref": "#/definitions/app.Response"
  7317. }
  7318. }
  7319. }
  7320. }
  7321. },
  7322. "/Erms3/QuerySpotContractDetail": {
  7323. "get": {
  7324. "security": [
  7325. {
  7326. "ApiKeyAuth": []
  7327. }
  7328. ],
  7329. "produces": [
  7330. "application/json"
  7331. ],
  7332. "tags": [
  7333. "风险管理v3"
  7334. ],
  7335. "summary": "查询合同详细信息",
  7336. "parameters": [
  7337. {
  7338. "type": "string",
  7339. "description": "资金账号ID列表,用逗号分隔",
  7340. "name": "accountids",
  7341. "in": "query",
  7342. "required": true
  7343. },
  7344. {
  7345. "type": "integer",
  7346. "description": "合同类型,1为采购合同 -1为销售合同",
  7347. "name": "contracttype",
  7348. "in": "query",
  7349. "required": true
  7350. },
  7351. {
  7352. "type": "integer",
  7353. "description": "合同模式,1为普通合同 2为回购销售合同",
  7354. "name": "contractmode",
  7355. "in": "query",
  7356. "required": true
  7357. },
  7358. {
  7359. "type": "integer",
  7360. "description": "状态,0为履约中 1为已完成",
  7361. "name": "status",
  7362. "in": "query",
  7363. "required": true
  7364. }
  7365. ],
  7366. "responses": {
  7367. "200": {
  7368. "description": "OK",
  7369. "schema": {
  7370. "type": "array",
  7371. "items": {
  7372. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7373. }
  7374. }
  7375. },
  7376. "500": {
  7377. "description": "Internal Server Error",
  7378. "schema": {
  7379. "$ref": "#/definitions/app.Response"
  7380. }
  7381. }
  7382. }
  7383. }
  7384. },
  7385. "/Erms3/QueryUserInfoApplies": {
  7386. "get": {
  7387. "security": [
  7388. {
  7389. "ApiKeyAuth": []
  7390. }
  7391. ],
  7392. "produces": [
  7393. "application/json"
  7394. ],
  7395. "tags": [
  7396. "风险管理v3"
  7397. ],
  7398. "summary": "客户申请信息查询",
  7399. "parameters": [
  7400. {
  7401. "type": "integer",
  7402. "description": "页码",
  7403. "name": "page",
  7404. "in": "query"
  7405. },
  7406. {
  7407. "type": "integer",
  7408. "description": "每页条数",
  7409. "name": "pagesize",
  7410. "in": "query"
  7411. },
  7412. {
  7413. "type": "string",
  7414. "description": "客户名称,支持模糊查询",
  7415. "name": "userName",
  7416. "in": "query"
  7417. }
  7418. ],
  7419. "responses": {
  7420. "200": {
  7421. "description": "OK",
  7422. "schema": {
  7423. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7424. }
  7425. },
  7426. "500": {
  7427. "description": "Internal Server Error",
  7428. "schema": {
  7429. "$ref": "#/definitions/app.Response"
  7430. }
  7431. }
  7432. }
  7433. }
  7434. },
  7435. "/Erms3/QueryUserInfos": {
  7436. "get": {
  7437. "security": [
  7438. {
  7439. "ApiKeyAuth": []
  7440. }
  7441. ],
  7442. "produces": [
  7443. "application/json"
  7444. ],
  7445. "tags": [
  7446. "风险管理v3"
  7447. ],
  7448. "summary": "客户信息查询",
  7449. "parameters": [
  7450. {
  7451. "type": "integer",
  7452. "description": "页码",
  7453. "name": "page",
  7454. "in": "query"
  7455. },
  7456. {
  7457. "type": "integer",
  7458. "description": "每页条数",
  7459. "name": "pagesize",
  7460. "in": "query"
  7461. },
  7462. {
  7463. "type": "string",
  7464. "description": "客户名称,支持模糊查询",
  7465. "name": "userName",
  7466. "in": "query"
  7467. }
  7468. ],
  7469. "responses": {
  7470. "200": {
  7471. "description": "OK",
  7472. "schema": {
  7473. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7474. }
  7475. },
  7476. "500": {
  7477. "description": "Internal Server Error",
  7478. "schema": {
  7479. "$ref": "#/definitions/app.Response"
  7480. }
  7481. }
  7482. }
  7483. }
  7484. },
  7485. "/Guangzuan/QueryBuyOrder": {
  7486. "get": {
  7487. "security": [
  7488. {
  7489. "ApiKeyAuth": []
  7490. },
  7491. {
  7492. "LoginID": []
  7493. },
  7494. {
  7495. "Group": []
  7496. }
  7497. ],
  7498. "produces": [
  7499. "application/json"
  7500. ],
  7501. "tags": [
  7502. "广钻"
  7503. ],
  7504. "summary": "查询求购大厅委托单",
  7505. "parameters": [
  7506. {
  7507. "type": "integer",
  7508. "description": "页码",
  7509. "name": "page",
  7510. "in": "query"
  7511. },
  7512. {
  7513. "type": "integer",
  7514. "description": "每页条数",
  7515. "name": "pagesize",
  7516. "in": "query"
  7517. },
  7518. {
  7519. "type": "string",
  7520. "description": "商品(查询字段-模糊查询)",
  7521. "name": "zsallproperties",
  7522. "in": "query"
  7523. },
  7524. {
  7525. "type": "integer",
  7526. "description": "钻石分类枚举ID",
  7527. "name": "zscategory",
  7528. "in": "query"
  7529. },
  7530. {
  7531. "type": "integer",
  7532. "description": "委托单号",
  7533. "name": "wrtradeorderid",
  7534. "in": "query"
  7535. },
  7536. {
  7537. "type": "string",
  7538. "description": "买方(查询字段-模糊查询)",
  7539. "name": "buyusername",
  7540. "in": "query"
  7541. }
  7542. ],
  7543. "responses": {
  7544. "200": {
  7545. "description": "OK",
  7546. "schema": {
  7547. "type": "array",
  7548. "items": {
  7549. "$ref": "#/definitions/models.BuyOrder"
  7550. }
  7551. }
  7552. },
  7553. "500": {
  7554. "description": "Internal Server Error",
  7555. "schema": {
  7556. "$ref": "#/definitions/app.Response"
  7557. }
  7558. }
  7559. }
  7560. }
  7561. },
  7562. "/Guangzuan/QueryDiamond": {
  7563. "post": {
  7564. "security": [
  7565. {
  7566. "ApiKeyAuth": []
  7567. },
  7568. {
  7569. "LoginID": []
  7570. },
  7571. {
  7572. "Group": []
  7573. }
  7574. ],
  7575. "produces": [
  7576. "application/json"
  7577. ],
  7578. "tags": [
  7579. "广钻"
  7580. ],
  7581. "summary": "钻石搜索",
  7582. "parameters": [
  7583. {
  7584. "description": "钻石搜索入参",
  7585. "name": "data",
  7586. "in": "body",
  7587. "required": true,
  7588. "schema": {
  7589. "$ref": "#/definitions/models.SellOrderQueryReq"
  7590. }
  7591. }
  7592. ],
  7593. "responses": {
  7594. "200": {
  7595. "description": "OK",
  7596. "schema": {
  7597. "type": "array",
  7598. "items": {
  7599. "$ref": "#/definitions/models.SellOrder"
  7600. }
  7601. }
  7602. },
  7603. "500": {
  7604. "description": "Internal Server Error",
  7605. "schema": {
  7606. "$ref": "#/definitions/app.Response"
  7607. }
  7608. }
  7609. }
  7610. }
  7611. },
  7612. "/Guangzuan/QueryMyWRPosition": {
  7613. "get": {
  7614. "security": [
  7615. {
  7616. "ApiKeyAuth": []
  7617. },
  7618. {
  7619. "LoginID": []
  7620. },
  7621. {
  7622. "Group": []
  7623. }
  7624. ],
  7625. "produces": [
  7626. "application/json"
  7627. ],
  7628. "tags": [
  7629. "广钻"
  7630. ],
  7631. "summary": "查询我的库存",
  7632. "parameters": [
  7633. {
  7634. "type": "integer",
  7635. "description": "页码",
  7636. "name": "page",
  7637. "in": "query"
  7638. },
  7639. {
  7640. "type": "integer",
  7641. "description": "每页条数",
  7642. "name": "pagesize",
  7643. "in": "query"
  7644. },
  7645. {
  7646. "type": "integer",
  7647. "description": "登录用户ID",
  7648. "name": "wruserid",
  7649. "in": "query",
  7650. "required": true
  7651. },
  7652. {
  7653. "type": "string",
  7654. "description": "商品(查询字段-模糊查询)",
  7655. "name": "zsallproperties",
  7656. "in": "query"
  7657. },
  7658. {
  7659. "type": "integer",
  7660. "description": "钻石分类枚举ID",
  7661. "name": "zscategory",
  7662. "in": "query"
  7663. },
  7664. {
  7665. "type": "integer",
  7666. "description": "仓库ID",
  7667. "name": "warehouseid",
  7668. "in": "query"
  7669. }
  7670. ],
  7671. "responses": {
  7672. "200": {
  7673. "description": "OK",
  7674. "schema": {
  7675. "type": "array",
  7676. "items": {
  7677. "$ref": "#/definitions/models.MyWRPosition"
  7678. }
  7679. }
  7680. },
  7681. "500": {
  7682. "description": "Internal Server Error",
  7683. "schema": {
  7684. "$ref": "#/definitions/app.Response"
  7685. }
  7686. }
  7687. }
  7688. }
  7689. },
  7690. "/Guangzuan/QuerySellOrder": {
  7691. "get": {
  7692. "security": [
  7693. {
  7694. "ApiKeyAuth": []
  7695. },
  7696. {
  7697. "LoginID": []
  7698. },
  7699. {
  7700. "Group": []
  7701. }
  7702. ],
  7703. "produces": [
  7704. "application/json"
  7705. ],
  7706. "tags": [
  7707. "广钻"
  7708. ],
  7709. "summary": "查询出售大厅委托单",
  7710. "parameters": [
  7711. {
  7712. "type": "integer",
  7713. "description": "页码",
  7714. "name": "page",
  7715. "in": "query"
  7716. },
  7717. {
  7718. "type": "integer",
  7719. "description": "每页条数",
  7720. "name": "pagesize",
  7721. "in": "query"
  7722. },
  7723. {
  7724. "type": "string",
  7725. "description": "商品(查询字段-模糊查询)",
  7726. "name": "zsallproperties",
  7727. "in": "query"
  7728. },
  7729. {
  7730. "type": "integer",
  7731. "description": "钻石分类枚举ID",
  7732. "name": "zscategory",
  7733. "in": "query"
  7734. },
  7735. {
  7736. "type": "integer",
  7737. "description": "委托单号",
  7738. "name": "wrtradeorderid",
  7739. "in": "query"
  7740. },
  7741. {
  7742. "type": "string",
  7743. "description": "卖方(查询字段-模糊查询)",
  7744. "name": "buyusername",
  7745. "in": "query"
  7746. }
  7747. ],
  7748. "responses": {
  7749. "200": {
  7750. "description": "OK",
  7751. "schema": {
  7752. "type": "array",
  7753. "items": {
  7754. "$ref": "#/definitions/models.SellOrder"
  7755. }
  7756. }
  7757. },
  7758. "500": {
  7759. "description": "Internal Server Error",
  7760. "schema": {
  7761. "$ref": "#/definitions/app.Response"
  7762. }
  7763. }
  7764. }
  7765. }
  7766. },
  7767. "/Guangzuan/QueryWarehouseInfo": {
  7768. "get": {
  7769. "security": [
  7770. {
  7771. "ApiKeyAuth": []
  7772. },
  7773. {
  7774. "LoginID": []
  7775. },
  7776. {
  7777. "Group": []
  7778. }
  7779. ],
  7780. "produces": [
  7781. "application/json"
  7782. ],
  7783. "tags": [
  7784. "广钻"
  7785. ],
  7786. "summary": "查询仓库信息",
  7787. "parameters": [
  7788. {
  7789. "type": "integer",
  7790. "description": "页码",
  7791. "name": "page",
  7792. "in": "query"
  7793. },
  7794. {
  7795. "type": "integer",
  7796. "description": "每页条数",
  7797. "name": "pagesize",
  7798. "in": "query"
  7799. },
  7800. {
  7801. "type": "integer",
  7802. "description": "用户ID",
  7803. "name": "userid",
  7804. "in": "query",
  7805. "required": true
  7806. },
  7807. {
  7808. "type": "string",
  7809. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  7810. "name": "status",
  7811. "in": "query"
  7812. },
  7813. {
  7814. "type": "boolean",
  7815. "description": "是返回交易所仓库",
  7816. "name": "isincludeexchange",
  7817. "in": "query"
  7818. }
  7819. ],
  7820. "responses": {
  7821. "200": {
  7822. "description": "OK",
  7823. "schema": {
  7824. "type": "array",
  7825. "items": {
  7826. "$ref": "#/definitions/models.GZWarehouseinfo"
  7827. }
  7828. }
  7829. },
  7830. "500": {
  7831. "description": "Internal Server Error",
  7832. "schema": {
  7833. "$ref": "#/definitions/app.Response"
  7834. }
  7835. }
  7836. }
  7837. }
  7838. },
  7839. "/HSBY/GetHsbyMyCount": {
  7840. "get": {
  7841. "security": [
  7842. {
  7843. "ApiKeyAuth": []
  7844. }
  7845. ],
  7846. "description": "说明: 不包括已完成的数量。",
  7847. "produces": [
  7848. "application/json"
  7849. ],
  7850. "tags": [
  7851. "定制【海商报业】"
  7852. ],
  7853. "summary": "获取我的订单与包裹数量",
  7854. "parameters": [
  7855. {
  7856. "type": "string",
  7857. "description": "资金账户列表,格式:1,2,3",
  7858. "name": "accountIDs",
  7859. "in": "query",
  7860. "required": true
  7861. }
  7862. ],
  7863. "responses": {
  7864. "200": {
  7865. "description": "OK",
  7866. "schema": {
  7867. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  7868. }
  7869. },
  7870. "500": {
  7871. "description": "Internal Server Error",
  7872. "schema": {
  7873. "$ref": "#/definitions/app.Response"
  7874. }
  7875. }
  7876. }
  7877. }
  7878. },
  7879. "/HSBY/QueryClientFixedADConfigs": {
  7880. "get": {
  7881. "security": [
  7882. {
  7883. "ApiKeyAuth": []
  7884. }
  7885. ],
  7886. "produces": [
  7887. "application/json"
  7888. ],
  7889. "tags": [
  7890. "定制【海商报业】"
  7891. ],
  7892. "summary": "获取终端固定广告配置",
  7893. "responses": {
  7894. "200": {
  7895. "description": "OK",
  7896. "schema": {
  7897. "$ref": "#/definitions/models.Clientfixedadconfig"
  7898. }
  7899. },
  7900. "500": {
  7901. "description": "Internal Server Error",
  7902. "schema": {
  7903. "$ref": "#/definitions/app.Response"
  7904. }
  7905. }
  7906. }
  7907. }
  7908. },
  7909. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  7910. "get": {
  7911. "security": [
  7912. {
  7913. "ApiKeyAuth": []
  7914. }
  7915. ],
  7916. "produces": [
  7917. "application/json"
  7918. ],
  7919. "tags": [
  7920. "定制【海商报业】"
  7921. ],
  7922. "summary": "查询\"我的订单 - 已完成\"单据信息",
  7923. "parameters": [
  7924. {
  7925. "type": "integer",
  7926. "description": "页码",
  7927. "name": "page",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "integer",
  7932. "description": "每页条数",
  7933. "name": "pagesize",
  7934. "in": "query"
  7935. },
  7936. {
  7937. "type": "string",
  7938. "description": "资金账户列表,格式:1,2,3",
  7939. "name": "accountIDs",
  7940. "in": "query",
  7941. "required": true
  7942. }
  7943. ],
  7944. "responses": {
  7945. "200": {
  7946. "description": "OK",
  7947. "schema": {
  7948. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  7949. }
  7950. },
  7951. "500": {
  7952. "description": "Internal Server Error",
  7953. "schema": {
  7954. "$ref": "#/definitions/app.Response"
  7955. }
  7956. }
  7957. }
  7958. }
  7959. },
  7960. "/HSBY/QueryHsbyGoodsOrderDetails": {
  7961. "get": {
  7962. "security": [
  7963. {
  7964. "ApiKeyAuth": []
  7965. }
  7966. ],
  7967. "description": "说明:查询结果已按委托价格和委托时间排序",
  7968. "produces": [
  7969. "application/json"
  7970. ],
  7971. "tags": [
  7972. "定制【海商报业】"
  7973. ],
  7974. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  7975. "parameters": [
  7976. {
  7977. "type": "integer",
  7978. "description": "商品ID",
  7979. "name": "goodsID",
  7980. "in": "query",
  7981. "required": true
  7982. },
  7983. {
  7984. "type": "string",
  7985. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  7986. "name": "accountIDs",
  7987. "in": "query"
  7988. },
  7989. {
  7990. "type": "integer",
  7991. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  7992. "name": "buyOrSell",
  7993. "in": "query"
  7994. },
  7995. {
  7996. "type": "number",
  7997. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  7998. "name": "price",
  7999. "in": "query"
  8000. },
  8001. {
  8002. "type": "integer",
  8003. "description": "档位,不传则默认为3档",
  8004. "name": "speed",
  8005. "in": "query"
  8006. }
  8007. ],
  8008. "responses": {
  8009. "200": {
  8010. "description": "OK",
  8011. "schema": {
  8012. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  8013. }
  8014. },
  8015. "500": {
  8016. "description": "Internal Server Error",
  8017. "schema": {
  8018. "$ref": "#/definitions/app.Response"
  8019. }
  8020. }
  8021. }
  8022. }
  8023. },
  8024. "/HSBY/QueryHsbyListingGoodsDetail": {
  8025. "get": {
  8026. "security": [
  8027. {
  8028. "ApiKeyAuth": []
  8029. }
  8030. ],
  8031. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  8032. "produces": [
  8033. "application/json"
  8034. ],
  8035. "tags": [
  8036. "定制【海商报业】"
  8037. ],
  8038. "summary": "查询二级市场(挂牌点选)商品信息详情",
  8039. "parameters": [
  8040. {
  8041. "type": "integer",
  8042. "description": "商品ID",
  8043. "name": "goodsID",
  8044. "in": "query",
  8045. "required": true
  8046. },
  8047. {
  8048. "type": "integer",
  8049. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  8050. "name": "accountID",
  8051. "in": "query"
  8052. }
  8053. ],
  8054. "responses": {
  8055. "200": {
  8056. "description": "OK",
  8057. "schema": {
  8058. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  8059. }
  8060. },
  8061. "500": {
  8062. "description": "Internal Server Error",
  8063. "schema": {
  8064. "$ref": "#/definitions/app.Response"
  8065. }
  8066. }
  8067. }
  8068. }
  8069. },
  8070. "/HSBY/QueryHsbyMarketGoodsDetail": {
  8071. "get": {
  8072. "security": [
  8073. {
  8074. "ApiKeyAuth": []
  8075. }
  8076. ],
  8077. "produces": [
  8078. "application/json"
  8079. ],
  8080. "tags": [
  8081. "定制【海商报业】"
  8082. ],
  8083. "summary": "查询三级市场(商城)商品信息详情",
  8084. "parameters": [
  8085. {
  8086. "type": "integer",
  8087. "description": "委托单号",
  8088. "name": "orderID",
  8089. "in": "query",
  8090. "required": true
  8091. },
  8092. {
  8093. "type": "integer",
  8094. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  8095. "name": "accountID",
  8096. "in": "query"
  8097. }
  8098. ],
  8099. "responses": {
  8100. "200": {
  8101. "description": "OK",
  8102. "schema": {
  8103. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  8104. }
  8105. },
  8106. "500": {
  8107. "description": "Internal Server Error",
  8108. "schema": {
  8109. "$ref": "#/definitions/app.Response"
  8110. }
  8111. }
  8112. }
  8113. }
  8114. },
  8115. "/HSBY/QueryHsbyMarketGoodses": {
  8116. "get": {
  8117. "security": [
  8118. {
  8119. "ApiKeyAuth": []
  8120. }
  8121. ],
  8122. "produces": [
  8123. "application/json"
  8124. ],
  8125. "tags": [
  8126. "定制【海商报业】"
  8127. ],
  8128. "summary": "查询特卖商品列表(三级商城)",
  8129. "parameters": [
  8130. {
  8131. "type": "integer",
  8132. "description": "页码",
  8133. "name": "page",
  8134. "in": "query"
  8135. },
  8136. {
  8137. "type": "integer",
  8138. "description": "每页条数",
  8139. "name": "pagesize",
  8140. "in": "query"
  8141. },
  8142. {
  8143. "type": "string",
  8144. "description": "市场ID列表,格式:1,2,3",
  8145. "name": "marketIDs",
  8146. "in": "query",
  8147. "required": true
  8148. },
  8149. {
  8150. "type": "integer",
  8151. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  8152. "name": "accountID",
  8153. "in": "query",
  8154. "required": true
  8155. },
  8156. {
  8157. "type": "integer",
  8158. "description": "类别ID",
  8159. "name": "categoryID",
  8160. "in": "query"
  8161. },
  8162. {
  8163. "type": "string",
  8164. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  8165. "name": "goodsIDs",
  8166. "in": "query"
  8167. },
  8168. {
  8169. "type": "integer",
  8170. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  8171. "name": "couponTypeID",
  8172. "in": "query"
  8173. }
  8174. ],
  8175. "responses": {
  8176. "200": {
  8177. "description": "OK",
  8178. "schema": {
  8179. "$ref": "#/definitions/models.HsbyMarketGoods"
  8180. }
  8181. },
  8182. "500": {
  8183. "description": "Internal Server Error",
  8184. "schema": {
  8185. "$ref": "#/definitions/app.Response"
  8186. }
  8187. }
  8188. }
  8189. }
  8190. },
  8191. "/HSBY/QueryHsbyMarkets": {
  8192. "get": {
  8193. "security": [
  8194. {
  8195. "ApiKeyAuth": []
  8196. }
  8197. ],
  8198. "produces": [
  8199. "application/json"
  8200. ],
  8201. "tags": [
  8202. "定制【海商报业】"
  8203. ],
  8204. "summary": "查询海商报业相关市场信息",
  8205. "responses": {
  8206. "200": {
  8207. "description": "OK",
  8208. "schema": {
  8209. "$ref": "#/definitions/models.HsbyMarketInfo"
  8210. }
  8211. },
  8212. "500": {
  8213. "description": "Internal Server Error",
  8214. "schema": {
  8215. "$ref": "#/definitions/app.Response"
  8216. }
  8217. }
  8218. }
  8219. }
  8220. },
  8221. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  8222. "get": {
  8223. "security": [
  8224. {
  8225. "ApiKeyAuth": []
  8226. }
  8227. ],
  8228. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  8229. "produces": [
  8230. "application/json"
  8231. ],
  8232. "tags": [
  8233. "定制【海商报业】"
  8234. ],
  8235. "summary": "查询“我的订单”信息",
  8236. "parameters": [
  8237. {
  8238. "type": "string",
  8239. "description": "资金账户列表,格式:1,2,3",
  8240. "name": "accountIDs",
  8241. "in": "query",
  8242. "required": true
  8243. }
  8244. ],
  8245. "responses": {
  8246. "200": {
  8247. "description": "OK",
  8248. "schema": {
  8249. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  8250. }
  8251. },
  8252. "500": {
  8253. "description": "Internal Server Error",
  8254. "schema": {
  8255. "$ref": "#/definitions/app.Response"
  8256. }
  8257. }
  8258. }
  8259. }
  8260. },
  8261. "/HSBY/QueryHsbyMyGoods": {
  8262. "get": {
  8263. "security": [
  8264. {
  8265. "ApiKeyAuth": []
  8266. }
  8267. ],
  8268. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  8269. "produces": [
  8270. "application/json"
  8271. ],
  8272. "tags": [
  8273. "定制【海商报业】"
  8274. ],
  8275. "summary": "查询“我的商品”信息",
  8276. "parameters": [
  8277. {
  8278. "type": "string",
  8279. "description": "资金账户列表,格式:1,2,3",
  8280. "name": "accountIDs",
  8281. "in": "query",
  8282. "required": true
  8283. }
  8284. ],
  8285. "responses": {
  8286. "200": {
  8287. "description": "OK",
  8288. "schema": {
  8289. "$ref": "#/definitions/models.HsbyMyGoods"
  8290. }
  8291. },
  8292. "500": {
  8293. "description": "Internal Server Error",
  8294. "schema": {
  8295. "$ref": "#/definitions/app.Response"
  8296. }
  8297. }
  8298. }
  8299. }
  8300. },
  8301. "/HSBY/QueryHsbyMyPackages": {
  8302. "get": {
  8303. "security": [
  8304. {
  8305. "ApiKeyAuth": []
  8306. }
  8307. ],
  8308. "produces": [
  8309. "application/json"
  8310. ],
  8311. "tags": [
  8312. "定制【海商报业】"
  8313. ],
  8314. "summary": "查询我的包裹信息",
  8315. "parameters": [
  8316. {
  8317. "type": "string",
  8318. "description": "资金账户列表,格式:1,2,3",
  8319. "name": "accountIDs",
  8320. "in": "query",
  8321. "required": true
  8322. },
  8323. {
  8324. "type": "integer",
  8325. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8326. "name": "takeOrderStatus",
  8327. "in": "query"
  8328. }
  8329. ],
  8330. "responses": {
  8331. "200": {
  8332. "description": "OK",
  8333. "schema": {
  8334. "$ref": "#/definitions/models.HsbyMyPackage"
  8335. }
  8336. },
  8337. "500": {
  8338. "description": "Internal Server Error",
  8339. "schema": {
  8340. "$ref": "#/definitions/app.Response"
  8341. }
  8342. }
  8343. }
  8344. }
  8345. },
  8346. "/HSBY/QueryHsbyPreGoodsDetail": {
  8347. "get": {
  8348. "security": [
  8349. {
  8350. "ApiKeyAuth": []
  8351. }
  8352. ],
  8353. "produces": [
  8354. "application/json"
  8355. ],
  8356. "tags": [
  8357. "定制【海商报业】"
  8358. ],
  8359. "summary": "查询一级市场(预售)商品信息详情",
  8360. "parameters": [
  8361. {
  8362. "type": "integer",
  8363. "description": "商品ID",
  8364. "name": "goodsID",
  8365. "in": "query",
  8366. "required": true
  8367. },
  8368. {
  8369. "type": "integer",
  8370. "description": "资金账户,主要用于获取预售商品购买上限",
  8371. "name": "accountID",
  8372. "in": "query"
  8373. }
  8374. ],
  8375. "responses": {
  8376. "200": {
  8377. "description": "OK",
  8378. "schema": {
  8379. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  8380. }
  8381. },
  8382. "500": {
  8383. "description": "Internal Server Error",
  8384. "schema": {
  8385. "$ref": "#/definitions/app.Response"
  8386. }
  8387. }
  8388. }
  8389. }
  8390. },
  8391. "/HSBY/QueryHsbyPreGoodses": {
  8392. "get": {
  8393. "security": [
  8394. {
  8395. "ApiKeyAuth": []
  8396. }
  8397. ],
  8398. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  8399. "produces": [
  8400. "application/json"
  8401. ],
  8402. "tags": [
  8403. "定制【海商报业】"
  8404. ],
  8405. "summary": "查询新品上市商品列表(一级市场预售)",
  8406. "parameters": [
  8407. {
  8408. "type": "integer",
  8409. "description": "页码",
  8410. "name": "page",
  8411. "in": "query"
  8412. },
  8413. {
  8414. "type": "integer",
  8415. "description": "每页条数",
  8416. "name": "pagesize",
  8417. "in": "query"
  8418. },
  8419. {
  8420. "type": "string",
  8421. "description": "市场ID列表,格式:1,2,3",
  8422. "name": "marketIDs",
  8423. "in": "query",
  8424. "required": true
  8425. },
  8426. {
  8427. "type": "integer",
  8428. "description": "目的地(省)ID",
  8429. "name": "descProvinceID",
  8430. "in": "query"
  8431. },
  8432. {
  8433. "type": "integer",
  8434. "description": "目的地(市)ID",
  8435. "name": "descCityID",
  8436. "in": "query"
  8437. }
  8438. ],
  8439. "responses": {
  8440. "200": {
  8441. "description": "OK",
  8442. "schema": {
  8443. "$ref": "#/definitions/models.HsbyPreGoods"
  8444. }
  8445. },
  8446. "500": {
  8447. "description": "Internal Server Error",
  8448. "schema": {
  8449. "$ref": "#/definitions/app.Response"
  8450. }
  8451. }
  8452. }
  8453. }
  8454. },
  8455. "/HSBY/QueryHsbySellMyDetails": {
  8456. "get": {
  8457. "security": [
  8458. {
  8459. "ApiKeyAuth": []
  8460. }
  8461. ],
  8462. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  8463. "produces": [
  8464. "application/json"
  8465. ],
  8466. "tags": [
  8467. "定制【海商报业】"
  8468. ],
  8469. "summary": "查询\"我的闲置\"单据信息",
  8470. "parameters": [
  8471. {
  8472. "type": "integer",
  8473. "description": "页码",
  8474. "name": "page",
  8475. "in": "query"
  8476. },
  8477. {
  8478. "type": "integer",
  8479. "description": "每页条数",
  8480. "name": "pagesize",
  8481. "in": "query"
  8482. },
  8483. {
  8484. "type": "string",
  8485. "description": "资金账户列表,格式:1,2,3",
  8486. "name": "accountIDs",
  8487. "in": "query",
  8488. "required": true
  8489. },
  8490. {
  8491. "type": "integer",
  8492. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  8493. "name": "orderType",
  8494. "in": "query"
  8495. }
  8496. ],
  8497. "responses": {
  8498. "200": {
  8499. "description": "OK",
  8500. "schema": {
  8501. "$ref": "#/definitions/models.HsbySellMyDetail"
  8502. }
  8503. },
  8504. "500": {
  8505. "description": "Internal Server Error",
  8506. "schema": {
  8507. "$ref": "#/definitions/app.Response"
  8508. }
  8509. }
  8510. }
  8511. }
  8512. },
  8513. "/HSBY/QueryHsbyTopGoodses": {
  8514. "get": {
  8515. "security": [
  8516. {
  8517. "ApiKeyAuth": []
  8518. }
  8519. ],
  8520. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  8521. "produces": [
  8522. "application/json"
  8523. ],
  8524. "tags": [
  8525. "定制【海商报业】"
  8526. ],
  8527. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  8528. "parameters": [
  8529. {
  8530. "type": "integer",
  8531. "description": "页码",
  8532. "name": "page",
  8533. "in": "query"
  8534. },
  8535. {
  8536. "type": "integer",
  8537. "description": "每页条数",
  8538. "name": "pagesize",
  8539. "in": "query"
  8540. },
  8541. {
  8542. "type": "string",
  8543. "description": "市场ID列表,格式:1,2,3",
  8544. "name": "marketIDs",
  8545. "in": "query",
  8546. "required": true
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "目的地(省)ID",
  8551. "name": "descProvinceID",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "integer",
  8556. "description": "目的地(市)ID",
  8557. "name": "descCityID",
  8558. "in": "query"
  8559. }
  8560. ],
  8561. "responses": {
  8562. "200": {
  8563. "description": "OK",
  8564. "schema": {
  8565. "$ref": "#/definitions/models.HsbyTopGoods"
  8566. }
  8567. },
  8568. "500": {
  8569. "description": "Internal Server Error",
  8570. "schema": {
  8571. "$ref": "#/definitions/app.Response"
  8572. }
  8573. }
  8574. }
  8575. }
  8576. },
  8577. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  8578. "get": {
  8579. "security": [
  8580. {
  8581. "ApiKeyAuth": []
  8582. }
  8583. ],
  8584. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  8585. "produces": [
  8586. "application/json"
  8587. ],
  8588. "tags": [
  8589. "定制【海商报业】"
  8590. ],
  8591. "summary": "查询游客三级市场(商城)商品信息详情",
  8592. "parameters": [
  8593. {
  8594. "type": "integer",
  8595. "description": "商品ID",
  8596. "name": "goodsID",
  8597. "in": "query",
  8598. "required": true
  8599. }
  8600. ],
  8601. "responses": {
  8602. "200": {
  8603. "description": "OK",
  8604. "schema": {
  8605. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  8606. }
  8607. },
  8608. "500": {
  8609. "description": "Internal Server Error",
  8610. "schema": {
  8611. "$ref": "#/definitions/app.Response"
  8612. }
  8613. }
  8614. }
  8615. }
  8616. },
  8617. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  8618. "get": {
  8619. "security": [
  8620. {
  8621. "ApiKeyAuth": []
  8622. }
  8623. ],
  8624. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  8625. "produces": [
  8626. "application/json"
  8627. ],
  8628. "tags": [
  8629. "定制【海商报业】"
  8630. ],
  8631. "summary": "查询游客特卖商品列表(三级商城)",
  8632. "parameters": [
  8633. {
  8634. "type": "integer",
  8635. "description": "页码",
  8636. "name": "page",
  8637. "in": "query"
  8638. },
  8639. {
  8640. "type": "integer",
  8641. "description": "每页条数",
  8642. "name": "pagesize",
  8643. "in": "query"
  8644. },
  8645. {
  8646. "type": "string",
  8647. "description": "市场ID列表,格式:1,2,3",
  8648. "name": "marketIDs",
  8649. "in": "query",
  8650. "required": true
  8651. },
  8652. {
  8653. "type": "integer",
  8654. "description": "类别ID",
  8655. "name": "categoryID",
  8656. "in": "query"
  8657. },
  8658. {
  8659. "type": "string",
  8660. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  8661. "name": "goodsIDs",
  8662. "in": "query"
  8663. }
  8664. ],
  8665. "responses": {
  8666. "200": {
  8667. "description": "OK",
  8668. "schema": {
  8669. "$ref": "#/definitions/models.HsbyMarketGoods"
  8670. }
  8671. },
  8672. "500": {
  8673. "description": "Internal Server Error",
  8674. "schema": {
  8675. "$ref": "#/definitions/app.Response"
  8676. }
  8677. }
  8678. }
  8679. }
  8680. },
  8681. "/HSBY/QueryMyCollectionOrders": {
  8682. "get": {
  8683. "security": [
  8684. {
  8685. "ApiKeyAuth": []
  8686. }
  8687. ],
  8688. "produces": [
  8689. "application/json"
  8690. ],
  8691. "tags": [
  8692. "定制【海商报业】"
  8693. ],
  8694. "summary": "我的闲置中收款信息查询",
  8695. "parameters": [
  8696. {
  8697. "type": "integer",
  8698. "description": "页码",
  8699. "name": "page",
  8700. "in": "query"
  8701. },
  8702. {
  8703. "type": "integer",
  8704. "description": "每页条数",
  8705. "name": "pagesize",
  8706. "in": "query"
  8707. },
  8708. {
  8709. "type": "string",
  8710. "description": "资金账户,格式:1,2,3",
  8711. "name": "accountIDs",
  8712. "in": "query",
  8713. "required": true
  8714. }
  8715. ],
  8716. "responses": {
  8717. "200": {
  8718. "description": "OK",
  8719. "schema": {
  8720. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  8721. }
  8722. },
  8723. "500": {
  8724. "description": "Internal Server Error",
  8725. "schema": {
  8726. "$ref": "#/definitions/app.Response"
  8727. }
  8728. }
  8729. }
  8730. }
  8731. },
  8732. "/HSBY/QueryMyCouponHolds": {
  8733. "get": {
  8734. "security": [
  8735. {
  8736. "ApiKeyAuth": []
  8737. }
  8738. ],
  8739. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  8740. "produces": [
  8741. "application/json"
  8742. ],
  8743. "tags": [
  8744. "定制【海商报业】"
  8745. ],
  8746. "summary": "我的优惠卷持仓查询",
  8747. "parameters": [
  8748. {
  8749. "type": "string",
  8750. "description": "资金账户列表,格式:1,2,3",
  8751. "name": "accountIDs",
  8752. "in": "query",
  8753. "required": true
  8754. },
  8755. {
  8756. "type": "string",
  8757. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  8758. "name": "holdStatus",
  8759. "in": "query"
  8760. }
  8761. ],
  8762. "responses": {
  8763. "200": {
  8764. "description": "OK",
  8765. "schema": {
  8766. "$ref": "#/definitions/models.MyCouponHold"
  8767. }
  8768. },
  8769. "500": {
  8770. "description": "Internal Server Error",
  8771. "schema": {
  8772. "$ref": "#/definitions/app.Response"
  8773. }
  8774. }
  8775. }
  8776. }
  8777. },
  8778. "/HSBY/QueryMyCoupons": {
  8779. "get": {
  8780. "security": [
  8781. {
  8782. "ApiKeyAuth": []
  8783. }
  8784. ],
  8785. "produces": [
  8786. "application/json"
  8787. ],
  8788. "tags": [
  8789. "定制【海商报业】"
  8790. ],
  8791. "summary": "我的优惠卷查询",
  8792. "parameters": [
  8793. {
  8794. "type": "string",
  8795. "description": "资金账户列表,格式:1,2,3",
  8796. "name": "accountIDs",
  8797. "in": "query",
  8798. "required": true
  8799. },
  8800. {
  8801. "type": "integer",
  8802. "description": "商品ID, 一般与sellUserID配套传入",
  8803. "name": "goodsID",
  8804. "in": "query"
  8805. },
  8806. {
  8807. "type": "integer",
  8808. "description": "卖方UserID",
  8809. "name": "sellUserID",
  8810. "in": "query"
  8811. }
  8812. ],
  8813. "responses": {
  8814. "200": {
  8815. "description": "OK",
  8816. "schema": {
  8817. "$ref": "#/definitions/models.MyCoupon"
  8818. }
  8819. },
  8820. "500": {
  8821. "description": "Internal Server Error",
  8822. "schema": {
  8823. "$ref": "#/definitions/app.Response"
  8824. }
  8825. }
  8826. }
  8827. }
  8828. },
  8829. "/HSBY/QueryMyPayOrders": {
  8830. "get": {
  8831. "security": [
  8832. {
  8833. "ApiKeyAuth": []
  8834. }
  8835. ],
  8836. "produces": [
  8837. "application/json"
  8838. ],
  8839. "tags": [
  8840. "定制【海商报业】"
  8841. ],
  8842. "summary": "获取我的订单中待付款信息",
  8843. "parameters": [
  8844. {
  8845. "type": "integer",
  8846. "description": "页码",
  8847. "name": "page",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "每页条数",
  8853. "name": "pagesize",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "string",
  8858. "description": "资金账户列表,格式:1,2,3",
  8859. "name": "accountIDs",
  8860. "in": "query",
  8861. "required": true
  8862. },
  8863. {
  8864. "type": "integer",
  8865. "description": "买方委托单号",
  8866. "name": "buyOrderID",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "integer",
  8871. "description": "卖方委托单号",
  8872. "name": "sellOrderID",
  8873. "in": "query"
  8874. }
  8875. ],
  8876. "responses": {
  8877. "200": {
  8878. "description": "OK",
  8879. "schema": {
  8880. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  8881. }
  8882. },
  8883. "500": {
  8884. "description": "Internal Server Error",
  8885. "schema": {
  8886. "$ref": "#/definitions/app.Response"
  8887. }
  8888. }
  8889. }
  8890. }
  8891. },
  8892. "/HSBY/QueryMyUsedCoupon": {
  8893. "get": {
  8894. "security": [
  8895. {
  8896. "ApiKeyAuth": []
  8897. }
  8898. ],
  8899. "produces": [
  8900. "application/json"
  8901. ],
  8902. "tags": [
  8903. "定制【海商报业】"
  8904. ],
  8905. "summary": "已使用优惠卷查询",
  8906. "parameters": [
  8907. {
  8908. "type": "string",
  8909. "description": "资金账户列表,格式:1,2,3",
  8910. "name": "accountIDs",
  8911. "in": "query",
  8912. "required": true
  8913. }
  8914. ],
  8915. "responses": {
  8916. "200": {
  8917. "description": "OK",
  8918. "schema": {
  8919. "$ref": "#/definitions/models.MyUsedCoupon"
  8920. }
  8921. },
  8922. "500": {
  8923. "description": "Internal Server Error",
  8924. "schema": {
  8925. "$ref": "#/definitions/app.Response"
  8926. }
  8927. }
  8928. }
  8929. }
  8930. },
  8931. "/HSBY/QueryProvincesAndCities": {
  8932. "get": {
  8933. "security": [
  8934. {
  8935. "ApiKeyAuth": []
  8936. }
  8937. ],
  8938. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  8939. "produces": [
  8940. "application/json"
  8941. ],
  8942. "tags": [
  8943. "定制【海商报业】"
  8944. ],
  8945. "summary": "查询省市信息(不包括区)",
  8946. "parameters": [
  8947. {
  8948. "type": "integer",
  8949. "description": "省ID",
  8950. "name": "provinceID",
  8951. "in": "query"
  8952. }
  8953. ],
  8954. "responses": {
  8955. "200": {
  8956. "description": "OK",
  8957. "schema": {
  8958. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  8959. }
  8960. },
  8961. "500": {
  8962. "description": "Internal Server Error",
  8963. "schema": {
  8964. "$ref": "#/definitions/app.Response"
  8965. }
  8966. }
  8967. }
  8968. }
  8969. },
  8970. "/HSBY/SetHsbyMyPackagesStatus": {
  8971. "post": {
  8972. "security": [
  8973. {
  8974. "ApiKeyAuth": []
  8975. }
  8976. ],
  8977. "produces": [
  8978. "application/json"
  8979. ],
  8980. "tags": [
  8981. "定制【海商报业】"
  8982. ],
  8983. "summary": "设置我的包裹已收货状态",
  8984. "parameters": [
  8985. {
  8986. "type": "string",
  8987. "description": "提货单号",
  8988. "name": "takeOrderID",
  8989. "in": "query",
  8990. "required": true
  8991. },
  8992. {
  8993. "type": "integer",
  8994. "description": "资金账号",
  8995. "name": "accountID",
  8996. "in": "query",
  8997. "required": true
  8998. }
  8999. ],
  9000. "responses": {
  9001. "200": {
  9002. "description": "OK",
  9003. "schema": {
  9004. "$ref": "#/definitions/app.Response"
  9005. }
  9006. },
  9007. "500": {
  9008. "description": "Internal Server Error",
  9009. "schema": {
  9010. "$ref": "#/definitions/app.Response"
  9011. }
  9012. }
  9013. }
  9014. }
  9015. },
  9016. "/Market/GetAllExExchanges": {
  9017. "get": {
  9018. "security": [
  9019. {
  9020. "ApiKeyAuth": []
  9021. }
  9022. ],
  9023. "produces": [
  9024. "application/json"
  9025. ],
  9026. "tags": [
  9027. "通用市场"
  9028. ],
  9029. "summary": "获取所有外部交易所信息",
  9030. "responses": {
  9031. "200": {
  9032. "description": "OK",
  9033. "schema": {
  9034. "$ref": "#/definitions/models.Goods"
  9035. }
  9036. },
  9037. "500": {
  9038. "description": "Internal Server Error",
  9039. "schema": {
  9040. "$ref": "#/definitions/app.Response"
  9041. }
  9042. }
  9043. }
  9044. }
  9045. },
  9046. "/Market/QueryGoodsesByLoginID": {
  9047. "get": {
  9048. "security": [
  9049. {
  9050. "ApiKeyAuth": []
  9051. }
  9052. ],
  9053. "produces": [
  9054. "application/json"
  9055. ],
  9056. "tags": [
  9057. "通用市场"
  9058. ],
  9059. "summary": "获取登录账号有权限的商品信息",
  9060. "parameters": [
  9061. {
  9062. "type": "integer",
  9063. "description": "登录账号",
  9064. "name": "loginID",
  9065. "in": "query",
  9066. "required": true
  9067. },
  9068. {
  9069. "type": "string",
  9070. "description": "市场ID列表,格式:1,2,3",
  9071. "name": "marketIDs",
  9072. "in": "query"
  9073. }
  9074. ],
  9075. "responses": {
  9076. "200": {
  9077. "description": "OK",
  9078. "schema": {
  9079. "$ref": "#/definitions/models.Goods"
  9080. }
  9081. },
  9082. "500": {
  9083. "description": "Internal Server Error",
  9084. "schema": {
  9085. "$ref": "#/definitions/app.Response"
  9086. }
  9087. }
  9088. }
  9089. }
  9090. },
  9091. "/Market/QueryMarketRun": {
  9092. "get": {
  9093. "security": [
  9094. {
  9095. "ApiKeyAuth": []
  9096. }
  9097. ],
  9098. "produces": [
  9099. "application/json"
  9100. ],
  9101. "tags": [
  9102. "通用市场"
  9103. ],
  9104. "summary": "查询市场运行信息",
  9105. "parameters": [
  9106. {
  9107. "type": "integer",
  9108. "description": "市场ID,不传返回所有",
  9109. "name": "marketID",
  9110. "in": "query"
  9111. }
  9112. ],
  9113. "responses": {
  9114. "200": {
  9115. "description": "OK",
  9116. "schema": {
  9117. "$ref": "#/definitions/models.Marketrun"
  9118. }
  9119. },
  9120. "500": {
  9121. "description": "Internal Server Error",
  9122. "schema": {
  9123. "$ref": "#/definitions/app.Response"
  9124. }
  9125. }
  9126. }
  9127. }
  9128. },
  9129. "/Market/QueryMarketsByLoginID": {
  9130. "get": {
  9131. "security": [
  9132. {
  9133. "ApiKeyAuth": []
  9134. }
  9135. ],
  9136. "produces": [
  9137. "application/json"
  9138. ],
  9139. "tags": [
  9140. "通用市场"
  9141. ],
  9142. "summary": "获取登录账号有权限的市场信息",
  9143. "parameters": [
  9144. {
  9145. "type": "integer",
  9146. "description": "登录账号",
  9147. "name": "loginID",
  9148. "in": "query",
  9149. "required": true
  9150. }
  9151. ],
  9152. "responses": {
  9153. "200": {
  9154. "description": "OK",
  9155. "schema": {
  9156. "$ref": "#/definitions/models.Market"
  9157. }
  9158. },
  9159. "500": {
  9160. "description": "Internal Server Error",
  9161. "schema": {
  9162. "$ref": "#/definitions/app.Response"
  9163. }
  9164. }
  9165. }
  9166. }
  9167. },
  9168. "/Order/QueryHisTradeDetail": {
  9169. "get": {
  9170. "security": [
  9171. {
  9172. "ApiKeyAuth": []
  9173. }
  9174. ],
  9175. "produces": [
  9176. "application/json"
  9177. ],
  9178. "tags": [
  9179. "通用单据"
  9180. ],
  9181. "summary": "历史成交单查询(合约市场)",
  9182. "parameters": [
  9183. {
  9184. "type": "string",
  9185. "description": "资金账户 - 格式:1,2,3",
  9186. "name": "accountID",
  9187. "in": "query",
  9188. "required": true
  9189. },
  9190. {
  9191. "type": "integer",
  9192. "description": "成交单号",
  9193. "name": "tradeID",
  9194. "in": "query"
  9195. },
  9196. {
  9197. "type": "integer",
  9198. "description": "委托单号",
  9199. "name": "orderID",
  9200. "in": "query"
  9201. },
  9202. {
  9203. "type": "integer",
  9204. "description": "商品ID",
  9205. "name": "goodsID",
  9206. "in": "query"
  9207. },
  9208. {
  9209. "type": "string",
  9210. "description": "交易模式 - 格式:1,2,3",
  9211. "name": "tradeMode",
  9212. "in": "query"
  9213. },
  9214. {
  9215. "type": "integer",
  9216. "description": "委托单据类型",
  9217. "name": "buildType",
  9218. "in": "query"
  9219. },
  9220. {
  9221. "type": "string",
  9222. "description": "成交类别 - 格式:1,2,3",
  9223. "name": "tradeType",
  9224. "in": "query"
  9225. },
  9226. {
  9227. "type": "string",
  9228. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9229. "name": "startDate",
  9230. "in": "query"
  9231. },
  9232. {
  9233. "type": "string",
  9234. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9235. "name": "endDate",
  9236. "in": "query"
  9237. }
  9238. ],
  9239. "responses": {
  9240. "200": {
  9241. "description": "OK",
  9242. "schema": {
  9243. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  9244. }
  9245. },
  9246. "500": {
  9247. "description": "Internal Server Error",
  9248. "schema": {
  9249. "$ref": "#/definitions/app.Response"
  9250. }
  9251. }
  9252. }
  9253. }
  9254. },
  9255. "/Order/QueryHisTradeOrderDetail": {
  9256. "get": {
  9257. "security": [
  9258. {
  9259. "ApiKeyAuth": []
  9260. }
  9261. ],
  9262. "produces": [
  9263. "application/json"
  9264. ],
  9265. "tags": [
  9266. "通用单据"
  9267. ],
  9268. "summary": "历史委托单查询请求(合约市场)",
  9269. "parameters": [
  9270. {
  9271. "type": "string",
  9272. "description": "资金账户 - 格式:1,2,3",
  9273. "name": "accountID",
  9274. "in": "query",
  9275. "required": true
  9276. },
  9277. {
  9278. "type": "string",
  9279. "description": "交易模式 - 格式:1,2,3",
  9280. "name": "tradeMode",
  9281. "in": "query"
  9282. },
  9283. {
  9284. "type": "string",
  9285. "description": "委托状态 - 格式:1,2,3",
  9286. "name": "orderStatus",
  9287. "in": "query"
  9288. },
  9289. {
  9290. "type": "integer",
  9291. "description": "委托单号",
  9292. "name": "orderID",
  9293. "in": "query"
  9294. },
  9295. {
  9296. "type": "string",
  9297. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9298. "name": "startDate",
  9299. "in": "query"
  9300. },
  9301. {
  9302. "type": "string",
  9303. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9304. "name": "endDate",
  9305. "in": "query"
  9306. }
  9307. ],
  9308. "responses": {
  9309. "200": {
  9310. "description": "OK",
  9311. "schema": {
  9312. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  9313. }
  9314. },
  9315. "500": {
  9316. "description": "Internal Server Error",
  9317. "schema": {
  9318. "$ref": "#/definitions/app.Response"
  9319. }
  9320. }
  9321. }
  9322. }
  9323. },
  9324. "/Order/QueryTradeDetail": {
  9325. "get": {
  9326. "security": [
  9327. {
  9328. "ApiKeyAuth": []
  9329. }
  9330. ],
  9331. "produces": [
  9332. "application/json"
  9333. ],
  9334. "tags": [
  9335. "通用单据"
  9336. ],
  9337. "summary": "成交单查询(合约市场)",
  9338. "parameters": [
  9339. {
  9340. "type": "string",
  9341. "description": "资金账户 - 格式:1,2,3",
  9342. "name": "accountID",
  9343. "in": "query",
  9344. "required": true
  9345. },
  9346. {
  9347. "type": "integer",
  9348. "description": "成交单号",
  9349. "name": "tradeID",
  9350. "in": "query"
  9351. },
  9352. {
  9353. "type": "integer",
  9354. "description": "委托单号",
  9355. "name": "orderID",
  9356. "in": "query"
  9357. },
  9358. {
  9359. "type": "string",
  9360. "description": "交易模式 - 格式:1,2,3",
  9361. "name": "tradeMode",
  9362. "in": "query"
  9363. },
  9364. {
  9365. "type": "integer",
  9366. "description": "委托单据类型",
  9367. "name": "buildType",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "string",
  9372. "description": "成交类别 - 格式:1,2,3",
  9373. "name": "tradeType",
  9374. "in": "query"
  9375. },
  9376. {
  9377. "type": "integer",
  9378. "description": "商品ID",
  9379. "name": "goodsID",
  9380. "in": "query"
  9381. }
  9382. ],
  9383. "responses": {
  9384. "200": {
  9385. "description": "OK",
  9386. "schema": {
  9387. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  9388. }
  9389. },
  9390. "500": {
  9391. "description": "Internal Server Error",
  9392. "schema": {
  9393. "$ref": "#/definitions/app.Response"
  9394. }
  9395. }
  9396. }
  9397. }
  9398. },
  9399. "/Order/QueryTradeHolderDetail": {
  9400. "get": {
  9401. "security": [
  9402. {
  9403. "ApiKeyAuth": []
  9404. }
  9405. ],
  9406. "produces": [
  9407. "application/json"
  9408. ],
  9409. "tags": [
  9410. "通用单据"
  9411. ],
  9412. "summary": "查询持仓明细",
  9413. "parameters": [
  9414. {
  9415. "type": "integer",
  9416. "description": "用户id",
  9417. "name": "userid",
  9418. "in": "query"
  9419. },
  9420. {
  9421. "type": "string",
  9422. "description": "资金账号, 格式 1,2,3",
  9423. "name": "accids",
  9424. "in": "query"
  9425. },
  9426. {
  9427. "type": "string",
  9428. "description": "交易模式, 格式 1,2,3",
  9429. "name": "trademodes",
  9430. "in": "query"
  9431. },
  9432. {
  9433. "type": "string",
  9434. "description": "市场id, 格式 1,2,3",
  9435. "name": "marketids",
  9436. "in": "query"
  9437. },
  9438. {
  9439. "type": "integer",
  9440. "description": "商品id",
  9441. "name": "goodsid",
  9442. "in": "query"
  9443. },
  9444. {
  9445. "type": "integer",
  9446. "description": "买卖方向 0-买 1-卖",
  9447. "name": "buyorsell",
  9448. "in": "query"
  9449. }
  9450. ],
  9451. "responses": {
  9452. "200": {
  9453. "description": "OK",
  9454. "schema": {
  9455. "type": "array",
  9456. "items": {
  9457. "$ref": "#/definitions/models.TradeHolderDetail"
  9458. }
  9459. }
  9460. },
  9461. "500": {
  9462. "description": "Internal Server Error",
  9463. "schema": {
  9464. "$ref": "#/definitions/app.Response"
  9465. }
  9466. }
  9467. }
  9468. }
  9469. },
  9470. "/Order/QueryTradeOrderDetail": {
  9471. "get": {
  9472. "security": [
  9473. {
  9474. "ApiKeyAuth": []
  9475. }
  9476. ],
  9477. "produces": [
  9478. "application/json"
  9479. ],
  9480. "tags": [
  9481. "通用单据"
  9482. ],
  9483. "summary": "委托单查询请求(合约市场)",
  9484. "parameters": [
  9485. {
  9486. "type": "string",
  9487. "description": "资金账户 - 格式:1,2,3",
  9488. "name": "accountID",
  9489. "in": "query",
  9490. "required": true
  9491. },
  9492. {
  9493. "type": "string",
  9494. "description": "交易模式 - 格式:1,2,3",
  9495. "name": "tradeMode",
  9496. "in": "query"
  9497. },
  9498. {
  9499. "type": "string",
  9500. "description": "委托状态 - 格式:1,2,3",
  9501. "name": "orderStatus",
  9502. "in": "query"
  9503. },
  9504. {
  9505. "type": "integer",
  9506. "description": "委托单号",
  9507. "name": "orderID",
  9508. "in": "query"
  9509. }
  9510. ],
  9511. "responses": {
  9512. "200": {
  9513. "description": "OK",
  9514. "schema": {
  9515. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9516. }
  9517. },
  9518. "500": {
  9519. "description": "Internal Server Error",
  9520. "schema": {
  9521. "$ref": "#/definitions/app.Response"
  9522. }
  9523. }
  9524. }
  9525. }
  9526. },
  9527. "/Order/QueryTradePosition": {
  9528. "get": {
  9529. "security": [
  9530. {
  9531. "ApiKeyAuth": []
  9532. }
  9533. ],
  9534. "produces": [
  9535. "application/json"
  9536. ],
  9537. "tags": [
  9538. "通用单据"
  9539. ],
  9540. "summary": "持仓汇总查询(合约市场)",
  9541. "parameters": [
  9542. {
  9543. "type": "string",
  9544. "description": "资金账户 - 格式:1,2,3",
  9545. "name": "accountID",
  9546. "in": "query",
  9547. "required": true
  9548. },
  9549. {
  9550. "type": "string",
  9551. "description": "交易模式 - 格式:1,2,3",
  9552. "name": "tradeMode",
  9553. "in": "query"
  9554. }
  9555. ],
  9556. "responses": {
  9557. "200": {
  9558. "description": "OK",
  9559. "schema": {
  9560. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9561. }
  9562. },
  9563. "500": {
  9564. "description": "Internal Server Error",
  9565. "schema": {
  9566. "$ref": "#/definitions/app.Response"
  9567. }
  9568. }
  9569. }
  9570. }
  9571. },
  9572. "/Qhj/QueryAccountInOutApply": {
  9573. "get": {
  9574. "security": [
  9575. {
  9576. "ApiKeyAuth": []
  9577. }
  9578. ],
  9579. "produces": [
  9580. "application/json"
  9581. ],
  9582. "tags": [
  9583. "大连千海金"
  9584. ],
  9585. "summary": "查询充值提现",
  9586. "parameters": [
  9587. {
  9588. "type": "integer",
  9589. "description": "用户ID",
  9590. "name": "userid",
  9591. "in": "query",
  9592. "required": true
  9593. },
  9594. {
  9595. "type": "string",
  9596. "description": "申请起始日期(格式yyyymmdd)",
  9597. "name": "begindate",
  9598. "in": "query"
  9599. },
  9600. {
  9601. "type": "string",
  9602. "description": "申请截止日期(格式yyyymmdd)",
  9603. "name": "enddate",
  9604. "in": "query"
  9605. },
  9606. {
  9607. "type": "string",
  9608. "description": "模糊搜索名称",
  9609. "name": "likename",
  9610. "in": "query"
  9611. },
  9612. {
  9613. "type": "integer",
  9614. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9615. "name": "applystatus",
  9616. "in": "query"
  9617. },
  9618. {
  9619. "type": "integer",
  9620. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9621. "name": "querytype",
  9622. "in": "query"
  9623. }
  9624. ],
  9625. "responses": {
  9626. "200": {
  9627. "description": "OK",
  9628. "schema": {
  9629. "type": "array",
  9630. "items": {
  9631. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9632. }
  9633. }
  9634. },
  9635. "500": {
  9636. "description": "Internal Server Error",
  9637. "schema": {
  9638. "$ref": "#/definitions/app.Response"
  9639. }
  9640. }
  9641. }
  9642. }
  9643. },
  9644. "/Qhj/QueryAreaFinanceConfig": {
  9645. "get": {
  9646. "security": [
  9647. {
  9648. "ApiKeyAuth": []
  9649. }
  9650. ],
  9651. "produces": [
  9652. "application/json"
  9653. ],
  9654. "tags": [
  9655. "大连千海金"
  9656. ],
  9657. "summary": "查询企业配置表",
  9658. "parameters": [
  9659. {
  9660. "type": "integer",
  9661. "description": "机构用户ID 其他做市关系,都设置为 1",
  9662. "name": "userid",
  9663. "in": "query"
  9664. }
  9665. ],
  9666. "responses": {
  9667. "200": {
  9668. "description": "OK",
  9669. "schema": {
  9670. "type": "array",
  9671. "items": {
  9672. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9673. }
  9674. }
  9675. },
  9676. "500": {
  9677. "description": "Internal Server Error",
  9678. "schema": {
  9679. "$ref": "#/definitions/app.Response"
  9680. }
  9681. }
  9682. }
  9683. }
  9684. },
  9685. "/Qhj/QueryBankAccountSign": {
  9686. "get": {
  9687. "security": [
  9688. {
  9689. "ApiKeyAuth": []
  9690. }
  9691. ],
  9692. "produces": [
  9693. "application/json"
  9694. ],
  9695. "tags": [
  9696. "大连千海金"
  9697. ],
  9698. "summary": "查询签约银行信息(提现账户管理)",
  9699. "parameters": [
  9700. {
  9701. "type": "integer",
  9702. "description": "用户ID",
  9703. "name": "userid",
  9704. "in": "query",
  9705. "required": true
  9706. }
  9707. ],
  9708. "responses": {
  9709. "200": {
  9710. "description": "OK",
  9711. "schema": {
  9712. "type": "array",
  9713. "items": {
  9714. "$ref": "#/definitions/models.QhjBankAccountSign"
  9715. }
  9716. }
  9717. },
  9718. "500": {
  9719. "description": "Internal Server Error",
  9720. "schema": {
  9721. "$ref": "#/definitions/app.Response"
  9722. }
  9723. }
  9724. }
  9725. }
  9726. },
  9727. "/Qhj/QueryBankInfo": {
  9728. "get": {
  9729. "security": [
  9730. {
  9731. "ApiKeyAuth": []
  9732. }
  9733. ],
  9734. "produces": [
  9735. "application/json"
  9736. ],
  9737. "tags": [
  9738. "大连千海金"
  9739. ],
  9740. "summary": "查询开户行",
  9741. "responses": {
  9742. "200": {
  9743. "description": "OK",
  9744. "schema": {
  9745. "type": "array",
  9746. "items": {
  9747. "$ref": "#/definitions/models.QhjBankInfo"
  9748. }
  9749. }
  9750. },
  9751. "500": {
  9752. "description": "Internal Server Error",
  9753. "schema": {
  9754. "$ref": "#/definitions/app.Response"
  9755. }
  9756. }
  9757. }
  9758. }
  9759. },
  9760. "/Qhj/QueryBrokerApply": {
  9761. "get": {
  9762. "security": [
  9763. {
  9764. "ApiKeyAuth": []
  9765. }
  9766. ],
  9767. "produces": [
  9768. "application/json"
  9769. ],
  9770. "tags": [
  9771. "大连千海金"
  9772. ],
  9773. "summary": "查询经纪人申请",
  9774. "parameters": [
  9775. {
  9776. "type": "integer",
  9777. "description": "所属机构ID",
  9778. "name": "userid",
  9779. "in": "query"
  9780. },
  9781. {
  9782. "type": "string",
  9783. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9784. "name": "filterstatus",
  9785. "in": "query"
  9786. }
  9787. ],
  9788. "responses": {
  9789. "200": {
  9790. "description": "OK",
  9791. "schema": {
  9792. "type": "array",
  9793. "items": {
  9794. "$ref": "#/definitions/models.QhjBrokerApply"
  9795. }
  9796. }
  9797. },
  9798. "500": {
  9799. "description": "Internal Server Error",
  9800. "schema": {
  9801. "$ref": "#/definitions/app.Response"
  9802. }
  9803. }
  9804. }
  9805. }
  9806. },
  9807. "/Qhj/QueryBrokerApplyEx": {
  9808. "get": {
  9809. "security": [
  9810. {
  9811. "ApiKeyAuth": []
  9812. }
  9813. ],
  9814. "produces": [
  9815. "application/json"
  9816. ],
  9817. "tags": [
  9818. "大连千海金"
  9819. ],
  9820. "summary": "查询经纪人信息和申请记录",
  9821. "parameters": [
  9822. {
  9823. "type": "integer",
  9824. "description": "所属机构ID",
  9825. "name": "userid",
  9826. "in": "query"
  9827. }
  9828. ],
  9829. "responses": {
  9830. "200": {
  9831. "description": "OK",
  9832. "schema": {
  9833. "type": "array",
  9834. "items": {
  9835. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9836. }
  9837. }
  9838. },
  9839. "500": {
  9840. "description": "Internal Server Error",
  9841. "schema": {
  9842. "$ref": "#/definitions/app.Response"
  9843. }
  9844. }
  9845. }
  9846. }
  9847. },
  9848. "/Qhj/QueryBrokerRewardLog": {
  9849. "get": {
  9850. "security": [
  9851. {
  9852. "ApiKeyAuth": []
  9853. }
  9854. ],
  9855. "produces": [
  9856. "application/json"
  9857. ],
  9858. "tags": [
  9859. "大连千海金"
  9860. ],
  9861. "summary": "查询奖励流水(我的奖励)",
  9862. "parameters": [
  9863. {
  9864. "type": "integer",
  9865. "description": "用户ID",
  9866. "name": "userid",
  9867. "in": "query",
  9868. "required": true
  9869. },
  9870. {
  9871. "type": "string",
  9872. "description": "开始交易日(yyyymmdd)",
  9873. "name": "begindate",
  9874. "in": "query"
  9875. },
  9876. {
  9877. "type": "string",
  9878. "description": "结束交易日(yyyymmdd)",
  9879. "name": "enddate",
  9880. "in": "query"
  9881. }
  9882. ],
  9883. "responses": {
  9884. "200": {
  9885. "description": "OK",
  9886. "schema": {
  9887. "type": "array",
  9888. "items": {
  9889. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9890. }
  9891. }
  9892. },
  9893. "500": {
  9894. "description": "Internal Server Error",
  9895. "schema": {
  9896. "$ref": "#/definitions/app.Response"
  9897. }
  9898. }
  9899. }
  9900. }
  9901. },
  9902. "/Qhj/QueryContract": {
  9903. "get": {
  9904. "security": [
  9905. {
  9906. "ApiKeyAuth": []
  9907. }
  9908. ],
  9909. "produces": [
  9910. "application/json"
  9911. ],
  9912. "tags": [
  9913. "大连千海金"
  9914. ],
  9915. "summary": "查询融资明细(合同)",
  9916. "parameters": [
  9917. {
  9918. "type": "integer",
  9919. "description": "用户ID",
  9920. "name": "userid",
  9921. "in": "query"
  9922. },
  9923. {
  9924. "type": "integer",
  9925. "description": "scf合同id",
  9926. "name": "scfcontractid",
  9927. "in": "query"
  9928. }
  9929. ],
  9930. "responses": {
  9931. "200": {
  9932. "description": "OK",
  9933. "schema": {
  9934. "type": "array",
  9935. "items": {
  9936. "$ref": "#/definitions/models.QhjContract"
  9937. }
  9938. }
  9939. },
  9940. "500": {
  9941. "description": "Internal Server Error",
  9942. "schema": {
  9943. "$ref": "#/definitions/app.Response"
  9944. }
  9945. }
  9946. }
  9947. }
  9948. },
  9949. "/Qhj/QueryContractLog": {
  9950. "get": {
  9951. "security": [
  9952. {
  9953. "ApiKeyAuth": []
  9954. }
  9955. ],
  9956. "produces": [
  9957. "application/json"
  9958. ],
  9959. "tags": [
  9960. "大连千海金"
  9961. ],
  9962. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9963. "parameters": [
  9964. {
  9965. "type": "integer",
  9966. "description": "scf合同id",
  9967. "name": "scfcontractid",
  9968. "in": "query",
  9969. "required": true
  9970. },
  9971. {
  9972. "type": "string",
  9973. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9974. "name": "amounttype",
  9975. "in": "query"
  9976. }
  9977. ],
  9978. "responses": {
  9979. "200": {
  9980. "description": "OK",
  9981. "schema": {
  9982. "type": "array",
  9983. "items": {
  9984. "$ref": "#/definitions/models.QhjContractLog"
  9985. }
  9986. }
  9987. },
  9988. "500": {
  9989. "description": "Internal Server Error",
  9990. "schema": {
  9991. "$ref": "#/definitions/app.Response"
  9992. }
  9993. }
  9994. }
  9995. }
  9996. },
  9997. "/Qhj/QueryCusBankSignBank": {
  9998. "get": {
  9999. "security": [
  10000. {
  10001. "ApiKeyAuth": []
  10002. }
  10003. ],
  10004. "produces": [
  10005. "application/json"
  10006. ],
  10007. "tags": [
  10008. "大连千海金"
  10009. ],
  10010. "summary": "查询托管银行",
  10011. "responses": {
  10012. "200": {
  10013. "description": "OK",
  10014. "schema": {
  10015. "type": "array",
  10016. "items": {
  10017. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  10018. }
  10019. }
  10020. },
  10021. "500": {
  10022. "description": "Internal Server Error",
  10023. "schema": {
  10024. "$ref": "#/definitions/app.Response"
  10025. }
  10026. }
  10027. }
  10028. }
  10029. },
  10030. "/Qhj/QueryCustomerInfo": {
  10031. "get": {
  10032. "security": [
  10033. {
  10034. "ApiKeyAuth": []
  10035. }
  10036. ],
  10037. "produces": [
  10038. "application/json"
  10039. ],
  10040. "tags": [
  10041. "大连千海金"
  10042. ],
  10043. "summary": "查询客户资料",
  10044. "parameters": [
  10045. {
  10046. "type": "integer",
  10047. "description": "用户ID",
  10048. "name": "userid",
  10049. "in": "query",
  10050. "required": true
  10051. },
  10052. {
  10053. "type": "integer",
  10054. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10055. "name": "querytype",
  10056. "in": "query",
  10057. "required": true
  10058. },
  10059. {
  10060. "type": "integer",
  10061. "description": "客户类型 1-个人 2-企业",
  10062. "name": "userinfotype",
  10063. "in": "query"
  10064. },
  10065. {
  10066. "type": "string",
  10067. "description": "客户名称(模糊匹配)",
  10068. "name": "customername",
  10069. "in": "query"
  10070. },
  10071. {
  10072. "type": "string",
  10073. "description": "昵称(模糊匹配)",
  10074. "name": "nickname",
  10075. "in": "query"
  10076. },
  10077. {
  10078. "type": "integer",
  10079. "description": "是否包含子级 1-包含",
  10080. "name": "includesub",
  10081. "in": "query"
  10082. }
  10083. ],
  10084. "responses": {
  10085. "200": {
  10086. "description": "OK",
  10087. "schema": {
  10088. "type": "array",
  10089. "items": {
  10090. "$ref": "#/definitions/models.QhjCustomer"
  10091. }
  10092. }
  10093. },
  10094. "500": {
  10095. "description": "Internal Server Error",
  10096. "schema": {
  10097. "$ref": "#/definitions/app.Response"
  10098. }
  10099. }
  10100. }
  10101. }
  10102. },
  10103. "/Qhj/QueryGoodsEx": {
  10104. "get": {
  10105. "security": [
  10106. {
  10107. "ApiKeyAuth": []
  10108. }
  10109. ],
  10110. "produces": [
  10111. "application/json"
  10112. ],
  10113. "tags": [
  10114. "大连千海金"
  10115. ],
  10116. "summary": "交易商品扩展表",
  10117. "parameters": [
  10118. {
  10119. "type": "integer",
  10120. "description": "商品id",
  10121. "name": "goodsid",
  10122. "in": "query"
  10123. }
  10124. ],
  10125. "responses": {
  10126. "200": {
  10127. "description": "OK",
  10128. "schema": {
  10129. "type": "array",
  10130. "items": {
  10131. "$ref": "#/definitions/models.Qhjgoodsex"
  10132. }
  10133. }
  10134. },
  10135. "500": {
  10136. "description": "Internal Server Error",
  10137. "schema": {
  10138. "$ref": "#/definitions/app.Response"
  10139. }
  10140. }
  10141. }
  10142. }
  10143. },
  10144. "/Qhj/QueryMyTeam": {
  10145. "get": {
  10146. "security": [
  10147. {
  10148. "ApiKeyAuth": []
  10149. }
  10150. ],
  10151. "produces": [
  10152. "application/json"
  10153. ],
  10154. "tags": [
  10155. "大连千海金"
  10156. ],
  10157. "summary": "查询我的团队",
  10158. "parameters": [
  10159. {
  10160. "type": "integer",
  10161. "description": "用户ID",
  10162. "name": "userid",
  10163. "in": "query",
  10164. "required": true
  10165. }
  10166. ],
  10167. "responses": {
  10168. "200": {
  10169. "description": "OK",
  10170. "schema": {
  10171. "type": "array",
  10172. "items": {
  10173. "$ref": "#/definitions/models.QhjMyTeamEx"
  10174. }
  10175. }
  10176. },
  10177. "500": {
  10178. "description": "Internal Server Error",
  10179. "schema": {
  10180. "$ref": "#/definitions/app.Response"
  10181. }
  10182. }
  10183. }
  10184. }
  10185. },
  10186. "/Qhj/QueryMyTeamOrder": {
  10187. "get": {
  10188. "security": [
  10189. {
  10190. "ApiKeyAuth": []
  10191. }
  10192. ],
  10193. "produces": [
  10194. "application/json"
  10195. ],
  10196. "tags": [
  10197. "大连千海金"
  10198. ],
  10199. "summary": "查询团队订单(我的团队/团队订单)",
  10200. "parameters": [
  10201. {
  10202. "type": "integer",
  10203. "description": "页码",
  10204. "name": "page",
  10205. "in": "query"
  10206. },
  10207. {
  10208. "type": "integer",
  10209. "description": "每页条数",
  10210. "name": "pagesize",
  10211. "in": "query"
  10212. },
  10213. {
  10214. "type": "integer",
  10215. "description": "用户ID",
  10216. "name": "userid",
  10217. "in": "query",
  10218. "required": true
  10219. },
  10220. {
  10221. "type": "integer",
  10222. "description": "交易模式",
  10223. "name": "trademode",
  10224. "in": "query"
  10225. },
  10226. {
  10227. "type": "string",
  10228. "description": "名称(模糊搜索账户)",
  10229. "name": "filtername",
  10230. "in": "query"
  10231. }
  10232. ],
  10233. "responses": {
  10234. "200": {
  10235. "description": "OK",
  10236. "schema": {
  10237. "type": "array",
  10238. "items": {
  10239. "$ref": "#/definitions/models.QhjTeamOrder"
  10240. }
  10241. }
  10242. },
  10243. "500": {
  10244. "description": "Internal Server Error",
  10245. "schema": {
  10246. "$ref": "#/definitions/app.Response"
  10247. }
  10248. }
  10249. }
  10250. }
  10251. },
  10252. "/Qhj/QueryParentAreaList": {
  10253. "get": {
  10254. "security": [
  10255. {
  10256. "ApiKeyAuth": []
  10257. }
  10258. ],
  10259. "produces": [
  10260. "application/json"
  10261. ],
  10262. "tags": [
  10263. "大连千海金"
  10264. ],
  10265. "summary": "查询所属机构列表",
  10266. "parameters": [
  10267. {
  10268. "type": "integer",
  10269. "description": "用户ID",
  10270. "name": "userid",
  10271. "in": "query",
  10272. "required": true
  10273. }
  10274. ],
  10275. "responses": {
  10276. "200": {
  10277. "description": "OK",
  10278. "schema": {
  10279. "type": "array",
  10280. "items": {
  10281. "$ref": "#/definitions/models.QhjParentAreaList"
  10282. }
  10283. }
  10284. },
  10285. "500": {
  10286. "description": "Internal Server Error",
  10287. "schema": {
  10288. "$ref": "#/definitions/app.Response"
  10289. }
  10290. }
  10291. }
  10292. }
  10293. },
  10294. "/Qhj/QueryPayOrder": {
  10295. "get": {
  10296. "security": [
  10297. {
  10298. "ApiKeyAuth": []
  10299. }
  10300. ],
  10301. "produces": [
  10302. "application/json"
  10303. ],
  10304. "tags": [
  10305. "大连千海金"
  10306. ],
  10307. "summary": "查询待付款单据",
  10308. "parameters": [
  10309. {
  10310. "type": "integer",
  10311. "description": "资金账号id",
  10312. "name": "accountid",
  10313. "in": "query",
  10314. "required": true
  10315. },
  10316. {
  10317. "type": "integer",
  10318. "description": "成交单号",
  10319. "name": "tradeid",
  10320. "in": "query"
  10321. },
  10322. {
  10323. "type": "string",
  10324. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10325. "name": "payflag",
  10326. "in": "query"
  10327. }
  10328. ],
  10329. "responses": {
  10330. "200": {
  10331. "description": "OK",
  10332. "schema": {
  10333. "type": "array",
  10334. "items": {
  10335. "$ref": "#/definitions/models.QhjPayOrder"
  10336. }
  10337. }
  10338. },
  10339. "500": {
  10340. "description": "Internal Server Error",
  10341. "schema": {
  10342. "$ref": "#/definitions/app.Response"
  10343. }
  10344. }
  10345. }
  10346. }
  10347. },
  10348. "/Qhj/QueryPickArea": {
  10349. "get": {
  10350. "security": [
  10351. {
  10352. "ApiKeyAuth": []
  10353. }
  10354. ],
  10355. "produces": [
  10356. "application/json"
  10357. ],
  10358. "tags": [
  10359. "大连千海金"
  10360. ],
  10361. "summary": "查询提货门店",
  10362. "parameters": [
  10363. {
  10364. "type": "integer",
  10365. "description": "用户ID",
  10366. "name": "userid",
  10367. "in": "query"
  10368. }
  10369. ],
  10370. "responses": {
  10371. "200": {
  10372. "description": "OK",
  10373. "schema": {
  10374. "type": "array",
  10375. "items": {
  10376. "$ref": "#/definitions/models.QhjPickArea"
  10377. }
  10378. }
  10379. },
  10380. "500": {
  10381. "description": "Internal Server Error",
  10382. "schema": {
  10383. "$ref": "#/definitions/app.Response"
  10384. }
  10385. }
  10386. }
  10387. }
  10388. },
  10389. "/Qhj/QueryPickGoods": {
  10390. "get": {
  10391. "security": [
  10392. {
  10393. "ApiKeyAuth": []
  10394. }
  10395. ],
  10396. "produces": [
  10397. "application/json"
  10398. ],
  10399. "tags": [
  10400. "大连千海金"
  10401. ],
  10402. "summary": "查询提货商品",
  10403. "parameters": [
  10404. {
  10405. "type": "integer",
  10406. "description": "交易商品id",
  10407. "name": "goodsid",
  10408. "in": "query",
  10409. "required": true
  10410. },
  10411. {
  10412. "type": "string",
  10413. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10414. "name": "status",
  10415. "in": "query"
  10416. }
  10417. ],
  10418. "responses": {
  10419. "200": {
  10420. "description": "OK",
  10421. "schema": {
  10422. "type": "array",
  10423. "items": {
  10424. "$ref": "#/definitions/models.QhjPickGoods"
  10425. }
  10426. }
  10427. },
  10428. "500": {
  10429. "description": "Internal Server Error",
  10430. "schema": {
  10431. "$ref": "#/definitions/app.Response"
  10432. }
  10433. }
  10434. }
  10435. }
  10436. },
  10437. "/Qhj/QueryRSTriggerLog": {
  10438. "get": {
  10439. "security": [
  10440. {
  10441. "ApiKeyAuth": []
  10442. }
  10443. ],
  10444. "produces": [
  10445. "application/json"
  10446. ],
  10447. "tags": [
  10448. "大连千海金"
  10449. ],
  10450. "summary": "查询定投记录(定投管理/详情/定投记录)",
  10451. "parameters": [
  10452. {
  10453. "type": "integer",
  10454. "description": "用户ID",
  10455. "name": "userid",
  10456. "in": "query"
  10457. },
  10458. {
  10459. "type": "integer",
  10460. "description": "定投策略id",
  10461. "name": "regularlystrategyid",
  10462. "in": "query"
  10463. },
  10464. {
  10465. "type": "integer",
  10466. "description": "商品id",
  10467. "name": "goodsid",
  10468. "in": "query"
  10469. },
  10470. {
  10471. "type": "string",
  10472. "description": "开始交易日(yyyymmdd)",
  10473. "name": "begindate",
  10474. "in": "query"
  10475. },
  10476. {
  10477. "type": "string",
  10478. "description": "结束交易日(yyyymmdd)",
  10479. "name": "enddate",
  10480. "in": "query"
  10481. },
  10482. {
  10483. "type": "string",
  10484. "description": "名称(模糊搜索账户)",
  10485. "name": "filtername",
  10486. "in": "query"
  10487. }
  10488. ],
  10489. "responses": {
  10490. "200": {
  10491. "description": "OK",
  10492. "schema": {
  10493. "type": "array",
  10494. "items": {
  10495. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10496. }
  10497. }
  10498. },
  10499. "500": {
  10500. "description": "Internal Server Error",
  10501. "schema": {
  10502. "$ref": "#/definitions/app.Response"
  10503. }
  10504. }
  10505. }
  10506. }
  10507. },
  10508. "/Qhj/QueryRStrategy": {
  10509. "get": {
  10510. "security": [
  10511. {
  10512. "ApiKeyAuth": []
  10513. }
  10514. ],
  10515. "produces": [
  10516. "application/json"
  10517. ],
  10518. "tags": [
  10519. "大连千海金"
  10520. ],
  10521. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10522. "parameters": [
  10523. {
  10524. "type": "integer",
  10525. "description": "用户ID",
  10526. "name": "userid",
  10527. "in": "query"
  10528. },
  10529. {
  10530. "type": "integer",
  10531. "description": "商品id",
  10532. "name": "goodsid",
  10533. "in": "query"
  10534. },
  10535. {
  10536. "type": "string",
  10537. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10538. "name": "status",
  10539. "in": "query"
  10540. },
  10541. {
  10542. "type": "string",
  10543. "description": "名称(模糊搜索账户)",
  10544. "name": "filtername",
  10545. "in": "query"
  10546. }
  10547. ],
  10548. "responses": {
  10549. "200": {
  10550. "description": "OK",
  10551. "schema": {
  10552. "type": "array",
  10553. "items": {
  10554. "$ref": "#/definitions/models.QhjRStrategy"
  10555. }
  10556. }
  10557. },
  10558. "500": {
  10559. "description": "Internal Server Error",
  10560. "schema": {
  10561. "$ref": "#/definitions/app.Response"
  10562. }
  10563. }
  10564. }
  10565. }
  10566. },
  10567. "/Qhj/QueryReckonPriceLog": {
  10568. "get": {
  10569. "security": [
  10570. {
  10571. "ApiKeyAuth": []
  10572. }
  10573. ],
  10574. "produces": [
  10575. "application/json"
  10576. ],
  10577. "tags": [
  10578. "大连千海金"
  10579. ],
  10580. "summary": "查询定投价(结算价)",
  10581. "parameters": [
  10582. {
  10583. "type": "integer",
  10584. "description": "商品ID",
  10585. "name": "goodsid",
  10586. "in": "query"
  10587. },
  10588. {
  10589. "type": "string",
  10590. "description": "交易日 格式(yyyymmdd)",
  10591. "name": "tradedate",
  10592. "in": "query"
  10593. }
  10594. ],
  10595. "responses": {
  10596. "200": {
  10597. "description": "OK",
  10598. "schema": {
  10599. "type": "array",
  10600. "items": {
  10601. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10602. }
  10603. }
  10604. },
  10605. "500": {
  10606. "description": "Internal Server Error",
  10607. "schema": {
  10608. "$ref": "#/definitions/app.Response"
  10609. }
  10610. }
  10611. }
  10612. }
  10613. },
  10614. "/Qhj/QueryScoreLog": {
  10615. "get": {
  10616. "security": [
  10617. {
  10618. "ApiKeyAuth": []
  10619. }
  10620. ],
  10621. "produces": [
  10622. "application/json"
  10623. ],
  10624. "tags": [
  10625. "大连千海金"
  10626. ],
  10627. "summary": "查询积分流水(我的积分)",
  10628. "parameters": [
  10629. {
  10630. "type": "integer",
  10631. "description": "用户ID",
  10632. "name": "userid",
  10633. "in": "query",
  10634. "required": true
  10635. },
  10636. {
  10637. "type": "string",
  10638. "description": "开始交易日(yyyymmdd)",
  10639. "name": "begindate",
  10640. "in": "query"
  10641. },
  10642. {
  10643. "type": "string",
  10644. "description": "结束交易日(yyyymmdd)",
  10645. "name": "enddate",
  10646. "in": "query"
  10647. },
  10648. {
  10649. "type": "integer",
  10650. "description": "最近多少条",
  10651. "name": "lastnum",
  10652. "in": "query"
  10653. }
  10654. ],
  10655. "responses": {
  10656. "200": {
  10657. "description": "OK",
  10658. "schema": {
  10659. "type": "array",
  10660. "items": {
  10661. "$ref": "#/definitions/models.QhjScoreLog"
  10662. }
  10663. }
  10664. },
  10665. "500": {
  10666. "description": "Internal Server Error",
  10667. "schema": {
  10668. "$ref": "#/definitions/app.Response"
  10669. }
  10670. }
  10671. }
  10672. }
  10673. },
  10674. "/Qhj/QuerySiteColumnDetail": {
  10675. "get": {
  10676. "security": [
  10677. {
  10678. "ApiKeyAuth": []
  10679. }
  10680. ],
  10681. "produces": [
  10682. "application/json"
  10683. ],
  10684. "tags": [
  10685. "大连千海金"
  10686. ],
  10687. "summary": "查询资讯",
  10688. "parameters": [
  10689. {
  10690. "type": "integer",
  10691. "description": "用户ID",
  10692. "name": "userid",
  10693. "in": "query",
  10694. "required": true
  10695. }
  10696. ],
  10697. "responses": {
  10698. "200": {
  10699. "description": "OK",
  10700. "schema": {
  10701. "type": "array",
  10702. "items": {
  10703. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10704. }
  10705. }
  10706. },
  10707. "500": {
  10708. "description": "Internal Server Error",
  10709. "schema": {
  10710. "$ref": "#/definitions/app.Response"
  10711. }
  10712. }
  10713. }
  10714. }
  10715. },
  10716. "/Qhj/QueryTradeGoodsPickup": {
  10717. "get": {
  10718. "security": [
  10719. {
  10720. "ApiKeyAuth": []
  10721. }
  10722. ],
  10723. "produces": [
  10724. "application/json"
  10725. ],
  10726. "tags": [
  10727. "大连千海金"
  10728. ],
  10729. "summary": "查询提货",
  10730. "parameters": [
  10731. {
  10732. "type": "integer",
  10733. "description": "用户ID",
  10734. "name": "userid",
  10735. "in": "query",
  10736. "required": true
  10737. },
  10738. {
  10739. "type": "integer",
  10740. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10741. "name": "takeorderstatus",
  10742. "in": "query"
  10743. }
  10744. ],
  10745. "responses": {
  10746. "200": {
  10747. "description": "OK",
  10748. "schema": {
  10749. "type": "array",
  10750. "items": {
  10751. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10752. }
  10753. }
  10754. },
  10755. "500": {
  10756. "description": "Internal Server Error",
  10757. "schema": {
  10758. "$ref": "#/definitions/app.Response"
  10759. }
  10760. }
  10761. }
  10762. }
  10763. },
  10764. "/Qhj/QueryUserCollectConfig": {
  10765. "get": {
  10766. "security": [
  10767. {
  10768. "ApiKeyAuth": []
  10769. }
  10770. ],
  10771. "produces": [
  10772. "application/json"
  10773. ],
  10774. "tags": [
  10775. "大连千海金"
  10776. ],
  10777. "summary": "查询提现账户设置",
  10778. "parameters": [
  10779. {
  10780. "type": "integer",
  10781. "description": "用户ID",
  10782. "name": "userid",
  10783. "in": "query",
  10784. "required": true
  10785. }
  10786. ],
  10787. "responses": {
  10788. "200": {
  10789. "description": "OK",
  10790. "schema": {
  10791. "type": "array",
  10792. "items": {
  10793. "$ref": "#/definitions/models.UserCollectConfig"
  10794. }
  10795. }
  10796. },
  10797. "500": {
  10798. "description": "Internal Server Error",
  10799. "schema": {
  10800. "$ref": "#/definitions/app.Response"
  10801. }
  10802. }
  10803. }
  10804. }
  10805. },
  10806. "/Qhj/QueryUserReceiveInfo": {
  10807. "get": {
  10808. "security": [
  10809. {
  10810. "ApiKeyAuth": []
  10811. }
  10812. ],
  10813. "produces": [
  10814. "application/json"
  10815. ],
  10816. "tags": [
  10817. "大连千海金"
  10818. ],
  10819. "summary": "查询收货地址信息",
  10820. "parameters": [
  10821. {
  10822. "type": "integer",
  10823. "description": "用户ID",
  10824. "name": "userid",
  10825. "in": "query",
  10826. "required": true
  10827. }
  10828. ],
  10829. "responses": {
  10830. "200": {
  10831. "description": "OK",
  10832. "schema": {
  10833. "type": "array",
  10834. "items": {
  10835. "$ref": "#/definitions/models.UserReceiveInfo"
  10836. }
  10837. }
  10838. },
  10839. "500": {
  10840. "description": "Internal Server Error",
  10841. "schema": {
  10842. "$ref": "#/definitions/app.Response"
  10843. }
  10844. }
  10845. }
  10846. }
  10847. },
  10848. "/QhjMgr/QueryAccountInOutApply": {
  10849. "get": {
  10850. "security": [
  10851. {
  10852. "ApiKeyAuth": []
  10853. }
  10854. ],
  10855. "produces": [
  10856. "application/json"
  10857. ],
  10858. "tags": [
  10859. "大连千海金(PCWeb)"
  10860. ],
  10861. "summary": "查询充值提现",
  10862. "parameters": [
  10863. {
  10864. "type": "integer",
  10865. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10866. "name": "querytype",
  10867. "in": "query",
  10868. "required": true
  10869. },
  10870. {
  10871. "type": "integer",
  10872. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10873. "name": "applystatus",
  10874. "in": "query"
  10875. },
  10876. {
  10877. "type": "string",
  10878. "description": "申请起始日期(格式yyyymmdd)",
  10879. "name": "begindate",
  10880. "in": "query"
  10881. },
  10882. {
  10883. "type": "string",
  10884. "description": "申请截止日期(格式yyyymmdd)",
  10885. "name": "enddate",
  10886. "in": "query"
  10887. },
  10888. {
  10889. "type": "string",
  10890. "description": "模糊搜索名称",
  10891. "name": "likename",
  10892. "in": "query"
  10893. }
  10894. ],
  10895. "responses": {
  10896. "200": {
  10897. "description": "OK",
  10898. "schema": {
  10899. "type": "array",
  10900. "items": {
  10901. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10902. }
  10903. }
  10904. },
  10905. "500": {
  10906. "description": "Internal Server Error",
  10907. "schema": {
  10908. "$ref": "#/definitions/app.Response"
  10909. }
  10910. }
  10911. }
  10912. }
  10913. },
  10914. "/QhjMgr/QueryBrokerApply": {
  10915. "get": {
  10916. "security": [
  10917. {
  10918. "ApiKeyAuth": []
  10919. }
  10920. ],
  10921. "produces": [
  10922. "application/json"
  10923. ],
  10924. "tags": [
  10925. "大连千海金(PCWeb)"
  10926. ],
  10927. "summary": "查询经纪人申请",
  10928. "parameters": [
  10929. {
  10930. "type": "integer",
  10931. "description": "所属机构ID",
  10932. "name": "userid",
  10933. "in": "query"
  10934. },
  10935. {
  10936. "type": "string",
  10937. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10938. "name": "filterstatus",
  10939. "in": "query"
  10940. },
  10941. {
  10942. "type": "string",
  10943. "description": "名称(模糊匹配)",
  10944. "name": "filtername",
  10945. "in": "query"
  10946. },
  10947. {
  10948. "type": "integer",
  10949. "description": "是否包含子级 1-包含",
  10950. "name": "includesub",
  10951. "in": "query"
  10952. }
  10953. ],
  10954. "responses": {
  10955. "200": {
  10956. "description": "OK",
  10957. "schema": {
  10958. "type": "array",
  10959. "items": {
  10960. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10961. }
  10962. }
  10963. },
  10964. "500": {
  10965. "description": "Internal Server Error",
  10966. "schema": {
  10967. "$ref": "#/definitions/app.Response"
  10968. }
  10969. }
  10970. }
  10971. }
  10972. },
  10973. "/QhjMgr/QueryBrokerRewardReport": {
  10974. "get": {
  10975. "security": [
  10976. {
  10977. "ApiKeyAuth": []
  10978. }
  10979. ],
  10980. "produces": [
  10981. "application/json"
  10982. ],
  10983. "tags": [
  10984. "大连千海金(PCWeb)"
  10985. ],
  10986. "summary": "查询经纪人奖励报表(废弃)",
  10987. "parameters": [
  10988. {
  10989. "type": "integer",
  10990. "description": "所属机构ID",
  10991. "name": "userid",
  10992. "in": "query",
  10993. "required": true
  10994. },
  10995. {
  10996. "type": "integer",
  10997. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10998. "name": "cycletype",
  10999. "in": "query",
  11000. "required": true
  11001. },
  11002. {
  11003. "type": "string",
  11004. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  11005. "name": "cycletime",
  11006. "in": "query",
  11007. "required": true
  11008. },
  11009. {
  11010. "type": "string",
  11011. "description": "名称(模糊匹配)",
  11012. "name": "filtername",
  11013. "in": "query"
  11014. },
  11015. {
  11016. "type": "integer",
  11017. "description": "是否包含子级 1-包含",
  11018. "name": "includesub",
  11019. "in": "query"
  11020. }
  11021. ],
  11022. "responses": {
  11023. "200": {
  11024. "description": "OK",
  11025. "schema": {
  11026. "type": "array",
  11027. "items": {
  11028. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  11029. }
  11030. }
  11031. },
  11032. "500": {
  11033. "description": "Internal Server Error",
  11034. "schema": {
  11035. "$ref": "#/definitions/app.Response"
  11036. }
  11037. }
  11038. }
  11039. }
  11040. },
  11041. "/QhjMgr/QueryContract": {
  11042. "get": {
  11043. "security": [
  11044. {
  11045. "ApiKeyAuth": []
  11046. }
  11047. ],
  11048. "produces": [
  11049. "application/json"
  11050. ],
  11051. "tags": [
  11052. "大连千海金(PCWeb)"
  11053. ],
  11054. "summary": "查询融资信息(合同)",
  11055. "parameters": [
  11056. {
  11057. "type": "integer",
  11058. "description": "用户ID",
  11059. "name": "userid",
  11060. "in": "query"
  11061. },
  11062. {
  11063. "type": "integer",
  11064. "description": "商品id",
  11065. "name": "goodsid",
  11066. "in": "query"
  11067. },
  11068. {
  11069. "type": "string",
  11070. "description": "名称(模糊搜索账户)",
  11071. "name": "filtername",
  11072. "in": "query"
  11073. },
  11074. {
  11075. "type": "string",
  11076. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  11077. "name": "risklevel",
  11078. "in": "query"
  11079. },
  11080. {
  11081. "type": "string",
  11082. "description": "开始交易日(yyyymmdd)",
  11083. "name": "begindate",
  11084. "in": "query"
  11085. },
  11086. {
  11087. "type": "string",
  11088. "description": "结束交易日(yyyymmdd)",
  11089. "name": "enddate",
  11090. "in": "query"
  11091. }
  11092. ],
  11093. "responses": {
  11094. "200": {
  11095. "description": "OK",
  11096. "schema": {
  11097. "type": "array",
  11098. "items": {
  11099. "$ref": "#/definitions/models.QhjMgrContract"
  11100. }
  11101. }
  11102. },
  11103. "500": {
  11104. "description": "Internal Server Error",
  11105. "schema": {
  11106. "$ref": "#/definitions/app.Response"
  11107. }
  11108. }
  11109. }
  11110. }
  11111. },
  11112. "/QhjMgr/QueryCustomerInfo": {
  11113. "get": {
  11114. "security": [
  11115. {
  11116. "ApiKeyAuth": []
  11117. }
  11118. ],
  11119. "produces": [
  11120. "application/json"
  11121. ],
  11122. "tags": [
  11123. "大连千海金(PCWeb)"
  11124. ],
  11125. "summary": "查询客户资料",
  11126. "parameters": [
  11127. {
  11128. "type": "integer",
  11129. "description": "用户ID",
  11130. "name": "userid",
  11131. "in": "query",
  11132. "required": true
  11133. },
  11134. {
  11135. "type": "integer",
  11136. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11137. "name": "querytype",
  11138. "in": "query",
  11139. "required": true
  11140. },
  11141. {
  11142. "type": "integer",
  11143. "description": "客户类型 1-个人 2-企业",
  11144. "name": "userinfotype",
  11145. "in": "query"
  11146. },
  11147. {
  11148. "type": "string",
  11149. "description": "客户名称(模糊匹配)",
  11150. "name": "customername",
  11151. "in": "query"
  11152. },
  11153. {
  11154. "type": "string",
  11155. "description": "昵称(模糊匹配)",
  11156. "name": "nickname",
  11157. "in": "query"
  11158. },
  11159. {
  11160. "type": "string",
  11161. "description": "所属客户经理(模糊匹配)",
  11162. "name": "brokername",
  11163. "in": "query"
  11164. },
  11165. {
  11166. "type": "string",
  11167. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  11168. "name": "birthday",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "integer",
  11173. "description": "是否包含子级 1-包含",
  11174. "name": "includesub",
  11175. "in": "query"
  11176. }
  11177. ],
  11178. "responses": {
  11179. "200": {
  11180. "description": "OK",
  11181. "schema": {
  11182. "type": "array",
  11183. "items": {
  11184. "$ref": "#/definitions/models.QhjMgrCustomer"
  11185. }
  11186. }
  11187. },
  11188. "500": {
  11189. "description": "Internal Server Error",
  11190. "schema": {
  11191. "$ref": "#/definitions/app.Response"
  11192. }
  11193. }
  11194. }
  11195. }
  11196. },
  11197. "/QhjMgr/QueryPickGoods": {
  11198. "get": {
  11199. "security": [
  11200. {
  11201. "ApiKeyAuth": []
  11202. }
  11203. ],
  11204. "produces": [
  11205. "application/json"
  11206. ],
  11207. "tags": [
  11208. "大连千海金(PCWeb)"
  11209. ],
  11210. "summary": "查询提货商品",
  11211. "parameters": [
  11212. {
  11213. "type": "string",
  11214. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11215. "name": "status",
  11216. "in": "query"
  11217. }
  11218. ],
  11219. "responses": {
  11220. "200": {
  11221. "description": "OK",
  11222. "schema": {
  11223. "type": "array",
  11224. "items": {
  11225. "$ref": "#/definitions/models.QhjMgrPickGoods"
  11226. }
  11227. }
  11228. },
  11229. "500": {
  11230. "description": "Internal Server Error",
  11231. "schema": {
  11232. "$ref": "#/definitions/app.Response"
  11233. }
  11234. }
  11235. }
  11236. }
  11237. },
  11238. "/QhjMgr/QuerySubArea": {
  11239. "get": {
  11240. "security": [
  11241. {
  11242. "ApiKeyAuth": []
  11243. }
  11244. ],
  11245. "produces": [
  11246. "application/json"
  11247. ],
  11248. "tags": [
  11249. "大连千海金(PCWeb)"
  11250. ],
  11251. "summary": "查询子机构列表",
  11252. "parameters": [
  11253. {
  11254. "type": "integer",
  11255. "description": "用户ID",
  11256. "name": "userid",
  11257. "in": "query",
  11258. "required": true
  11259. }
  11260. ],
  11261. "responses": {
  11262. "200": {
  11263. "description": "OK",
  11264. "schema": {
  11265. "type": "array",
  11266. "items": {
  11267. "$ref": "#/definitions/models.QhjMgrSubArea"
  11268. }
  11269. }
  11270. },
  11271. "500": {
  11272. "description": "Internal Server Error",
  11273. "schema": {
  11274. "$ref": "#/definitions/app.Response"
  11275. }
  11276. }
  11277. }
  11278. }
  11279. },
  11280. "/QhjMgr/QueryTradeDetail": {
  11281. "get": {
  11282. "security": [
  11283. {
  11284. "ApiKeyAuth": []
  11285. }
  11286. ],
  11287. "produces": [
  11288. "application/json"
  11289. ],
  11290. "tags": [
  11291. "大连千海金(PCWeb)"
  11292. ],
  11293. "summary": "查询成交明细",
  11294. "parameters": [
  11295. {
  11296. "type": "integer",
  11297. "description": "用户ID",
  11298. "name": "userid",
  11299. "in": "query",
  11300. "required": true
  11301. },
  11302. {
  11303. "type": "integer",
  11304. "description": "用户类型 1-个人 2-企业",
  11305. "name": "userinfotype",
  11306. "in": "query"
  11307. },
  11308. {
  11309. "type": "integer",
  11310. "description": "交易模式",
  11311. "name": "trademode",
  11312. "in": "query"
  11313. },
  11314. {
  11315. "type": "integer",
  11316. "description": "商品id",
  11317. "name": "goodsid",
  11318. "in": "query"
  11319. },
  11320. {
  11321. "type": "string",
  11322. "description": "名称(模糊搜索账户)",
  11323. "name": "filtername",
  11324. "in": "query"
  11325. },
  11326. {
  11327. "type": "string",
  11328. "description": "开始交易日(yyyymmdd)",
  11329. "name": "begindate",
  11330. "in": "query"
  11331. },
  11332. {
  11333. "type": "string",
  11334. "description": "结束交易日(yyyymmdd)",
  11335. "name": "enddate",
  11336. "in": "query"
  11337. },
  11338. {
  11339. "type": "integer",
  11340. "description": "是否包含子级 1-包含",
  11341. "name": "includesub",
  11342. "in": "query"
  11343. }
  11344. ],
  11345. "responses": {
  11346. "200": {
  11347. "description": "OK",
  11348. "schema": {
  11349. "type": "array",
  11350. "items": {
  11351. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  11352. }
  11353. }
  11354. },
  11355. "500": {
  11356. "description": "Internal Server Error",
  11357. "schema": {
  11358. "$ref": "#/definitions/app.Response"
  11359. }
  11360. }
  11361. }
  11362. }
  11363. },
  11364. "/QhjMgr/QueryTradeOrderDetail": {
  11365. "get": {
  11366. "security": [
  11367. {
  11368. "ApiKeyAuth": []
  11369. }
  11370. ],
  11371. "produces": [
  11372. "application/json"
  11373. ],
  11374. "tags": [
  11375. "大连千海金(PCWeb)"
  11376. ],
  11377. "summary": "查询委托明细",
  11378. "parameters": [
  11379. {
  11380. "type": "integer",
  11381. "description": "用户ID",
  11382. "name": "userid",
  11383. "in": "query",
  11384. "required": true
  11385. },
  11386. {
  11387. "type": "integer",
  11388. "description": "用户类型 1-个人 2-企业",
  11389. "name": "userinfotype",
  11390. "in": "query"
  11391. },
  11392. {
  11393. "type": "integer",
  11394. "description": "交易模式",
  11395. "name": "trademode",
  11396. "in": "query"
  11397. },
  11398. {
  11399. "type": "integer",
  11400. "description": "商品id",
  11401. "name": "goodsid",
  11402. "in": "query"
  11403. },
  11404. {
  11405. "type": "string",
  11406. "description": "名称(模糊搜索账户)",
  11407. "name": "filtername",
  11408. "in": "query"
  11409. },
  11410. {
  11411. "type": "string",
  11412. "description": "开始交易日(yyyymmdd)",
  11413. "name": "begindate",
  11414. "in": "query"
  11415. },
  11416. {
  11417. "type": "string",
  11418. "description": "结束交易日(yyyymmdd)",
  11419. "name": "enddate",
  11420. "in": "query"
  11421. },
  11422. {
  11423. "type": "integer",
  11424. "description": "是否包含子级 1-包含",
  11425. "name": "includesub",
  11426. "in": "query"
  11427. }
  11428. ],
  11429. "responses": {
  11430. "200": {
  11431. "description": "OK",
  11432. "schema": {
  11433. "type": "array",
  11434. "items": {
  11435. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  11436. }
  11437. }
  11438. },
  11439. "500": {
  11440. "description": "Internal Server Error",
  11441. "schema": {
  11442. "$ref": "#/definitions/app.Response"
  11443. }
  11444. }
  11445. }
  11446. }
  11447. },
  11448. "/QhjMgr/QueryTradePayOrder": {
  11449. "get": {
  11450. "security": [
  11451. {
  11452. "ApiKeyAuth": []
  11453. }
  11454. ],
  11455. "produces": [
  11456. "application/json"
  11457. ],
  11458. "tags": [
  11459. "大连千海金(PCWeb)"
  11460. ],
  11461. "summary": "查询待付款单",
  11462. "parameters": [
  11463. {
  11464. "type": "integer",
  11465. "description": "用户ID",
  11466. "name": "userid",
  11467. "in": "query",
  11468. "required": true
  11469. },
  11470. {
  11471. "type": "string",
  11472. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11473. "name": "payflag",
  11474. "in": "query"
  11475. },
  11476. {
  11477. "type": "integer",
  11478. "description": "用户类型 1-个人 2-企业",
  11479. "name": "userinfotype",
  11480. "in": "query"
  11481. },
  11482. {
  11483. "type": "integer",
  11484. "description": "交易模式",
  11485. "name": "trademode",
  11486. "in": "query"
  11487. },
  11488. {
  11489. "type": "integer",
  11490. "description": "商品id",
  11491. "name": "goodsid",
  11492. "in": "query"
  11493. },
  11494. {
  11495. "type": "string",
  11496. "description": "名称(模糊搜索账户)",
  11497. "name": "filtername",
  11498. "in": "query"
  11499. },
  11500. {
  11501. "type": "string",
  11502. "description": "开始交易日(yyyymmdd)",
  11503. "name": "begindate",
  11504. "in": "query"
  11505. },
  11506. {
  11507. "type": "string",
  11508. "description": "结束交易日(yyyymmdd)",
  11509. "name": "enddate",
  11510. "in": "query"
  11511. },
  11512. {
  11513. "type": "integer",
  11514. "description": "是否包含子级 1-包含",
  11515. "name": "includesub",
  11516. "in": "query"
  11517. }
  11518. ],
  11519. "responses": {
  11520. "200": {
  11521. "description": "OK",
  11522. "schema": {
  11523. "type": "array",
  11524. "items": {
  11525. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11526. }
  11527. }
  11528. },
  11529. "500": {
  11530. "description": "Internal Server Error",
  11531. "schema": {
  11532. "$ref": "#/definitions/app.Response"
  11533. }
  11534. }
  11535. }
  11536. }
  11537. },
  11538. "/QhjMgr/QueryTradePosition": {
  11539. "get": {
  11540. "security": [
  11541. {
  11542. "ApiKeyAuth": []
  11543. }
  11544. ],
  11545. "produces": [
  11546. "application/json"
  11547. ],
  11548. "tags": [
  11549. "大连千海金(PCWeb)"
  11550. ],
  11551. "summary": "查询持仓汇总",
  11552. "parameters": [
  11553. {
  11554. "type": "integer",
  11555. "description": "用户ID",
  11556. "name": "userid",
  11557. "in": "query",
  11558. "required": true
  11559. },
  11560. {
  11561. "type": "integer",
  11562. "description": "用户类型 1-个人 2-企业",
  11563. "name": "userinfotype",
  11564. "in": "query"
  11565. },
  11566. {
  11567. "type": "integer",
  11568. "description": "交易模式",
  11569. "name": "trademode",
  11570. "in": "query"
  11571. },
  11572. {
  11573. "type": "integer",
  11574. "description": "商品id",
  11575. "name": "goodsid",
  11576. "in": "query"
  11577. },
  11578. {
  11579. "type": "string",
  11580. "description": "名称(模糊搜索账户)",
  11581. "name": "filtername",
  11582. "in": "query"
  11583. },
  11584. {
  11585. "type": "integer",
  11586. "description": "是否包含子级 1-包含",
  11587. "name": "includesub",
  11588. "in": "query"
  11589. }
  11590. ],
  11591. "responses": {
  11592. "200": {
  11593. "description": "OK",
  11594. "schema": {
  11595. "type": "array",
  11596. "items": {
  11597. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11598. }
  11599. }
  11600. },
  11601. "500": {
  11602. "description": "Internal Server Error",
  11603. "schema": {
  11604. "$ref": "#/definitions/app.Response"
  11605. }
  11606. }
  11607. }
  11608. }
  11609. },
  11610. "/QhjSys/QueryAgreementChangeLog": {
  11611. "get": {
  11612. "security": [
  11613. {
  11614. "ApiKeyAuth": []
  11615. }
  11616. ],
  11617. "produces": [
  11618. "application/json"
  11619. ],
  11620. "tags": [
  11621. "大连千海金(协议和签约信息)"
  11622. ],
  11623. "summary": "查询协议配置变更流水",
  11624. "parameters": [
  11625. {
  11626. "type": "integer",
  11627. "description": "协议ID",
  11628. "name": "agreementid",
  11629. "in": "query"
  11630. },
  11631. {
  11632. "type": "integer",
  11633. "description": "协议版本号",
  11634. "name": "agreementversion",
  11635. "in": "query"
  11636. },
  11637. {
  11638. "type": "integer",
  11639. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11640. "name": "agreementtype",
  11641. "in": "query"
  11642. },
  11643. {
  11644. "type": "string",
  11645. "description": "协议编号(模糊匹配)",
  11646. "name": "agreementno",
  11647. "in": "query"
  11648. },
  11649. {
  11650. "type": "string",
  11651. "description": "协议名称(模糊匹配)",
  11652. "name": "agreementname",
  11653. "in": "query"
  11654. }
  11655. ],
  11656. "responses": {
  11657. "200": {
  11658. "description": "OK",
  11659. "schema": {
  11660. "type": "array",
  11661. "items": {
  11662. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11663. }
  11664. }
  11665. },
  11666. "500": {
  11667. "description": "Internal Server Error",
  11668. "schema": {
  11669. "$ref": "#/definitions/app.Response"
  11670. }
  11671. }
  11672. }
  11673. }
  11674. },
  11675. "/QhjSys/QueryAgreementConfig": {
  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": "integer",
  11692. "description": "协议ID",
  11693. "name": "agreementid",
  11694. "in": "query"
  11695. },
  11696. {
  11697. "type": "integer",
  11698. "description": "协议版本号",
  11699. "name": "agreementversion",
  11700. "in": "query"
  11701. },
  11702. {
  11703. "type": "integer",
  11704. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11705. "name": "agreementtype",
  11706. "in": "query"
  11707. },
  11708. {
  11709. "type": "integer",
  11710. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11711. "name": "isvalid",
  11712. "in": "query"
  11713. },
  11714. {
  11715. "type": "string",
  11716. "description": "协议编号(模糊匹配)",
  11717. "name": "agreementno",
  11718. "in": "query"
  11719. },
  11720. {
  11721. "type": "string",
  11722. "description": "协议名称(模糊匹配)",
  11723. "name": "agreementname",
  11724. "in": "query"
  11725. }
  11726. ],
  11727. "responses": {
  11728. "200": {
  11729. "description": "OK",
  11730. "schema": {
  11731. "type": "array",
  11732. "items": {
  11733. "$ref": "#/definitions/models.QhjAgreementConfig"
  11734. }
  11735. }
  11736. },
  11737. "500": {
  11738. "description": "Internal Server Error",
  11739. "schema": {
  11740. "$ref": "#/definitions/app.Response"
  11741. }
  11742. }
  11743. }
  11744. }
  11745. },
  11746. "/QhjSys/QueryCustomerSignStatus": {
  11747. "get": {
  11748. "security": [
  11749. {
  11750. "ApiKeyAuth": []
  11751. }
  11752. ],
  11753. "produces": [
  11754. "application/json"
  11755. ],
  11756. "tags": [
  11757. "大连千海金(协议和签约信息)"
  11758. ],
  11759. "summary": "查询客户协议签约状态",
  11760. "parameters": [
  11761. {
  11762. "type": "integer",
  11763. "description": "客户ID",
  11764. "name": "userid",
  11765. "in": "query"
  11766. },
  11767. {
  11768. "type": "integer",
  11769. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11770. "name": "nodetype",
  11771. "in": "query"
  11772. },
  11773. {
  11774. "type": "integer",
  11775. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11776. "name": "goodsid",
  11777. "in": "query"
  11778. },
  11779. {
  11780. "type": "string",
  11781. "description": "创建交易日(yyyyMMdd)",
  11782. "name": "tradedate",
  11783. "in": "query"
  11784. },
  11785. {
  11786. "type": "string",
  11787. "description": "用户名称(模糊匹配)",
  11788. "name": "username",
  11789. "in": "query"
  11790. }
  11791. ],
  11792. "responses": {
  11793. "200": {
  11794. "description": "OK",
  11795. "schema": {
  11796. "type": "array",
  11797. "items": {
  11798. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11799. }
  11800. }
  11801. },
  11802. "500": {
  11803. "description": "Internal Server Error",
  11804. "schema": {
  11805. "$ref": "#/definitions/app.Response"
  11806. }
  11807. }
  11808. }
  11809. }
  11810. },
  11811. "/QhjSys/QueryNodeAgreementConfig": {
  11812. "get": {
  11813. "security": [
  11814. {
  11815. "ApiKeyAuth": []
  11816. }
  11817. ],
  11818. "produces": [
  11819. "application/json"
  11820. ],
  11821. "tags": [
  11822. "大连千海金(协议和签约信息)"
  11823. ],
  11824. "summary": "查询协议节点配置",
  11825. "parameters": [
  11826. {
  11827. "type": "integer",
  11828. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11829. "name": "configid",
  11830. "in": "query"
  11831. },
  11832. {
  11833. "type": "integer",
  11834. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11835. "name": "nodetype",
  11836. "in": "query"
  11837. },
  11838. {
  11839. "type": "integer",
  11840. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11841. "name": "goodsid",
  11842. "in": "query"
  11843. },
  11844. {
  11845. "type": "integer",
  11846. "description": "协议ID",
  11847. "name": "agreementid",
  11848. "in": "query"
  11849. },
  11850. {
  11851. "type": "integer",
  11852. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11853. "name": "agreementtype",
  11854. "in": "query"
  11855. },
  11856. {
  11857. "type": "integer",
  11858. "description": "协议版本号",
  11859. "name": "agreementversion",
  11860. "in": "query"
  11861. },
  11862. {
  11863. "type": "string",
  11864. "description": "协议编号(模糊匹配)",
  11865. "name": "agreementno",
  11866. "in": "query"
  11867. },
  11868. {
  11869. "type": "string",
  11870. "description": "协议名称(模糊匹配)",
  11871. "name": "agreementname",
  11872. "in": "query"
  11873. }
  11874. ],
  11875. "responses": {
  11876. "200": {
  11877. "description": "OK",
  11878. "schema": {
  11879. "type": "array",
  11880. "items": {
  11881. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11882. }
  11883. }
  11884. },
  11885. "500": {
  11886. "description": "Internal Server Error",
  11887. "schema": {
  11888. "$ref": "#/definitions/app.Response"
  11889. }
  11890. }
  11891. }
  11892. }
  11893. },
  11894. "/QhjSys/QueryQhjCustomerSignLog": {
  11895. "get": {
  11896. "security": [
  11897. {
  11898. "ApiKeyAuth": []
  11899. }
  11900. ],
  11901. "produces": [
  11902. "application/json"
  11903. ],
  11904. "tags": [
  11905. "大连千海金(协议和签约信息)"
  11906. ],
  11907. "summary": "查询客户协议签约流水",
  11908. "parameters": [
  11909. {
  11910. "type": "integer",
  11911. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11912. "name": "logid",
  11913. "in": "query"
  11914. },
  11915. {
  11916. "type": "integer",
  11917. "description": "客户ID",
  11918. "name": "userid",
  11919. "in": "query"
  11920. },
  11921. {
  11922. "type": "integer",
  11923. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11924. "name": "nodetype",
  11925. "in": "query"
  11926. },
  11927. {
  11928. "type": "integer",
  11929. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11930. "name": "goodsid",
  11931. "in": "query"
  11932. },
  11933. {
  11934. "type": "integer",
  11935. "description": "协议ID",
  11936. "name": "agreementid",
  11937. "in": "query"
  11938. },
  11939. {
  11940. "type": "string",
  11941. "description": "用户名称(模糊匹配)",
  11942. "name": "username",
  11943. "in": "query"
  11944. },
  11945. {
  11946. "type": "string",
  11947. "description": "协议编号(模糊匹配)",
  11948. "name": "agreementno",
  11949. "in": "query"
  11950. },
  11951. {
  11952. "type": "string",
  11953. "description": "协议名称(模糊匹配)",
  11954. "name": "agreementname",
  11955. "in": "query"
  11956. }
  11957. ],
  11958. "responses": {
  11959. "200": {
  11960. "description": "OK",
  11961. "schema": {
  11962. "type": "array",
  11963. "items": {
  11964. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11965. }
  11966. }
  11967. },
  11968. "500": {
  11969. "description": "Internal Server Error",
  11970. "schema": {
  11971. "$ref": "#/definitions/app.Response"
  11972. }
  11973. }
  11974. }
  11975. }
  11976. },
  11977. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11978. "get": {
  11979. "security": [
  11980. {
  11981. "ApiKeyAuth": []
  11982. }
  11983. ],
  11984. "produces": [
  11985. "application/json"
  11986. ],
  11987. "tags": [
  11988. "大连千海金(协议和签约信息)"
  11989. ],
  11990. "summary": "查询用户协议节点配置和状态",
  11991. "parameters": [
  11992. {
  11993. "type": "integer",
  11994. "description": "客户ID",
  11995. "name": "userid",
  11996. "in": "query"
  11997. },
  11998. {
  11999. "type": "integer",
  12000. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12001. "name": "configid",
  12002. "in": "query"
  12003. },
  12004. {
  12005. "type": "string",
  12006. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12007. "name": "nodetype",
  12008. "in": "query"
  12009. },
  12010. {
  12011. "type": "integer",
  12012. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12013. "name": "goodsid",
  12014. "in": "query"
  12015. },
  12016. {
  12017. "type": "integer",
  12018. "description": "协议ID",
  12019. "name": "agreementid",
  12020. "in": "query"
  12021. },
  12022. {
  12023. "type": "integer",
  12024. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12025. "name": "agreementtype",
  12026. "in": "query"
  12027. },
  12028. {
  12029. "type": "integer",
  12030. "description": "协议版本号",
  12031. "name": "agreementversion",
  12032. "in": "query"
  12033. },
  12034. {
  12035. "type": "string",
  12036. "description": "协议编号(模糊匹配)",
  12037. "name": "agreementno",
  12038. "in": "query"
  12039. },
  12040. {
  12041. "type": "string",
  12042. "description": "协议名称(模糊匹配)",
  12043. "name": "agreementname",
  12044. "in": "query"
  12045. }
  12046. ],
  12047. "responses": {
  12048. "200": {
  12049. "description": "OK",
  12050. "schema": {
  12051. "type": "array",
  12052. "items": {
  12053. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  12054. }
  12055. }
  12056. },
  12057. "500": {
  12058. "description": "Internal Server Error",
  12059. "schema": {
  12060. "$ref": "#/definitions/app.Response"
  12061. }
  12062. }
  12063. }
  12064. }
  12065. },
  12066. "/Quote/QueryHistoryDatas": {
  12067. "get": {
  12068. "security": [
  12069. {
  12070. "ApiKeyAuth": []
  12071. }
  12072. ],
  12073. "produces": [
  12074. "application/json"
  12075. ],
  12076. "tags": [
  12077. "行情服务"
  12078. ],
  12079. "summary": "查询行情历史数据",
  12080. "parameters": [
  12081. {
  12082. "type": "integer",
  12083. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  12084. "name": "cycleType",
  12085. "in": "query",
  12086. "required": true
  12087. },
  12088. {
  12089. "type": "string",
  12090. "description": "商品代码",
  12091. "name": "goodsCode",
  12092. "in": "query",
  12093. "required": true
  12094. },
  12095. {
  12096. "type": "string",
  12097. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12098. "name": "startTime",
  12099. "in": "query"
  12100. },
  12101. {
  12102. "type": "string",
  12103. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12104. "name": "endTime",
  12105. "in": "query"
  12106. },
  12107. {
  12108. "type": "integer",
  12109. "description": "条数",
  12110. "name": "count",
  12111. "in": "query"
  12112. },
  12113. {
  12114. "type": "boolean",
  12115. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12116. "name": "isAsc",
  12117. "in": "query"
  12118. }
  12119. ],
  12120. "responses": {
  12121. "200": {
  12122. "description": "OK",
  12123. "schema": {
  12124. "$ref": "#/definitions/quote.HistoryData"
  12125. }
  12126. },
  12127. "500": {
  12128. "description": "Internal Server Error",
  12129. "schema": {
  12130. "$ref": "#/definitions/app.Response"
  12131. }
  12132. }
  12133. }
  12134. }
  12135. },
  12136. "/Quote/QueryHistoryTikDatas": {
  12137. "get": {
  12138. "security": [
  12139. {
  12140. "ApiKeyAuth": []
  12141. }
  12142. ],
  12143. "produces": [
  12144. "application/json"
  12145. ],
  12146. "tags": [
  12147. "行情服务"
  12148. ],
  12149. "summary": "查询行情Tik数据",
  12150. "parameters": [
  12151. {
  12152. "type": "string",
  12153. "description": "商品代码",
  12154. "name": "goodsCode",
  12155. "in": "query",
  12156. "required": true
  12157. },
  12158. {
  12159. "type": "string",
  12160. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12161. "name": "startTime",
  12162. "in": "query"
  12163. },
  12164. {
  12165. "type": "string",
  12166. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12167. "name": "endTime",
  12168. "in": "query"
  12169. },
  12170. {
  12171. "type": "integer",
  12172. "description": "条数",
  12173. "name": "count",
  12174. "in": "query"
  12175. },
  12176. {
  12177. "type": "boolean",
  12178. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12179. "name": "isAsc",
  12180. "in": "query"
  12181. }
  12182. ],
  12183. "responses": {
  12184. "200": {
  12185. "description": "OK",
  12186. "schema": {
  12187. "$ref": "#/definitions/quote.HistoryTikData"
  12188. }
  12189. },
  12190. "500": {
  12191. "description": "Internal Server Error",
  12192. "schema": {
  12193. "$ref": "#/definitions/app.Response"
  12194. }
  12195. }
  12196. }
  12197. }
  12198. },
  12199. "/Quote/QueryQuoteDay": {
  12200. "get": {
  12201. "security": [
  12202. {
  12203. "ApiKeyAuth": []
  12204. }
  12205. ],
  12206. "produces": [
  12207. "application/json"
  12208. ],
  12209. "tags": [
  12210. "行情服务"
  12211. ],
  12212. "summary": "获取商品盘面信息",
  12213. "parameters": [
  12214. {
  12215. "type": "string",
  12216. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  12217. "name": "goodsCodes",
  12218. "in": "query"
  12219. }
  12220. ],
  12221. "responses": {
  12222. "200": {
  12223. "description": "OK",
  12224. "schema": {
  12225. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  12226. }
  12227. },
  12228. "500": {
  12229. "description": "Internal Server Error",
  12230. "schema": {
  12231. "$ref": "#/definitions/app.Response"
  12232. }
  12233. }
  12234. }
  12235. }
  12236. },
  12237. "/Quote/QueryTSData": {
  12238. "get": {
  12239. "security": [
  12240. {
  12241. "ApiKeyAuth": []
  12242. }
  12243. ],
  12244. "produces": [
  12245. "application/json"
  12246. ],
  12247. "tags": [
  12248. "行情服务"
  12249. ],
  12250. "summary": "分时图数据查询",
  12251. "parameters": [
  12252. {
  12253. "type": "string",
  12254. "description": "商品代码",
  12255. "name": "goodsCode",
  12256. "in": "query",
  12257. "required": true
  12258. }
  12259. ],
  12260. "responses": {
  12261. "200": {
  12262. "description": "OK",
  12263. "schema": {
  12264. "$ref": "#/definitions/quote.QueryTSDataRsp"
  12265. }
  12266. },
  12267. "500": {
  12268. "description": "Internal Server Error",
  12269. "schema": {
  12270. "$ref": "#/definitions/app.Response"
  12271. }
  12272. }
  12273. }
  12274. }
  12275. },
  12276. "/SZDZ/QueryConvertConfig": {
  12277. "get": {
  12278. "security": [
  12279. {
  12280. "ApiKeyAuth": []
  12281. }
  12282. ],
  12283. "produces": [
  12284. "application/json"
  12285. ],
  12286. "tags": [
  12287. "定制【尚志大宗】"
  12288. ],
  12289. "summary": "查询交易系统转换设置",
  12290. "parameters": [
  12291. {
  12292. "type": "integer",
  12293. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12294. "name": "convertType",
  12295. "in": "query"
  12296. },
  12297. {
  12298. "type": "string",
  12299. "description": "外部商品代码[JD\\PD]",
  12300. "name": "outerGoodsCode",
  12301. "in": "query"
  12302. },
  12303. {
  12304. "type": "string",
  12305. "description": "内部商品ID列表[交易],格式:1,2,3",
  12306. "name": "innerGoodsIDs",
  12307. "in": "query"
  12308. }
  12309. ],
  12310. "responses": {
  12311. "200": {
  12312. "description": "OK",
  12313. "schema": {
  12314. "$ref": "#/definitions/models.Szdz3convertconfig"
  12315. }
  12316. },
  12317. "500": {
  12318. "description": "Internal Server Error",
  12319. "schema": {
  12320. "$ref": "#/definitions/app.Response"
  12321. }
  12322. }
  12323. }
  12324. }
  12325. },
  12326. "/SZDZ/QueryConvertLog": {
  12327. "get": {
  12328. "security": [
  12329. {
  12330. "ApiKeyAuth": []
  12331. }
  12332. ],
  12333. "produces": [
  12334. "application/json"
  12335. ],
  12336. "tags": [
  12337. "定制【尚志大宗】"
  12338. ],
  12339. "summary": "交易系统转换流水查询",
  12340. "parameters": [
  12341. {
  12342. "type": "string",
  12343. "description": "资金账户 - 格式:1,2,3",
  12344. "name": "accountID",
  12345. "in": "query",
  12346. "required": true
  12347. },
  12348. {
  12349. "type": "string",
  12350. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12351. "name": "startDate",
  12352. "in": "query"
  12353. },
  12354. {
  12355. "type": "string",
  12356. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12357. "name": "endDate",
  12358. "in": "query"
  12359. }
  12360. ],
  12361. "responses": {
  12362. "200": {
  12363. "description": "OK",
  12364. "schema": {
  12365. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  12366. }
  12367. },
  12368. "500": {
  12369. "description": "Internal Server Error",
  12370. "schema": {
  12371. "$ref": "#/definitions/app.Response"
  12372. }
  12373. }
  12374. }
  12375. }
  12376. },
  12377. "/SZDZ/QueryGoodsPickup": {
  12378. "get": {
  12379. "security": [
  12380. {
  12381. "ApiKeyAuth": []
  12382. }
  12383. ],
  12384. "produces": [
  12385. "application/json"
  12386. ],
  12387. "tags": [
  12388. "定制【尚志大宗】"
  12389. ],
  12390. "summary": "商品提货单查询",
  12391. "parameters": [
  12392. {
  12393. "type": "string",
  12394. "description": "资金账户 - 格式:1,2,3",
  12395. "name": "accountID",
  12396. "in": "query",
  12397. "required": true
  12398. },
  12399. {
  12400. "type": "integer",
  12401. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12402. "name": "takeOrderStatus",
  12403. "in": "query"
  12404. }
  12405. ],
  12406. "responses": {
  12407. "200": {
  12408. "description": "OK",
  12409. "schema": {
  12410. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  12411. }
  12412. },
  12413. "500": {
  12414. "description": "Internal Server Error",
  12415. "schema": {
  12416. "$ref": "#/definitions/app.Response"
  12417. }
  12418. }
  12419. }
  12420. }
  12421. },
  12422. "/SZDZ/QueryRecieptOrder": {
  12423. "get": {
  12424. "security": [
  12425. {
  12426. "ApiKeyAuth": []
  12427. }
  12428. ],
  12429. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12430. "produces": [
  12431. "application/json"
  12432. ],
  12433. "tags": [
  12434. "定制【尚志大宗】"
  12435. ],
  12436. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  12437. "parameters": [
  12438. {
  12439. "type": "integer",
  12440. "description": "页码",
  12441. "name": "page",
  12442. "in": "query"
  12443. },
  12444. {
  12445. "type": "integer",
  12446. "description": "每页条数",
  12447. "name": "pagesize",
  12448. "in": "query"
  12449. },
  12450. {
  12451. "type": "integer",
  12452. "description": "商品ID",
  12453. "name": "goodsID",
  12454. "in": "query",
  12455. "required": true
  12456. },
  12457. {
  12458. "type": "string",
  12459. "description": "所属账户名称",
  12460. "name": "accountName",
  12461. "in": "query"
  12462. },
  12463. {
  12464. "type": "integer",
  12465. "description": "市场ID",
  12466. "name": "marketID",
  12467. "in": "query"
  12468. },
  12469. {
  12470. "type": "integer",
  12471. "description": "方向 - 0:买 1:卖",
  12472. "name": "buyorsell",
  12473. "in": "query",
  12474. "required": true
  12475. }
  12476. ],
  12477. "responses": {
  12478. "200": {
  12479. "description": "OK",
  12480. "schema": {
  12481. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12482. }
  12483. },
  12484. "500": {
  12485. "description": "Internal Server Error",
  12486. "schema": {
  12487. "$ref": "#/definitions/app.Response"
  12488. }
  12489. }
  12490. }
  12491. }
  12492. },
  12493. "/SZDZ/QuerySZDZTradePosition": {
  12494. "get": {
  12495. "security": [
  12496. {
  12497. "ApiKeyAuth": []
  12498. }
  12499. ],
  12500. "produces": [
  12501. "application/json"
  12502. ],
  12503. "tags": [
  12504. "定制【尚志大宗】"
  12505. ],
  12506. "summary": "持仓汇总查询(尚志大宗)",
  12507. "parameters": [
  12508. {
  12509. "type": "integer",
  12510. "description": "资金账户",
  12511. "name": "accountID",
  12512. "in": "query",
  12513. "required": true
  12514. }
  12515. ],
  12516. "responses": {
  12517. "200": {
  12518. "description": "OK",
  12519. "schema": {
  12520. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12521. }
  12522. },
  12523. "500": {
  12524. "description": "Internal Server Error",
  12525. "schema": {
  12526. "$ref": "#/definitions/app.Response"
  12527. }
  12528. }
  12529. }
  12530. }
  12531. },
  12532. "/SZDZ/SearchWhite": {
  12533. "get": {
  12534. "security": [
  12535. {
  12536. "ApiKeyAuth": []
  12537. }
  12538. ],
  12539. "produces": [
  12540. "application/json"
  12541. ],
  12542. "tags": [
  12543. "定制【尚志大宗】"
  12544. ],
  12545. "summary": "搜索白名单",
  12546. "parameters": [
  12547. {
  12548. "type": "integer",
  12549. "description": "用户ID",
  12550. "name": "userID",
  12551. "in": "query",
  12552. "required": true
  12553. }
  12554. ],
  12555. "responses": {
  12556. "200": {
  12557. "description": "OK",
  12558. "schema": {
  12559. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12560. }
  12561. },
  12562. "500": {
  12563. "description": "Internal Server Error",
  12564. "schema": {
  12565. "$ref": "#/definitions/app.Response"
  12566. }
  12567. }
  12568. }
  12569. }
  12570. },
  12571. "/Search/SearchGoodses": {
  12572. "get": {
  12573. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12574. "produces": [
  12575. "application/json"
  12576. ],
  12577. "tags": [
  12578. "检索服务"
  12579. ],
  12580. "summary": "检索商品信息",
  12581. "parameters": [
  12582. {
  12583. "type": "string",
  12584. "description": "检索内容",
  12585. "name": "content",
  12586. "in": "query",
  12587. "required": true
  12588. },
  12589. {
  12590. "type": "string",
  12591. "description": "交易模式,格式:1,2,3",
  12592. "name": "tradeModes",
  12593. "in": "query"
  12594. }
  12595. ],
  12596. "responses": {
  12597. "200": {
  12598. "description": "OK",
  12599. "schema": {
  12600. "$ref": "#/definitions/models.SearchGoods"
  12601. }
  12602. },
  12603. "500": {
  12604. "description": "Internal Server Error",
  12605. "schema": {
  12606. "$ref": "#/definitions/app.Response"
  12607. }
  12608. }
  12609. }
  12610. }
  12611. },
  12612. "/TaAccount/GetTaAccounts": {
  12613. "get": {
  12614. "security": [
  12615. {
  12616. "ApiKeyAuth": []
  12617. }
  12618. ],
  12619. "produces": [
  12620. "application/json"
  12621. ],
  12622. "tags": [
  12623. "资金账户"
  12624. ],
  12625. "summary": "获取资金账户信息",
  12626. "parameters": [
  12627. {
  12628. "type": "integer",
  12629. "description": "登录账户",
  12630. "name": "loginID",
  12631. "in": "query",
  12632. "required": true
  12633. },
  12634. {
  12635. "type": "integer",
  12636. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12637. "name": "taAccountType",
  12638. "in": "query"
  12639. }
  12640. ],
  12641. "responses": {
  12642. "200": {
  12643. "description": "OK",
  12644. "schema": {
  12645. "$ref": "#/definitions/models.Taaccount"
  12646. }
  12647. },
  12648. "500": {
  12649. "description": "Internal Server Error",
  12650. "schema": {
  12651. "$ref": "#/definitions/app.Response"
  12652. }
  12653. }
  12654. }
  12655. }
  12656. },
  12657. "/TaAccount/QueryAmountLog": {
  12658. "get": {
  12659. "security": [
  12660. {
  12661. "ApiKeyAuth": []
  12662. }
  12663. ],
  12664. "produces": [
  12665. "application/json"
  12666. ],
  12667. "tags": [
  12668. "资金账户"
  12669. ],
  12670. "summary": "资金流水查询(当前)",
  12671. "parameters": [
  12672. {
  12673. "type": "integer",
  12674. "description": "页码",
  12675. "name": "page",
  12676. "in": "query"
  12677. },
  12678. {
  12679. "type": "integer",
  12680. "description": "每页条数",
  12681. "name": "pagesize",
  12682. "in": "query"
  12683. },
  12684. {
  12685. "type": "string",
  12686. "description": "资金账户 - 格式:1,2,3",
  12687. "name": "accountID",
  12688. "in": "query",
  12689. "required": true
  12690. },
  12691. {
  12692. "type": "string",
  12693. "description": "资金操作类型 - 格式:1,2,3",
  12694. "name": "OperateType",
  12695. "in": "query"
  12696. }
  12697. ],
  12698. "responses": {
  12699. "200": {
  12700. "description": "OK",
  12701. "schema": {
  12702. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12703. }
  12704. },
  12705. "500": {
  12706. "description": "Internal Server Error",
  12707. "schema": {
  12708. "$ref": "#/definitions/app.Response"
  12709. }
  12710. }
  12711. }
  12712. }
  12713. },
  12714. "/TaAccount/QueryHisAmountLog": {
  12715. "get": {
  12716. "security": [
  12717. {
  12718. "ApiKeyAuth": []
  12719. }
  12720. ],
  12721. "produces": [
  12722. "application/json"
  12723. ],
  12724. "tags": [
  12725. "资金账户"
  12726. ],
  12727. "summary": "资金流水查询(历史)",
  12728. "parameters": [
  12729. {
  12730. "type": "integer",
  12731. "description": "页码",
  12732. "name": "page",
  12733. "in": "query"
  12734. },
  12735. {
  12736. "type": "integer",
  12737. "description": "每页条数",
  12738. "name": "pagesize",
  12739. "in": "query"
  12740. },
  12741. {
  12742. "type": "string",
  12743. "description": "资金账户 - 格式:1,2,3",
  12744. "name": "accountID",
  12745. "in": "query",
  12746. "required": true
  12747. },
  12748. {
  12749. "type": "string",
  12750. "description": "资金操作类型 - 格式:1,2,3",
  12751. "name": "OperateType",
  12752. "in": "query"
  12753. },
  12754. {
  12755. "type": "string",
  12756. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12757. "name": "startDate",
  12758. "in": "query"
  12759. },
  12760. {
  12761. "type": "string",
  12762. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12763. "name": "endDate",
  12764. "in": "query"
  12765. }
  12766. ],
  12767. "responses": {
  12768. "200": {
  12769. "description": "OK",
  12770. "schema": {
  12771. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12772. }
  12773. },
  12774. "500": {
  12775. "description": "Internal Server Error",
  12776. "schema": {
  12777. "$ref": "#/definitions/app.Response"
  12778. }
  12779. }
  12780. }
  12781. }
  12782. },
  12783. "/TaAccount/QueryRelatedTaAccount": {
  12784. "get": {
  12785. "security": [
  12786. {
  12787. "ApiKeyAuth": []
  12788. }
  12789. ],
  12790. "produces": [
  12791. "application/json"
  12792. ],
  12793. "tags": [
  12794. "资金账户"
  12795. ],
  12796. "summary": "查询关联资金账户信息",
  12797. "parameters": [
  12798. {
  12799. "type": "integer",
  12800. "description": "关联UserID",
  12801. "name": "relateduserid",
  12802. "in": "query",
  12803. "required": true
  12804. }
  12805. ],
  12806. "responses": {
  12807. "200": {
  12808. "description": "OK",
  12809. "schema": {
  12810. "type": "array",
  12811. "items": {
  12812. "$ref": "#/definitions/models.RelatedTaAccount"
  12813. }
  12814. }
  12815. },
  12816. "500": {
  12817. "description": "Internal Server Error",
  12818. "schema": {
  12819. "$ref": "#/definitions/app.Response"
  12820. }
  12821. }
  12822. }
  12823. }
  12824. },
  12825. "/Tjmd/QueryQuoteGoodsList": {
  12826. "get": {
  12827. "security": [
  12828. {
  12829. "ApiKeyAuth": []
  12830. }
  12831. ],
  12832. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12833. "produces": [
  12834. "application/json"
  12835. ],
  12836. "tags": [
  12837. "天津麦顿"
  12838. ],
  12839. "summary": "查询掉期报价列表",
  12840. "parameters": [
  12841. {
  12842. "type": "integer",
  12843. "description": "用户类型",
  12844. "name": "usertype",
  12845. "in": "query",
  12846. "required": true
  12847. },
  12848. {
  12849. "type": "string",
  12850. "description": "市场id, 格式 1,2,3",
  12851. "name": "marketids",
  12852. "in": "query"
  12853. },
  12854. {
  12855. "type": "integer",
  12856. "description": "商品组id",
  12857. "name": "goodsgroupid",
  12858. "in": "query"
  12859. },
  12860. {
  12861. "type": "integer",
  12862. "description": "商品id",
  12863. "name": "goodsid",
  12864. "in": "query"
  12865. }
  12866. ],
  12867. "responses": {
  12868. "200": {
  12869. "description": "OK",
  12870. "schema": {
  12871. "type": "array",
  12872. "items": {
  12873. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12874. }
  12875. }
  12876. },
  12877. "500": {
  12878. "description": "Internal Server Error",
  12879. "schema": {
  12880. "$ref": "#/definitions/app.Response"
  12881. }
  12882. }
  12883. }
  12884. }
  12885. },
  12886. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12887. "get": {
  12888. "security": [
  12889. {
  12890. "ApiKeyAuth": []
  12891. }
  12892. ],
  12893. "produces": [
  12894. "application/json"
  12895. ],
  12896. "tags": [
  12897. "天津麦顿"
  12898. ],
  12899. "summary": "掉期商品订单详情(交易确认书)",
  12900. "parameters": [
  12901. {
  12902. "type": "string",
  12903. "description": "成交单号",
  12904. "name": "tradeid",
  12905. "in": "query",
  12906. "required": true
  12907. }
  12908. ],
  12909. "responses": {
  12910. "200": {
  12911. "description": "OK",
  12912. "schema": {
  12913. "type": "array",
  12914. "items": {
  12915. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12916. }
  12917. }
  12918. },
  12919. "500": {
  12920. "description": "Internal Server Error",
  12921. "schema": {
  12922. "$ref": "#/definitions/app.Response"
  12923. }
  12924. }
  12925. }
  12926. }
  12927. },
  12928. "/Tjmd/QueryTjmdMarketSection": {
  12929. "get": {
  12930. "security": [
  12931. {
  12932. "ApiKeyAuth": []
  12933. }
  12934. ],
  12935. "produces": [
  12936. "application/json"
  12937. ],
  12938. "tags": [
  12939. "天津麦顿"
  12940. ],
  12941. "summary": "查询市场板块",
  12942. "responses": {
  12943. "200": {
  12944. "description": "OK",
  12945. "schema": {
  12946. "type": "array",
  12947. "items": {
  12948. "$ref": "#/definitions/models.TjmdMarketSection"
  12949. }
  12950. }
  12951. },
  12952. "500": {
  12953. "description": "Internal Server Error",
  12954. "schema": {
  12955. "$ref": "#/definitions/app.Response"
  12956. }
  12957. }
  12958. }
  12959. }
  12960. },
  12961. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12962. "get": {
  12963. "security": [
  12964. {
  12965. "ApiKeyAuth": []
  12966. }
  12967. ],
  12968. "produces": [
  12969. "application/json"
  12970. ],
  12971. "tags": [
  12972. "天津麦顿"
  12973. ],
  12974. "summary": "查询今日账户保证金配置",
  12975. "parameters": [
  12976. {
  12977. "type": "string",
  12978. "description": "市场id",
  12979. "name": "marketid",
  12980. "in": "query"
  12981. },
  12982. {
  12983. "type": "string",
  12984. "description": "商品id",
  12985. "name": "goodsid",
  12986. "in": "query"
  12987. },
  12988. {
  12989. "type": "string",
  12990. "description": "资金账号",
  12991. "name": "accountid",
  12992. "in": "query"
  12993. }
  12994. ],
  12995. "responses": {
  12996. "200": {
  12997. "description": "OK",
  12998. "schema": {
  12999. "type": "array",
  13000. "items": {
  13001. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  13002. }
  13003. }
  13004. },
  13005. "500": {
  13006. "description": "Internal Server Error",
  13007. "schema": {
  13008. "$ref": "#/definitions/app.Response"
  13009. }
  13010. }
  13011. }
  13012. }
  13013. },
  13014. "/Tjmd/QueryTjmdTradeOrderDetail": {
  13015. "get": {
  13016. "security": [
  13017. {
  13018. "ApiKeyAuth": []
  13019. }
  13020. ],
  13021. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  13022. "produces": [
  13023. "application/json"
  13024. ],
  13025. "tags": [
  13026. "天津麦顿"
  13027. ],
  13028. "summary": "查询掉期买卖大厅",
  13029. "parameters": [
  13030. {
  13031. "type": "integer",
  13032. "description": "页码",
  13033. "name": "page",
  13034. "in": "query"
  13035. },
  13036. {
  13037. "type": "integer",
  13038. "description": "每页条数",
  13039. "name": "pagesize",
  13040. "in": "query"
  13041. },
  13042. {
  13043. "type": "integer",
  13044. "description": "用户id",
  13045. "name": "userid",
  13046. "in": "query",
  13047. "required": true
  13048. },
  13049. {
  13050. "type": "integer",
  13051. "description": "用户类型",
  13052. "name": "usertype",
  13053. "in": "query",
  13054. "required": true
  13055. },
  13056. {
  13057. "type": "string",
  13058. "description": "市场id, 格式 1,2,3",
  13059. "name": "marketids",
  13060. "in": "query"
  13061. },
  13062. {
  13063. "type": "integer",
  13064. "description": "商品id",
  13065. "name": "goodsid",
  13066. "in": "query",
  13067. "required": true
  13068. },
  13069. {
  13070. "type": "integer",
  13071. "description": "买卖方向 0-买 1-卖",
  13072. "name": "buyorsell",
  13073. "in": "query",
  13074. "required": true
  13075. }
  13076. ],
  13077. "responses": {
  13078. "200": {
  13079. "description": "OK",
  13080. "schema": {
  13081. "type": "array",
  13082. "items": {
  13083. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  13084. }
  13085. }
  13086. },
  13087. "500": {
  13088. "description": "Internal Server Error",
  13089. "schema": {
  13090. "$ref": "#/definitions/app.Response"
  13091. }
  13092. }
  13093. }
  13094. }
  13095. },
  13096. "/Tjmd/QueryTjmdTransferApply": {
  13097. "get": {
  13098. "security": [
  13099. {
  13100. "ApiKeyAuth": []
  13101. }
  13102. ],
  13103. "produces": [
  13104. "application/json"
  13105. ],
  13106. "tags": [
  13107. "天津麦顿"
  13108. ],
  13109. "summary": "查询掉期协议单",
  13110. "parameters": [
  13111. {
  13112. "type": "integer",
  13113. "description": "类型 1-我的申请 2-对方申请",
  13114. "name": "applytype",
  13115. "in": "query",
  13116. "required": true
  13117. },
  13118. {
  13119. "type": "string",
  13120. "description": "市场id, 格式 1,2,3",
  13121. "name": "marketids",
  13122. "in": "query"
  13123. },
  13124. {
  13125. "type": "string",
  13126. "description": "资金账号, 格式 25000000001,25000000003",
  13127. "name": "accountids",
  13128. "in": "query"
  13129. },
  13130. {
  13131. "type": "string",
  13132. "description": "开始交易日(yyyymmdd)",
  13133. "name": "begindate",
  13134. "in": "query"
  13135. },
  13136. {
  13137. "type": "string",
  13138. "description": "结束交易日(yyyymmdd)",
  13139. "name": "enddate",
  13140. "in": "query"
  13141. }
  13142. ],
  13143. "responses": {
  13144. "200": {
  13145. "description": "OK",
  13146. "schema": {
  13147. "type": "array",
  13148. "items": {
  13149. "$ref": "#/definitions/models.TjmdTransferApply"
  13150. }
  13151. }
  13152. },
  13153. "500": {
  13154. "description": "Internal Server Error",
  13155. "schema": {
  13156. "$ref": "#/definitions/app.Response"
  13157. }
  13158. }
  13159. }
  13160. }
  13161. },
  13162. "/Trade/QueryRecieptOrder": {
  13163. "get": {
  13164. "security": [
  13165. {
  13166. "ApiKeyAuth": []
  13167. }
  13168. ],
  13169. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13170. "produces": [
  13171. "application/json"
  13172. ],
  13173. "tags": [
  13174. "通用交易"
  13175. ],
  13176. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  13177. "parameters": [
  13178. {
  13179. "type": "integer",
  13180. "description": "页码",
  13181. "name": "page",
  13182. "in": "query"
  13183. },
  13184. {
  13185. "type": "integer",
  13186. "description": "每页条数",
  13187. "name": "pagesize",
  13188. "in": "query"
  13189. },
  13190. {
  13191. "type": "integer",
  13192. "description": "商品ID",
  13193. "name": "goodsID",
  13194. "in": "query",
  13195. "required": true
  13196. },
  13197. {
  13198. "type": "string",
  13199. "description": "所属账户名称",
  13200. "name": "accountName",
  13201. "in": "query"
  13202. },
  13203. {
  13204. "type": "integer",
  13205. "description": "市场ID",
  13206. "name": "marketID",
  13207. "in": "query"
  13208. },
  13209. {
  13210. "type": "integer",
  13211. "description": "方向 - 0:买 1:卖",
  13212. "name": "buyorsell",
  13213. "in": "query",
  13214. "required": true
  13215. }
  13216. ],
  13217. "responses": {
  13218. "200": {
  13219. "description": "OK",
  13220. "schema": {
  13221. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  13222. }
  13223. },
  13224. "500": {
  13225. "description": "Internal Server Error",
  13226. "schema": {
  13227. "$ref": "#/definitions/app.Response"
  13228. }
  13229. }
  13230. }
  13231. }
  13232. },
  13233. "/User/AddMessageBoard": {
  13234. "post": {
  13235. "security": [
  13236. {
  13237. "ApiKeyAuth": []
  13238. }
  13239. ],
  13240. "produces": [
  13241. "application/json"
  13242. ],
  13243. "tags": [
  13244. "用户信息"
  13245. ],
  13246. "summary": "添加用户留言板信息",
  13247. "parameters": [
  13248. {
  13249. "type": "integer",
  13250. "description": "用户ID",
  13251. "name": "userID",
  13252. "in": "query",
  13253. "required": true
  13254. },
  13255. {
  13256. "type": "string",
  13257. "description": "留言信息",
  13258. "name": "message",
  13259. "in": "query",
  13260. "required": true
  13261. },
  13262. {
  13263. "type": "string",
  13264. "description": "联系电话",
  13265. "name": "contactNum",
  13266. "in": "query",
  13267. "required": true
  13268. }
  13269. ],
  13270. "responses": {
  13271. "200": {
  13272. "description": "OK",
  13273. "schema": {
  13274. "$ref": "#/definitions/app.Response"
  13275. }
  13276. },
  13277. "500": {
  13278. "description": "Internal Server Error",
  13279. "schema": {
  13280. "$ref": "#/definitions/app.Response"
  13281. }
  13282. }
  13283. }
  13284. }
  13285. },
  13286. "/User/AddUserFavoriteGoods": {
  13287. "post": {
  13288. "security": [
  13289. {
  13290. "ApiKeyAuth": []
  13291. }
  13292. ],
  13293. "produces": [
  13294. "application/json"
  13295. ],
  13296. "tags": [
  13297. "用户信息"
  13298. ],
  13299. "summary": "添加用户商品收藏信息",
  13300. "parameters": [
  13301. {
  13302. "type": "integer",
  13303. "description": "用户ID",
  13304. "name": "userID",
  13305. "in": "query",
  13306. "required": true
  13307. },
  13308. {
  13309. "type": "integer",
  13310. "description": "商品ID",
  13311. "name": "goodsID",
  13312. "in": "query",
  13313. "required": true
  13314. }
  13315. ],
  13316. "responses": {
  13317. "200": {
  13318. "description": "OK",
  13319. "schema": {
  13320. "$ref": "#/definitions/app.Response"
  13321. }
  13322. },
  13323. "500": {
  13324. "description": "Internal Server Error",
  13325. "schema": {
  13326. "$ref": "#/definitions/app.Response"
  13327. }
  13328. }
  13329. }
  13330. }
  13331. },
  13332. "/User/GetLoginID": {
  13333. "get": {
  13334. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  13335. "produces": [
  13336. "application/json"
  13337. ],
  13338. "tags": [
  13339. "用户信息"
  13340. ],
  13341. "summary": "获取登录ID",
  13342. "parameters": [
  13343. {
  13344. "type": "string",
  13345. "description": "登录代码",
  13346. "name": "username",
  13347. "in": "query",
  13348. "required": true
  13349. }
  13350. ],
  13351. "responses": {
  13352. "200": {
  13353. "description": "OK",
  13354. "schema": {
  13355. "$ref": "#/definitions/app.Response"
  13356. }
  13357. },
  13358. "500": {
  13359. "description": "Internal Server Error",
  13360. "schema": {
  13361. "$ref": "#/definitions/app.Response"
  13362. }
  13363. }
  13364. }
  13365. }
  13366. },
  13367. "/User/GetUserAccount": {
  13368. "get": {
  13369. "security": [
  13370. {
  13371. "ApiKeyAuth": []
  13372. }
  13373. ],
  13374. "produces": [
  13375. "application/json"
  13376. ],
  13377. "tags": [
  13378. "用户信息"
  13379. ],
  13380. "summary": "获取用户账号信息",
  13381. "parameters": [
  13382. {
  13383. "type": "integer",
  13384. "description": "用户ID",
  13385. "name": "userID",
  13386. "in": "query",
  13387. "required": true
  13388. }
  13389. ],
  13390. "responses": {
  13391. "200": {
  13392. "description": "OK",
  13393. "schema": {
  13394. "$ref": "#/definitions/models.Useraccount"
  13395. }
  13396. },
  13397. "500": {
  13398. "description": "Internal Server Error",
  13399. "schema": {
  13400. "$ref": "#/definitions/app.Response"
  13401. }
  13402. }
  13403. }
  13404. }
  13405. },
  13406. "/User/GetUserAuthStatus": {
  13407. "get": {
  13408. "security": [
  13409. {
  13410. "ApiKeyAuth": []
  13411. }
  13412. ],
  13413. "produces": [
  13414. "application/json"
  13415. ],
  13416. "tags": [
  13417. "用户信息"
  13418. ],
  13419. "summary": "获取用户实名认证状态",
  13420. "parameters": [
  13421. {
  13422. "type": "integer",
  13423. "description": "用户ID",
  13424. "name": "userID",
  13425. "in": "query",
  13426. "required": true
  13427. }
  13428. ],
  13429. "responses": {
  13430. "200": {
  13431. "description": "OK",
  13432. "schema": {
  13433. "$ref": "#/definitions/app.Response"
  13434. }
  13435. },
  13436. "500": {
  13437. "description": "Internal Server Error",
  13438. "schema": {
  13439. "$ref": "#/definitions/app.Response"
  13440. }
  13441. }
  13442. }
  13443. }
  13444. },
  13445. "/User/LoginQuery": {
  13446. "get": {
  13447. "security": [
  13448. {
  13449. "ApiKeyAuth": []
  13450. }
  13451. ],
  13452. "produces": [
  13453. "application/json"
  13454. ],
  13455. "tags": [
  13456. "用户信息"
  13457. ],
  13458. "summary": "账户登录后信息查询",
  13459. "parameters": [
  13460. {
  13461. "type": "integer",
  13462. "description": "登录账号",
  13463. "name": "loginID",
  13464. "in": "query",
  13465. "required": true
  13466. }
  13467. ],
  13468. "responses": {
  13469. "200": {
  13470. "description": "OK",
  13471. "schema": {
  13472. "$ref": "#/definitions/user.LoginQueryRsp"
  13473. }
  13474. },
  13475. "500": {
  13476. "description": "Internal Server Error",
  13477. "schema": {
  13478. "$ref": "#/definitions/app.Response"
  13479. }
  13480. }
  13481. }
  13482. }
  13483. },
  13484. "/User/QueryMessageBoard": {
  13485. "get": {
  13486. "security": [
  13487. {
  13488. "ApiKeyAuth": []
  13489. }
  13490. ],
  13491. "produces": [
  13492. "application/json"
  13493. ],
  13494. "tags": [
  13495. "用户信息"
  13496. ],
  13497. "summary": "获取用户留言板信息",
  13498. "parameters": [
  13499. {
  13500. "type": "integer",
  13501. "description": "用户ID",
  13502. "name": "userID",
  13503. "in": "query",
  13504. "required": true
  13505. }
  13506. ],
  13507. "responses": {
  13508. "200": {
  13509. "description": "OK",
  13510. "schema": {
  13511. "$ref": "#/definitions/models.Messageboard"
  13512. }
  13513. },
  13514. "500": {
  13515. "description": "Internal Server Error",
  13516. "schema": {
  13517. "$ref": "#/definitions/app.Response"
  13518. }
  13519. }
  13520. }
  13521. }
  13522. },
  13523. "/User/QueryUserFavoriteGoodses": {
  13524. "get": {
  13525. "security": [
  13526. {
  13527. "ApiKeyAuth": []
  13528. }
  13529. ],
  13530. "produces": [
  13531. "application/json"
  13532. ],
  13533. "tags": [
  13534. "用户信息"
  13535. ],
  13536. "summary": "获取用户商品收藏信息",
  13537. "parameters": [
  13538. {
  13539. "type": "integer",
  13540. "description": "用户ID",
  13541. "name": "userID",
  13542. "in": "query",
  13543. "required": true
  13544. }
  13545. ],
  13546. "responses": {
  13547. "200": {
  13548. "description": "OK",
  13549. "schema": {
  13550. "$ref": "#/definitions/models.Userfavoritegoods"
  13551. }
  13552. },
  13553. "500": {
  13554. "description": "Internal Server Error",
  13555. "schema": {
  13556. "$ref": "#/definitions/app.Response"
  13557. }
  13558. }
  13559. }
  13560. }
  13561. },
  13562. "/User/QueryUserInfo": {
  13563. "get": {
  13564. "security": [
  13565. {
  13566. "ApiKeyAuth": []
  13567. }
  13568. ],
  13569. "produces": [
  13570. "application/json"
  13571. ],
  13572. "tags": [
  13573. "用户信息"
  13574. ],
  13575. "summary": "获取用户信息",
  13576. "parameters": [
  13577. {
  13578. "type": "integer",
  13579. "description": "用户ID",
  13580. "name": "userID",
  13581. "in": "query",
  13582. "required": true
  13583. },
  13584. {
  13585. "type": "boolean",
  13586. "description": "是否解密",
  13587. "name": "isDecrypt",
  13588. "in": "query"
  13589. }
  13590. ],
  13591. "responses": {
  13592. "200": {
  13593. "description": "OK",
  13594. "schema": {
  13595. "$ref": "#/definitions/models.Userinfo"
  13596. }
  13597. },
  13598. "500": {
  13599. "description": "Internal Server Error",
  13600. "schema": {
  13601. "$ref": "#/definitions/app.Response"
  13602. }
  13603. }
  13604. }
  13605. }
  13606. },
  13607. "/User/QueryUserReferNum": {
  13608. "get": {
  13609. "produces": [
  13610. "application/json"
  13611. ],
  13612. "tags": [
  13613. "用户信息"
  13614. ],
  13615. "summary": "获取用户邀请码",
  13616. "parameters": [
  13617. {
  13618. "type": "integer",
  13619. "description": "用户ID",
  13620. "name": "userID",
  13621. "in": "query",
  13622. "required": true
  13623. }
  13624. ],
  13625. "responses": {
  13626. "200": {
  13627. "description": "OK",
  13628. "schema": {
  13629. "$ref": "#/definitions/app.Response"
  13630. }
  13631. },
  13632. "500": {
  13633. "description": "Internal Server Error",
  13634. "schema": {
  13635. "$ref": "#/definitions/app.Response"
  13636. }
  13637. }
  13638. }
  13639. }
  13640. },
  13641. "/User/RemoveUserFavoriteGoods": {
  13642. "post": {
  13643. "security": [
  13644. {
  13645. "ApiKeyAuth": []
  13646. }
  13647. ],
  13648. "produces": [
  13649. "application/json"
  13650. ],
  13651. "tags": [
  13652. "用户信息"
  13653. ],
  13654. "summary": "移除用户商品收藏信息",
  13655. "parameters": [
  13656. {
  13657. "type": "integer",
  13658. "description": "用户ID",
  13659. "name": "userID",
  13660. "in": "query",
  13661. "required": true
  13662. },
  13663. {
  13664. "type": "integer",
  13665. "description": "商品ID",
  13666. "name": "goodsID",
  13667. "in": "query",
  13668. "required": true
  13669. }
  13670. ],
  13671. "responses": {
  13672. "200": {
  13673. "description": "OK",
  13674. "schema": {
  13675. "$ref": "#/definitions/app.Response"
  13676. }
  13677. },
  13678. "500": {
  13679. "description": "Internal Server Error",
  13680. "schema": {
  13681. "$ref": "#/definitions/app.Response"
  13682. }
  13683. }
  13684. }
  13685. }
  13686. },
  13687. "/User/UpdateUserAccountStatus": {
  13688. "post": {
  13689. "security": [
  13690. {
  13691. "ApiKeyAuth": []
  13692. }
  13693. ],
  13694. "produces": [
  13695. "application/json"
  13696. ],
  13697. "tags": [
  13698. "用户信息"
  13699. ],
  13700. "summary": "更新用户状态",
  13701. "parameters": [
  13702. {
  13703. "type": "integer",
  13704. "description": "用户ID",
  13705. "name": "userID",
  13706. "in": "query",
  13707. "required": true
  13708. },
  13709. {
  13710. "type": "integer",
  13711. "description": "账户状态 - 4:正常 6:注销(停用)",
  13712. "name": "accountStatus",
  13713. "in": "query",
  13714. "required": true
  13715. }
  13716. ],
  13717. "responses": {
  13718. "200": {
  13719. "description": "OK",
  13720. "schema": {
  13721. "$ref": "#/definitions/app.Response"
  13722. }
  13723. },
  13724. "500": {
  13725. "description": "Internal Server Error",
  13726. "schema": {
  13727. "$ref": "#/definitions/app.Response"
  13728. }
  13729. }
  13730. }
  13731. }
  13732. },
  13733. "/WRTrade/GetAllDeliveryGoods": {
  13734. "get": {
  13735. "security": [
  13736. {
  13737. "ApiKeyAuth": []
  13738. }
  13739. ],
  13740. "produces": [
  13741. "application/json"
  13742. ],
  13743. "tags": [
  13744. "仓单贸易",
  13745. "仓单贸易"
  13746. ],
  13747. "summary": "获取带仓单分类的种类信息",
  13748. "responses": {
  13749. "200": {
  13750. "description": "OK",
  13751. "schema": {
  13752. "$ref": "#/definitions/app.Response"
  13753. }
  13754. },
  13755. "500": {
  13756. "description": "Internal Server Error",
  13757. "schema": {
  13758. "$ref": "#/definitions/app.Response"
  13759. }
  13760. }
  13761. }
  13762. }
  13763. },
  13764. "/WrTrade2/InsertXhcpSellBackApply": {
  13765. "post": {
  13766. "security": [
  13767. {
  13768. "ApiKeyAuth": []
  13769. }
  13770. ],
  13771. "produces": [
  13772. "application/json"
  13773. ],
  13774. "tags": [
  13775. "仓单贸易v2"
  13776. ],
  13777. "summary": "新增回收申请(新会陈皮)",
  13778. "parameters": [
  13779. {
  13780. "description": "回收申请",
  13781. "name": "jsonBody",
  13782. "in": "body",
  13783. "required": true,
  13784. "schema": {
  13785. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13786. }
  13787. }
  13788. ],
  13789. "responses": {
  13790. "200": {
  13791. "description": "OK",
  13792. "schema": {
  13793. "$ref": "#/definitions/app.Response"
  13794. }
  13795. },
  13796. "500": {
  13797. "description": "Internal Server Error",
  13798. "schema": {
  13799. "$ref": "#/definitions/app.Response"
  13800. }
  13801. }
  13802. }
  13803. }
  13804. },
  13805. "/WrTrade2/QueryDeliveryGoodsSection": {
  13806. "get": {
  13807. "security": [
  13808. {
  13809. "ApiKeyAuth": []
  13810. }
  13811. ],
  13812. "produces": [
  13813. "application/json"
  13814. ],
  13815. "tags": [
  13816. "仓单贸易v2"
  13817. ],
  13818. "summary": "查询板块(分类)",
  13819. "responses": {
  13820. "200": {
  13821. "description": "OK",
  13822. "schema": {
  13823. "type": "array",
  13824. "items": {
  13825. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13826. }
  13827. }
  13828. },
  13829. "500": {
  13830. "description": "Internal Server Error",
  13831. "schema": {
  13832. "$ref": "#/definitions/app.Response"
  13833. }
  13834. }
  13835. }
  13836. }
  13837. },
  13838. "/WrTrade2/QueryFaProductDetail": {
  13839. "get": {
  13840. "security": [
  13841. {
  13842. "ApiKeyAuth": []
  13843. }
  13844. ],
  13845. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13846. "produces": [
  13847. "application/json"
  13848. ],
  13849. "tags": [
  13850. "仓单贸易v2"
  13851. ],
  13852. "summary": "查询融资产品列表",
  13853. "parameters": [
  13854. {
  13855. "type": "integer",
  13856. "description": "仓单要素id",
  13857. "name": "wrfactortypeid",
  13858. "in": "query",
  13859. "required": true
  13860. }
  13861. ],
  13862. "responses": {
  13863. "200": {
  13864. "description": "OK",
  13865. "schema": {
  13866. "type": "array",
  13867. "items": {
  13868. "$ref": "#/definitions/models.WrFAProductDetail"
  13869. }
  13870. }
  13871. },
  13872. "500": {
  13873. "description": "Internal Server Error",
  13874. "schema": {
  13875. "$ref": "#/definitions/app.Response"
  13876. }
  13877. }
  13878. }
  13879. }
  13880. },
  13881. "/WrTrade2/QueryFilterItem": {
  13882. "get": {
  13883. "security": [
  13884. {
  13885. "ApiKeyAuth": []
  13886. }
  13887. ],
  13888. "produces": [
  13889. "application/json"
  13890. ],
  13891. "tags": [
  13892. "仓单贸易v2"
  13893. ],
  13894. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13895. "parameters": [
  13896. {
  13897. "type": "string",
  13898. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13899. "name": "itype",
  13900. "in": "query",
  13901. "required": true
  13902. }
  13903. ],
  13904. "responses": {
  13905. "200": {
  13906. "description": "OK",
  13907. "schema": {
  13908. "type": "array",
  13909. "items": {
  13910. "$ref": "#/definitions/models.WrFilterItem"
  13911. }
  13912. }
  13913. },
  13914. "500": {
  13915. "description": "Internal Server Error",
  13916. "schema": {
  13917. "$ref": "#/definitions/app.Response"
  13918. }
  13919. }
  13920. }
  13921. }
  13922. },
  13923. "/WrTrade2/QueryFtDeliveryGoods": {
  13924. "get": {
  13925. "security": [
  13926. {
  13927. "ApiKeyAuth": []
  13928. }
  13929. ],
  13930. "produces": [
  13931. "application/json"
  13932. ],
  13933. "tags": [
  13934. "仓单贸易v2"
  13935. ],
  13936. "summary": "查询品种品类筛选框列表",
  13937. "responses": {
  13938. "200": {
  13939. "description": "OK",
  13940. "schema": {
  13941. "type": "array",
  13942. "items": {
  13943. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13944. }
  13945. }
  13946. },
  13947. "500": {
  13948. "description": "Internal Server Error",
  13949. "schema": {
  13950. "$ref": "#/definitions/app.Response"
  13951. }
  13952. }
  13953. }
  13954. }
  13955. },
  13956. "/WrTrade2/QueryHoldLB": {
  13957. "get": {
  13958. "security": [
  13959. {
  13960. "ApiKeyAuth": []
  13961. }
  13962. ],
  13963. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13964. "produces": [
  13965. "application/json"
  13966. ],
  13967. "tags": [
  13968. "仓单贸易v2"
  13969. ],
  13970. "summary": "查询仓单持有记录",
  13971. "parameters": [
  13972. {
  13973. "type": "integer",
  13974. "description": "资金账号",
  13975. "name": "accountid",
  13976. "in": "query",
  13977. "required": true
  13978. },
  13979. {
  13980. "type": "integer",
  13981. "description": "仓库id",
  13982. "name": "warehouseid",
  13983. "in": "query"
  13984. },
  13985. {
  13986. "type": "integer",
  13987. "description": "品种id",
  13988. "name": "deliverygoodsid",
  13989. "in": "query"
  13990. },
  13991. {
  13992. "type": "integer",
  13993. "description": "品类id",
  13994. "name": "wrstandardid",
  13995. "in": "query"
  13996. },
  13997. {
  13998. "type": "integer",
  13999. "description": "仓单要素id",
  14000. "name": "wrfactortypeid",
  14001. "in": "query"
  14002. },
  14003. {
  14004. "type": "string",
  14005. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14006. "name": "dgitemname",
  14007. "in": "query"
  14008. }
  14009. ],
  14010. "responses": {
  14011. "200": {
  14012. "description": "OK",
  14013. "schema": {
  14014. "type": "array",
  14015. "items": {
  14016. "$ref": "#/definitions/models.WrHoldLB"
  14017. }
  14018. }
  14019. },
  14020. "500": {
  14021. "description": "Internal Server Error",
  14022. "schema": {
  14023. "$ref": "#/definitions/app.Response"
  14024. }
  14025. }
  14026. }
  14027. }
  14028. },
  14029. "/WrTrade2/QueryOrderQuote": {
  14030. "get": {
  14031. "security": [
  14032. {
  14033. "ApiKeyAuth": []
  14034. }
  14035. ],
  14036. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  14037. "produces": [
  14038. "application/json"
  14039. ],
  14040. "tags": [
  14041. "仓单贸易v2"
  14042. ],
  14043. "summary": "查询大厅行情列表",
  14044. "parameters": [
  14045. {
  14046. "type": "integer",
  14047. "description": "页码",
  14048. "name": "page",
  14049. "in": "query"
  14050. },
  14051. {
  14052. "type": "integer",
  14053. "description": "每页条数",
  14054. "name": "pagesize",
  14055. "in": "query"
  14056. },
  14057. {
  14058. "type": "integer",
  14059. "description": "仓单贸易市场id",
  14060. "name": "marketid",
  14061. "in": "query"
  14062. },
  14063. {
  14064. "type": "integer",
  14065. "description": "价格方式 - 1:固定价 2-浮动价",
  14066. "name": "wrpricetype",
  14067. "in": "query",
  14068. "required": true
  14069. },
  14070. {
  14071. "type": "integer",
  14072. "description": "0:仓单预售 1:仓单贸易",
  14073. "name": "haswr",
  14074. "in": "query"
  14075. },
  14076. {
  14077. "type": "string",
  14078. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14079. "name": "dgitemname",
  14080. "in": "query"
  14081. },
  14082. {
  14083. "type": "integer",
  14084. "description": "仓库id(筛选条件)",
  14085. "name": "warehouseid",
  14086. "in": "query"
  14087. },
  14088. {
  14089. "type": "integer",
  14090. "description": "品种id",
  14091. "name": "deliverygoodsid",
  14092. "in": "query"
  14093. },
  14094. {
  14095. "type": "integer",
  14096. "description": "品类id",
  14097. "name": "wrstandardid",
  14098. "in": "query"
  14099. },
  14100. {
  14101. "type": "integer",
  14102. "description": "品牌id(dgfactoryitemid)",
  14103. "name": "brandid",
  14104. "in": "query"
  14105. },
  14106. {
  14107. "type": "integer",
  14108. "description": "年份id(dgfactoryitemid)",
  14109. "name": "yearsid",
  14110. "in": "query"
  14111. },
  14112. {
  14113. "type": "integer",
  14114. "description": "仓单要素id",
  14115. "name": "wrfactortypeid",
  14116. "in": "query"
  14117. },
  14118. {
  14119. "type": "string",
  14120. "description": "交收月(yyyy-mm) 仓单预售填写",
  14121. "name": "deliverymonth",
  14122. "in": "query"
  14123. }
  14124. ],
  14125. "responses": {
  14126. "200": {
  14127. "description": "OK",
  14128. "schema": {
  14129. "type": "array",
  14130. "items": {
  14131. "$ref": "#/definitions/models.WrOrderQuote"
  14132. }
  14133. }
  14134. },
  14135. "500": {
  14136. "description": "Internal Server Error",
  14137. "schema": {
  14138. "$ref": "#/definitions/app.Response"
  14139. }
  14140. }
  14141. }
  14142. }
  14143. },
  14144. "/WrTrade2/QueryOrderQuoteDetail": {
  14145. "get": {
  14146. "security": [
  14147. {
  14148. "ApiKeyAuth": []
  14149. }
  14150. ],
  14151. "produces": [
  14152. "application/json"
  14153. ],
  14154. "tags": [
  14155. "仓单贸易v2"
  14156. ],
  14157. "summary": "查询买卖大厅",
  14158. "parameters": [
  14159. {
  14160. "type": "integer",
  14161. "description": "页码",
  14162. "name": "page",
  14163. "in": "query"
  14164. },
  14165. {
  14166. "type": "integer",
  14167. "description": "每页条数",
  14168. "name": "pagesize",
  14169. "in": "query"
  14170. },
  14171. {
  14172. "type": "integer",
  14173. "description": "仓单贸易市场id",
  14174. "name": "marketid",
  14175. "in": "query"
  14176. },
  14177. {
  14178. "type": "integer",
  14179. "description": "价格方式 - 1:固定价 2-浮动价",
  14180. "name": "wrpricetype",
  14181. "in": "query",
  14182. "required": true
  14183. },
  14184. {
  14185. "type": "integer",
  14186. "description": "0:仓单预售 1:仓单贸易",
  14187. "name": "haswr",
  14188. "in": "query"
  14189. },
  14190. {
  14191. "type": "integer",
  14192. "description": "仓单要素id",
  14193. "name": "wrfactortypeid",
  14194. "in": "query",
  14195. "required": true
  14196. },
  14197. {
  14198. "type": "integer",
  14199. "description": "期货商品id(浮动价方式时填)",
  14200. "name": "goodsid",
  14201. "in": "query"
  14202. },
  14203. {
  14204. "type": "integer",
  14205. "description": "买卖方向 0-买 1-卖",
  14206. "name": "buyorsell",
  14207. "in": "query",
  14208. "required": true
  14209. },
  14210. {
  14211. "type": "string",
  14212. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  14213. "name": "deliverymonth",
  14214. "in": "query"
  14215. }
  14216. ],
  14217. "responses": {
  14218. "200": {
  14219. "description": "OK",
  14220. "schema": {
  14221. "type": "array",
  14222. "items": {
  14223. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  14224. }
  14225. }
  14226. },
  14227. "500": {
  14228. "description": "Internal Server Error",
  14229. "schema": {
  14230. "$ref": "#/definitions/app.Response"
  14231. }
  14232. }
  14233. }
  14234. }
  14235. },
  14236. "/WrTrade2/QueryOrderQuoteMyq": {
  14237. "get": {
  14238. "security": [
  14239. {
  14240. "ApiKeyAuth": []
  14241. }
  14242. ],
  14243. "produces": [
  14244. "application/json"
  14245. ],
  14246. "tags": [
  14247. "仓单贸易v2"
  14248. ],
  14249. "summary": "查询贸易圈挂牌大厅",
  14250. "parameters": [
  14251. {
  14252. "type": "integer",
  14253. "description": "页码",
  14254. "name": "page",
  14255. "in": "query"
  14256. },
  14257. {
  14258. "type": "integer",
  14259. "description": "每页条数",
  14260. "name": "pagesize",
  14261. "in": "query"
  14262. },
  14263. {
  14264. "type": "integer",
  14265. "description": "用户id",
  14266. "name": "userid",
  14267. "in": "query",
  14268. "required": true
  14269. },
  14270. {
  14271. "type": "integer",
  14272. "description": "仓单贸易市场id",
  14273. "name": "marketid",
  14274. "in": "query"
  14275. },
  14276. {
  14277. "type": "integer",
  14278. "description": "0:仓单预售 1:仓单贸易",
  14279. "name": "haswr",
  14280. "in": "query"
  14281. },
  14282. {
  14283. "type": "integer",
  14284. "description": "买卖方向 0-买 1-卖",
  14285. "name": "buyorsell",
  14286. "in": "query",
  14287. "required": true
  14288. },
  14289. {
  14290. "type": "integer",
  14291. "description": "品种id",
  14292. "name": "deliverygoodsid",
  14293. "in": "query"
  14294. },
  14295. {
  14296. "type": "integer",
  14297. "description": "品类id",
  14298. "name": "wrstandardid",
  14299. "in": "query"
  14300. },
  14301. {
  14302. "type": "string",
  14303. "description": "交收月(yyyy-mm) 仓单预售填写",
  14304. "name": "deliverymonth",
  14305. "in": "query"
  14306. },
  14307. {
  14308. "type": "string",
  14309. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14310. "name": "dgitemname",
  14311. "in": "query"
  14312. }
  14313. ],
  14314. "responses": {
  14315. "200": {
  14316. "description": "OK",
  14317. "schema": {
  14318. "type": "array",
  14319. "items": {
  14320. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  14321. }
  14322. }
  14323. },
  14324. "500": {
  14325. "description": "Internal Server Error",
  14326. "schema": {
  14327. "$ref": "#/definitions/app.Response"
  14328. }
  14329. }
  14330. }
  14331. }
  14332. },
  14333. "/WrTrade2/QueryPerformancePlan": {
  14334. "get": {
  14335. "security": [
  14336. {
  14337. "ApiKeyAuth": []
  14338. }
  14339. ],
  14340. "produces": [
  14341. "application/json"
  14342. ],
  14343. "tags": [
  14344. "仓单贸易v2"
  14345. ],
  14346. "summary": "查询履约信息",
  14347. "parameters": [
  14348. {
  14349. "type": "integer",
  14350. "description": "用户id",
  14351. "name": "userid",
  14352. "in": "query",
  14353. "required": true
  14354. },
  14355. {
  14356. "type": "integer",
  14357. "description": "买卖方向 0-买 1-卖",
  14358. "name": "buyorsell",
  14359. "in": "query",
  14360. "required": true
  14361. },
  14362. {
  14363. "type": "string",
  14364. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  14365. "name": "status",
  14366. "in": "query"
  14367. },
  14368. {
  14369. "type": "string",
  14370. "description": "开始交易日(yyyymmdd)",
  14371. "name": "begindate",
  14372. "in": "query"
  14373. },
  14374. {
  14375. "type": "string",
  14376. "description": "结束交易日(yyyymmdd)",
  14377. "name": "enddate",
  14378. "in": "query"
  14379. }
  14380. ],
  14381. "responses": {
  14382. "200": {
  14383. "description": "OK",
  14384. "schema": {
  14385. "type": "array",
  14386. "items": {
  14387. "$ref": "#/definitions/models.WrPerformancePlan"
  14388. }
  14389. }
  14390. },
  14391. "500": {
  14392. "description": "Internal Server Error",
  14393. "schema": {
  14394. "$ref": "#/definitions/app.Response"
  14395. }
  14396. }
  14397. }
  14398. }
  14399. },
  14400. "/WrTrade2/QueryPermancePlanTmp": {
  14401. "get": {
  14402. "security": [
  14403. {
  14404. "ApiKeyAuth": []
  14405. }
  14406. ],
  14407. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  14408. "produces": [
  14409. "application/json"
  14410. ],
  14411. "tags": [
  14412. "仓单贸易v2"
  14413. ],
  14414. "summary": "查询履约模板",
  14415. "parameters": [
  14416. {
  14417. "type": "integer",
  14418. "description": "用户id",
  14419. "name": "userid",
  14420. "in": "query"
  14421. },
  14422. {
  14423. "type": "string",
  14424. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  14425. "name": "tmptype",
  14426. "in": "query"
  14427. },
  14428. {
  14429. "type": "integer",
  14430. "description": "是否包含公共模板(用户id为空的) 1-包含",
  14431. "name": "includepub",
  14432. "in": "query"
  14433. },
  14434. {
  14435. "type": "integer",
  14436. "description": "市场id(天津麦顿指定此参数,其它不用)",
  14437. "name": "marketid",
  14438. "in": "query"
  14439. }
  14440. ],
  14441. "responses": {
  14442. "200": {
  14443. "description": "OK",
  14444. "schema": {
  14445. "type": "array",
  14446. "items": {
  14447. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  14448. }
  14449. }
  14450. },
  14451. "500": {
  14452. "description": "Internal Server Error",
  14453. "schema": {
  14454. "$ref": "#/definitions/app.Response"
  14455. }
  14456. }
  14457. }
  14458. }
  14459. },
  14460. "/WrTrade2/QuerySiteColumnDetail": {
  14461. "get": {
  14462. "security": [
  14463. {
  14464. "ApiKeyAuth": []
  14465. }
  14466. ],
  14467. "produces": [
  14468. "application/json"
  14469. ],
  14470. "tags": [
  14471. "仓单贸易v2"
  14472. ],
  14473. "summary": "查询资讯",
  14474. "parameters": [
  14475. {
  14476. "type": "integer",
  14477. "description": "页码",
  14478. "name": "page",
  14479. "in": "query"
  14480. },
  14481. {
  14482. "type": "integer",
  14483. "description": "每页条数",
  14484. "name": "pagesize",
  14485. "in": "query"
  14486. },
  14487. {
  14488. "type": "integer",
  14489. "description": "所属栏目id",
  14490. "name": "columnid",
  14491. "in": "query"
  14492. }
  14493. ],
  14494. "responses": {
  14495. "200": {
  14496. "description": "OK",
  14497. "schema": {
  14498. "type": "array",
  14499. "items": {
  14500. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14501. }
  14502. }
  14503. },
  14504. "500": {
  14505. "description": "Internal Server Error",
  14506. "schema": {
  14507. "$ref": "#/definitions/app.Response"
  14508. }
  14509. }
  14510. }
  14511. }
  14512. },
  14513. "/WrTrade2/QuerySpotGroupTradeSum": {
  14514. "get": {
  14515. "security": [
  14516. {
  14517. "ApiKeyAuth": []
  14518. }
  14519. ],
  14520. "produces": [
  14521. "application/json"
  14522. ],
  14523. "tags": [
  14524. "仓单贸易v2"
  14525. ],
  14526. "summary": "查询指数",
  14527. "responses": {
  14528. "200": {
  14529. "description": "OK",
  14530. "schema": {
  14531. "type": "array",
  14532. "items": {
  14533. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14534. }
  14535. }
  14536. },
  14537. "500": {
  14538. "description": "Internal Server Error",
  14539. "schema": {
  14540. "$ref": "#/definitions/app.Response"
  14541. }
  14542. }
  14543. }
  14544. }
  14545. },
  14546. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14547. "get": {
  14548. "security": [
  14549. {
  14550. "ApiKeyAuth": []
  14551. }
  14552. ],
  14553. "description": "查询的结果将会按日期 从小到大 排序",
  14554. "produces": [
  14555. "application/json"
  14556. ],
  14557. "tags": [
  14558. "仓单贸易v2"
  14559. ],
  14560. "summary": "查询指数详细(价格走势图)",
  14561. "parameters": [
  14562. {
  14563. "type": "integer",
  14564. "description": "现货商品id",
  14565. "name": "deliverygoodsid",
  14566. "in": "query",
  14567. "required": true
  14568. },
  14569. {
  14570. "type": "integer",
  14571. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14572. "name": "lastnum",
  14573. "in": "query"
  14574. }
  14575. ],
  14576. "responses": {
  14577. "200": {
  14578. "description": "OK",
  14579. "schema": {
  14580. "type": "array",
  14581. "items": {
  14582. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14583. }
  14584. }
  14585. },
  14586. "500": {
  14587. "description": "Internal Server Error",
  14588. "schema": {
  14589. "$ref": "#/definitions/app.Response"
  14590. }
  14591. }
  14592. }
  14593. }
  14594. },
  14595. "/WrTrade2/QueryWrAverageTradePrice": {
  14596. "get": {
  14597. "security": [
  14598. {
  14599. "ApiKeyAuth": []
  14600. }
  14601. ],
  14602. "produces": [
  14603. "application/json"
  14604. ],
  14605. "tags": [
  14606. "仓单贸易v2"
  14607. ],
  14608. "summary": "查询成交价(历史走势)",
  14609. "parameters": [
  14610. {
  14611. "type": "integer",
  14612. "description": "页码",
  14613. "name": "page",
  14614. "in": "query"
  14615. },
  14616. {
  14617. "type": "integer",
  14618. "description": "每页条数",
  14619. "name": "pagesize",
  14620. "in": "query"
  14621. },
  14622. {
  14623. "type": "integer",
  14624. "description": "0:仓单预售 1:仓单贸易",
  14625. "name": "haswr",
  14626. "in": "query",
  14627. "required": true
  14628. },
  14629. {
  14630. "type": "integer",
  14631. "description": "仓单要素id",
  14632. "name": "wrfactortypeid",
  14633. "in": "query",
  14634. "required": true
  14635. }
  14636. ],
  14637. "responses": {
  14638. "200": {
  14639. "description": "OK",
  14640. "schema": {
  14641. "type": "array",
  14642. "items": {
  14643. "$ref": "#/definitions/models.WrAverageTradePrice"
  14644. }
  14645. }
  14646. },
  14647. "500": {
  14648. "description": "Internal Server Error",
  14649. "schema": {
  14650. "$ref": "#/definitions/app.Response"
  14651. }
  14652. }
  14653. }
  14654. }
  14655. },
  14656. "/WrTrade2/QueryWrBrandAndYears": {
  14657. "get": {
  14658. "security": [
  14659. {
  14660. "ApiKeyAuth": []
  14661. }
  14662. ],
  14663. "produces": [
  14664. "application/json"
  14665. ],
  14666. "tags": [
  14667. "仓单贸易v2"
  14668. ],
  14669. "summary": "查询品牌和年份",
  14670. "responses": {
  14671. "200": {
  14672. "description": "OK",
  14673. "schema": {
  14674. "type": "array",
  14675. "items": {
  14676. "$ref": "#/definitions/models.WrBrandAndYears"
  14677. }
  14678. }
  14679. },
  14680. "500": {
  14681. "description": "Internal Server Error",
  14682. "schema": {
  14683. "$ref": "#/definitions/app.Response"
  14684. }
  14685. }
  14686. }
  14687. }
  14688. },
  14689. "/WrTrade2/QueryWrBsGoodsInfo": {
  14690. "get": {
  14691. "security": [
  14692. {
  14693. "ApiKeyAuth": []
  14694. }
  14695. ],
  14696. "description": "合约交易/买卖大厅/详情",
  14697. "produces": [
  14698. "application/json"
  14699. ],
  14700. "tags": [
  14701. "仓单贸易v2"
  14702. ],
  14703. "summary": "查询合约交易买卖大厅详情",
  14704. "parameters": [
  14705. {
  14706. "type": "integer",
  14707. "description": "商品id",
  14708. "name": "goodsid",
  14709. "in": "query",
  14710. "required": true
  14711. }
  14712. ],
  14713. "responses": {
  14714. "200": {
  14715. "description": "OK",
  14716. "schema": {
  14717. "type": "array",
  14718. "items": {
  14719. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14720. }
  14721. }
  14722. },
  14723. "500": {
  14724. "description": "Internal Server Error",
  14725. "schema": {
  14726. "$ref": "#/definitions/app.Response"
  14727. }
  14728. }
  14729. }
  14730. }
  14731. },
  14732. "/WrTrade2/QueryWrBuybackDetail": {
  14733. "get": {
  14734. "security": [
  14735. {
  14736. "ApiKeyAuth": []
  14737. }
  14738. ],
  14739. "produces": [
  14740. "application/json"
  14741. ],
  14742. "tags": [
  14743. "仓单贸易v2"
  14744. ],
  14745. "summary": "查询仓单回购明细",
  14746. "parameters": [
  14747. {
  14748. "type": "integer",
  14749. "description": "融资合同id",
  14750. "name": "scfcontractid",
  14751. "in": "query"
  14752. }
  14753. ],
  14754. "responses": {
  14755. "200": {
  14756. "description": "OK",
  14757. "schema": {
  14758. "type": "array",
  14759. "items": {
  14760. "$ref": "#/definitions/models.WrBuybackDetail"
  14761. }
  14762. }
  14763. },
  14764. "500": {
  14765. "description": "Internal Server Error",
  14766. "schema": {
  14767. "$ref": "#/definitions/app.Response"
  14768. }
  14769. }
  14770. }
  14771. }
  14772. },
  14773. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14774. "get": {
  14775. "security": [
  14776. {
  14777. "ApiKeyAuth": []
  14778. }
  14779. ],
  14780. "produces": [
  14781. "application/json"
  14782. ],
  14783. "tags": [
  14784. "仓单贸易v2"
  14785. ],
  14786. "summary": "查询固定广告配置",
  14787. "responses": {
  14788. "200": {
  14789. "description": "OK",
  14790. "schema": {
  14791. "type": "array",
  14792. "items": {
  14793. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14794. }
  14795. }
  14796. },
  14797. "500": {
  14798. "description": "Internal Server Error",
  14799. "schema": {
  14800. "$ref": "#/definitions/app.Response"
  14801. }
  14802. }
  14803. }
  14804. }
  14805. },
  14806. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14807. "get": {
  14808. "security": [
  14809. {
  14810. "ApiKeyAuth": []
  14811. }
  14812. ],
  14813. "produces": [
  14814. "application/json"
  14815. ],
  14816. "tags": [
  14817. "仓单贸易v2"
  14818. ],
  14819. "summary": "查询合约交收可点选仓单",
  14820. "parameters": [
  14821. {
  14822. "type": "integer",
  14823. "description": "资金账号",
  14824. "name": "accountid",
  14825. "in": "query",
  14826. "required": true
  14827. },
  14828. {
  14829. "type": "integer",
  14830. "description": "商品id",
  14831. "name": "goodsid",
  14832. "in": "query",
  14833. "required": true
  14834. }
  14835. ],
  14836. "responses": {
  14837. "200": {
  14838. "description": "OK",
  14839. "schema": {
  14840. "type": "array",
  14841. "items": {
  14842. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14843. }
  14844. }
  14845. },
  14846. "500": {
  14847. "description": "Internal Server Error",
  14848. "schema": {
  14849. "$ref": "#/definitions/app.Response"
  14850. }
  14851. }
  14852. }
  14853. }
  14854. },
  14855. "/WrTrade2/QueryWrDeliveryDetail": {
  14856. "get": {
  14857. "security": [
  14858. {
  14859. "ApiKeyAuth": []
  14860. }
  14861. ],
  14862. "produces": [
  14863. "application/json"
  14864. ],
  14865. "tags": [
  14866. "仓单贸易v2"
  14867. ],
  14868. "summary": "查询交收",
  14869. "parameters": [
  14870. {
  14871. "type": "integer",
  14872. "description": "用户id",
  14873. "name": "userid",
  14874. "in": "query",
  14875. "required": true
  14876. },
  14877. {
  14878. "type": "integer",
  14879. "description": "资金账号id",
  14880. "name": "accountid",
  14881. "in": "query"
  14882. },
  14883. {
  14884. "type": "string",
  14885. "description": "开始交易日(yyyymmdd)",
  14886. "name": "begindate",
  14887. "in": "query"
  14888. },
  14889. {
  14890. "type": "string",
  14891. "description": "结束交易日(yyyymmdd)",
  14892. "name": "enddate",
  14893. "in": "query"
  14894. }
  14895. ],
  14896. "responses": {
  14897. "200": {
  14898. "description": "OK",
  14899. "schema": {
  14900. "type": "array",
  14901. "items": {
  14902. "$ref": "#/definitions/models.WrDeliveryDetail"
  14903. }
  14904. }
  14905. },
  14906. "500": {
  14907. "description": "Internal Server Error",
  14908. "schema": {
  14909. "$ref": "#/definitions/app.Response"
  14910. }
  14911. }
  14912. }
  14913. }
  14914. },
  14915. "/WrTrade2/QueryWrDraftUserInfo": {
  14916. "get": {
  14917. "security": [
  14918. {
  14919. "ApiKeyAuth": []
  14920. }
  14921. ],
  14922. "produces": [
  14923. "application/json"
  14924. ],
  14925. "tags": [
  14926. "仓单贸易v2"
  14927. ],
  14928. "summary": "查询实名认证信息",
  14929. "parameters": [
  14930. {
  14931. "type": "integer",
  14932. "description": "用户ID",
  14933. "name": "userid",
  14934. "in": "query",
  14935. "required": true
  14936. },
  14937. {
  14938. "type": "integer",
  14939. "description": "用户状态 1:正常 2:注销",
  14940. "name": "userstatus",
  14941. "in": "query"
  14942. }
  14943. ],
  14944. "responses": {
  14945. "200": {
  14946. "description": "OK",
  14947. "schema": {
  14948. "type": "array",
  14949. "items": {
  14950. "$ref": "#/definitions/models.WrDraftUserInfo"
  14951. }
  14952. }
  14953. },
  14954. "500": {
  14955. "description": "Internal Server Error",
  14956. "schema": {
  14957. "$ref": "#/definitions/app.Response"
  14958. }
  14959. }
  14960. }
  14961. }
  14962. },
  14963. "/WrTrade2/QueryWrFactorTypeInfo": {
  14964. "get": {
  14965. "security": [
  14966. {
  14967. "ApiKeyAuth": []
  14968. }
  14969. ],
  14970. "produces": [
  14971. "application/json"
  14972. ],
  14973. "tags": [
  14974. "仓单贸易v2"
  14975. ],
  14976. "summary": "查询仓单要素详细信息",
  14977. "parameters": [
  14978. {
  14979. "type": "integer",
  14980. "description": "仓单要素id",
  14981. "name": "wrfactortypeid",
  14982. "in": "query",
  14983. "required": true
  14984. }
  14985. ],
  14986. "responses": {
  14987. "200": {
  14988. "description": "OK",
  14989. "schema": {
  14990. "type": "array",
  14991. "items": {
  14992. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14993. }
  14994. }
  14995. },
  14996. "500": {
  14997. "description": "Internal Server Error",
  14998. "schema": {
  14999. "$ref": "#/definitions/app.Response"
  15000. }
  15001. }
  15002. }
  15003. }
  15004. },
  15005. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  15006. "get": {
  15007. "security": [
  15008. {
  15009. "ApiKeyAuth": []
  15010. }
  15011. ],
  15012. "produces": [
  15013. "application/json"
  15014. ],
  15015. "tags": [
  15016. "仓单贸易v2"
  15017. ],
  15018. "summary": "查询仓单要素详细信息列表项",
  15019. "parameters": [
  15020. {
  15021. "type": "integer",
  15022. "description": "仓单要素id",
  15023. "name": "wrfactortypeid",
  15024. "in": "query",
  15025. "required": true
  15026. }
  15027. ],
  15028. "responses": {
  15029. "200": {
  15030. "description": "OK",
  15031. "schema": {
  15032. "type": "array",
  15033. "items": {
  15034. "$ref": "#/definitions/models.WrTypeItem"
  15035. }
  15036. }
  15037. },
  15038. "500": {
  15039. "description": "Internal Server Error",
  15040. "schema": {
  15041. "$ref": "#/definitions/app.Response"
  15042. }
  15043. }
  15044. }
  15045. }
  15046. },
  15047. "/WrTrade2/QueryWrFinanceBuyApply": {
  15048. "get": {
  15049. "security": [
  15050. {
  15051. "ApiKeyAuth": []
  15052. }
  15053. ],
  15054. "description": "页面 融资信息+ / 申请单",
  15055. "produces": [
  15056. "application/json"
  15057. ],
  15058. "tags": [
  15059. "仓单贸易v2"
  15060. ],
  15061. "summary": "查询融资购买申请",
  15062. "parameters": [
  15063. {
  15064. "type": "integer",
  15065. "description": "用户id",
  15066. "name": "userid",
  15067. "in": "query",
  15068. "required": true
  15069. }
  15070. ],
  15071. "responses": {
  15072. "200": {
  15073. "description": "OK",
  15074. "schema": {
  15075. "type": "array",
  15076. "items": {
  15077. "$ref": "#/definitions/models.WrFinanceBuyApply"
  15078. }
  15079. }
  15080. },
  15081. "500": {
  15082. "description": "Internal Server Error",
  15083. "schema": {
  15084. "$ref": "#/definitions/app.Response"
  15085. }
  15086. }
  15087. }
  15088. }
  15089. },
  15090. "/WrTrade2/QueryWrFriendApply": {
  15091. "get": {
  15092. "security": [
  15093. {
  15094. "ApiKeyAuth": []
  15095. }
  15096. ],
  15097. "produces": [
  15098. "application/json"
  15099. ],
  15100. "tags": [
  15101. "仓单贸易v2"
  15102. ],
  15103. "summary": "查询好友申请记录",
  15104. "parameters": [
  15105. {
  15106. "type": "integer",
  15107. "description": "用户id",
  15108. "name": "userid",
  15109. "in": "query",
  15110. "required": true
  15111. }
  15112. ],
  15113. "responses": {
  15114. "200": {
  15115. "description": "OK",
  15116. "schema": {
  15117. "type": "array",
  15118. "items": {
  15119. "$ref": "#/definitions/models.WrFriendApply"
  15120. }
  15121. }
  15122. },
  15123. "500": {
  15124. "description": "Internal Server Error",
  15125. "schema": {
  15126. "$ref": "#/definitions/app.Response"
  15127. }
  15128. }
  15129. }
  15130. }
  15131. },
  15132. "/WrTrade2/QueryWrGoodsInfo": {
  15133. "get": {
  15134. "security": [
  15135. {
  15136. "ApiKeyAuth": []
  15137. }
  15138. ],
  15139. "produces": [
  15140. "application/json"
  15141. ],
  15142. "tags": [
  15143. "仓单贸易v2"
  15144. ],
  15145. "summary": "查询仓单商品信息",
  15146. "parameters": [
  15147. {
  15148. "type": "integer",
  15149. "description": "仓单贸易市场id",
  15150. "name": "marketid",
  15151. "in": "query"
  15152. },
  15153. {
  15154. "type": "integer",
  15155. "description": "0:仓单预售 1:仓单贸易",
  15156. "name": "haswr",
  15157. "in": "query",
  15158. "required": true
  15159. },
  15160. {
  15161. "type": "integer",
  15162. "description": "仓单要素id",
  15163. "name": "wrfactortypeid",
  15164. "in": "query",
  15165. "required": true
  15166. },
  15167. {
  15168. "type": "integer",
  15169. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  15170. "name": "tmplateid",
  15171. "in": "query"
  15172. }
  15173. ],
  15174. "responses": {
  15175. "200": {
  15176. "description": "OK",
  15177. "schema": {
  15178. "type": "array",
  15179. "items": {
  15180. "$ref": "#/definitions/models.WrGoodsInfo"
  15181. }
  15182. }
  15183. },
  15184. "500": {
  15185. "description": "Internal Server Error",
  15186. "schema": {
  15187. "$ref": "#/definitions/app.Response"
  15188. }
  15189. }
  15190. }
  15191. }
  15192. },
  15193. "/WrTrade2/QueryWrMarketTradeConfig": {
  15194. "get": {
  15195. "security": [
  15196. {
  15197. "ApiKeyAuth": []
  15198. }
  15199. ],
  15200. "produces": [
  15201. "application/json"
  15202. ],
  15203. "tags": [
  15204. "仓单贸易v2"
  15205. ],
  15206. "summary": "查询市场交易参数配置",
  15207. "parameters": [
  15208. {
  15209. "type": "integer",
  15210. "description": "市场id",
  15211. "name": "marketid",
  15212. "in": "query"
  15213. }
  15214. ],
  15215. "responses": {
  15216. "200": {
  15217. "description": "OK",
  15218. "schema": {
  15219. "type": "array",
  15220. "items": {
  15221. "$ref": "#/definitions/models.WrMarketTradeConfig"
  15222. }
  15223. }
  15224. },
  15225. "500": {
  15226. "description": "Internal Server Error",
  15227. "schema": {
  15228. "$ref": "#/definitions/app.Response"
  15229. }
  15230. }
  15231. }
  15232. }
  15233. },
  15234. "/WrTrade2/QueryWrOrderDetail": {
  15235. "get": {
  15236. "security": [
  15237. {
  15238. "ApiKeyAuth": []
  15239. }
  15240. ],
  15241. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  15242. "produces": [
  15243. "application/json"
  15244. ],
  15245. "tags": [
  15246. "仓单贸易v2"
  15247. ],
  15248. "summary": "查询仓单委托单",
  15249. "parameters": [
  15250. {
  15251. "type": "integer",
  15252. "description": "页码",
  15253. "name": "page",
  15254. "in": "query"
  15255. },
  15256. {
  15257. "type": "integer",
  15258. "description": "每页条数",
  15259. "name": "pagesize",
  15260. "in": "query"
  15261. },
  15262. {
  15263. "type": "integer",
  15264. "description": "用户id",
  15265. "name": "userid",
  15266. "in": "query",
  15267. "required": true
  15268. },
  15269. {
  15270. "type": "integer",
  15271. "description": "仓单贸易市场id",
  15272. "name": "marketid",
  15273. "in": "query"
  15274. },
  15275. {
  15276. "type": "integer",
  15277. "description": "0:仓单预售 1:仓单贸易",
  15278. "name": "haswr",
  15279. "in": "query",
  15280. "required": true
  15281. },
  15282. {
  15283. "type": "integer",
  15284. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  15285. "name": "bcancel",
  15286. "in": "query"
  15287. },
  15288. {
  15289. "type": "integer",
  15290. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  15291. "name": "wrtradetype",
  15292. "in": "query"
  15293. },
  15294. {
  15295. "type": "string",
  15296. "description": "开始交易日(yyyymmdd)",
  15297. "name": "begindate",
  15298. "in": "query"
  15299. },
  15300. {
  15301. "type": "string",
  15302. "description": "结束交易日(yyyymmdd)",
  15303. "name": "enddate",
  15304. "in": "query"
  15305. }
  15306. ],
  15307. "responses": {
  15308. "200": {
  15309. "description": "OK",
  15310. "schema": {
  15311. "type": "array",
  15312. "items": {
  15313. "$ref": "#/definitions/models.WrOrderDetail"
  15314. }
  15315. }
  15316. },
  15317. "500": {
  15318. "description": "Internal Server Error",
  15319. "schema": {
  15320. "$ref": "#/definitions/app.Response"
  15321. }
  15322. }
  15323. }
  15324. }
  15325. },
  15326. "/WrTrade2/QueryWrOutInApply": {
  15327. "get": {
  15328. "security": [
  15329. {
  15330. "ApiKeyAuth": []
  15331. }
  15332. ],
  15333. "produces": [
  15334. "application/json"
  15335. ],
  15336. "tags": [
  15337. "仓单贸易v2"
  15338. ],
  15339. "summary": "查询提货申请",
  15340. "parameters": [
  15341. {
  15342. "type": "integer",
  15343. "description": "页码",
  15344. "name": "page",
  15345. "in": "query"
  15346. },
  15347. {
  15348. "type": "integer",
  15349. "description": "每页条数",
  15350. "name": "pagesize",
  15351. "in": "query"
  15352. },
  15353. {
  15354. "type": "integer",
  15355. "description": "用户id",
  15356. "name": "userid",
  15357. "in": "query",
  15358. "required": true
  15359. },
  15360. {
  15361. "type": "string",
  15362. "description": "开始交易日(yyyymmdd)",
  15363. "name": "begindate",
  15364. "in": "query"
  15365. },
  15366. {
  15367. "type": "string",
  15368. "description": "结束交易日(yyyymmdd)",
  15369. "name": "enddate",
  15370. "in": "query"
  15371. }
  15372. ],
  15373. "responses": {
  15374. "200": {
  15375. "description": "OK",
  15376. "schema": {
  15377. "type": "array",
  15378. "items": {
  15379. "$ref": "#/definitions/models.WrOutInApply"
  15380. }
  15381. }
  15382. },
  15383. "500": {
  15384. "description": "Internal Server Error",
  15385. "schema": {
  15386. "$ref": "#/definitions/app.Response"
  15387. }
  15388. }
  15389. }
  15390. }
  15391. },
  15392. "/WrTrade2/QueryWrPerformancePlanStep": {
  15393. "get": {
  15394. "security": [
  15395. {
  15396. "ApiKeyAuth": []
  15397. }
  15398. ],
  15399. "produces": [
  15400. "application/json"
  15401. ],
  15402. "tags": [
  15403. "仓单贸易v2"
  15404. ],
  15405. "summary": "查询履约信息详情",
  15406. "parameters": [
  15407. {
  15408. "type": "integer",
  15409. "description": "履约计划id(performanceplanid)",
  15410. "name": "planid",
  15411. "in": "query",
  15412. "required": true
  15413. },
  15414. {
  15415. "type": "integer",
  15416. "description": "当前步骤id",
  15417. "name": "curstepid",
  15418. "in": "query"
  15419. }
  15420. ],
  15421. "responses": {
  15422. "200": {
  15423. "description": "OK",
  15424. "schema": {
  15425. "type": "array",
  15426. "items": {
  15427. "$ref": "#/definitions/models.WrPerformancePlanStep"
  15428. }
  15429. }
  15430. },
  15431. "500": {
  15432. "description": "Internal Server Error",
  15433. "schema": {
  15434. "$ref": "#/definitions/app.Response"
  15435. }
  15436. }
  15437. }
  15438. }
  15439. },
  15440. "/WrTrade2/QueryWrPerformanceStepType": {
  15441. "get": {
  15442. "security": [
  15443. {
  15444. "ApiKeyAuth": []
  15445. }
  15446. ],
  15447. "produces": [
  15448. "application/json"
  15449. ],
  15450. "tags": [
  15451. "仓单贸易v2"
  15452. ],
  15453. "summary": "查询履约步骤枚举",
  15454. "responses": {
  15455. "200": {
  15456. "description": "OK",
  15457. "schema": {
  15458. "type": "array",
  15459. "items": {
  15460. "$ref": "#/definitions/models.WrPerformanceStepType"
  15461. }
  15462. }
  15463. },
  15464. "500": {
  15465. "description": "Internal Server Error",
  15466. "schema": {
  15467. "$ref": "#/definitions/app.Response"
  15468. }
  15469. }
  15470. }
  15471. }
  15472. },
  15473. "/WrTrade2/QueryWrPosition": {
  15474. "get": {
  15475. "security": [
  15476. {
  15477. "ApiKeyAuth": []
  15478. }
  15479. ],
  15480. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15481. "produces": [
  15482. "application/json"
  15483. ],
  15484. "tags": [
  15485. "仓单贸易v2"
  15486. ],
  15487. "summary": "查询现货(预售)仓单持仓",
  15488. "parameters": [
  15489. {
  15490. "type": "integer",
  15491. "description": "用户id",
  15492. "name": "userid",
  15493. "in": "query",
  15494. "required": true
  15495. },
  15496. {
  15497. "type": "integer",
  15498. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15499. "name": "querytype",
  15500. "in": "query",
  15501. "required": true
  15502. },
  15503. {
  15504. "type": "integer",
  15505. "description": "0:仓单预售 1:仓单贸易",
  15506. "name": "haswr",
  15507. "in": "query",
  15508. "required": true
  15509. },
  15510. {
  15511. "type": "string",
  15512. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15513. "name": "dgitemname",
  15514. "in": "query"
  15515. },
  15516. {
  15517. "type": "integer",
  15518. "description": "仓库id(筛选条件)",
  15519. "name": "warehouseid",
  15520. "in": "query"
  15521. },
  15522. {
  15523. "type": "integer",
  15524. "description": "品种id",
  15525. "name": "deliverygoodsid",
  15526. "in": "query"
  15527. },
  15528. {
  15529. "type": "integer",
  15530. "description": "品类id",
  15531. "name": "wrstandardid",
  15532. "in": "query"
  15533. }
  15534. ],
  15535. "responses": {
  15536. "200": {
  15537. "description": "OK",
  15538. "schema": {
  15539. "type": "array",
  15540. "items": {
  15541. "$ref": "#/definitions/models.WrPosition"
  15542. }
  15543. }
  15544. },
  15545. "500": {
  15546. "description": "Internal Server Error",
  15547. "schema": {
  15548. "$ref": "#/definitions/app.Response"
  15549. }
  15550. }
  15551. }
  15552. }
  15553. },
  15554. "/WrTrade2/QueryWrPreSaleInfo": {
  15555. "get": {
  15556. "security": [
  15557. {
  15558. "ApiKeyAuth": []
  15559. }
  15560. ],
  15561. "produces": [
  15562. "application/json"
  15563. ],
  15564. "tags": [
  15565. "仓单贸易v2"
  15566. ],
  15567. "summary": "查询新品发布",
  15568. "parameters": [
  15569. {
  15570. "type": "integer",
  15571. "description": "市场id",
  15572. "name": "marketid",
  15573. "in": "query"
  15574. },
  15575. {
  15576. "type": "string",
  15577. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15578. "name": "presalestatus",
  15579. "in": "query"
  15580. },
  15581. {
  15582. "type": "integer",
  15583. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15584. "name": "lotteryflag",
  15585. "in": "query"
  15586. },
  15587. {
  15588. "type": "integer",
  15589. "description": "最近多少条记录(按创建时间倒序)",
  15590. "name": "lastnum",
  15591. "in": "query"
  15592. }
  15593. ],
  15594. "responses": {
  15595. "200": {
  15596. "description": "OK",
  15597. "schema": {
  15598. "type": "array",
  15599. "items": {
  15600. "$ref": "#/definitions/models.WrPreSaleInfo"
  15601. }
  15602. }
  15603. },
  15604. "500": {
  15605. "description": "Internal Server Error",
  15606. "schema": {
  15607. "$ref": "#/definitions/app.Response"
  15608. }
  15609. }
  15610. }
  15611. }
  15612. },
  15613. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15614. "get": {
  15615. "security": [
  15616. {
  15617. "ApiKeyAuth": []
  15618. }
  15619. ],
  15620. "produces": [
  15621. "application/json"
  15622. ],
  15623. "tags": [
  15624. "仓单贸易v2"
  15625. ],
  15626. "summary": "查询价格走势",
  15627. "parameters": [
  15628. {
  15629. "type": "integer",
  15630. "description": "市场id",
  15631. "name": "marketid",
  15632. "in": "query",
  15633. "required": true
  15634. },
  15635. {
  15636. "type": "integer",
  15637. "description": "现货商品id",
  15638. "name": "wrstandardid",
  15639. "in": "query",
  15640. "required": true
  15641. },
  15642. {
  15643. "type": "string",
  15644. "description": "开始交易日(yyyymmdd)",
  15645. "name": "begindate",
  15646. "in": "query"
  15647. },
  15648. {
  15649. "type": "string",
  15650. "description": "结束交易日(yyyymmdd)",
  15651. "name": "enddate",
  15652. "in": "query"
  15653. },
  15654. {
  15655. "type": "integer",
  15656. "description": "最近多少条记录(按交易日倒序)",
  15657. "name": "lastnum",
  15658. "in": "query"
  15659. },
  15660. {
  15661. "type": "boolean",
  15662. "description": "是否今日",
  15663. "name": "istoday",
  15664. "in": "query"
  15665. }
  15666. ],
  15667. "responses": {
  15668. "200": {
  15669. "description": "OK",
  15670. "schema": {
  15671. "type": "array",
  15672. "items": {
  15673. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15674. }
  15675. }
  15676. },
  15677. "500": {
  15678. "description": "Internal Server Error",
  15679. "schema": {
  15680. "$ref": "#/definitions/app.Response"
  15681. }
  15682. }
  15683. }
  15684. }
  15685. },
  15686. "/WrTrade2/QueryWrScfContract": {
  15687. "get": {
  15688. "security": [
  15689. {
  15690. "ApiKeyAuth": []
  15691. }
  15692. ],
  15693. "produces": [
  15694. "application/json"
  15695. ],
  15696. "tags": [
  15697. "仓单贸易v2"
  15698. ],
  15699. "summary": "查询仓单贸易融资合同",
  15700. "parameters": [
  15701. {
  15702. "type": "integer",
  15703. "description": "用户id",
  15704. "name": "userid",
  15705. "in": "query",
  15706. "required": true
  15707. },
  15708. {
  15709. "type": "integer",
  15710. "description": "融资合同id",
  15711. "name": "scfcontractid",
  15712. "in": "query"
  15713. }
  15714. ],
  15715. "responses": {
  15716. "200": {
  15717. "description": "OK",
  15718. "schema": {
  15719. "type": "array",
  15720. "items": {
  15721. "$ref": "#/definitions/models.WrScfContract"
  15722. }
  15723. }
  15724. },
  15725. "500": {
  15726. "description": "Internal Server Error",
  15727. "schema": {
  15728. "$ref": "#/definitions/app.Response"
  15729. }
  15730. }
  15731. }
  15732. }
  15733. },
  15734. "/WrTrade2/QueryWrScfContractInterest": {
  15735. "get": {
  15736. "security": [
  15737. {
  15738. "ApiKeyAuth": []
  15739. }
  15740. ],
  15741. "produces": [
  15742. "application/json"
  15743. ],
  15744. "tags": [
  15745. "仓单贸易v2"
  15746. ],
  15747. "summary": "查询融资合同费用明细",
  15748. "parameters": [
  15749. {
  15750. "type": "integer",
  15751. "description": "融资合同id",
  15752. "name": "scfcontractid",
  15753. "in": "query"
  15754. }
  15755. ],
  15756. "responses": {
  15757. "200": {
  15758. "description": "OK",
  15759. "schema": {
  15760. "type": "array",
  15761. "items": {
  15762. "$ref": "#/definitions/models.WrScfContractInterest"
  15763. }
  15764. }
  15765. },
  15766. "500": {
  15767. "description": "Internal Server Error",
  15768. "schema": {
  15769. "$ref": "#/definitions/app.Response"
  15770. }
  15771. }
  15772. }
  15773. }
  15774. },
  15775. "/WrTrade2/QueryWrSearchUser": {
  15776. "get": {
  15777. "security": [
  15778. {
  15779. "ApiKeyAuth": []
  15780. }
  15781. ],
  15782. "produces": [
  15783. "application/json"
  15784. ],
  15785. "tags": [
  15786. "仓单贸易v2"
  15787. ],
  15788. "summary": "查询用户",
  15789. "parameters": [
  15790. {
  15791. "type": "string",
  15792. "description": "用户名称(模糊匹配)",
  15793. "name": "username",
  15794. "in": "query",
  15795. "required": true
  15796. }
  15797. ],
  15798. "responses": {
  15799. "200": {
  15800. "description": "OK",
  15801. "schema": {
  15802. "type": "array",
  15803. "items": {
  15804. "$ref": "#/definitions/models.WrSearchUser"
  15805. }
  15806. }
  15807. },
  15808. "500": {
  15809. "description": "Internal Server Error",
  15810. "schema": {
  15811. "$ref": "#/definitions/app.Response"
  15812. }
  15813. }
  15814. }
  15815. }
  15816. },
  15817. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15818. "get": {
  15819. "security": [
  15820. {
  15821. "ApiKeyAuth": []
  15822. }
  15823. ],
  15824. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15825. "produces": [
  15826. "application/json"
  15827. ],
  15828. "tags": [
  15829. "仓单贸易v2"
  15830. ],
  15831. "summary": "查询指定成交",
  15832. "parameters": [
  15833. {
  15834. "type": "integer",
  15835. "description": "页码",
  15836. "name": "page",
  15837. "in": "query"
  15838. },
  15839. {
  15840. "type": "integer",
  15841. "description": "每页条数",
  15842. "name": "pagesize",
  15843. "in": "query"
  15844. },
  15845. {
  15846. "type": "integer",
  15847. "description": "用户id",
  15848. "name": "userid",
  15849. "in": "query",
  15850. "required": true
  15851. },
  15852. {
  15853. "type": "integer",
  15854. "description": "仓单贸易市场id",
  15855. "name": "marketid",
  15856. "in": "query"
  15857. },
  15858. {
  15859. "type": "integer",
  15860. "description": "0:仓单预售 1:仓单贸易",
  15861. "name": "haswr",
  15862. "in": "query",
  15863. "required": true
  15864. },
  15865. {
  15866. "type": "integer",
  15867. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15868. "name": "isspecified",
  15869. "in": "query"
  15870. }
  15871. ],
  15872. "responses": {
  15873. "200": {
  15874. "description": "OK",
  15875. "schema": {
  15876. "type": "array",
  15877. "items": {
  15878. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15879. }
  15880. }
  15881. },
  15882. "500": {
  15883. "description": "Internal Server Error",
  15884. "schema": {
  15885. "$ref": "#/definitions/app.Response"
  15886. }
  15887. }
  15888. }
  15889. }
  15890. },
  15891. "/WrTrade2/QueryWrStandardFactoryItem": {
  15892. "get": {
  15893. "security": [
  15894. {
  15895. "ApiKeyAuth": []
  15896. }
  15897. ],
  15898. "produces": [
  15899. "application/json"
  15900. ],
  15901. "tags": [
  15902. "仓单贸易v2"
  15903. ],
  15904. "summary": "查询品类要素定义项",
  15905. "parameters": [
  15906. {
  15907. "type": "integer",
  15908. "description": "品类id",
  15909. "name": "wrstandardid",
  15910. "in": "query",
  15911. "required": true
  15912. }
  15913. ],
  15914. "responses": {
  15915. "200": {
  15916. "description": "OK",
  15917. "schema": {
  15918. "type": "array",
  15919. "items": {
  15920. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15921. }
  15922. }
  15923. },
  15924. "500": {
  15925. "description": "Internal Server Error",
  15926. "schema": {
  15927. "$ref": "#/definitions/app.Response"
  15928. }
  15929. }
  15930. }
  15931. }
  15932. },
  15933. "/WrTrade2/QueryWrTradeBargainApply": {
  15934. "get": {
  15935. "security": [
  15936. {
  15937. "ApiKeyAuth": []
  15938. }
  15939. ],
  15940. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15941. "produces": [
  15942. "application/json"
  15943. ],
  15944. "tags": [
  15945. "仓单贸易v2"
  15946. ],
  15947. "summary": "查询议价单",
  15948. "parameters": [
  15949. {
  15950. "type": "integer",
  15951. "description": "议价人id(摘牌方)",
  15952. "name": "userid",
  15953. "in": "query"
  15954. },
  15955. {
  15956. "type": "integer",
  15957. "description": "挂牌方id(查对方议价时,填写此项)",
  15958. "name": "matchuserid",
  15959. "in": "query"
  15960. },
  15961. {
  15962. "type": "integer",
  15963. "description": "关联委托单id",
  15964. "name": "wrtradeorderid",
  15965. "in": "query"
  15966. },
  15967. {
  15968. "type": "integer",
  15969. "description": "0:仓单预售 1:仓单贸易",
  15970. "name": "haswr",
  15971. "in": "query",
  15972. "required": true
  15973. },
  15974. {
  15975. "type": "string",
  15976. "description": "开始交易日(yyyymmdd)",
  15977. "name": "begindate",
  15978. "in": "query"
  15979. },
  15980. {
  15981. "type": "string",
  15982. "description": "结束交易日(yyyymmdd)",
  15983. "name": "enddate",
  15984. "in": "query"
  15985. }
  15986. ],
  15987. "responses": {
  15988. "200": {
  15989. "description": "OK",
  15990. "schema": {
  15991. "type": "array",
  15992. "items": {
  15993. "$ref": "#/definitions/models.WRTradeBargainApply"
  15994. }
  15995. }
  15996. },
  15997. "500": {
  15998. "description": "Internal Server Error",
  15999. "schema": {
  16000. "$ref": "#/definitions/app.Response"
  16001. }
  16002. }
  16003. }
  16004. }
  16005. },
  16006. "/WrTrade2/QueryWrTradeDetail": {
  16007. "get": {
  16008. "security": [
  16009. {
  16010. "ApiKeyAuth": []
  16011. }
  16012. ],
  16013. "produces": [
  16014. "application/json"
  16015. ],
  16016. "tags": [
  16017. "仓单贸易v2"
  16018. ],
  16019. "summary": "查询仓单成交明细",
  16020. "parameters": [
  16021. {
  16022. "type": "integer",
  16023. "description": "页码",
  16024. "name": "page",
  16025. "in": "query"
  16026. },
  16027. {
  16028. "type": "integer",
  16029. "description": "每页条数",
  16030. "name": "pagesize",
  16031. "in": "query"
  16032. },
  16033. {
  16034. "type": "integer",
  16035. "description": "用户id",
  16036. "name": "userid",
  16037. "in": "query",
  16038. "required": true
  16039. },
  16040. {
  16041. "type": "integer",
  16042. "description": "仓单贸易市场id",
  16043. "name": "marketid",
  16044. "in": "query"
  16045. },
  16046. {
  16047. "type": "integer",
  16048. "description": "0:仓单预售 1:仓单贸易",
  16049. "name": "haswr",
  16050. "in": "query",
  16051. "required": true
  16052. },
  16053. {
  16054. "type": "string",
  16055. "description": "开始交易日(yyyymmdd)",
  16056. "name": "begindate",
  16057. "in": "query"
  16058. },
  16059. {
  16060. "type": "string",
  16061. "description": "结束交易日(yyyymmdd)",
  16062. "name": "enddate",
  16063. "in": "query"
  16064. }
  16065. ],
  16066. "responses": {
  16067. "200": {
  16068. "description": "OK",
  16069. "schema": {
  16070. "type": "array",
  16071. "items": {
  16072. "$ref": "#/definitions/models.WrTradeDetail"
  16073. }
  16074. }
  16075. },
  16076. "500": {
  16077. "description": "Internal Server Error",
  16078. "schema": {
  16079. "$ref": "#/definitions/app.Response"
  16080. }
  16081. }
  16082. }
  16083. }
  16084. },
  16085. "/WrTrade2/QueryWrTradeOrderDetail": {
  16086. "get": {
  16087. "security": [
  16088. {
  16089. "ApiKeyAuth": []
  16090. }
  16091. ],
  16092. "produces": [
  16093. "application/json"
  16094. ],
  16095. "tags": [
  16096. "仓单贸易v2"
  16097. ],
  16098. "summary": "查询合约交易买卖大厅",
  16099. "parameters": [
  16100. {
  16101. "type": "integer",
  16102. "description": "页码",
  16103. "name": "page",
  16104. "in": "query"
  16105. },
  16106. {
  16107. "type": "integer",
  16108. "description": "每页条数",
  16109. "name": "pagesize",
  16110. "in": "query"
  16111. },
  16112. {
  16113. "type": "integer",
  16114. "description": "商品id",
  16115. "name": "goodsid",
  16116. "in": "query",
  16117. "required": true
  16118. },
  16119. {
  16120. "type": "integer",
  16121. "description": "买卖方向 0-买 1-卖",
  16122. "name": "buyorsell",
  16123. "in": "query",
  16124. "required": true
  16125. }
  16126. ],
  16127. "responses": {
  16128. "200": {
  16129. "description": "OK",
  16130. "schema": {
  16131. "type": "array",
  16132. "items": {
  16133. "$ref": "#/definitions/models.WrTradeOrderDetail"
  16134. }
  16135. }
  16136. },
  16137. "500": {
  16138. "description": "Internal Server Error",
  16139. "schema": {
  16140. "$ref": "#/definitions/app.Response"
  16141. }
  16142. }
  16143. }
  16144. }
  16145. },
  16146. "/WrTrade2/QueryWrTradeQuote": {
  16147. "get": {
  16148. "security": [
  16149. {
  16150. "ApiKeyAuth": []
  16151. }
  16152. ],
  16153. "produces": [
  16154. "application/json"
  16155. ],
  16156. "tags": [
  16157. "仓单贸易v2"
  16158. ],
  16159. "summary": "查询仓单贸易成交行情",
  16160. "parameters": [
  16161. {
  16162. "type": "integer",
  16163. "description": "现货商品id",
  16164. "name": "wrstandardid",
  16165. "in": "query",
  16166. "required": true
  16167. },
  16168. {
  16169. "type": "string",
  16170. "description": "开始日期(yyyymmdd)",
  16171. "name": "begindate",
  16172. "in": "query",
  16173. "required": true
  16174. },
  16175. {
  16176. "type": "string",
  16177. "description": "结束日期(yyyymmdd)",
  16178. "name": "enddate",
  16179. "in": "query",
  16180. "required": true
  16181. },
  16182. {
  16183. "type": "integer",
  16184. "description": "市场id",
  16185. "name": "marketid",
  16186. "in": "query"
  16187. }
  16188. ],
  16189. "responses": {
  16190. "200": {
  16191. "description": "OK",
  16192. "schema": {
  16193. "type": "array",
  16194. "items": {
  16195. "$ref": "#/definitions/models.Wrtradetradequote"
  16196. }
  16197. }
  16198. },
  16199. "500": {
  16200. "description": "Internal Server Error",
  16201. "schema": {
  16202. "$ref": "#/definitions/app.Response"
  16203. }
  16204. }
  16205. }
  16206. }
  16207. },
  16208. "/WrTrade2/QueryWrUserFriend": {
  16209. "get": {
  16210. "security": [
  16211. {
  16212. "ApiKeyAuth": []
  16213. }
  16214. ],
  16215. "produces": [
  16216. "application/json"
  16217. ],
  16218. "tags": [
  16219. "仓单贸易v2"
  16220. ],
  16221. "summary": "查询我的朋友",
  16222. "parameters": [
  16223. {
  16224. "type": "integer",
  16225. "description": "用户id",
  16226. "name": "userid",
  16227. "in": "query",
  16228. "required": true
  16229. },
  16230. {
  16231. "type": "integer",
  16232. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  16233. "name": "newuserid",
  16234. "in": "query"
  16235. }
  16236. ],
  16237. "responses": {
  16238. "200": {
  16239. "description": "OK",
  16240. "schema": {
  16241. "type": "array",
  16242. "items": {
  16243. "$ref": "#/definitions/models.WrUserFriend"
  16244. }
  16245. }
  16246. },
  16247. "500": {
  16248. "description": "Internal Server Error",
  16249. "schema": {
  16250. "$ref": "#/definitions/app.Response"
  16251. }
  16252. }
  16253. }
  16254. }
  16255. },
  16256. "/WrTrade2/QueryWrUserReceiptInfo": {
  16257. "get": {
  16258. "security": [
  16259. {
  16260. "ApiKeyAuth": []
  16261. }
  16262. ],
  16263. "produces": [
  16264. "application/json"
  16265. ],
  16266. "tags": [
  16267. "仓单贸易v2"
  16268. ],
  16269. "summary": "查询发票信息",
  16270. "parameters": [
  16271. {
  16272. "type": "integer",
  16273. "description": "用户id",
  16274. "name": "userid",
  16275. "in": "query"
  16276. },
  16277. {
  16278. "type": "integer",
  16279. "description": "发票类型 - 1:个人 2:企业",
  16280. "name": "receipttype",
  16281. "in": "query"
  16282. }
  16283. ],
  16284. "responses": {
  16285. "200": {
  16286. "description": "OK",
  16287. "schema": {
  16288. "type": "array",
  16289. "items": {
  16290. "$ref": "#/definitions/models.WrUserReceiptInfo"
  16291. }
  16292. }
  16293. },
  16294. "500": {
  16295. "description": "Internal Server Error",
  16296. "schema": {
  16297. "$ref": "#/definitions/app.Response"
  16298. }
  16299. }
  16300. }
  16301. }
  16302. },
  16303. "/WrTrade2/QueryXhcpSellBackApply": {
  16304. "get": {
  16305. "security": [
  16306. {
  16307. "ApiKeyAuth": []
  16308. }
  16309. ],
  16310. "produces": [
  16311. "application/json"
  16312. ],
  16313. "tags": [
  16314. "仓单贸易v2"
  16315. ],
  16316. "summary": "查询我的回收申请(新会陈皮)",
  16317. "parameters": [
  16318. {
  16319. "type": "integer",
  16320. "description": "用户ID",
  16321. "name": "userid",
  16322. "in": "query",
  16323. "required": true
  16324. }
  16325. ],
  16326. "responses": {
  16327. "200": {
  16328. "description": "OK",
  16329. "schema": {
  16330. "type": "array",
  16331. "items": {
  16332. "$ref": "#/definitions/models.Xhcpsellbackapply"
  16333. }
  16334. }
  16335. },
  16336. "500": {
  16337. "description": "Internal Server Error",
  16338. "schema": {
  16339. "$ref": "#/definitions/app.Response"
  16340. }
  16341. }
  16342. }
  16343. }
  16344. },
  16345. "/ZJ/GetBankTip": {
  16346. "get": {
  16347. "produces": [
  16348. "application/json"
  16349. ],
  16350. "tags": [
  16351. "中江"
  16352. ],
  16353. "summary": "获取中江网银端出入金提示信息",
  16354. "responses": {
  16355. "200": {
  16356. "description": "OK",
  16357. "schema": {
  16358. "type": "string"
  16359. }
  16360. },
  16361. "500": {
  16362. "description": "Internal Server Error",
  16363. "schema": {
  16364. "$ref": "#/definitions/app.Response"
  16365. }
  16366. }
  16367. }
  16368. }
  16369. },
  16370. "/ZJ/GetCusBankChannels": {
  16371. "get": {
  16372. "produces": [
  16373. "application/json"
  16374. ],
  16375. "tags": [
  16376. "中江"
  16377. ],
  16378. "summary": "获取中江出入金渠道显示列表",
  16379. "responses": {
  16380. "200": {
  16381. "description": "OK",
  16382. "schema": {
  16383. "type": "array",
  16384. "items": {
  16385. "type": "string"
  16386. }
  16387. }
  16388. },
  16389. "500": {
  16390. "description": "Internal Server Error",
  16391. "schema": {
  16392. "$ref": "#/definitions/app.Response"
  16393. }
  16394. }
  16395. }
  16396. }
  16397. }
  16398. },
  16399. "definitions": {
  16400. "app.Response": {
  16401. "type": "object",
  16402. "properties": {
  16403. "code": {
  16404. "type": "integer"
  16405. },
  16406. "data": {},
  16407. "msg": {
  16408. "type": "string"
  16409. },
  16410. "page": {
  16411. "description": "页码",
  16412. "type": "integer"
  16413. },
  16414. "pagesize": {
  16415. "description": "每页条数",
  16416. "type": "integer"
  16417. },
  16418. "total": {
  16419. "description": "总条数",
  16420. "type": "integer"
  16421. }
  16422. }
  16423. },
  16424. "common.ClientMenu": {
  16425. "type": "object",
  16426. "properties": {
  16427. "children": {
  16428. "description": "子菜单列表",
  16429. "type": "array",
  16430. "items": {
  16431. "$ref": "#/definitions/common.ClientMenu"
  16432. }
  16433. },
  16434. "code": {
  16435. "description": "ID",
  16436. "type": "string"
  16437. },
  16438. "isshow": {
  16439. "description": "是否显示",
  16440. "type": "boolean"
  16441. },
  16442. "remark": {
  16443. "description": "备注",
  16444. "type": "string"
  16445. },
  16446. "rulekey": {
  16447. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  16448. "type": "string"
  16449. },
  16450. "sort": {
  16451. "description": "排序",
  16452. "type": "integer"
  16453. },
  16454. "title": {
  16455. "description": "标题",
  16456. "type": "string"
  16457. },
  16458. "type": {
  16459. "description": "类型,1:菜单 2:按钮",
  16460. "type": "integer"
  16461. },
  16462. "url": {
  16463. "description": "URL",
  16464. "type": "string"
  16465. }
  16466. }
  16467. },
  16468. "common.PCWebMenu": {
  16469. "type": "object",
  16470. "properties": {
  16471. "auth": {
  16472. "description": "页面权限列表",
  16473. "type": "array",
  16474. "items": {
  16475. "$ref": "#/definitions/common.PCWebMenuAuth"
  16476. }
  16477. },
  16478. "children": {
  16479. "description": "子菜单列表",
  16480. "type": "array",
  16481. "items": {
  16482. "$ref": "#/definitions/common.PCWebMenu"
  16483. }
  16484. },
  16485. "code": {
  16486. "description": "ID,新版本中权限KEY也是这个字段",
  16487. "type": "string"
  16488. },
  16489. "component": {
  16490. "description": "路由组件",
  16491. "type": "string"
  16492. },
  16493. "isshow": {
  16494. "description": "是否显示",
  16495. "type": "boolean"
  16496. },
  16497. "path": {
  16498. "description": "路由路径",
  16499. "type": "string"
  16500. },
  16501. "remark": {
  16502. "description": "备注",
  16503. "type": "string"
  16504. },
  16505. "rulekey": {
  16506. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16507. "type": "string"
  16508. },
  16509. "sort": {
  16510. "description": "排序",
  16511. "type": "integer"
  16512. },
  16513. "title": {
  16514. "description": "标题",
  16515. "type": "string"
  16516. },
  16517. "url": {
  16518. "description": "URL",
  16519. "type": "string"
  16520. }
  16521. }
  16522. },
  16523. "common.PCWebMenuAuth": {
  16524. "type": "object",
  16525. "properties": {
  16526. "code": {
  16527. "description": "ID,新版本中权限KEY也是这个字段",
  16528. "type": "string"
  16529. },
  16530. "isshow": {
  16531. "description": "是否显示",
  16532. "type": "boolean"
  16533. },
  16534. "label": {
  16535. "description": "标题",
  16536. "type": "string"
  16537. },
  16538. "remark": {
  16539. "description": "备注",
  16540. "type": "string"
  16541. },
  16542. "rulekey": {
  16543. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16544. "type": "string"
  16545. }
  16546. }
  16547. },
  16548. "common.QueryImageConfigsRsp": {
  16549. "type": "object",
  16550. "required": [
  16551. "configid"
  16552. ],
  16553. "properties": {
  16554. "areauserid": {
  16555. "description": "所属机构ID",
  16556. "type": "integer"
  16557. },
  16558. "configid": {
  16559. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16560. "type": "integer"
  16561. },
  16562. "createdate": {
  16563. "description": "创建时间",
  16564. "type": "string"
  16565. },
  16566. "creatorid": {
  16567. "description": "创建人",
  16568. "type": "integer"
  16569. },
  16570. "imagedetailpath": {
  16571. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16572. "type": "string"
  16573. },
  16574. "imagepath": {
  16575. "description": "图片",
  16576. "type": "string"
  16577. },
  16578. "imagetype": {
  16579. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16580. "type": "integer"
  16581. },
  16582. "isshow": {
  16583. "description": "是否展示 - 0:不展示 1:展示",
  16584. "type": "integer"
  16585. },
  16586. "marketid": {
  16587. "description": "市场ID",
  16588. "type": "integer"
  16589. },
  16590. "modifierid": {
  16591. "description": "操作人",
  16592. "type": "integer"
  16593. },
  16594. "sort": {
  16595. "description": "排序",
  16596. "type": "integer"
  16597. },
  16598. "title": {
  16599. "description": "标题",
  16600. "type": "string"
  16601. },
  16602. "trademode": {
  16603. "description": "交易模式",
  16604. "type": "integer"
  16605. },
  16606. "updatedate": {
  16607. "description": "修改时间",
  16608. "type": "string"
  16609. },
  16610. "url": {
  16611. "description": "链接(地址或商品ID)",
  16612. "type": "string"
  16613. },
  16614. "urltype": {
  16615. "description": "链接类型 - 1:直接地址 2:商品ID",
  16616. "type": "integer"
  16617. }
  16618. }
  16619. },
  16620. "common.QueryNoticeRsp": {
  16621. "type": "object",
  16622. "required": [
  16623. "autoid"
  16624. ],
  16625. "properties": {
  16626. "auditoruserid": {
  16627. "description": "审核人",
  16628. "type": "integer"
  16629. },
  16630. "auditremark": {
  16631. "description": "审核备注",
  16632. "type": "string"
  16633. },
  16634. "audittime": {
  16635. "description": "审核日期",
  16636. "type": "string"
  16637. },
  16638. "autoid": {
  16639. "description": "自增ID",
  16640. "type": "integer"
  16641. },
  16642. "content": {
  16643. "description": "内容",
  16644. "type": "string"
  16645. },
  16646. "createtime": {
  16647. "description": "创建时间",
  16648. "type": "string"
  16649. },
  16650. "creatorid": {
  16651. "description": "建仓人",
  16652. "type": "integer"
  16653. },
  16654. "endtime": {
  16655. "description": "结束时间",
  16656. "type": "string"
  16657. },
  16658. "istop": {
  16659. "description": "是否置顶 - 0:不置顶 1:置顶",
  16660. "type": "integer"
  16661. },
  16662. "msgiconurl": {
  16663. "description": "消息图标Url",
  16664. "type": "string"
  16665. },
  16666. "msgtype": {
  16667. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16668. "type": "integer"
  16669. },
  16670. "publisher": {
  16671. "description": "消息发布者",
  16672. "type": "string"
  16673. },
  16674. "readed": {
  16675. "description": "是否已读",
  16676. "type": "boolean"
  16677. },
  16678. "scheduletime": {
  16679. "description": "计划发送时间",
  16680. "type": "string"
  16681. },
  16682. "sendtype": {
  16683. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16684. "type": "integer"
  16685. },
  16686. "sentstatus": {
  16687. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16688. "type": "integer"
  16689. },
  16690. "title": {
  16691. "description": "标题",
  16692. "type": "string"
  16693. },
  16694. "userid": {
  16695. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16696. "type": "integer"
  16697. }
  16698. }
  16699. },
  16700. "common.QueryProvincesAndCitiesRsp": {
  16701. "type": "object",
  16702. "properties": {
  16703. "cities": {
  16704. "description": "市",
  16705. "type": "array",
  16706. "items": {
  16707. "$ref": "#/definitions/models.Division"
  16708. }
  16709. },
  16710. "province": {
  16711. "description": "省",
  16712. "$ref": "#/definitions/models.Division"
  16713. }
  16714. }
  16715. },
  16716. "common.QueryTableDefineRsp": {
  16717. "type": "object",
  16718. "required": [
  16719. "tablekey"
  16720. ],
  16721. "properties": {
  16722. "columns": {
  16723. "description": "列头信息数组",
  16724. "type": "array",
  16725. "items": {
  16726. "$ref": "#/definitions/models.Tablecolumnconfig"
  16727. }
  16728. },
  16729. "remark": {
  16730. "description": "Remark",
  16731. "type": "string"
  16732. },
  16733. "tabelmenu": {
  16734. "description": "列表菜单",
  16735. "type": "string"
  16736. },
  16737. "tablekey": {
  16738. "description": "列表Key",
  16739. "type": "string"
  16740. },
  16741. "tablename": {
  16742. "description": "列表名称",
  16743. "type": "string"
  16744. },
  16745. "tabletype": {
  16746. "description": "列表类型 - 1:管理端 2:终端",
  16747. "type": "integer"
  16748. }
  16749. }
  16750. },
  16751. "common.QueryTraderMenuRsp": {
  16752. "type": "object",
  16753. "properties": {
  16754. "OperationMenu": {
  16755. "description": "功能菜单",
  16756. "type": "array",
  16757. "items": {
  16758. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16759. }
  16760. },
  16761. "QuoteMenu": {
  16762. "description": "报价牌分类菜单",
  16763. "type": "array",
  16764. "items": {
  16765. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16766. }
  16767. }
  16768. }
  16769. },
  16770. "cptrade.Cptradepositioncancel": {
  16771. "type": "object",
  16772. "required": [
  16773. "cancelid"
  16774. ],
  16775. "properties": {
  16776. "accountid": {
  16777. "description": "申请人账户ID",
  16778. "type": "integer"
  16779. },
  16780. "applystatus": {
  16781. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16782. "type": "integer"
  16783. },
  16784. "applytime": {
  16785. "description": "申请时间",
  16786. "type": "string"
  16787. },
  16788. "cancelid": {
  16789. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16790. "type": "integer"
  16791. },
  16792. "cancelqty": {
  16793. "description": "注销数量",
  16794. "type": "integer"
  16795. },
  16796. "createtime": {
  16797. "description": "创建时间",
  16798. "type": "string"
  16799. },
  16800. "creatorid": {
  16801. "description": "创建人ID",
  16802. "type": "integer"
  16803. },
  16804. "creatorname": {
  16805. "description": "创建人",
  16806. "type": "string"
  16807. },
  16808. "goodscode": {
  16809. "description": "订单商品代码",
  16810. "type": "string"
  16811. },
  16812. "goodsid": {
  16813. "description": "商品ID",
  16814. "type": "integer"
  16815. },
  16816. "goodsname": {
  16817. "description": "订单商品名称",
  16818. "type": "string"
  16819. },
  16820. "goodunit": {
  16821. "description": "报价单位",
  16822. "type": "string"
  16823. },
  16824. "handlestatus": {
  16825. "description": "处理状态",
  16826. "type": "integer"
  16827. },
  16828. "marketid": {
  16829. "description": "市场ID",
  16830. "type": "integer"
  16831. },
  16832. "marketname": {
  16833. "description": "市场名称",
  16834. "type": "string"
  16835. },
  16836. "tradedate": {
  16837. "description": "交易日(yyyyMMdd)",
  16838. "type": "string"
  16839. },
  16840. "userid": {
  16841. "description": "申请人ID",
  16842. "type": "integer"
  16843. }
  16844. }
  16845. },
  16846. "cptrade.Cptradepresaleapply": {
  16847. "type": "object",
  16848. "required": [
  16849. "applyid"
  16850. ],
  16851. "properties": {
  16852. "accountid": {
  16853. "description": "申请人账户ID",
  16854. "type": "integer"
  16855. },
  16856. "applyid": {
  16857. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16858. "type": "integer"
  16859. },
  16860. "applyremark": {
  16861. "description": "申请备注",
  16862. "type": "string"
  16863. },
  16864. "applystatus": {
  16865. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16866. "type": "integer"
  16867. },
  16868. "applytime": {
  16869. "description": "申请时间",
  16870. "type": "string"
  16871. },
  16872. "attachmenturl": {
  16873. "description": "附件地址",
  16874. "type": "string"
  16875. },
  16876. "endtime": {
  16877. "description": "预售结束时间",
  16878. "type": "string"
  16879. },
  16880. "goodscode": {
  16881. "description": "商品代码",
  16882. "type": "string"
  16883. },
  16884. "goodsid": {
  16885. "description": "商品ID",
  16886. "type": "integer"
  16887. },
  16888. "goodsname": {
  16889. "description": "商品名称",
  16890. "type": "string"
  16891. },
  16892. "goodunit": {
  16893. "description": "报价单位",
  16894. "type": "string"
  16895. },
  16896. "handlestatus": {
  16897. "description": "处理状态",
  16898. "type": "integer"
  16899. },
  16900. "marketid": {
  16901. "description": "预售市场ID",
  16902. "type": "integer"
  16903. },
  16904. "marketname": {
  16905. "description": "预售市场名称",
  16906. "type": "string"
  16907. },
  16908. "presaleqty": {
  16909. "description": "预售数量",
  16910. "type": "integer"
  16911. },
  16912. "relatedgoodscode": {
  16913. "description": "关联交易合约代码",
  16914. "type": "string"
  16915. },
  16916. "relatedgoodsid": {
  16917. "description": "关联交易合约ID",
  16918. "type": "integer"
  16919. },
  16920. "relatedgoodsname": {
  16921. "description": "关联交易合约名称",
  16922. "type": "string"
  16923. },
  16924. "starttime": {
  16925. "description": "预售开始时间",
  16926. "type": "string"
  16927. },
  16928. "tradedate": {
  16929. "description": "交易日(yyyyMMdd)",
  16930. "type": "string"
  16931. },
  16932. "trademode": {
  16933. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16934. "type": "integer"
  16935. },
  16936. "userid": {
  16937. "description": "申请人ID",
  16938. "type": "integer"
  16939. }
  16940. }
  16941. },
  16942. "cptrade.Cptradeusergoodsdata": {
  16943. "type": "object",
  16944. "required": [
  16945. "accountid",
  16946. "goodsid"
  16947. ],
  16948. "properties": {
  16949. "EnabledQty": {
  16950. "description": "可用量",
  16951. "type": "integer"
  16952. },
  16953. "GoodsCode": {
  16954. "description": "订单商品代码",
  16955. "type": "string"
  16956. },
  16957. "GoodsName": {
  16958. "description": "订单商品名称",
  16959. "type": "string"
  16960. },
  16961. "WRStandardCode": {
  16962. "description": "仓单标准代码",
  16963. "type": "string"
  16964. },
  16965. "WRStandardName": {
  16966. "description": "仓单标准名称",
  16967. "type": "string"
  16968. },
  16969. "accountid": {
  16970. "description": "账户ID",
  16971. "type": "integer"
  16972. },
  16973. "cancelqty": {
  16974. "description": "注销量",
  16975. "type": "integer"
  16976. },
  16977. "curpresaleqty": {
  16978. "description": "当前预售量",
  16979. "type": "integer"
  16980. },
  16981. "deliveryqty": {
  16982. "description": "交割量",
  16983. "type": "integer"
  16984. },
  16985. "freezeamount": {
  16986. "description": "冻结金额",
  16987. "type": "number"
  16988. },
  16989. "goodsid": {
  16990. "description": "商品ID",
  16991. "type": "integer"
  16992. },
  16993. "goodunit": {
  16994. "description": "报价单位",
  16995. "type": "string"
  16996. },
  16997. "hasspotfreeze": {
  16998. "description": "是否有现货冻结 - 0:否 1:有",
  16999. "type": "integer"
  17000. },
  17001. "inqty": {
  17002. "description": "转入量(总数量)",
  17003. "type": "integer"
  17004. },
  17005. "marketid": {
  17006. "description": "市场ID",
  17007. "type": "integer"
  17008. },
  17009. "presaledamount": {
  17010. "description": "已预售总金额",
  17011. "type": "integer"
  17012. },
  17013. "presaledqty": {
  17014. "description": "已预售量",
  17015. "type": "integer"
  17016. },
  17017. "userid": {
  17018. "description": "用户ID",
  17019. "type": "integer"
  17020. },
  17021. "wrstandardid": {
  17022. "description": "仓单标准ID",
  17023. "type": "integer"
  17024. }
  17025. }
  17026. },
  17027. "cptrade.QueryCPTradeMyBidRsp": {
  17028. "type": "object",
  17029. "required": [
  17030. "accountid",
  17031. "goodsid",
  17032. "marketid",
  17033. "orderid",
  17034. "orderqty",
  17035. "ordertime",
  17036. "tradeprice",
  17037. "tradeqty"
  17038. ],
  17039. "properties": {
  17040. "accountid": {
  17041. "description": "账户ID[报价币种]",
  17042. "type": "integer"
  17043. },
  17044. "goodsid": {
  17045. "description": "商品ID",
  17046. "type": "integer"
  17047. },
  17048. "goodunit": {
  17049. "description": "报价单位",
  17050. "type": "string"
  17051. },
  17052. "marketid": {
  17053. "description": "市场ID",
  17054. "type": "integer"
  17055. },
  17056. "orderid": {
  17057. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17058. "type": "integer"
  17059. },
  17060. "orderprice": {
  17061. "description": "委托价格",
  17062. "type": "number"
  17063. },
  17064. "orderqty": {
  17065. "description": "委托数量",
  17066. "type": "integer"
  17067. },
  17068. "ordertime": {
  17069. "description": "委托时间",
  17070. "type": "string"
  17071. },
  17072. "ordertotalprice": {
  17073. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  17074. "type": "number"
  17075. },
  17076. "ordertotalweight": {
  17077. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  17078. "type": "integer"
  17079. },
  17080. "totaltotalprice": {
  17081. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  17082. "type": "number"
  17083. },
  17084. "tradeprice": {
  17085. "description": "成交价格",
  17086. "type": "number"
  17087. },
  17088. "tradeqty": {
  17089. "description": "成交数量",
  17090. "type": "integer"
  17091. }
  17092. }
  17093. },
  17094. "cptrade.QueryCPTradeOrderDetailRsq": {
  17095. "type": "object",
  17096. "required": [
  17097. "accountid",
  17098. "buildtype",
  17099. "buyorsell",
  17100. "goodsid",
  17101. "marketid",
  17102. "memberuserid",
  17103. "operatetype",
  17104. "orderqty",
  17105. "ordertime",
  17106. "pricemode",
  17107. "strorderid",
  17108. "tradedate",
  17109. "validtype"
  17110. ],
  17111. "properties": {
  17112. "accountid": {
  17113. "description": "账户ID[报价币种]",
  17114. "type": "integer"
  17115. },
  17116. "buildtype": {
  17117. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17118. "type": "integer"
  17119. },
  17120. "buyorsell": {
  17121. "description": "买卖 - 0:买 1:卖",
  17122. "type": "integer"
  17123. },
  17124. "cancelorderid": {
  17125. "description": "撤单单号(撤单时填写)",
  17126. "type": "integer"
  17127. },
  17128. "cancelqty": {
  17129. "description": "撤单数量",
  17130. "type": "integer"
  17131. },
  17132. "clientordertime": {
  17133. "description": "客户端委托时间",
  17134. "type": "string"
  17135. },
  17136. "clientticket": {
  17137. "description": "客户端流水号",
  17138. "type": "string"
  17139. },
  17140. "clienttype": {
  17141. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17142. "type": "integer"
  17143. },
  17144. "closeexchagechargevalue": {
  17145. "description": "平仓交易所手续费设置值",
  17146. "type": "number"
  17147. },
  17148. "closefeealgorithm": {
  17149. "description": "平仓手续费收取方式 1:比率 2:固定",
  17150. "type": "integer"
  17151. },
  17152. "closefreezecharge": {
  17153. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17154. "type": "number"
  17155. },
  17156. "closememberchargevalue": {
  17157. "description": "平仓会员手续费设置值",
  17158. "type": "number"
  17159. },
  17160. "closeqty": {
  17161. "description": "平仓数量(先建后平操作 需要记录)",
  17162. "type": "integer"
  17163. },
  17164. "closetradeqty": {
  17165. "description": "平仓成交数量(先建后平操作,需要记录)",
  17166. "type": "integer"
  17167. },
  17168. "closeunfreezecharge": {
  17169. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17170. "type": "number"
  17171. },
  17172. "delistingtype": {
  17173. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17174. "type": "integer"
  17175. },
  17176. "freezecharge": {
  17177. "description": "冻结手续费",
  17178. "type": "number"
  17179. },
  17180. "freezemargin": {
  17181. "description": "冻结保证金(冻结交易金额)",
  17182. "type": "number"
  17183. },
  17184. "gcaccountid": {
  17185. "description": "账户ID[合约币种]",
  17186. "type": "integer"
  17187. },
  17188. "goodsid": {
  17189. "description": "商品ID",
  17190. "type": "integer"
  17191. },
  17192. "isconfirmexercise": {
  17193. "description": "是否确认行权- 0:否 1:是",
  17194. "type": "integer"
  17195. },
  17196. "ispreexercise": {
  17197. "description": "是否预申报- 0:否 1:是",
  17198. "type": "integer"
  17199. },
  17200. "listingselecttype": {
  17201. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17202. "type": "integer"
  17203. },
  17204. "marginalgorithm": {
  17205. "description": "保证金收取方式 1:比率 2:固定",
  17206. "type": "integer"
  17207. },
  17208. "marginvalue": {
  17209. "description": "即市保证金设置值",
  17210. "type": "number"
  17211. },
  17212. "marketid": {
  17213. "description": "市场ID",
  17214. "type": "integer"
  17215. },
  17216. "marketmaxsub": {
  17217. "description": "市价最大偏移范围",
  17218. "type": "number"
  17219. },
  17220. "memberuserid": {
  17221. "description": "所属会员UserID",
  17222. "type": "integer"
  17223. },
  17224. "openexchagechargevalue": {
  17225. "description": "建仓交易所手续费设置值",
  17226. "type": "number"
  17227. },
  17228. "openfeealgorithm": {
  17229. "description": "建仓手续费收取方式 1:比率 2:固定",
  17230. "type": "integer"
  17231. },
  17232. "openfreezecharge": {
  17233. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17234. "type": "number"
  17235. },
  17236. "openmemberchargevalue": {
  17237. "description": "建仓会员手续费设置值",
  17238. "type": "number"
  17239. },
  17240. "openqty": {
  17241. "description": "开仓数量(先建后平操作,需要记录)",
  17242. "type": "integer"
  17243. },
  17244. "opentradeqty": {
  17245. "description": "开仓成交数量(先建后平操作,需要记录)",
  17246. "type": "integer"
  17247. },
  17248. "openunfreezecharge": {
  17249. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17250. "type": "number"
  17251. },
  17252. "operatetype": {
  17253. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17254. "type": "integer"
  17255. },
  17256. "operatorid": {
  17257. "description": "登录账号(LoginID)",
  17258. "type": "integer"
  17259. },
  17260. "optiontype": {
  17261. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17262. "type": "integer"
  17263. },
  17264. "orderprice": {
  17265. "description": "委托价格",
  17266. "type": "number"
  17267. },
  17268. "orderqty": {
  17269. "description": "委托数量",
  17270. "type": "integer"
  17271. },
  17272. "ordersrc": {
  17273. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17274. "type": "integer"
  17275. },
  17276. "orderstatus": {
  17277. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17278. "type": "integer"
  17279. },
  17280. "ordertime": {
  17281. "description": "委托时间",
  17282. "type": "string"
  17283. },
  17284. "preexerciseprice": {
  17285. "description": "预申报价格",
  17286. "type": "number"
  17287. },
  17288. "premium": {
  17289. "description": "权利金",
  17290. "type": "number"
  17291. },
  17292. "preorderid": {
  17293. "description": "关联预埋单号(止盈止损单时填写)",
  17294. "type": "integer"
  17295. },
  17296. "pricemode": {
  17297. "description": "取价方式 - 1:市价 2: 限价",
  17298. "type": "integer"
  17299. },
  17300. "quoteid": {
  17301. "description": "报价单ID",
  17302. "type": "integer"
  17303. },
  17304. "relatedid": {
  17305. "description": "关联单号(交割单)",
  17306. "type": "integer"
  17307. },
  17308. "retcode": {
  17309. "description": "错误代码",
  17310. "type": "integer"
  17311. },
  17312. "sessionid": {
  17313. "description": "会话ID",
  17314. "type": "integer"
  17315. },
  17316. "strorderid": {
  17317. "description": "委托单号",
  17318. "type": "string"
  17319. },
  17320. "tradedate": {
  17321. "description": "交易日(yyyyMMdd)",
  17322. "type": "string"
  17323. },
  17324. "tradeproperty": {
  17325. "description": "交易属性",
  17326. "type": "integer"
  17327. },
  17328. "tradeqty": {
  17329. "description": "成交数量",
  17330. "type": "integer"
  17331. },
  17332. "unfreezecharge": {
  17333. "description": "解冻手续费",
  17334. "type": "number"
  17335. },
  17336. "unfreezemargin": {
  17337. "description": "解冻保证金",
  17338. "type": "number"
  17339. },
  17340. "updatetime": {
  17341. "description": "更新时间",
  17342. "type": "string"
  17343. },
  17344. "uuid": {
  17345. "description": "发起端唯一id",
  17346. "type": "string"
  17347. },
  17348. "validtime": {
  17349. "description": "有效期限",
  17350. "type": "string"
  17351. },
  17352. "validtype": {
  17353. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17354. "type": "integer"
  17355. },
  17356. "volumetype": {
  17357. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17358. "type": "integer"
  17359. }
  17360. }
  17361. },
  17362. "cptrade.QueryMyCPTradeGoodsRsp": {
  17363. "type": "object",
  17364. "required": [
  17365. "goodscode",
  17366. "goodsid",
  17367. "goodsname",
  17368. "marketid",
  17369. "relatedgoodscode",
  17370. "relatedgoodsname"
  17371. ],
  17372. "properties": {
  17373. "accountid": {
  17374. "description": "卖方账户ID",
  17375. "type": "integer"
  17376. },
  17377. "agreeunit": {
  17378. "description": "合约单位",
  17379. "type": "number"
  17380. },
  17381. "applyid": {
  17382. "description": "关联申请ID",
  17383. "type": "integer"
  17384. },
  17385. "attachmenturl": {
  17386. "description": "附件地址",
  17387. "type": "string"
  17388. },
  17389. "createtime": {
  17390. "description": "创建时间",
  17391. "type": "string"
  17392. },
  17393. "currencyid": {
  17394. "description": "报价货币ID",
  17395. "type": "integer"
  17396. },
  17397. "decimalplace": {
  17398. "description": "报价小数位",
  17399. "type": "integer"
  17400. },
  17401. "endtime": {
  17402. "description": "预售结束时间",
  17403. "type": "string"
  17404. },
  17405. "floorprice": {
  17406. "description": "底价[大宗式竞拍]",
  17407. "type": "number"
  17408. },
  17409. "goodscode": {
  17410. "description": "商品代码(预售)",
  17411. "type": "string"
  17412. },
  17413. "goodsdetail": {
  17414. "description": "详情[大宗]",
  17415. "type": "string"
  17416. },
  17417. "goodsid": {
  17418. "description": "商品ID(自增ID SEQ_GOODS)",
  17419. "type": "integer"
  17420. },
  17421. "goodsname": {
  17422. "description": "商品名称(预售)",
  17423. "type": "string"
  17424. },
  17425. "goodunit": {
  17426. "description": "报价单位",
  17427. "type": "string"
  17428. },
  17429. "goodunitid": {
  17430. "description": "报价单位ID",
  17431. "type": "integer"
  17432. },
  17433. "marketid": {
  17434. "description": "所属市场ID",
  17435. "type": "integer"
  17436. },
  17437. "marketname": {
  17438. "description": "预售市场名称",
  17439. "type": "string"
  17440. },
  17441. "presaledamount": {
  17442. "description": "已预售总金额(预售结束时更新)",
  17443. "type": "number"
  17444. },
  17445. "presaledqty": {
  17446. "description": "已预售量(预售结束时更新)",
  17447. "type": "integer"
  17448. },
  17449. "presalemode": {
  17450. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17451. "type": "integer"
  17452. },
  17453. "presaleqty": {
  17454. "description": "预售数量",
  17455. "type": "integer"
  17456. },
  17457. "refprice": {
  17458. "description": "参考价格[一口价]",
  17459. "type": "number"
  17460. },
  17461. "relatedgoodscode": {
  17462. "description": "商品代码(订单)",
  17463. "type": "string"
  17464. },
  17465. "relatedgoodsid": {
  17466. "description": "关联交易合约ID",
  17467. "type": "integer"
  17468. },
  17469. "relatedgoodsname": {
  17470. "description": "商品名称(订单)",
  17471. "type": "string"
  17472. },
  17473. "relatedmarketid": {
  17474. "description": "关联交易合约市场ID",
  17475. "type": "integer"
  17476. },
  17477. "sellstatus": {
  17478. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17479. "type": "integer"
  17480. },
  17481. "startprice": {
  17482. "description": "起拍价[大宗式竞拍]",
  17483. "type": "number"
  17484. },
  17485. "starttime": {
  17486. "description": "预售开始时间",
  17487. "type": "string"
  17488. },
  17489. "tradedate": {
  17490. "description": "交易日(yyyyMMdd)",
  17491. "type": "string"
  17492. },
  17493. "tradeprice": {
  17494. "description": "成交价[大宗]",
  17495. "type": "number"
  17496. },
  17497. "userid": {
  17498. "description": "卖方用户ID",
  17499. "type": "integer"
  17500. }
  17501. }
  17502. },
  17503. "cptrade.QueryPresaleGoodsExRsp": {
  17504. "type": "object",
  17505. "required": [
  17506. "goodsid"
  17507. ],
  17508. "properties": {
  17509. "attachmenturl": {
  17510. "description": "附件地址",
  17511. "type": "string"
  17512. },
  17513. "createtime": {
  17514. "description": "创建时间",
  17515. "type": "string"
  17516. },
  17517. "endtime": {
  17518. "description": "预售结束时间",
  17519. "type": "string"
  17520. },
  17521. "floorprice": {
  17522. "description": "底价[大宗式竞拍]",
  17523. "type": "number"
  17524. },
  17525. "goodsdetail": {
  17526. "description": "详情[大宗]",
  17527. "type": "string"
  17528. },
  17529. "goodsid": {
  17530. "description": "商品ID(预售)",
  17531. "type": "integer"
  17532. },
  17533. "goodunit": {
  17534. "description": "报价单位",
  17535. "type": "string"
  17536. },
  17537. "marketid": {
  17538. "description": "预售市场ID - 根据预售模式选择市场",
  17539. "type": "integer"
  17540. },
  17541. "presaledamount": {
  17542. "description": "已预售总金额(预售结束时更新)",
  17543. "type": "number"
  17544. },
  17545. "presaledqty": {
  17546. "description": "已预售量(预售结束时更新)",
  17547. "type": "integer"
  17548. },
  17549. "presalemode": {
  17550. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17551. "type": "integer"
  17552. },
  17553. "presaleqty": {
  17554. "description": "预售数量",
  17555. "type": "integer"
  17556. },
  17557. "refprice": {
  17558. "description": "参考价格[一口价]",
  17559. "type": "number"
  17560. },
  17561. "relatedgoodsid": {
  17562. "description": "关联交易合约ID",
  17563. "type": "integer"
  17564. },
  17565. "relatedmarketid": {
  17566. "description": "关联交易合约市场ID",
  17567. "type": "integer"
  17568. },
  17569. "sellstatus": {
  17570. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17571. "type": "integer"
  17572. },
  17573. "startprice": {
  17574. "description": "起拍价[大宗式竞拍]",
  17575. "type": "number"
  17576. },
  17577. "starttime": {
  17578. "description": "预售开始时间",
  17579. "type": "string"
  17580. },
  17581. "tradedate": {
  17582. "description": "交易日(yyyyMMdd)",
  17583. "type": "string"
  17584. },
  17585. "tradeprice": {
  17586. "description": "成交价[大宗]",
  17587. "type": "number"
  17588. }
  17589. }
  17590. },
  17591. "delivery.QueryDeliveryRelationRsp": {
  17592. "type": "object",
  17593. "required": [
  17594. "begindate",
  17595. "enddate",
  17596. "goodsid",
  17597. "mindeliveryqty",
  17598. "xdeliveryratio"
  17599. ],
  17600. "properties": {
  17601. "begindate": {
  17602. "description": "起始日期(yyyyMMdd)",
  17603. "type": "string"
  17604. },
  17605. "buytemplateid": {
  17606. "description": "买履约计划模板ID",
  17607. "type": "integer"
  17608. },
  17609. "deliverygoodscode": {
  17610. "description": "品种代码",
  17611. "type": "string"
  17612. },
  17613. "deliverygoodsid": {
  17614. "description": "交割商品",
  17615. "type": "integer"
  17616. },
  17617. "deliverygoodsname": {
  17618. "description": "品种名称",
  17619. "type": "string"
  17620. },
  17621. "deliverymode": {
  17622. "description": "交割方式 - 1:点选式 2:申报式",
  17623. "type": "integer"
  17624. },
  17625. "deliverypricerule": {
  17626. "description": "交割价规则- 1:行情价 2:建仓价",
  17627. "type": "integer"
  17628. },
  17629. "deliverytype": {
  17630. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17631. "type": "integer"
  17632. },
  17633. "enddate": {
  17634. "description": "结束日期(yyyyMMdd)",
  17635. "type": "string"
  17636. },
  17637. "enumdicname": {
  17638. "description": "品类单位名称",
  17639. "type": "string"
  17640. },
  17641. "goodscode": {
  17642. "description": "商品代码",
  17643. "type": "string"
  17644. },
  17645. "goodsid": {
  17646. "description": "交易合约ID",
  17647. "type": "integer"
  17648. },
  17649. "goodsname": {
  17650. "description": "商品名称",
  17651. "type": "string"
  17652. },
  17653. "marketid": {
  17654. "description": "市场ID",
  17655. "type": "integer"
  17656. },
  17657. "mindeliveryqty": {
  17658. "description": "最小交割系数(K)",
  17659. "type": "integer"
  17660. },
  17661. "p2deliveryprice": {
  17662. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17663. "type": "number"
  17664. },
  17665. "p2deliveryratio": {
  17666. "description": "P2合约系数(p)",
  17667. "type": "integer"
  17668. },
  17669. "p2goodsid": {
  17670. "description": "P2合约ID",
  17671. "type": "integer"
  17672. },
  17673. "p2pricemode": {
  17674. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17675. "type": "integer"
  17676. },
  17677. "pdeliveryprice": {
  17678. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17679. "type": "number"
  17680. },
  17681. "pdeliveryratio": {
  17682. "description": "P合约系数(n)",
  17683. "type": "integer"
  17684. },
  17685. "pgoodscode": {
  17686. "description": "p合约代码",
  17687. "type": "string"
  17688. },
  17689. "pgoodsid": {
  17690. "description": "P合约ID",
  17691. "type": "integer"
  17692. },
  17693. "ppricemode": {
  17694. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17695. "type": "integer"
  17696. },
  17697. "rratio": {
  17698. "description": "兑换系数(R)",
  17699. "type": "integer"
  17700. },
  17701. "rratio1": {
  17702. "description": "兑换系数(交易合约)(R1)",
  17703. "type": "integer"
  17704. },
  17705. "rratio2": {
  17706. "description": "兑换系数(仓单标准)(R2)",
  17707. "type": "integer"
  17708. },
  17709. "selltemplateid": {
  17710. "description": "卖履约计划模板ID",
  17711. "type": "integer"
  17712. },
  17713. "wrstandardid": {
  17714. "description": "仓单标准ID",
  17715. "type": "integer"
  17716. },
  17717. "xdeliveryratio": {
  17718. "description": "交易合约系数(m)",
  17719. "type": "integer"
  17720. }
  17721. }
  17722. },
  17723. "ermcp.ExposureDetailRsp": {
  17724. "type": "object",
  17725. "properties": {
  17726. "areauserid": {
  17727. "description": "机构ID",
  17728. "type": "integer"
  17729. },
  17730. "changeQty": {
  17731. "description": "套保变动量",
  17732. "type": "number"
  17733. },
  17734. "contracttype": {
  17735. "description": "现货合同类型 - 1:采购 -1:销售",
  17736. "type": "integer"
  17737. },
  17738. "convertfactor": {
  17739. "description": "标仓系数",
  17740. "type": "number"
  17741. },
  17742. "convertratio": {
  17743. "description": "套保系数",
  17744. "type": "number"
  17745. },
  17746. "createtime": {
  17747. "description": "时间",
  17748. "type": "string"
  17749. },
  17750. "enumdicname": {
  17751. "description": "现货商品单位名称",
  17752. "type": "string"
  17753. },
  17754. "logtype": {
  17755. "description": "类型 - 1:套保计划 2:现货合同",
  17756. "type": "integer"
  17757. },
  17758. "middlegoodsId": {
  17759. "description": "套保商品id",
  17760. "type": "integer"
  17761. },
  17762. "middlegoodscode": {
  17763. "description": "套保商品代码",
  17764. "type": "string"
  17765. },
  17766. "middlegoodsname": {
  17767. "description": "套保商品名称",
  17768. "type": "string"
  17769. },
  17770. "qty": {
  17771. "description": "数量",
  17772. "type": "number"
  17773. },
  17774. "relateNo": {
  17775. "description": "现货合同/套保计划编号",
  17776. "type": "string"
  17777. },
  17778. "wrstandardcode": {
  17779. "description": "现货商品代码",
  17780. "type": "string"
  17781. },
  17782. "wrstandardid": {
  17783. "description": "现货商品ID",
  17784. "type": "integer"
  17785. },
  17786. "wrstandardname": {
  17787. "description": "现货商品名称",
  17788. "type": "string"
  17789. }
  17790. }
  17791. },
  17792. "ermcp.ExposureHedgePosDetailRsp": {
  17793. "type": "object",
  17794. "properties": {
  17795. "buyorsell": {
  17796. "description": "买卖方向 0-买 1-卖",
  17797. "type": "integer"
  17798. },
  17799. "channelbuildtype": {
  17800. "description": "开平方向 1-建仓 2-平仓",
  17801. "type": "integer"
  17802. },
  17803. "goodscode": {
  17804. "description": "商品代码",
  17805. "type": "string"
  17806. },
  17807. "goodsname": {
  17808. "description": "商品名称",
  17809. "type": "string"
  17810. },
  17811. "hedgegoodsid": {
  17812. "description": "商品id",
  17813. "type": "integer"
  17814. },
  17815. "tradeqty": {
  17816. "description": "数量(成交数量)",
  17817. "type": "integer"
  17818. },
  17819. "tradetime": {
  17820. "description": "时间(成交时间)",
  17821. "type": "string"
  17822. }
  17823. }
  17824. },
  17825. "ermcp.ExposureHedgePositionRsp": {
  17826. "type": "object",
  17827. "properties": {
  17828. "accountid": {
  17829. "description": "资金账号[外部母账户]",
  17830. "type": "integer"
  17831. },
  17832. "curbuyposition": {
  17833. "description": "期末买头寸",
  17834. "type": "integer"
  17835. },
  17836. "cursellposition": {
  17837. "description": "期末卖头寸",
  17838. "type": "integer"
  17839. },
  17840. "curtdbuyposition": {
  17841. "description": "期末今日买头寸",
  17842. "type": "integer"
  17843. },
  17844. "curtdsellposition": {
  17845. "description": "期末今日卖头寸",
  17846. "type": "integer"
  17847. },
  17848. "curydbuyposition": {
  17849. "description": "期末上日买头寸",
  17850. "type": "integer"
  17851. },
  17852. "curydsellposition": {
  17853. "description": "期末上日卖头寸",
  17854. "type": "integer"
  17855. },
  17856. "decreaseqty": {
  17857. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17858. "type": "integer"
  17859. },
  17860. "fretdbuyposition": {
  17861. "description": "冻结今日买头寸",
  17862. "type": "integer"
  17863. },
  17864. "fretdsellposition": {
  17865. "description": "冻结今日卖头寸",
  17866. "type": "integer"
  17867. },
  17868. "freydbuyposition": {
  17869. "description": "冻结上日买头寸",
  17870. "type": "integer"
  17871. },
  17872. "freydsellposition": {
  17873. "description": "冻结上日卖头寸",
  17874. "type": "integer"
  17875. },
  17876. "goodscode": {
  17877. "description": "商品代码",
  17878. "type": "string"
  17879. },
  17880. "goodsid": {
  17881. "description": "商品id",
  17882. "type": "integer"
  17883. },
  17884. "goodsname": {
  17885. "description": "商品名称",
  17886. "type": "string"
  17887. },
  17888. "hedgeaccountcode": {
  17889. "description": "对冲账号",
  17890. "type": "string"
  17891. },
  17892. "hedgegoodsid": {
  17893. "description": "对冲合约ID",
  17894. "type": "integer"
  17895. },
  17896. "increaseqty": {
  17897. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17898. "type": "integer"
  17899. },
  17900. "marketid": {
  17901. "description": "市场ID",
  17902. "type": "integer"
  17903. },
  17904. "relateduserid": {
  17905. "description": "关联用户id",
  17906. "type": "integer"
  17907. },
  17908. "totalcurqty": {
  17909. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17910. "type": "integer"
  17911. },
  17912. "totalydqty": {
  17913. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17914. "type": "integer"
  17915. },
  17916. "tradedate": {
  17917. "description": "交易日(yyyyMMdd)",
  17918. "type": "string"
  17919. },
  17920. "ydbuyposition": {
  17921. "description": "期初买头寸",
  17922. "type": "integer"
  17923. },
  17924. "ydsellposition": {
  17925. "description": "期初卖头寸",
  17926. "type": "integer"
  17927. }
  17928. }
  17929. },
  17930. "ermcp.ExposureSpotDetailRsp": {
  17931. "type": "object",
  17932. "properties": {
  17933. "contracttype": {
  17934. "description": "合同类型 1-采购 -1-销售",
  17935. "type": "integer"
  17936. },
  17937. "createtime": {
  17938. "description": "创建时间",
  17939. "type": "string"
  17940. },
  17941. "enumdicname": {
  17942. "description": "现货商品单位名称",
  17943. "type": "string"
  17944. },
  17945. "logtype": {
  17946. "description": "记录类型 1-套保 2-现货合同",
  17947. "type": "integer"
  17948. },
  17949. "qty": {
  17950. "description": "数量",
  17951. "type": "number"
  17952. },
  17953. "recordname": {
  17954. "description": "类型名称",
  17955. "type": "string"
  17956. },
  17957. "relatedid": {
  17958. "description": "套保计划ID/现货合同ID",
  17959. "type": "string"
  17960. },
  17961. "relatedno": {
  17962. "description": "编号",
  17963. "type": "string"
  17964. },
  17965. "strtime": {
  17966. "description": "时间",
  17967. "type": "string"
  17968. },
  17969. "wrstandardcode": {
  17970. "description": "现货商品代码",
  17971. "type": "string"
  17972. },
  17973. "wrstandardname": {
  17974. "description": "现货商品名称",
  17975. "type": "string"
  17976. }
  17977. }
  17978. },
  17979. "ermcp.ExposureSpotRsp": {
  17980. "type": "object",
  17981. "properties": {
  17982. "areauserid": {
  17983. "description": "所属机构",
  17984. "type": "integer"
  17985. },
  17986. "decreaseqty": {
  17987. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17988. "type": "number"
  17989. },
  17990. "increaseqty": {
  17991. "description": "增加数量=销售计划数量+采购已定价数量",
  17992. "type": "number"
  17993. },
  17994. "oritoalspotqty": {
  17995. "description": "昨日数量",
  17996. "type": "number"
  17997. },
  17998. "totalspotqty": {
  17999. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18000. "type": "number"
  18001. },
  18002. "updatetime": {
  18003. "description": "更新时间",
  18004. "type": "string"
  18005. },
  18006. "wrstandardcode": {
  18007. "description": "现货品种代码",
  18008. "type": "string"
  18009. },
  18010. "wrstandardid": {
  18011. "description": "现货商品ID",
  18012. "type": "integer"
  18013. },
  18014. "wrstandardname": {
  18015. "description": "现货品种",
  18016. "type": "string"
  18017. }
  18018. }
  18019. },
  18020. "ermcp.HisExposureRsp": {
  18021. "type": "object",
  18022. "properties": {
  18023. "data": {
  18024. "description": "历史敞口",
  18025. "type": "array",
  18026. "items": {
  18027. "$ref": "#/definitions/models.ErmcpHisExposure"
  18028. }
  18029. },
  18030. "enumdicname": {
  18031. "description": "单位名称",
  18032. "type": "string"
  18033. },
  18034. "middlegoodscode": {
  18035. "description": "套保品种代码",
  18036. "type": "string"
  18037. },
  18038. "middlegoodsid": {
  18039. "description": "套保品种ID",
  18040. "type": "integer"
  18041. },
  18042. "middlegoodsname": {
  18043. "description": "套保品种名称",
  18044. "type": "string"
  18045. }
  18046. }
  18047. },
  18048. "ermcp.PendingAuditCntRsp": {
  18049. "type": "object",
  18050. "properties": {
  18051. "areastockqty": {
  18052. "description": "待审核数量: 库存申请",
  18053. "type": "integer"
  18054. },
  18055. "businessdjqty": {
  18056. "description": "待审核数量: 点价",
  18057. "type": "integer"
  18058. },
  18059. "businessfpqty": {
  18060. "description": "待审核数量: 发票",
  18061. "type": "integer"
  18062. },
  18063. "businessjsqty": {
  18064. "description": "待审核数量: 结算",
  18065. "type": "integer"
  18066. },
  18067. "businesskxqty": {
  18068. "description": "待审核数量: 款项",
  18069. "type": "integer"
  18070. },
  18071. "hedgeplanqty": {
  18072. "description": "待审核数量: 套保计划",
  18073. "type": "integer"
  18074. },
  18075. "spotcontractqty": {
  18076. "description": "待审核数量: 现货合同",
  18077. "type": "integer"
  18078. },
  18079. "userqty": {
  18080. "description": "待审核数量: 用户",
  18081. "type": "integer"
  18082. }
  18083. }
  18084. },
  18085. "ermcp.QryAvalidGPRsp": {
  18086. "type": "object",
  18087. "properties": {
  18088. "goodsgroupid": {
  18089. "description": "期货品种id",
  18090. "type": "integer"
  18091. },
  18092. "goodsgroupname": {
  18093. "description": "期货品种名称",
  18094. "type": "string"
  18095. },
  18096. "goodunitid": {
  18097. "description": "品种单位id",
  18098. "type": "integer"
  18099. },
  18100. "goodunitname": {
  18101. "description": "品种单位名称",
  18102. "type": "string"
  18103. },
  18104. "outergroupcode": {
  18105. "description": "期货品种代码",
  18106. "type": "string"
  18107. }
  18108. }
  18109. },
  18110. "ermcp.QryBusinessDjRsp": {
  18111. "type": "object",
  18112. "properties": {
  18113. "amount": {
  18114. "description": "期初均价",
  18115. "type": "number"
  18116. },
  18117. "applyid": {
  18118. "description": "申请人",
  18119. "type": "string"
  18120. },
  18121. "applyname": {
  18122. "description": "申请人名称",
  18123. "type": "string"
  18124. },
  18125. "applystatus": {
  18126. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18127. "type": "integer"
  18128. },
  18129. "applytime": {
  18130. "description": "申请时间",
  18131. "type": "string"
  18132. },
  18133. "attachurl": {
  18134. "description": "附件",
  18135. "type": "string"
  18136. },
  18137. "auditid": {
  18138. "description": "审核人ID",
  18139. "type": "string"
  18140. },
  18141. "auditname": {
  18142. "description": "审核人名称",
  18143. "type": "string"
  18144. },
  18145. "auditremark": {
  18146. "description": "审核备注",
  18147. "type": "string"
  18148. },
  18149. "audittime": {
  18150. "description": "审核时间",
  18151. "type": "string"
  18152. },
  18153. "buyusername": {
  18154. "description": "采购方名称",
  18155. "type": "string"
  18156. },
  18157. "contractno": {
  18158. "description": "合同编号",
  18159. "type": "string"
  18160. },
  18161. "contractstatus": {
  18162. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18163. "type": "integer"
  18164. },
  18165. "contracttype": {
  18166. "description": "现货合同类型 - 1:采购 -1:销售",
  18167. "type": "integer"
  18168. },
  18169. "deliverygoodscode": {
  18170. "description": "现货品种代码",
  18171. "type": "string"
  18172. },
  18173. "deliverygoodsid": {
  18174. "description": "现货商品ID",
  18175. "type": "integer"
  18176. },
  18177. "deliverygoodsname": {
  18178. "description": "现货品种名称",
  18179. "type": "string"
  18180. },
  18181. "enumdicname": {
  18182. "description": "单位名称",
  18183. "type": "string"
  18184. },
  18185. "goodscode": {
  18186. "description": "点价合约",
  18187. "type": "string"
  18188. },
  18189. "goodsname": {
  18190. "description": "商品名称",
  18191. "type": "string"
  18192. },
  18193. "operateapplyid": {
  18194. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18195. "type": "string"
  18196. },
  18197. "operateapplytype": {
  18198. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18199. "type": "integer"
  18200. },
  18201. "pricedPrice": {
  18202. "description": "点价价格(非必填)",
  18203. "type": "number"
  18204. },
  18205. "pricedQty": {
  18206. "description": "点价数量(非必填)",
  18207. "type": "number"
  18208. },
  18209. "pricemove": {
  18210. "description": "升贴水",
  18211. "type": "number"
  18212. },
  18213. "pricetype": {
  18214. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18215. "type": "integer"
  18216. },
  18217. "relatedid": {
  18218. "description": "现货合同ID",
  18219. "type": "string"
  18220. },
  18221. "sellusername": {
  18222. "description": "销售方名字",
  18223. "type": "string"
  18224. },
  18225. "userid": {
  18226. "description": "用户ID",
  18227. "type": "integer"
  18228. },
  18229. "wrstandardcode": {
  18230. "description": "品类代码",
  18231. "type": "string"
  18232. },
  18233. "wrstandardid": {
  18234. "description": "品类id",
  18235. "type": "integer"
  18236. },
  18237. "wrstandardname": {
  18238. "description": "品类名称",
  18239. "type": "string"
  18240. }
  18241. }
  18242. },
  18243. "ermcp.QryBussinessFpRsp": {
  18244. "type": "object",
  18245. "properties": {
  18246. "applyid": {
  18247. "description": "申请人",
  18248. "type": "string"
  18249. },
  18250. "applyname": {
  18251. "description": "申请人名称",
  18252. "type": "string"
  18253. },
  18254. "applystatus": {
  18255. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18256. "type": "integer"
  18257. },
  18258. "applytime": {
  18259. "description": "申请时间",
  18260. "type": "string"
  18261. },
  18262. "attachurl": {
  18263. "description": "附件",
  18264. "type": "string"
  18265. },
  18266. "auditid": {
  18267. "description": "审核人ID",
  18268. "type": "string"
  18269. },
  18270. "auditname": {
  18271. "description": "审核人名称",
  18272. "type": "string"
  18273. },
  18274. "auditremark": {
  18275. "description": "审核备注",
  18276. "type": "string"
  18277. },
  18278. "audittime": {
  18279. "description": "审核时间",
  18280. "type": "string"
  18281. },
  18282. "buyusername": {
  18283. "description": "采购方名称",
  18284. "type": "string"
  18285. },
  18286. "contractno": {
  18287. "description": "合同编号",
  18288. "type": "string"
  18289. },
  18290. "contractstatus": {
  18291. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18292. "type": "integer"
  18293. },
  18294. "contracttype": {
  18295. "description": "现货合同类型 - 1:采购 -1:销售",
  18296. "type": "integer"
  18297. },
  18298. "deliverygoodscode": {
  18299. "description": "现货品种代码",
  18300. "type": "string"
  18301. },
  18302. "deliverygoodsid": {
  18303. "description": "现货商品ID",
  18304. "type": "integer"
  18305. },
  18306. "deliverygoodsname": {
  18307. "description": "现货品种名称",
  18308. "type": "string"
  18309. },
  18310. "enumdicname": {
  18311. "description": "单位名称",
  18312. "type": "string"
  18313. },
  18314. "goodscode": {
  18315. "description": "点价合约",
  18316. "type": "string"
  18317. },
  18318. "goodsname": {
  18319. "description": "商品名称",
  18320. "type": "string"
  18321. },
  18322. "invoiceamount": {
  18323. "description": "已开收票金额(销售为开票,采购为收票)",
  18324. "type": "number"
  18325. },
  18326. "operateapplyid": {
  18327. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18328. "type": "string"
  18329. },
  18330. "operateapplytype": {
  18331. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18332. "type": "integer"
  18333. },
  18334. "pricemove": {
  18335. "description": "升贴水",
  18336. "type": "number"
  18337. },
  18338. "pricetype": {
  18339. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18340. "type": "integer"
  18341. },
  18342. "relatedid": {
  18343. "description": "现货合同ID",
  18344. "type": "string"
  18345. },
  18346. "sellusername": {
  18347. "description": "销售方名字",
  18348. "type": "string"
  18349. },
  18350. "userid": {
  18351. "description": "用户ID",
  18352. "type": "integer"
  18353. },
  18354. "wrstandardcode": {
  18355. "description": "品类代码",
  18356. "type": "string"
  18357. },
  18358. "wrstandardid": {
  18359. "description": "品类id",
  18360. "type": "integer"
  18361. },
  18362. "wrstandardname": {
  18363. "description": "品类名称",
  18364. "type": "string"
  18365. }
  18366. }
  18367. },
  18368. "ermcp.QryBussinessJsExRsp": {
  18369. "type": "object",
  18370. "properties": {
  18371. "applyid": {
  18372. "description": "申请人",
  18373. "type": "string"
  18374. },
  18375. "applyname": {
  18376. "description": "申请人名称",
  18377. "type": "string"
  18378. },
  18379. "applystatus": {
  18380. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18381. "type": "integer"
  18382. },
  18383. "applytime": {
  18384. "description": "申请时间",
  18385. "type": "string"
  18386. },
  18387. "attachurl": {
  18388. "description": "附件",
  18389. "type": "string"
  18390. },
  18391. "auditid": {
  18392. "description": "审核人ID",
  18393. "type": "string"
  18394. },
  18395. "auditname": {
  18396. "description": "审核人名称",
  18397. "type": "string"
  18398. },
  18399. "auditremark": {
  18400. "description": "审核备注",
  18401. "type": "string"
  18402. },
  18403. "audittime": {
  18404. "description": "审核时间",
  18405. "type": "string"
  18406. },
  18407. "buyusername": {
  18408. "description": "采购方名称",
  18409. "type": "string"
  18410. },
  18411. "contractno": {
  18412. "description": "合同编号",
  18413. "type": "string"
  18414. },
  18415. "contractstatus": {
  18416. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18417. "type": "integer"
  18418. },
  18419. "contracttype": {
  18420. "description": "现货合同类型 - 1:采购 -1:销售",
  18421. "type": "integer"
  18422. },
  18423. "deliverygoodscode": {
  18424. "description": "现货品种代码",
  18425. "type": "string"
  18426. },
  18427. "deliverygoodsid": {
  18428. "description": "现货商品ID",
  18429. "type": "integer"
  18430. },
  18431. "deliverygoodsname": {
  18432. "description": "现货品种名称",
  18433. "type": "string"
  18434. },
  18435. "enumdicname": {
  18436. "description": "单位名称",
  18437. "type": "string"
  18438. },
  18439. "goodscode": {
  18440. "description": "点价合约",
  18441. "type": "string"
  18442. },
  18443. "goodsname": {
  18444. "description": "商品名称",
  18445. "type": "string"
  18446. },
  18447. "operateapplyid": {
  18448. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18449. "type": "string"
  18450. },
  18451. "operateapplytype": {
  18452. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18453. "type": "integer"
  18454. },
  18455. "pricemove": {
  18456. "description": "升贴水",
  18457. "type": "number"
  18458. },
  18459. "pricetype": {
  18460. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18461. "type": "integer"
  18462. },
  18463. "reckontype": {
  18464. "description": "结算类型",
  18465. "type": "string"
  18466. },
  18467. "reckonvalue": {
  18468. "description": "值",
  18469. "type": "number"
  18470. },
  18471. "relatedid": {
  18472. "description": "现货合同ID",
  18473. "type": "string"
  18474. },
  18475. "sellusername": {
  18476. "description": "销售方名字",
  18477. "type": "string"
  18478. },
  18479. "userid": {
  18480. "description": "用户ID",
  18481. "type": "integer"
  18482. },
  18483. "wrstandardcode": {
  18484. "description": "品类代码",
  18485. "type": "string"
  18486. },
  18487. "wrstandardid": {
  18488. "description": "品类id",
  18489. "type": "integer"
  18490. },
  18491. "wrstandardname": {
  18492. "description": "品类名称",
  18493. "type": "string"
  18494. }
  18495. }
  18496. },
  18497. "ermcp.QryBussinessJsRsp": {
  18498. "type": "object",
  18499. "properties": {
  18500. "addmargin": {
  18501. "description": "追加保证金(非必填)",
  18502. "type": "number"
  18503. },
  18504. "applyid": {
  18505. "description": "申请人",
  18506. "type": "string"
  18507. },
  18508. "applyname": {
  18509. "description": "申请人名称",
  18510. "type": "string"
  18511. },
  18512. "applystatus": {
  18513. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18514. "type": "integer"
  18515. },
  18516. "applytime": {
  18517. "description": "申请时间",
  18518. "type": "string"
  18519. },
  18520. "attachurl": {
  18521. "description": "附件",
  18522. "type": "string"
  18523. },
  18524. "auditid": {
  18525. "description": "审核人ID",
  18526. "type": "string"
  18527. },
  18528. "auditname": {
  18529. "description": "审核人名称",
  18530. "type": "string"
  18531. },
  18532. "auditremark": {
  18533. "description": "审核备注",
  18534. "type": "string"
  18535. },
  18536. "audittime": {
  18537. "description": "审核时间",
  18538. "type": "string"
  18539. },
  18540. "buyusername": {
  18541. "description": "采购方名称",
  18542. "type": "string"
  18543. },
  18544. "contractno": {
  18545. "description": "合同编号",
  18546. "type": "string"
  18547. },
  18548. "contractstatus": {
  18549. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18550. "type": "integer"
  18551. },
  18552. "contracttype": {
  18553. "description": "现货合同类型 - 1:采购 -1:销售",
  18554. "type": "integer"
  18555. },
  18556. "decmargin": {
  18557. "description": "减少保证金(非必填)",
  18558. "type": "number"
  18559. },
  18560. "deliverygoodscode": {
  18561. "description": "现货品种代码",
  18562. "type": "string"
  18563. },
  18564. "deliverygoodsid": {
  18565. "description": "现货商品ID",
  18566. "type": "integer"
  18567. },
  18568. "deliverygoodsname": {
  18569. "description": "现货品种名称",
  18570. "type": "string"
  18571. },
  18572. "enumdicname": {
  18573. "description": "单位名称",
  18574. "type": "string"
  18575. },
  18576. "goodscode": {
  18577. "description": "点价合约",
  18578. "type": "string"
  18579. },
  18580. "goodsname": {
  18581. "description": "商品名称",
  18582. "type": "string"
  18583. },
  18584. "operateapplyid": {
  18585. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18586. "type": "string"
  18587. },
  18588. "operateapplytype": {
  18589. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18590. "type": "integer"
  18591. },
  18592. "pricemove": {
  18593. "description": "升贴水",
  18594. "type": "number"
  18595. },
  18596. "pricetype": {
  18597. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18598. "type": "integer"
  18599. },
  18600. "reckonadjustamount": {
  18601. "description": "结算调整金额(非必填)",
  18602. "type": "number"
  18603. },
  18604. "reckonosamount": {
  18605. "description": "结算溢短金额(非必填)",
  18606. "type": "number"
  18607. },
  18608. "reckonotheramount": {
  18609. "description": "结算其他费用(非必填)",
  18610. "type": "number"
  18611. },
  18612. "reckonrealqty": {
  18613. "description": "结算实际数量(非必填)",
  18614. "type": "number"
  18615. },
  18616. "relatedid": {
  18617. "description": "现货合同ID",
  18618. "type": "string"
  18619. },
  18620. "sellusername": {
  18621. "description": "销售方名字",
  18622. "type": "string"
  18623. },
  18624. "userid": {
  18625. "description": "用户ID",
  18626. "type": "integer"
  18627. },
  18628. "wrstandardcode": {
  18629. "description": "品类代码",
  18630. "type": "string"
  18631. },
  18632. "wrstandardid": {
  18633. "description": "品类id",
  18634. "type": "integer"
  18635. },
  18636. "wrstandardname": {
  18637. "description": "品类名称",
  18638. "type": "string"
  18639. }
  18640. }
  18641. },
  18642. "ermcp.QryBussinessKxRsp": {
  18643. "type": "object",
  18644. "properties": {
  18645. "applyid": {
  18646. "description": "申请人",
  18647. "type": "string"
  18648. },
  18649. "applyname": {
  18650. "description": "申请人名称",
  18651. "type": "string"
  18652. },
  18653. "applystatus": {
  18654. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18655. "type": "integer"
  18656. },
  18657. "applytime": {
  18658. "description": "申请时间",
  18659. "type": "string"
  18660. },
  18661. "attachurl": {
  18662. "description": "附件",
  18663. "type": "string"
  18664. },
  18665. "auditid": {
  18666. "description": "审核人ID",
  18667. "type": "string"
  18668. },
  18669. "auditname": {
  18670. "description": "审核人名称",
  18671. "type": "string"
  18672. },
  18673. "auditremark": {
  18674. "description": "审核备注",
  18675. "type": "string"
  18676. },
  18677. "audittime": {
  18678. "description": "审核时间",
  18679. "type": "string"
  18680. },
  18681. "buyusername": {
  18682. "description": "采购方名称",
  18683. "type": "string"
  18684. },
  18685. "contractno": {
  18686. "description": "合同编号",
  18687. "type": "string"
  18688. },
  18689. "contractstatus": {
  18690. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18691. "type": "integer"
  18692. },
  18693. "contracttype": {
  18694. "description": "现货合同类型 - 1:采购 -1:销售",
  18695. "type": "integer"
  18696. },
  18697. "deductamount": {
  18698. "description": "期初均价",
  18699. "type": "number"
  18700. },
  18701. "deliverygoodscode": {
  18702. "description": "现货品种代码",
  18703. "type": "string"
  18704. },
  18705. "deliverygoodsid": {
  18706. "description": "现货商品ID",
  18707. "type": "integer"
  18708. },
  18709. "deliverygoodsname": {
  18710. "description": "现货品种名称",
  18711. "type": "string"
  18712. },
  18713. "enumdicname": {
  18714. "description": "单位名称",
  18715. "type": "string"
  18716. },
  18717. "goodscode": {
  18718. "description": "点价合约",
  18719. "type": "string"
  18720. },
  18721. "goodsname": {
  18722. "description": "商品名称",
  18723. "type": "string"
  18724. },
  18725. "kxtype": {
  18726. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18727. "type": "integer"
  18728. },
  18729. "operateapplyid": {
  18730. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18731. "type": "string"
  18732. },
  18733. "operateapplytype": {
  18734. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18735. "type": "integer"
  18736. },
  18737. "payamount": {
  18738. "description": "期初均价",
  18739. "type": "number"
  18740. },
  18741. "pricemove": {
  18742. "description": "升贴水",
  18743. "type": "number"
  18744. },
  18745. "pricetype": {
  18746. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18747. "type": "integer"
  18748. },
  18749. "relatedid": {
  18750. "description": "现货合同ID",
  18751. "type": "string"
  18752. },
  18753. "sellusername": {
  18754. "description": "销售方名字",
  18755. "type": "string"
  18756. },
  18757. "userid": {
  18758. "description": "用户ID",
  18759. "type": "integer"
  18760. },
  18761. "wrstandardcode": {
  18762. "description": "品类代码",
  18763. "type": "string"
  18764. },
  18765. "wrstandardid": {
  18766. "description": "品类id",
  18767. "type": "integer"
  18768. },
  18769. "wrstandardname": {
  18770. "description": "品类名称",
  18771. "type": "string"
  18772. }
  18773. }
  18774. },
  18775. "ermcp.QryGGCovertCfgRsp": {
  18776. "type": "object",
  18777. "properties": {
  18778. "convertratio": {
  18779. "description": "折算系数",
  18780. "type": "number"
  18781. },
  18782. "destgoodsgroupid": {
  18783. "description": "目标品种ID",
  18784. "type": "integer"
  18785. },
  18786. "dstcode": {
  18787. "description": "目录品种代码",
  18788. "type": "string"
  18789. },
  18790. "dstexchangecode": {
  18791. "description": "目标期货交易所",
  18792. "type": "string"
  18793. },
  18794. "dstname": {
  18795. "description": "目标品种名称",
  18796. "type": "string"
  18797. },
  18798. "dstunitid": {
  18799. "description": "目标品种单位ID",
  18800. "type": "integer"
  18801. },
  18802. "dstunitidname": {
  18803. "description": "目标品种单位名称",
  18804. "type": "string"
  18805. },
  18806. "modifytime": {
  18807. "description": "修改时间",
  18808. "type": "string"
  18809. },
  18810. "srccode": {
  18811. "description": "源品种代码",
  18812. "type": "string"
  18813. },
  18814. "srcexchangecode": {
  18815. "description": "源期货交易所",
  18816. "type": "string"
  18817. },
  18818. "srcgoodsgroupid": {
  18819. "description": "源品种ID",
  18820. "type": "integer"
  18821. },
  18822. "srcname": {
  18823. "description": "源品种名称",
  18824. "type": "string"
  18825. },
  18826. "srcunitid": {
  18827. "description": "源品种单位ID",
  18828. "type": "integer"
  18829. },
  18830. "srcunitidname": {
  18831. "description": "源品种单位名称",
  18832. "type": "string"
  18833. }
  18834. }
  18835. },
  18836. "ermcp.QryMGChangeLogRsp": {
  18837. "type": "object",
  18838. "properties": {
  18839. "aftervalue": {
  18840. "description": "变更后",
  18841. "type": "number"
  18842. },
  18843. "applyid": {
  18844. "description": "操作人",
  18845. "type": "integer"
  18846. },
  18847. "applyname": {
  18848. "description": "操作人名称",
  18849. "type": "string"
  18850. },
  18851. "applysrc": {
  18852. "description": "操作来源 - 1:管理端 2:终端",
  18853. "type": "integer"
  18854. },
  18855. "beforevalue": {
  18856. "description": "变更前",
  18857. "type": "number"
  18858. },
  18859. "changelogtype": {
  18860. "description": "变更流水类型 - 1:套保比率变更",
  18861. "type": "integer"
  18862. },
  18863. "handlestatus": {
  18864. "description": "处理状态",
  18865. "type": "integer"
  18866. },
  18867. "logdatetime": {
  18868. "description": "流水日期",
  18869. "type": "string"
  18870. },
  18871. "logid": {
  18872. "description": "流水ID",
  18873. "type": "integer"
  18874. },
  18875. "logremark": {
  18876. "description": "流水备注",
  18877. "type": "string"
  18878. },
  18879. "middlegoodsid": {
  18880. "description": "套保品种ID",
  18881. "type": "integer"
  18882. },
  18883. "tradedate": {
  18884. "description": "交易日(yyyyMMdd)",
  18885. "type": "string"
  18886. },
  18887. "updatetime": {
  18888. "description": "更新时间",
  18889. "type": "string"
  18890. }
  18891. }
  18892. },
  18893. "ermcp.QryMiddleGoodsDetailRsp": {
  18894. "type": "object",
  18895. "properties": {
  18896. "cvList": {
  18897. "description": "期货品种折算列表",
  18898. "type": "array",
  18899. "items": {
  18900. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18901. }
  18902. },
  18903. "mg": {
  18904. "description": "套保品种基本信息",
  18905. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18906. },
  18907. "wrcList": {
  18908. "description": "现货品种列表(现货商品折算配置)",
  18909. "type": "array",
  18910. "items": {
  18911. "$ref": "#/definitions/models.WRSConverTDetail"
  18912. }
  18913. }
  18914. }
  18915. },
  18916. "ermcp.QryMiddleGoodsRsp": {
  18917. "type": "object",
  18918. "properties": {
  18919. "areauserid": {
  18920. "description": "机构用户ID",
  18921. "type": "integer"
  18922. },
  18923. "createtime": {
  18924. "description": "修改时间",
  18925. "type": "string"
  18926. },
  18927. "enumdicname": {
  18928. "description": "单位名称",
  18929. "type": "string"
  18930. },
  18931. "evaluateratio": {
  18932. "description": "估价系数",
  18933. "type": "number"
  18934. },
  18935. "goodsgroupid": {
  18936. "description": "关联期货品种ID",
  18937. "type": "integer"
  18938. },
  18939. "goodsunitid": {
  18940. "description": "单位ID",
  18941. "type": "integer"
  18942. },
  18943. "isvalid": {
  18944. "description": "状态 0-无效(停用) 1-有效(正常)",
  18945. "type": "integer"
  18946. },
  18947. "middlegoodscode": {
  18948. "description": "套保品种代码",
  18949. "type": "string"
  18950. },
  18951. "middlegoodsid": {
  18952. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18953. "type": "integer"
  18954. },
  18955. "middlegoodsname": {
  18956. "description": "套保品种名称",
  18957. "type": "string"
  18958. },
  18959. "modifytime": {
  18960. "description": "修改时间",
  18961. "type": "string"
  18962. },
  18963. "needarbitrageratio": {
  18964. "description": "套利比例",
  18965. "type": "number"
  18966. },
  18967. "needhedgeratio": {
  18968. "description": "套保比率",
  18969. "type": "number"
  18970. },
  18971. "qtydecimalplace": {
  18972. "description": "数量小数位",
  18973. "type": "integer"
  18974. },
  18975. "relatedgoodsid": {
  18976. "description": "关联交易商品ID",
  18977. "type": "integer"
  18978. },
  18979. "relatedgoodstype": {
  18980. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18981. "type": "integer"
  18982. },
  18983. "remark": {
  18984. "description": "备注",
  18985. "type": "string"
  18986. }
  18987. }
  18988. },
  18989. "ermcp.QryOPLogRsp": {
  18990. "type": "object",
  18991. "properties": {
  18992. "aftervalue": {
  18993. "description": "变更后",
  18994. "type": "number"
  18995. },
  18996. "applyid": {
  18997. "description": "操作人ID",
  18998. "type": "string"
  18999. },
  19000. "applyname": {
  19001. "description": "操作人名称",
  19002. "type": "string"
  19003. },
  19004. "beforevalue": {
  19005. "description": "变更前",
  19006. "type": "number"
  19007. },
  19008. "biztype": {
  19009. "description": "业务类型 - 1:套保计划 2:现货合同",
  19010. "type": "integer"
  19011. },
  19012. "contracttype": {
  19013. "description": "现货合同类型 - 1:采购 -1:销售",
  19014. "type": "integer"
  19015. },
  19016. "logvalue": {
  19017. "description": "数值",
  19018. "type": "number"
  19019. },
  19020. "operatelogtype": {
  19021. "description": "操作流水类型",
  19022. "type": "integer"
  19023. },
  19024. "operatelogtypedesc": {
  19025. "description": "操作流水类型名称",
  19026. "type": "string"
  19027. },
  19028. "relatedid": {
  19029. "description": "现货合同ID\\套保计划",
  19030. "type": "string"
  19031. },
  19032. "updatetime": {
  19033. "description": "更新时间",
  19034. "type": "string"
  19035. }
  19036. }
  19037. },
  19038. "ermcp.QryUserInfoRsp": {
  19039. "type": "object",
  19040. "properties": {
  19041. "address": {
  19042. "description": "通讯地址",
  19043. "type": "string"
  19044. },
  19045. "attachment1": {
  19046. "description": "附件1",
  19047. "type": "string"
  19048. },
  19049. "audittime": {
  19050. "description": "审核时间",
  19051. "type": "string"
  19052. },
  19053. "cardbackphotourl": {
  19054. "description": "证件反面图片地址",
  19055. "type": "string"
  19056. },
  19057. "cardfrontphotourl": {
  19058. "description": "证件正面图片地址",
  19059. "type": "string"
  19060. },
  19061. "cardnum": {
  19062. "description": "证件号码",
  19063. "type": "string"
  19064. },
  19065. "cardtype": {
  19066. "description": "证件类型",
  19067. "type": "integer"
  19068. },
  19069. "cardtypename": {
  19070. "description": "证件类型名称",
  19071. "type": "string"
  19072. },
  19073. "cityid": {
  19074. "description": "市",
  19075. "type": "integer"
  19076. },
  19077. "contactname": {
  19078. "description": "联系人",
  19079. "type": "string"
  19080. },
  19081. "countryid": {
  19082. "description": "国家",
  19083. "type": "integer"
  19084. },
  19085. "createtime": {
  19086. "description": "创建时间",
  19087. "type": "string"
  19088. },
  19089. "customername": {
  19090. "description": "企业名称",
  19091. "type": "string"
  19092. },
  19093. "districtid": {
  19094. "description": "区域",
  19095. "type": "integer"
  19096. },
  19097. "email": {
  19098. "description": "邮件",
  19099. "type": "string"
  19100. },
  19101. "legalpersonname": {
  19102. "description": "法人姓名(企业)",
  19103. "type": "string"
  19104. },
  19105. "memberuserid": {
  19106. "description": "所属机构ID",
  19107. "type": "integer"
  19108. },
  19109. "mobile": {
  19110. "description": "手机号码",
  19111. "type": "string"
  19112. },
  19113. "modifytime": {
  19114. "description": "修改时间",
  19115. "type": "string"
  19116. },
  19117. "nickname": {
  19118. "description": "昵称",
  19119. "type": "string"
  19120. },
  19121. "provinceid": {
  19122. "description": "省",
  19123. "type": "integer"
  19124. },
  19125. "remark": {
  19126. "description": "备注",
  19127. "type": "string"
  19128. },
  19129. "status": {
  19130. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19131. "type": "integer"
  19132. },
  19133. "statusdesc": {
  19134. "description": "账户状态中文描述",
  19135. "type": "string"
  19136. },
  19137. "taxpayernum": {
  19138. "description": "纳税人识别号",
  19139. "type": "string"
  19140. },
  19141. "telphone": {
  19142. "description": "联系电话",
  19143. "type": "string"
  19144. },
  19145. "userid": {
  19146. "description": "用户ID",
  19147. "type": "integer"
  19148. },
  19149. "userinfotype": {
  19150. "description": "客户类型",
  19151. "type": "string"
  19152. }
  19153. }
  19154. },
  19155. "ermcp.QryWarehouseRsp": {
  19156. "type": "object",
  19157. "properties": {
  19158. "address": {
  19159. "description": "详细地址",
  19160. "type": "string"
  19161. },
  19162. "areauserid": {
  19163. "description": "所属机构",
  19164. "type": "integer"
  19165. },
  19166. "autoid": {
  19167. "description": "自增ID(仓库ID)",
  19168. "type": "integer"
  19169. },
  19170. "cityid": {
  19171. "description": "市",
  19172. "type": "integer"
  19173. },
  19174. "contactname": {
  19175. "description": "联系人",
  19176. "type": "string"
  19177. },
  19178. "contactnum": {
  19179. "description": "联系电话",
  19180. "type": "string"
  19181. },
  19182. "countryid": {
  19183. "description": "国家",
  19184. "type": "integer"
  19185. },
  19186. "createtime": {
  19187. "description": "创建时间",
  19188. "type": "string"
  19189. },
  19190. "districtid": {
  19191. "description": "区",
  19192. "type": "integer"
  19193. },
  19194. "hasvideo": {
  19195. "description": "是否有视频 - 0:无 1:有",
  19196. "type": "integer"
  19197. },
  19198. "provinceid": {
  19199. "description": "省",
  19200. "type": "integer"
  19201. },
  19202. "remark": {
  19203. "description": "审核备注",
  19204. "type": "string"
  19205. },
  19206. "videourl": {
  19207. "description": "视频地址",
  19208. "type": "string"
  19209. },
  19210. "warehousecode": {
  19211. "description": "仓库代码",
  19212. "type": "string"
  19213. },
  19214. "warehousename": {
  19215. "description": "仓库名称",
  19216. "type": "string"
  19217. },
  19218. "warehousestatus": {
  19219. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19220. "type": "integer"
  19221. },
  19222. "warehousetype": {
  19223. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19224. "type": "integer"
  19225. }
  19226. }
  19227. },
  19228. "ermcp.QueryErmcpTradePositionRsp": {
  19229. "type": "object",
  19230. "properties": {
  19231. "agreeunit": {
  19232. "description": "合约单位",
  19233. "type": "number"
  19234. },
  19235. "buyorsell": {
  19236. "description": "方向 - 0:买 1:卖",
  19237. "type": "integer"
  19238. },
  19239. "curpositionqty": {
  19240. "description": "持仓(总仓数量, 期末头寸)",
  19241. "type": "integer"
  19242. },
  19243. "curtdposition": {
  19244. "description": "今仓数量(期末今日头寸)",
  19245. "type": "integer"
  19246. },
  19247. "curtdpositionenabled": {
  19248. "description": "今仓可用",
  19249. "type": "integer"
  19250. },
  19251. "decimalplace": {
  19252. "description": "报价小数位",
  19253. "type": "integer"
  19254. },
  19255. "enableqty": {
  19256. "description": "可用(总仓可用)",
  19257. "type": "integer"
  19258. },
  19259. "exexchangename": {
  19260. "description": "外部交易所名称",
  19261. "type": "string"
  19262. },
  19263. "exexehangecode": {
  19264. "description": "外部交易所代码",
  19265. "type": "string"
  19266. },
  19267. "exexehangeid": {
  19268. "description": "外部交易所id",
  19269. "type": "integer"
  19270. },
  19271. "goodscode": {
  19272. "description": "商品代码(内部)",
  19273. "type": "string"
  19274. },
  19275. "goodsid": {
  19276. "description": "商品ID(自增ID SEQ_GOODS)",
  19277. "type": "integer"
  19278. },
  19279. "goodsname": {
  19280. "description": "商品名称",
  19281. "type": "string"
  19282. },
  19283. "last": {
  19284. "description": "现价",
  19285. "type": "number"
  19286. },
  19287. "marketid": {
  19288. "description": "所属市场ID",
  19289. "type": "integer"
  19290. },
  19291. "openaverageprice": {
  19292. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  19293. "type": "number"
  19294. },
  19295. "opencost": {
  19296. "description": "开仓成本",
  19297. "type": "number"
  19298. },
  19299. "openpl": {
  19300. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19301. "type": "number"
  19302. },
  19303. "outgoodscode": {
  19304. "description": "商品代码(外部)",
  19305. "type": "string"
  19306. },
  19307. "positionaverageprice": {
  19308. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  19309. "type": "number"
  19310. },
  19311. "positioncost": {
  19312. "description": "持仓成本",
  19313. "type": "number"
  19314. },
  19315. "positionpl": {
  19316. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19317. "type": "number"
  19318. },
  19319. "positionplrate": {
  19320. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  19321. "type": "number"
  19322. },
  19323. "usedmargin": {
  19324. "description": "占用保证金",
  19325. "type": "number"
  19326. }
  19327. }
  19328. },
  19329. "ermcp.RealtimeExposurePositionRsp": {
  19330. "type": "object",
  19331. "properties": {
  19332. "agreeunit": {
  19333. "description": "合约单位",
  19334. "type": "string"
  19335. },
  19336. "areauserid": {
  19337. "description": "所属机构id",
  19338. "type": "integer"
  19339. },
  19340. "convertratio": {
  19341. "description": "期货品种系数(折算系数)",
  19342. "type": "number"
  19343. },
  19344. "curhedgeqty": {
  19345. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  19346. "type": "number"
  19347. },
  19348. "curqty": {
  19349. "description": "当前持仓",
  19350. "type": "integer"
  19351. },
  19352. "diffhedgeqty": {
  19353. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19354. "type": "number"
  19355. },
  19356. "diffqty": {
  19357. "description": "持仓变动量=当前持仓-昨日持仓",
  19358. "type": "integer"
  19359. },
  19360. "goodscode": {
  19361. "description": "商品代码",
  19362. "type": "string"
  19363. },
  19364. "goodsid": {
  19365. "description": "商品id",
  19366. "type": "integer"
  19367. },
  19368. "goodsname": {
  19369. "description": "商品名称",
  19370. "type": "string"
  19371. },
  19372. "hedgeaccountcode": {
  19373. "description": "对冲账号(只有外部账号才有值)",
  19374. "type": "string"
  19375. },
  19376. "middlegoodscode": {
  19377. "description": "套保商品代码",
  19378. "type": "string"
  19379. },
  19380. "middlegoodsid": {
  19381. "description": "套保商品id",
  19382. "type": "integer"
  19383. },
  19384. "middlegoodsname": {
  19385. "description": "套保商品名称",
  19386. "type": "string"
  19387. },
  19388. "ydqty": {
  19389. "description": "昨日持仓",
  19390. "type": "integer"
  19391. }
  19392. }
  19393. },
  19394. "ermcp.RealtimeExposureRsp": {
  19395. "type": "object",
  19396. "properties": {
  19397. "AreaUserID": {
  19398. "description": "所属机构",
  19399. "type": "integer"
  19400. },
  19401. "BuyFutureQty": {
  19402. "description": "买入期货数量",
  19403. "type": "number"
  19404. },
  19405. "BuyPlanQty": {
  19406. "description": "采购计划数量",
  19407. "type": "number"
  19408. },
  19409. "BuyPricedQty": {
  19410. "description": "采购合同已定价数量",
  19411. "type": "number"
  19412. },
  19413. "MiddleGoodsCode": {
  19414. "description": "套保品种代码",
  19415. "type": "string"
  19416. },
  19417. "MiddleGoodsHedgeRatio": {
  19418. "description": "套保比例",
  19419. "type": "number"
  19420. },
  19421. "MiddleGoodsID": {
  19422. "description": "套保品种",
  19423. "type": "integer"
  19424. },
  19425. "MiddleGoodsName": {
  19426. "description": "套保品种名称",
  19427. "type": "string"
  19428. },
  19429. "NeedHedgeExposoure": {
  19430. "description": "应套保敞口(套保敞口)",
  19431. "type": "number"
  19432. },
  19433. "NeedHedgeRatio": {
  19434. "description": "应套保敞口比例",
  19435. "type": "number"
  19436. },
  19437. "OriBuyFutureQty": {
  19438. "description": "期初买入期货数量",
  19439. "type": "number"
  19440. },
  19441. "OriBuyPlanQty": {
  19442. "description": "期初采购计划数量",
  19443. "type": "number"
  19444. },
  19445. "OriBuyPricedQty": {
  19446. "description": "期初采购合同已定价数量",
  19447. "type": "number"
  19448. },
  19449. "OriSellFutureQty": {
  19450. "description": "期初卖出期货数量",
  19451. "type": "number"
  19452. },
  19453. "OriSellPlanQty": {
  19454. "description": "期初销售计划数量",
  19455. "type": "number"
  19456. },
  19457. "OriSellPricedQty": {
  19458. "description": "期初销售合同已定价数量",
  19459. "type": "number"
  19460. },
  19461. "OriTotalSpotQty": {
  19462. "description": "期初现货总量",
  19463. "type": "number"
  19464. },
  19465. "SellFutureQty": {
  19466. "description": "卖出期货数量",
  19467. "type": "number"
  19468. },
  19469. "SellPlanQty": {
  19470. "description": "销售计划数量",
  19471. "type": "number"
  19472. },
  19473. "SellPricedQty": {
  19474. "description": "销售合同已定价数量",
  19475. "type": "number"
  19476. },
  19477. "TotalExposure": {
  19478. "description": "总敞口 平安:净敞口",
  19479. "type": "number"
  19480. },
  19481. "TotalFutureQty": {
  19482. "description": "期货总量 平安:保值净持仓量",
  19483. "type": "number"
  19484. },
  19485. "TotalHedgeRatio": {
  19486. "description": "敞口比例",
  19487. "type": "number"
  19488. },
  19489. "TotalNeedHedgeQty": {
  19490. "description": "应套保总量(现货应套保总量)",
  19491. "type": "number"
  19492. },
  19493. "TotalSpotQty": {
  19494. "description": "现货总量 平安:采销定价净值",
  19495. "type": "number"
  19496. },
  19497. "arbitrageqty": {
  19498. "description": "套利量",
  19499. "type": "number"
  19500. },
  19501. "diffArbitrageQty": {
  19502. "description": "期初均价",
  19503. "type": "number"
  19504. },
  19505. "diffExposoureQty": {
  19506. "description": "期初均价",
  19507. "type": "number"
  19508. },
  19509. "diffFutuQty": {
  19510. "description": "期初均价",
  19511. "type": "number"
  19512. },
  19513. "diffHedgeQty": {
  19514. "description": "期初均价",
  19515. "type": "number"
  19516. },
  19517. "diffQty": {
  19518. "description": "期初均价",
  19519. "type": "number"
  19520. },
  19521. "diffSpotHedgeQty": {
  19522. "description": "期初均价",
  19523. "type": "number"
  19524. },
  19525. "diffSpotQty": {
  19526. "description": "期初均价",
  19527. "type": "number"
  19528. },
  19529. "enumdicname": {
  19530. "description": "单位名称",
  19531. "type": "string"
  19532. },
  19533. "hedgeqty": {
  19534. "description": "套保量",
  19535. "type": "number"
  19536. },
  19537. "needarbitrageqty": {
  19538. "description": "应套利量",
  19539. "type": "number"
  19540. },
  19541. "needarbitrageratio": {
  19542. "description": "套利比例",
  19543. "type": "number"
  19544. },
  19545. "needhedgeqty": {
  19546. "description": "应套保量",
  19547. "type": "number"
  19548. },
  19549. "oriarbitrageqty": {
  19550. "description": "期初套利量",
  19551. "type": "number"
  19552. },
  19553. "orihedgeqty": {
  19554. "description": "期初套保量",
  19555. "type": "number"
  19556. },
  19557. "orineedhedgeexposoure": {
  19558. "description": "期初套保敞口",
  19559. "type": "number"
  19560. },
  19561. "oritotalexposure": {
  19562. "description": "期初总敞口",
  19563. "type": "number"
  19564. },
  19565. "oritotalfutureqty": {
  19566. "description": "期初期货总量",
  19567. "type": "number"
  19568. },
  19569. "oritotalneedhedgeqty": {
  19570. "description": "期初现货应套保量",
  19571. "type": "number"
  19572. }
  19573. }
  19574. },
  19575. "erms2.QueryArbitrageStrategyRsp": {
  19576. "type": "object",
  19577. "required": [
  19578. "asapplyid"
  19579. ],
  19580. "properties": {
  19581. "applybasis": {
  19582. "description": "申请基差",
  19583. "type": "number"
  19584. },
  19585. "asapplyid": {
  19586. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19587. "type": "string"
  19588. },
  19589. "asname": {
  19590. "description": "策略名称",
  19591. "type": "string"
  19592. },
  19593. "asno": {
  19594. "description": "策略编号",
  19595. "type": "string"
  19596. },
  19597. "basischangepl": {
  19598. "description": "基差变动损益[结算更新]",
  19599. "type": "number"
  19600. },
  19601. "biztype": {
  19602. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19603. "type": "integer"
  19604. },
  19605. "closetradedate": {
  19606. "description": "完结交易日(yyyyMMdd)",
  19607. "type": "string"
  19608. },
  19609. "curbasis": {
  19610. "description": "当前基差[结算更新]",
  19611. "type": "number"
  19612. },
  19613. "deliverygoodsid": {
  19614. "description": "现货品种ID",
  19615. "type": "integer"
  19616. },
  19617. "futureavgprice": {
  19618. "description": "期货建仓均价",
  19619. "type": "number"
  19620. },
  19621. "futurecloseamount": {
  19622. "description": "期货平仓金额",
  19623. "type": "number"
  19624. },
  19625. "futurecloseqty": {
  19626. "description": "期货平仓数量",
  19627. "type": "number"
  19628. },
  19629. "futureopenamount": {
  19630. "description": "期货开仓金额",
  19631. "type": "number"
  19632. },
  19633. "futureopenqty": {
  19634. "description": "期货开仓数量",
  19635. "type": "number"
  19636. },
  19637. "futurepl": {
  19638. "description": "期货总盈亏[结算更新]",
  19639. "type": "number"
  19640. },
  19641. "futureqty": {
  19642. "description": "期货持仓数量",
  19643. "type": "number"
  19644. },
  19645. "futurequote": {
  19646. "description": "期货额度",
  19647. "type": "number"
  19648. },
  19649. "goodsgroupid": {
  19650. "description": "期货品种ID",
  19651. "type": "integer"
  19652. },
  19653. "marketid": {
  19654. "description": "市场ID",
  19655. "type": "integer"
  19656. },
  19657. "netexposure": {
  19658. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19659. "type": "number"
  19660. },
  19661. "netexposurepl": {
  19662. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19663. "type": "number"
  19664. },
  19665. "netexposurerate": {
  19666. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19667. "type": "number"
  19668. },
  19669. "openbasis": {
  19670. "description": "建仓基差",
  19671. "type": "number"
  19672. },
  19673. "pricedspotqty": {
  19674. "description": "已定价现货数量",
  19675. "type": "number"
  19676. },
  19677. "pricedspotqtynotax": {
  19678. "description": "已定价现货不含税数量",
  19679. "type": "number"
  19680. },
  19681. "remark": {
  19682. "description": "备注",
  19683. "type": "string"
  19684. },
  19685. "spotavgprice": {
  19686. "description": "现货均价",
  19687. "type": "number"
  19688. },
  19689. "spotbuyamount": {
  19690. "description": "现货采购金额",
  19691. "type": "number"
  19692. },
  19693. "spotbuyqty": {
  19694. "description": "现货采购数量",
  19695. "type": "number"
  19696. },
  19697. "spotpl": {
  19698. "description": "现货总盈亏[结算更新]",
  19699. "type": "number"
  19700. },
  19701. "spotquota": {
  19702. "description": "现货额度",
  19703. "type": "number"
  19704. },
  19705. "spotsellamount": {
  19706. "description": "现货销售金额",
  19707. "type": "number"
  19708. },
  19709. "spotsellqty": {
  19710. "description": "现货销售数量",
  19711. "type": "number"
  19712. },
  19713. "spotusedquota": {
  19714. "description": "现货占用资金",
  19715. "type": "number"
  19716. },
  19717. "strategystatus": {
  19718. "description": "策略状态 - 0:未结束 1:已结束",
  19719. "type": "integer"
  19720. },
  19721. "totalpl": {
  19722. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19723. "type": "number"
  19724. },
  19725. "tradedate": {
  19726. "description": "交易日(yyyyMMdd)",
  19727. "type": "string"
  19728. },
  19729. "updatetime": {
  19730. "description": "更新时间",
  19731. "type": "string"
  19732. },
  19733. "usedquota": {
  19734. "description": "已占用资金",
  19735. "type": "number"
  19736. },
  19737. "userid": {
  19738. "description": "所属机构",
  19739. "type": "integer"
  19740. }
  19741. }
  19742. },
  19743. "erms2.QueryInnerTradeDetailRsp": {
  19744. "type": "object",
  19745. "required": [
  19746. "asapplyid",
  19747. "buyorsell",
  19748. "goodscode",
  19749. "goodsgroupid",
  19750. "goodsgroupname",
  19751. "goodsname",
  19752. "tradeid"
  19753. ],
  19754. "properties": {
  19755. "accountid": {
  19756. "description": "账号ID",
  19757. "type": "integer"
  19758. },
  19759. "agreeunit": {
  19760. "description": "合约单位",
  19761. "type": "number"
  19762. },
  19763. "asapplyid": {
  19764. "description": "策略申请ID",
  19765. "type": "integer"
  19766. },
  19767. "asname": {
  19768. "description": "策略名称",
  19769. "type": "string"
  19770. },
  19771. "asno": {
  19772. "description": "策略编号",
  19773. "type": "string"
  19774. },
  19775. "buyorsell": {
  19776. "description": "方向 - 0:买 1:卖",
  19777. "type": "integer"
  19778. },
  19779. "channelbuildtype": {
  19780. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19781. "type": "integer"
  19782. },
  19783. "closetype": {
  19784. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19785. "type": "integer"
  19786. },
  19787. "decimalplace": {
  19788. "description": "报价小数位",
  19789. "type": "integer"
  19790. },
  19791. "detailtype": {
  19792. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19793. "type": "integer"
  19794. },
  19795. "exexchangecode": {
  19796. "description": "外部交易所代码",
  19797. "type": "string"
  19798. },
  19799. "exexchangename": {
  19800. "description": "外部交易所名称",
  19801. "type": "string"
  19802. },
  19803. "goodscode": {
  19804. "description": "商品代码(合约)",
  19805. "type": "string"
  19806. },
  19807. "goodsgroupid": {
  19808. "description": "商品组ID(品种ID)",
  19809. "type": "integer"
  19810. },
  19811. "goodsgroupname": {
  19812. "description": "商品组名称(品种)",
  19813. "type": "string"
  19814. },
  19815. "goodsid": {
  19816. "description": "商品ID",
  19817. "type": "integer"
  19818. },
  19819. "goodsname": {
  19820. "description": "商品名称(合约)",
  19821. "type": "string"
  19822. },
  19823. "goodunit": {
  19824. "description": "报价单位",
  19825. "type": "string"
  19826. },
  19827. "marketid": {
  19828. "description": "市场ID",
  19829. "type": "integer"
  19830. },
  19831. "orderid": {
  19832. "description": "委托单号",
  19833. "type": "string"
  19834. },
  19835. "outgoodscode": {
  19836. "description": "商品代码(外部)",
  19837. "type": "string"
  19838. },
  19839. "relatedouttradeid": {
  19840. "description": "关联外部成交单ID",
  19841. "type": "string"
  19842. },
  19843. "remark": {
  19844. "description": "备注",
  19845. "type": "string"
  19846. },
  19847. "spotcontractid": {
  19848. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19849. "type": "integer"
  19850. },
  19851. "spotcontractno": {
  19852. "description": "现货合同编号",
  19853. "type": "string"
  19854. },
  19855. "tradeid": {
  19856. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19857. "type": "string"
  19858. },
  19859. "tradeprice": {
  19860. "description": "成交价格",
  19861. "type": "number"
  19862. },
  19863. "tradeqty": {
  19864. "description": "成交数量",
  19865. "type": "integer"
  19866. },
  19867. "tradetime": {
  19868. "description": "成交时间",
  19869. "type": "string"
  19870. },
  19871. "updatetime": {
  19872. "description": "更新时间",
  19873. "type": "string"
  19874. }
  19875. }
  19876. },
  19877. "erms2.QuerySpotContractRsp": {
  19878. "type": "object",
  19879. "required": [
  19880. "spotcontractid"
  19881. ],
  19882. "properties": {
  19883. "accountid": {
  19884. "description": "资金账户ID",
  19885. "type": "integer"
  19886. },
  19887. "areauserid": {
  19888. "description": "所属机构",
  19889. "type": "integer"
  19890. },
  19891. "closedate": {
  19892. "description": "终止日期",
  19893. "type": "string"
  19894. },
  19895. "closeremark": {
  19896. "description": "结束备注",
  19897. "type": "string"
  19898. },
  19899. "closetradedate": {
  19900. "description": "完结交易日(yyyyMMdd)",
  19901. "type": "string"
  19902. },
  19903. "closetype": {
  19904. "description": "终止类型 - 1:违约 2:提前终止",
  19905. "type": "integer"
  19906. },
  19907. "contractamount": {
  19908. "description": "合同金额",
  19909. "type": "number"
  19910. },
  19911. "contractattachment": {
  19912. "description": "合同附件",
  19913. "type": "string"
  19914. },
  19915. "contractno": {
  19916. "description": "现货合同编号",
  19917. "type": "string"
  19918. },
  19919. "contractqty": {
  19920. "description": "合同数量(数值) (用于计算)",
  19921. "type": "number"
  19922. },
  19923. "contractqtychar": {
  19924. "description": "合同数量\\已订价数量 (用于显示)",
  19925. "type": "string"
  19926. },
  19927. "contractstatus": {
  19928. "description": "合同状态 - 0:未结束 1:已结束",
  19929. "type": "integer"
  19930. },
  19931. "contracttype": {
  19932. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19933. "type": "integer"
  19934. },
  19935. "customeraccountid": {
  19936. "description": "客户资金账户ID",
  19937. "type": "integer"
  19938. },
  19939. "customeruserid": {
  19940. "description": "客户ID",
  19941. "type": "integer"
  19942. },
  19943. "deliverygoodsdesc": {
  19944. "description": "品种说明",
  19945. "type": "string"
  19946. },
  19947. "deliverygoodsid": {
  19948. "description": "现货品种ID",
  19949. "type": "integer"
  19950. },
  19951. "handlestatus": {
  19952. "description": "处理状态",
  19953. "type": "integer"
  19954. },
  19955. "invoiceatt": {
  19956. "description": "发票附件",
  19957. "type": "string"
  19958. },
  19959. "invoicedatetime": {
  19960. "description": "开收票更新时间",
  19961. "type": "string"
  19962. },
  19963. "invoiceopentime": {
  19964. "description": "开票时间",
  19965. "type": "string"
  19966. },
  19967. "invoiceremark": {
  19968. "description": "发票备注",
  19969. "type": "string"
  19970. },
  19971. "invoicestatus": {
  19972. "description": "开收票状态 - 0:未开票 1:已开票",
  19973. "type": "integer"
  19974. },
  19975. "lastdate": {
  19976. "description": "交货时间",
  19977. "type": "string"
  19978. },
  19979. "marketid": {
  19980. "description": "市场ID",
  19981. "type": "integer"
  19982. },
  19983. "paydatetime": {
  19984. "description": "收付款更新时间",
  19985. "type": "string"
  19986. },
  19987. "payremark": {
  19988. "description": "收付款备注",
  19989. "type": "string"
  19990. },
  19991. "paystatus": {
  19992. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19993. "type": "integer"
  19994. },
  19995. "positionqty": {
  19996. "description": "头寸数量 - 合同数量去小数部分",
  19997. "type": "integer"
  19998. },
  19999. "producttype": {
  20000. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20001. "type": "integer"
  20002. },
  20003. "relatedqty": {
  20004. "description": "已关联数量",
  20005. "type": "number"
  20006. },
  20007. "relatedstatus": {
  20008. "description": "关联完结状态 - 0:未结束 1:已结束",
  20009. "type": "integer"
  20010. },
  20011. "remark": {
  20012. "description": "备注",
  20013. "type": "string"
  20014. },
  20015. "signdate": {
  20016. "description": "签订日期",
  20017. "type": "string"
  20018. },
  20019. "spotcontractid": {
  20020. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  20021. "type": "string"
  20022. },
  20023. "spotdatetime": {
  20024. "description": "收发货更新时间",
  20025. "type": "string"
  20026. },
  20027. "spotprice": {
  20028. "description": "价格",
  20029. "type": "number"
  20030. },
  20031. "spotremark": {
  20032. "description": "收发货备注",
  20033. "type": "string"
  20034. },
  20035. "spotstatus": {
  20036. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  20037. "type": "integer"
  20038. },
  20039. "tradedate": {
  20040. "description": "交易日(yyyyMMdd)",
  20041. "type": "string"
  20042. },
  20043. "userid": {
  20044. "description": "业务员用户ID",
  20045. "type": "integer"
  20046. },
  20047. "warehouseid": {
  20048. "description": "仓库ID",
  20049. "type": "integer"
  20050. },
  20051. "wrfactortypeid": {
  20052. "description": "仓单要素类型ID",
  20053. "type": "integer"
  20054. },
  20055. "wrstandardid": {
  20056. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20057. "type": "integer"
  20058. }
  20059. }
  20060. },
  20061. "erms3.AddErms2ASApplyReq": {
  20062. "type": "object",
  20063. "required": [
  20064. "asapplyid"
  20065. ],
  20066. "properties": {
  20067. "applybasis": {
  20068. "description": "申请基差",
  20069. "type": "number"
  20070. },
  20071. "applystatus": {
  20072. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20073. "type": "integer"
  20074. },
  20075. "asapplyid": {
  20076. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  20077. "type": "integer"
  20078. },
  20079. "asname": {
  20080. "description": "策略名称",
  20081. "type": "string"
  20082. },
  20083. "asno": {
  20084. "description": "策略编号",
  20085. "type": "string"
  20086. },
  20087. "auditid": {
  20088. "description": "审核人",
  20089. "type": "integer"
  20090. },
  20091. "auditremark": {
  20092. "description": "审核备注",
  20093. "type": "string"
  20094. },
  20095. "audittime": {
  20096. "description": "审核时间",
  20097. "type": "string"
  20098. },
  20099. "biztype": {
  20100. "description": "业务类型 - 1:正向套利 2:反向套利",
  20101. "type": "integer"
  20102. },
  20103. "createtime": {
  20104. "description": "创建时间",
  20105. "type": "string"
  20106. },
  20107. "creatorid": {
  20108. "description": "创建人",
  20109. "type": "integer"
  20110. },
  20111. "deliverygoodsid": {
  20112. "description": "现货品种ID",
  20113. "type": "integer"
  20114. },
  20115. "futurequote": {
  20116. "description": "期货额度",
  20117. "type": "number"
  20118. },
  20119. "goodsgroupid": {
  20120. "description": "期货品种ID",
  20121. "type": "integer"
  20122. },
  20123. "marketid": {
  20124. "description": "市场ID",
  20125. "type": "integer"
  20126. },
  20127. "remark": {
  20128. "description": "备注",
  20129. "type": "string"
  20130. },
  20131. "spotquota": {
  20132. "description": "现货额度",
  20133. "type": "number"
  20134. },
  20135. "tradedate": {
  20136. "description": "交易日(yyyyMMdd)",
  20137. "type": "string"
  20138. },
  20139. "userid": {
  20140. "description": "所属机构",
  20141. "type": "integer"
  20142. }
  20143. }
  20144. },
  20145. "erms3.AddErms2SpotTradeApplyReq": {
  20146. "type": "object",
  20147. "required": [
  20148. "spottradeid"
  20149. ],
  20150. "properties": {
  20151. "applyjsondetail": {
  20152. "description": "申请明细(JSON)",
  20153. "type": "string"
  20154. },
  20155. "applystatus": {
  20156. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20157. "type": "integer"
  20158. },
  20159. "areauserid": {
  20160. "description": "所属机构",
  20161. "type": "integer"
  20162. },
  20163. "auditid": {
  20164. "description": "审核人",
  20165. "type": "integer"
  20166. },
  20167. "auditremark": {
  20168. "description": "审核备注",
  20169. "type": "string"
  20170. },
  20171. "audittime": {
  20172. "description": "审核时间",
  20173. "type": "string"
  20174. },
  20175. "createtime": {
  20176. "description": "创建时间",
  20177. "type": "string"
  20178. },
  20179. "creatorid": {
  20180. "description": "创建人",
  20181. "type": "integer"
  20182. },
  20183. "deliverygoodsid": {
  20184. "description": "现货品种ID",
  20185. "type": "integer"
  20186. },
  20187. "futureaccountid": {
  20188. "description": "期货资金账户",
  20189. "type": "integer"
  20190. },
  20191. "goodsgroupid": {
  20192. "description": "期货品种",
  20193. "type": "integer"
  20194. },
  20195. "marketid": {
  20196. "description": "市场ID",
  20197. "type": "integer"
  20198. },
  20199. "remark": {
  20200. "description": "备注",
  20201. "type": "string"
  20202. },
  20203. "spotaccountid": {
  20204. "description": "现货资金账户",
  20205. "type": "integer"
  20206. },
  20207. "spottradeid": {
  20208. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  20209. "type": "integer"
  20210. },
  20211. "spottradename": {
  20212. "description": "业务名称",
  20213. "type": "string"
  20214. },
  20215. "spottradeno": {
  20216. "description": "业务编号",
  20217. "type": "string"
  20218. },
  20219. "tradedate": {
  20220. "description": "交易日(yyyyMMdd)",
  20221. "type": "string"
  20222. },
  20223. "wrstandardid": {
  20224. "description": "仓单标准ID",
  20225. "type": "integer"
  20226. }
  20227. }
  20228. },
  20229. "erms3.AddSpotContractApplyReq": {
  20230. "type": "object",
  20231. "required": [
  20232. "accountid",
  20233. "areauserid",
  20234. "contractno",
  20235. "contracttype",
  20236. "customeraccountid",
  20237. "customeruserid",
  20238. "details",
  20239. "orimargin",
  20240. "signdate"
  20241. ],
  20242. "properties": {
  20243. "accountid": {
  20244. "description": "资金账户ID",
  20245. "type": "integer"
  20246. },
  20247. "areauserid": {
  20248. "description": "所属机构",
  20249. "type": "integer"
  20250. },
  20251. "contractattachment": {
  20252. "description": "合同附件",
  20253. "type": "string"
  20254. },
  20255. "contractno": {
  20256. "description": "现货合同编号",
  20257. "type": "string"
  20258. },
  20259. "contracttype": {
  20260. "description": "现货合同类型 - 1:采购 -1:销售",
  20261. "type": "integer"
  20262. },
  20263. "creatorid": {
  20264. "description": "申请人",
  20265. "type": "integer"
  20266. },
  20267. "customeraccountid": {
  20268. "description": "客户资金账户ID",
  20269. "type": "integer"
  20270. },
  20271. "customeruserid": {
  20272. "description": "客户ID",
  20273. "type": "integer"
  20274. },
  20275. "details": {
  20276. "description": "明细",
  20277. "type": "array",
  20278. "items": {
  20279. "$ref": "#/definitions/erms3.SoptContractDetail"
  20280. }
  20281. },
  20282. "orimargin": {
  20283. "description": "初始保证金",
  20284. "type": "number"
  20285. },
  20286. "remark": {
  20287. "description": "备注",
  20288. "type": "string"
  20289. },
  20290. "signdate": {
  20291. "description": "签订日期",
  20292. "type": "string"
  20293. }
  20294. }
  20295. },
  20296. "erms3.AddSpotContractApplyRsp": {
  20297. "type": "object",
  20298. "required": [
  20299. "contractno"
  20300. ],
  20301. "properties": {
  20302. "contractno": {
  20303. "description": "现货合同编号",
  20304. "type": "string"
  20305. },
  20306. "spotcontractid": {
  20307. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  20308. "type": "integer"
  20309. }
  20310. }
  20311. },
  20312. "erms3.AddUserInfoApplyReq": {
  20313. "type": "object",
  20314. "required": [
  20315. "userid"
  20316. ],
  20317. "properties": {
  20318. "accountid": {
  20319. "description": "交易系统帐号Id (加密存储)",
  20320. "type": "integer"
  20321. },
  20322. "areacode": {
  20323. "description": "机构代码",
  20324. "type": "string"
  20325. },
  20326. "areaid": {
  20327. "description": "机构Id",
  20328. "type": "integer"
  20329. },
  20330. "attachment1": {
  20331. "description": "附件1",
  20332. "type": "string"
  20333. },
  20334. "attachment2": {
  20335. "description": "附件2",
  20336. "type": "string"
  20337. },
  20338. "attachment3": {
  20339. "description": "附件3",
  20340. "type": "string"
  20341. },
  20342. "attachment4": {
  20343. "description": "附件4",
  20344. "type": "string"
  20345. },
  20346. "attachment5": {
  20347. "description": "附件5",
  20348. "type": "string"
  20349. },
  20350. "auditedby": {
  20351. "description": "审核人",
  20352. "type": "string"
  20353. },
  20354. "auditime": {
  20355. "description": "审核时间",
  20356. "type": "string"
  20357. },
  20358. "auditsrc": {
  20359. "description": "审核来源 - 1:管理端 2:终端",
  20360. "type": "integer"
  20361. },
  20362. "bankaccount": {
  20363. "description": "银行帐号 (加密存储)",
  20364. "type": "string"
  20365. },
  20366. "bankaccountname": {
  20367. "description": "收款人名称",
  20368. "type": "string"
  20369. },
  20370. "bankcardbackphotourl": {
  20371. "description": "银行卡背面照地址",
  20372. "type": "string"
  20373. },
  20374. "bankcardfrontphotourl": {
  20375. "description": "银行卡正面照地址",
  20376. "type": "string"
  20377. },
  20378. "bankid": {
  20379. "description": "银行编码",
  20380. "type": "string"
  20381. },
  20382. "bankname": {
  20383. "description": "银行名称",
  20384. "type": "string"
  20385. },
  20386. "bankpictureurl": {
  20387. "description": "银行卡正面地址",
  20388. "type": "string"
  20389. },
  20390. "biznature": {
  20391. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20392. "type": "integer"
  20393. },
  20394. "bizscope": {
  20395. "description": "企业经营范围(企业)",
  20396. "type": "string"
  20397. },
  20398. "biztype": {
  20399. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20400. "type": "integer"
  20401. },
  20402. "brokerid": {
  20403. "description": "经纪人ID(加密存储)",
  20404. "type": "string"
  20405. },
  20406. "cardaddress": {
  20407. "description": "证件地址 (加密存储)",
  20408. "type": "string"
  20409. },
  20410. "cardbackphotourl": {
  20411. "description": "背面证件照地址",
  20412. "type": "string"
  20413. },
  20414. "cardfrontphotourl": {
  20415. "description": "正面证件照地址",
  20416. "type": "string"
  20417. },
  20418. "cardnum": {
  20419. "description": "证件号码 (加密存储)",
  20420. "type": "string"
  20421. },
  20422. "cardtype": {
  20423. "description": "证件类型",
  20424. "type": "integer"
  20425. },
  20426. "cityid": {
  20427. "description": "市",
  20428. "type": "integer"
  20429. },
  20430. "company": {
  20431. "description": "公司(个人)",
  20432. "type": "string"
  20433. },
  20434. "contactcardbackphotourl": {
  20435. "description": "联系人证件背面图片地址",
  20436. "type": "string"
  20437. },
  20438. "contactcardfrontphotourl": {
  20439. "description": "联系人证件正面图片地址",
  20440. "type": "string"
  20441. },
  20442. "contactname": {
  20443. "description": "联系人",
  20444. "type": "string"
  20445. },
  20446. "countryid": {
  20447. "description": "国家",
  20448. "type": "integer"
  20449. },
  20450. "createtime": {
  20451. "description": "开户申请时间",
  20452. "type": "string"
  20453. },
  20454. "cusbankid": {
  20455. "description": "签约类型",
  20456. "type": "string"
  20457. },
  20458. "cusbankname": {
  20459. "description": "签约类型名称",
  20460. "type": "string"
  20461. },
  20462. "customername": {
  20463. "description": "客户名称(企业名称)",
  20464. "type": "string"
  20465. },
  20466. "districtid": {
  20467. "description": "地区",
  20468. "type": "integer"
  20469. },
  20470. "email": {
  20471. "description": "Email地址(加密存储)",
  20472. "type": "string"
  20473. },
  20474. "halfbodyphotourl": {
  20475. "description": "半身照地址",
  20476. "type": "string"
  20477. },
  20478. "headurl": {
  20479. "description": "头像地址",
  20480. "type": "string"
  20481. },
  20482. "ipaddress": {
  20483. "description": "IP地址",
  20484. "type": "string"
  20485. },
  20486. "isvalidate": {
  20487. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20488. "type": "string"
  20489. },
  20490. "legalcardbackphotourl": {
  20491. "description": "法人身份证背面照地址",
  20492. "type": "string"
  20493. },
  20494. "legalcardfrontphotourl": {
  20495. "description": "法人身份证正面照地址",
  20496. "type": "string"
  20497. },
  20498. "legalpersonname": {
  20499. "description": "法人姓名(企业)",
  20500. "type": "string"
  20501. },
  20502. "logincode": {
  20503. "description": "登录帐号 (加密存储)",
  20504. "type": "string"
  20505. },
  20506. "memberareaid": {
  20507. "description": "所属会员ID",
  20508. "type": "integer"
  20509. },
  20510. "mobile2": {
  20511. "description": "手机号码[明文-尚志]",
  20512. "type": "string"
  20513. },
  20514. "mobilephone": {
  20515. "description": "手机号码 (加密存储)",
  20516. "type": "string"
  20517. },
  20518. "modifiedby": {
  20519. "description": "修改人帐号",
  20520. "type": "integer"
  20521. },
  20522. "modifiedtime": {
  20523. "description": "修改时间",
  20524. "type": "string"
  20525. },
  20526. "nickname": {
  20527. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20528. "type": "string"
  20529. },
  20530. "openmode": {
  20531. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20532. "type": "integer"
  20533. },
  20534. "otherurl": {
  20535. "description": "其它图片地址[使用分号分隔]",
  20536. "type": "string"
  20537. },
  20538. "postalcode": {
  20539. "description": "邮政编码",
  20540. "type": "string"
  20541. },
  20542. "provinceid": {
  20543. "description": "省",
  20544. "type": "integer"
  20545. },
  20546. "proxystatementurl": {
  20547. "description": "授权委托书",
  20548. "type": "string"
  20549. },
  20550. "qq": {
  20551. "description": "QQ(加密存储",
  20552. "type": "string"
  20553. },
  20554. "referral": {
  20555. "description": "推荐人编码",
  20556. "type": "string"
  20557. },
  20558. "remark": {
  20559. "description": "备注",
  20560. "type": "string"
  20561. },
  20562. "removebeforestatus": {
  20563. "description": "REMOVEBEFORESTATUS",
  20564. "type": "integer"
  20565. },
  20566. "sex": {
  20567. "description": "性别 - 0:女 1:男",
  20568. "type": "integer"
  20569. },
  20570. "signedstatus": {
  20571. "description": "账户一号签签约状态",
  20572. "type": "integer"
  20573. },
  20574. "signpdfurl": {
  20575. "description": "签约pdf文件",
  20576. "type": "string"
  20577. },
  20578. "subbranch": {
  20579. "description": "开户支行",
  20580. "type": "string"
  20581. },
  20582. "taxpayernum": {
  20583. "description": "纳税人识别号",
  20584. "type": "string"
  20585. },
  20586. "telphone": {
  20587. "description": "联系电话(加密存储)",
  20588. "type": "string"
  20589. },
  20590. "userid": {
  20591. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20592. "type": "integer"
  20593. },
  20594. "userinfotype": {
  20595. "description": "用户信息类型 - 1:个人 2:企业",
  20596. "type": "integer"
  20597. },
  20598. "username": {
  20599. "description": "用户姓名",
  20600. "type": "string"
  20601. },
  20602. "userstate": {
  20603. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20604. "type": "integer"
  20605. },
  20606. "usertype": {
  20607. "description": "用户类型 - 1:投资者 2:机构",
  20608. "type": "integer"
  20609. },
  20610. "videourl": {
  20611. "description": "视频地址",
  20612. "type": "string"
  20613. },
  20614. "wechat": {
  20615. "description": "微信号 (加密存储)",
  20616. "type": "string"
  20617. }
  20618. }
  20619. },
  20620. "erms3.CustomerInfo": {
  20621. "type": "object",
  20622. "required": [
  20623. "userid"
  20624. ],
  20625. "properties": {
  20626. "accountids": {
  20627. "description": "资金账户ID列表",
  20628. "type": "array",
  20629. "items": {
  20630. "type": "integer"
  20631. }
  20632. },
  20633. "customername": {
  20634. "description": "名称(企业名称)",
  20635. "type": "string"
  20636. },
  20637. "mobile": {
  20638. "description": "手机号码",
  20639. "type": "string"
  20640. },
  20641. "userid": {
  20642. "description": "用户ID",
  20643. "type": "integer"
  20644. }
  20645. }
  20646. },
  20647. "erms3.ModifyUserInfoApplyReq": {
  20648. "type": "object",
  20649. "required": [
  20650. "userid"
  20651. ],
  20652. "properties": {
  20653. "accountid": {
  20654. "description": "交易系统帐号Id (加密存储)",
  20655. "type": "integer"
  20656. },
  20657. "areacode": {
  20658. "description": "机构代码",
  20659. "type": "string"
  20660. },
  20661. "areaid": {
  20662. "description": "机构Id",
  20663. "type": "integer"
  20664. },
  20665. "attachment1": {
  20666. "description": "附件1",
  20667. "type": "string"
  20668. },
  20669. "attachment2": {
  20670. "description": "附件2",
  20671. "type": "string"
  20672. },
  20673. "attachment3": {
  20674. "description": "附件3",
  20675. "type": "string"
  20676. },
  20677. "attachment4": {
  20678. "description": "附件4",
  20679. "type": "string"
  20680. },
  20681. "attachment5": {
  20682. "description": "附件5",
  20683. "type": "string"
  20684. },
  20685. "auditedby": {
  20686. "description": "审核人",
  20687. "type": "string"
  20688. },
  20689. "auditime": {
  20690. "description": "审核时间",
  20691. "type": "string"
  20692. },
  20693. "auditsrc": {
  20694. "description": "审核来源 - 1:管理端 2:终端",
  20695. "type": "integer"
  20696. },
  20697. "bankaccount": {
  20698. "description": "银行帐号 (加密存储)",
  20699. "type": "string"
  20700. },
  20701. "bankaccountname": {
  20702. "description": "收款人名称",
  20703. "type": "string"
  20704. },
  20705. "bankcardbackphotourl": {
  20706. "description": "银行卡背面照地址",
  20707. "type": "string"
  20708. },
  20709. "bankcardfrontphotourl": {
  20710. "description": "银行卡正面照地址",
  20711. "type": "string"
  20712. },
  20713. "bankid": {
  20714. "description": "银行编码",
  20715. "type": "string"
  20716. },
  20717. "bankname": {
  20718. "description": "银行名称",
  20719. "type": "string"
  20720. },
  20721. "bankpictureurl": {
  20722. "description": "银行卡正面地址",
  20723. "type": "string"
  20724. },
  20725. "biznature": {
  20726. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20727. "type": "integer"
  20728. },
  20729. "bizscope": {
  20730. "description": "企业经营范围(企业)",
  20731. "type": "string"
  20732. },
  20733. "biztype": {
  20734. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20735. "type": "integer"
  20736. },
  20737. "brokerid": {
  20738. "description": "经纪人ID(加密存储)",
  20739. "type": "string"
  20740. },
  20741. "cardaddress": {
  20742. "description": "证件地址 (加密存储)",
  20743. "type": "string"
  20744. },
  20745. "cardbackphotourl": {
  20746. "description": "背面证件照地址",
  20747. "type": "string"
  20748. },
  20749. "cardfrontphotourl": {
  20750. "description": "正面证件照地址",
  20751. "type": "string"
  20752. },
  20753. "cardnum": {
  20754. "description": "证件号码 (加密存储)",
  20755. "type": "string"
  20756. },
  20757. "cardtype": {
  20758. "description": "证件类型",
  20759. "type": "integer"
  20760. },
  20761. "cityid": {
  20762. "description": "市",
  20763. "type": "integer"
  20764. },
  20765. "company": {
  20766. "description": "公司(个人)",
  20767. "type": "string"
  20768. },
  20769. "contactcardbackphotourl": {
  20770. "description": "联系人证件背面图片地址",
  20771. "type": "string"
  20772. },
  20773. "contactcardfrontphotourl": {
  20774. "description": "联系人证件正面图片地址",
  20775. "type": "string"
  20776. },
  20777. "contactname": {
  20778. "description": "联系人",
  20779. "type": "string"
  20780. },
  20781. "countryid": {
  20782. "description": "国家",
  20783. "type": "integer"
  20784. },
  20785. "createtime": {
  20786. "description": "开户申请时间",
  20787. "type": "string"
  20788. },
  20789. "cusbankid": {
  20790. "description": "签约类型",
  20791. "type": "string"
  20792. },
  20793. "cusbankname": {
  20794. "description": "签约类型名称",
  20795. "type": "string"
  20796. },
  20797. "customername": {
  20798. "description": "客户名称(企业名称)",
  20799. "type": "string"
  20800. },
  20801. "districtid": {
  20802. "description": "地区",
  20803. "type": "integer"
  20804. },
  20805. "email": {
  20806. "description": "Email地址(加密存储)",
  20807. "type": "string"
  20808. },
  20809. "halfbodyphotourl": {
  20810. "description": "半身照地址",
  20811. "type": "string"
  20812. },
  20813. "headurl": {
  20814. "description": "头像地址",
  20815. "type": "string"
  20816. },
  20817. "ipaddress": {
  20818. "description": "IP地址",
  20819. "type": "string"
  20820. },
  20821. "isvalidate": {
  20822. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20823. "type": "string"
  20824. },
  20825. "legalcardbackphotourl": {
  20826. "description": "法人身份证背面照地址",
  20827. "type": "string"
  20828. },
  20829. "legalcardfrontphotourl": {
  20830. "description": "法人身份证正面照地址",
  20831. "type": "string"
  20832. },
  20833. "legalpersonname": {
  20834. "description": "法人姓名(企业)",
  20835. "type": "string"
  20836. },
  20837. "logincode": {
  20838. "description": "登录帐号 (加密存储)",
  20839. "type": "string"
  20840. },
  20841. "memberareaid": {
  20842. "description": "所属会员ID",
  20843. "type": "integer"
  20844. },
  20845. "mobile2": {
  20846. "description": "手机号码[明文-尚志]",
  20847. "type": "string"
  20848. },
  20849. "mobilephone": {
  20850. "description": "手机号码 (加密存储)",
  20851. "type": "string"
  20852. },
  20853. "modifiedby": {
  20854. "description": "修改人帐号",
  20855. "type": "integer"
  20856. },
  20857. "modifiedtime": {
  20858. "description": "修改时间",
  20859. "type": "string"
  20860. },
  20861. "nickname": {
  20862. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20863. "type": "string"
  20864. },
  20865. "openmode": {
  20866. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20867. "type": "integer"
  20868. },
  20869. "otherurl": {
  20870. "description": "其它图片地址[使用分号分隔]",
  20871. "type": "string"
  20872. },
  20873. "postalcode": {
  20874. "description": "邮政编码",
  20875. "type": "string"
  20876. },
  20877. "provinceid": {
  20878. "description": "省",
  20879. "type": "integer"
  20880. },
  20881. "proxystatementurl": {
  20882. "description": "授权委托书",
  20883. "type": "string"
  20884. },
  20885. "qq": {
  20886. "description": "QQ(加密存储",
  20887. "type": "string"
  20888. },
  20889. "referral": {
  20890. "description": "推荐人编码",
  20891. "type": "string"
  20892. },
  20893. "remark": {
  20894. "description": "备注",
  20895. "type": "string"
  20896. },
  20897. "removebeforestatus": {
  20898. "description": "REMOVEBEFORESTATUS",
  20899. "type": "integer"
  20900. },
  20901. "sex": {
  20902. "description": "性别 - 0:女 1:男",
  20903. "type": "integer"
  20904. },
  20905. "signedstatus": {
  20906. "description": "账户一号签签约状态",
  20907. "type": "integer"
  20908. },
  20909. "signpdfurl": {
  20910. "description": "签约pdf文件",
  20911. "type": "string"
  20912. },
  20913. "subbranch": {
  20914. "description": "开户支行",
  20915. "type": "string"
  20916. },
  20917. "taxpayernum": {
  20918. "description": "纳税人识别号",
  20919. "type": "string"
  20920. },
  20921. "telphone": {
  20922. "description": "联系电话(加密存储)",
  20923. "type": "string"
  20924. },
  20925. "userid": {
  20926. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20927. "type": "integer"
  20928. },
  20929. "userinfotype": {
  20930. "description": "用户信息类型 - 1:个人 2:企业",
  20931. "type": "integer"
  20932. },
  20933. "username": {
  20934. "description": "用户姓名",
  20935. "type": "string"
  20936. },
  20937. "userstate": {
  20938. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20939. "type": "integer"
  20940. },
  20941. "usertype": {
  20942. "description": "用户类型 - 1:投资者 2:机构",
  20943. "type": "integer"
  20944. },
  20945. "videourl": {
  20946. "description": "视频地址",
  20947. "type": "string"
  20948. },
  20949. "wechat": {
  20950. "description": "微信号 (加密存储)",
  20951. "type": "string"
  20952. }
  20953. }
  20954. },
  20955. "erms3.QryAuditContractRsp": {
  20956. "type": "object",
  20957. "required": [
  20958. "matchcustomername",
  20959. "spotcontractid"
  20960. ],
  20961. "properties": {
  20962. "accountid": {
  20963. "description": "交易员ID",
  20964. "type": "string"
  20965. },
  20966. "applystatus": {
  20967. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20968. "type": "integer"
  20969. },
  20970. "curdeliveryqty": {
  20971. "description": "未交收量",
  20972. "type": "integer"
  20973. },
  20974. "customername": {
  20975. "description": "采购方ID",
  20976. "type": "string"
  20977. },
  20978. "deliverygoodsid": {
  20979. "description": "品种ID",
  20980. "type": "string"
  20981. },
  20982. "deliveryqty": {
  20983. "description": "交收量",
  20984. "type": "integer"
  20985. },
  20986. "enumdicname": {
  20987. "description": "单位名称",
  20988. "type": "string"
  20989. },
  20990. "matchaccountid": {
  20991. "description": "业务员ID",
  20992. "type": "string"
  20993. },
  20994. "matchcustomername": {
  20995. "description": "销售方ID",
  20996. "type": "string"
  20997. },
  20998. "pricedqty": {
  20999. "description": "定价量",
  21000. "type": "number"
  21001. },
  21002. "signdate": {
  21003. "description": "签订日期",
  21004. "type": "string"
  21005. },
  21006. "spotcontractid": {
  21007. "description": "合同ID",
  21008. "type": "string"
  21009. },
  21010. "totaldqty": {
  21011. "description": "合同量",
  21012. "type": "number"
  21013. },
  21014. "unpricedqty": {
  21015. "description": "未定价量",
  21016. "type": "number"
  21017. },
  21018. "wrstandardname": {
  21019. "description": "商品名称",
  21020. "type": "string"
  21021. }
  21022. }
  21023. },
  21024. "erms3.QryPendingBizRsp": {
  21025. "type": "object",
  21026. "properties": {
  21027. "accountid": {
  21028. "description": "现货账户",
  21029. "type": "string"
  21030. },
  21031. "areaname": {
  21032. "description": "所属部门",
  21033. "type": "string"
  21034. },
  21035. "bizid": {
  21036. "description": "业务ID",
  21037. "type": "string"
  21038. },
  21039. "bizname": {
  21040. "description": "业务名称",
  21041. "type": "string"
  21042. },
  21043. "status": {
  21044. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21045. "type": "integer"
  21046. },
  21047. "type": {
  21048. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21049. "type": "integer"
  21050. }
  21051. }
  21052. },
  21053. "erms3.QueryBusinessInfoRsp": {
  21054. "type": "object",
  21055. "properties": {
  21056. "businessid": {
  21057. "description": "业务ID.",
  21058. "type": "integer"
  21059. },
  21060. "buyamount": {
  21061. "description": "采购额.",
  21062. "type": "number"
  21063. },
  21064. "buyqty": {
  21065. "description": "采购量.",
  21066. "type": "string"
  21067. },
  21068. "futurepl": {
  21069. "description": "期货盈亏.",
  21070. "type": "number"
  21071. },
  21072. "futureqty": {
  21073. "description": "期货敞口.",
  21074. "type": "string"
  21075. },
  21076. "goodsid": {
  21077. "description": "商品名称/商品代码.",
  21078. "type": "string"
  21079. },
  21080. "hedgingqty": {
  21081. "description": "套保量.",
  21082. "type": "string"
  21083. },
  21084. "sellamount": {
  21085. "description": "销售额.",
  21086. "type": "number"
  21087. },
  21088. "sellqty": {
  21089. "description": "销售量.",
  21090. "type": "string"
  21091. },
  21092. "spotmarketvalue": {
  21093. "description": "现货市值.",
  21094. "type": "number"
  21095. },
  21096. "spotpl": {
  21097. "description": "浮动权益.",
  21098. "type": "number"
  21099. },
  21100. "spotqty": {
  21101. "description": "现货量.",
  21102. "type": "string"
  21103. },
  21104. "statu": {
  21105. "description": "状态,0-未结束 1-已结束.",
  21106. "type": "integer"
  21107. },
  21108. "totalpl": {
  21109. "description": "总盈亏.",
  21110. "type": "number"
  21111. },
  21112. "totalqty": {
  21113. "description": "总敞口.",
  21114. "type": "string"
  21115. },
  21116. "type": {
  21117. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  21118. "type": "integer"
  21119. }
  21120. }
  21121. },
  21122. "erms3.QuerySpotContractAppleFormRsp": {
  21123. "type": "object",
  21124. "properties": {
  21125. "goodses": {
  21126. "description": "合约列表",
  21127. "type": "array",
  21128. "items": {
  21129. "$ref": "#/definitions/models.GoodsIDAndName"
  21130. }
  21131. },
  21132. "oppositeusers": {
  21133. "description": "对方账号列表",
  21134. "type": "array",
  21135. "items": {
  21136. "$ref": "#/definitions/erms3.CustomerInfo"
  21137. }
  21138. },
  21139. "ouruser": {
  21140. "description": "我方账号",
  21141. "$ref": "#/definitions/erms3.CustomerInfo"
  21142. },
  21143. "warehouseinfos": {
  21144. "description": "仓库信息列表",
  21145. "type": "array",
  21146. "items": {
  21147. "$ref": "#/definitions/models.Warehouseinfo"
  21148. }
  21149. },
  21150. "wrstandards": {
  21151. "description": "仓单标准列表",
  21152. "type": "array",
  21153. "items": {
  21154. "$ref": "#/definitions/models.WRStandardInfo"
  21155. }
  21156. }
  21157. }
  21158. },
  21159. "erms3.QuerySpotContractInfoRsp": {
  21160. "type": "object",
  21161. "properties": {
  21162. "accountid": {
  21163. "description": "表示交易员ID.",
  21164. "type": "integer"
  21165. },
  21166. "curdeliveryqty": {
  21167. "description": "表示未交收量.",
  21168. "type": "number"
  21169. },
  21170. "customername": {
  21171. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  21172. "type": "string"
  21173. },
  21174. "deliverygoodsid": {
  21175. "description": "表示品种ID.",
  21176. "type": "string"
  21177. },
  21178. "deliveryqty": {
  21179. "description": "表示交收量.",
  21180. "type": "number"
  21181. },
  21182. "matchaccountid": {
  21183. "description": "表示业务员ID.",
  21184. "type": "integer"
  21185. },
  21186. "matchcustomername": {
  21187. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  21188. "type": "string"
  21189. },
  21190. "priceqty": {
  21191. "description": "表示定价量.",
  21192. "type": "number"
  21193. },
  21194. "relatedbizid": {
  21195. "description": "表示业务ID.",
  21196. "type": "string"
  21197. },
  21198. "signdate": {
  21199. "description": "表示签订日期.",
  21200. "type": "string"
  21201. },
  21202. "spotcontractid": {
  21203. "description": "合同ID",
  21204. "type": "string"
  21205. },
  21206. "status": {
  21207. "description": "表示状态,0-履约中 1-已完成.",
  21208. "type": "integer"
  21209. },
  21210. "totalqty": {
  21211. "description": "表示合同量.",
  21212. "type": "number"
  21213. },
  21214. "unpricedqty": {
  21215. "description": "表示未定价量.",
  21216. "type": "number"
  21217. },
  21218. "wrstandardname": {
  21219. "description": "表示商品ID.",
  21220. "type": "string"
  21221. }
  21222. }
  21223. },
  21224. "erms3.QueryUserInfoAppliesRsp": {
  21225. "type": "object",
  21226. "required": [
  21227. "userid"
  21228. ],
  21229. "properties": {
  21230. "biznature": {
  21231. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21232. "type": "integer"
  21233. },
  21234. "contactname": {
  21235. "description": "联系人",
  21236. "type": "string"
  21237. },
  21238. "createtime": {
  21239. "description": "开户申请时间",
  21240. "type": "string"
  21241. },
  21242. "userid": {
  21243. "description": "用户ID(自增ID)",
  21244. "type": "integer"
  21245. },
  21246. "userinfotype": {
  21247. "description": "用户信息类型 - 1:个人 2:企业",
  21248. "type": "integer"
  21249. },
  21250. "username": {
  21251. "description": "用户姓名",
  21252. "type": "string"
  21253. },
  21254. "userstate": {
  21255. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21256. "type": "integer"
  21257. }
  21258. }
  21259. },
  21260. "erms3.QueryUserInfosRsp": {
  21261. "type": "object",
  21262. "required": [
  21263. "userid"
  21264. ],
  21265. "properties": {
  21266. "biznature": {
  21267. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21268. "type": "integer"
  21269. },
  21270. "contactname": {
  21271. "description": "联系人",
  21272. "type": "string"
  21273. },
  21274. "customername": {
  21275. "description": "客户名称(企业名称)",
  21276. "type": "string"
  21277. },
  21278. "userid": {
  21279. "description": "用户ID",
  21280. "type": "integer"
  21281. },
  21282. "userinfotype": {
  21283. "description": "用户信息类型 - 1:个人 2:企业",
  21284. "type": "integer"
  21285. },
  21286. "userstatus": {
  21287. "description": "用户状态 - 1:正常 2:注销",
  21288. "type": "integer"
  21289. }
  21290. }
  21291. },
  21292. "erms3.SoptContractDetail": {
  21293. "type": "object",
  21294. "required": [
  21295. "deliverygoodsid",
  21296. "producttype",
  21297. "unitname",
  21298. "warehouseid",
  21299. "wrstandardid",
  21300. "wrstandardname"
  21301. ],
  21302. "properties": {
  21303. "deliverygoodsdesc": {
  21304. "description": "现货品种说明",
  21305. "type": "string"
  21306. },
  21307. "deliverygoodsid": {
  21308. "description": "现货品种ID",
  21309. "type": "integer"
  21310. },
  21311. "deliverygoodsname": {
  21312. "description": "现货品种名称",
  21313. "type": "string"
  21314. },
  21315. "pointdesc": {
  21316. "description": "点价描述",
  21317. "type": "string"
  21318. },
  21319. "producttype": {
  21320. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  21321. "type": "integer"
  21322. },
  21323. "producttypename": {
  21324. "description": "产品类型名称",
  21325. "type": "string"
  21326. },
  21327. "spotPointOrderVoList": {
  21328. "description": "点价列表",
  21329. "type": "array",
  21330. "items": {
  21331. "$ref": "#/definitions/erms3.SpotPointOrder"
  21332. }
  21333. },
  21334. "spotPriceOrderList": {
  21335. "description": "定价列表",
  21336. "type": "array",
  21337. "items": {
  21338. "$ref": "#/definitions/erms3.SpotPriceOrder"
  21339. }
  21340. },
  21341. "unitname": {
  21342. "description": "单位名称",
  21343. "type": "string"
  21344. },
  21345. "warehouseid": {
  21346. "description": "仓库ID",
  21347. "type": "integer"
  21348. },
  21349. "warehousename": {
  21350. "description": "仓库名称",
  21351. "type": "string"
  21352. },
  21353. "wrstandardid": {
  21354. "description": "交易标的ID",
  21355. "type": "integer"
  21356. },
  21357. "wrstandardname": {
  21358. "description": "交易标的名称",
  21359. "type": "string"
  21360. }
  21361. }
  21362. },
  21363. "erms3.SpotPointOrder": {
  21364. "type": "object",
  21365. "required": [
  21366. "basic",
  21367. "goodsid",
  21368. "qty"
  21369. ],
  21370. "properties": {
  21371. "basic": {
  21372. "description": "基差",
  21373. "type": "number"
  21374. },
  21375. "deliveryenddate": {
  21376. "description": "交收结束日期",
  21377. "type": "string"
  21378. },
  21379. "deliverystartdate": {
  21380. "description": "交收开始日期",
  21381. "type": "string"
  21382. },
  21383. "enddate": {
  21384. "description": "点价结束日期",
  21385. "type": "string"
  21386. },
  21387. "goodsid": {
  21388. "description": "商品ID",
  21389. "type": "integer"
  21390. },
  21391. "goodsname": {
  21392. "description": "商品名称",
  21393. "type": "string"
  21394. },
  21395. "qty": {
  21396. "description": "数量",
  21397. "type": "number"
  21398. },
  21399. "startdate": {
  21400. "description": "点价开始日期",
  21401. "type": "string"
  21402. }
  21403. }
  21404. },
  21405. "erms3.SpotPriceOrder": {
  21406. "type": "object",
  21407. "required": [
  21408. "amount",
  21409. "price",
  21410. "qty"
  21411. ],
  21412. "properties": {
  21413. "amount": {
  21414. "description": "金额",
  21415. "type": "number"
  21416. },
  21417. "deliveryenddate": {
  21418. "description": "交收结束日期",
  21419. "type": "string"
  21420. },
  21421. "deliverystartdate": {
  21422. "description": "交收开始日期",
  21423. "type": "string"
  21424. },
  21425. "price": {
  21426. "description": "价格",
  21427. "type": "number"
  21428. },
  21429. "qty": {
  21430. "description": "数量",
  21431. "type": "number"
  21432. }
  21433. }
  21434. },
  21435. "hsby.GetHsbyMyCountRsp": {
  21436. "type": "object",
  21437. "properties": {
  21438. "myCouponCount": {
  21439. "description": "我的优惠卷数量",
  21440. "type": "integer"
  21441. },
  21442. "myOrderDetailListingCount": {
  21443. "description": "我的订单求购中数量",
  21444. "type": "integer"
  21445. },
  21446. "myOrderDetailPreCount": {
  21447. "description": "我的订单抢购中数量",
  21448. "type": "integer"
  21449. },
  21450. "myPackageUnReceiveCount": {
  21451. "description": "我的包裹待收货数量",
  21452. "type": "integer"
  21453. },
  21454. "myPackageUnSendCount": {
  21455. "description": "我的包裹待发货数量",
  21456. "type": "integer"
  21457. },
  21458. "myPayOrderCount": {
  21459. "description": "我的订单待付款数量",
  21460. "type": "integer"
  21461. }
  21462. }
  21463. },
  21464. "hsby.QueryProvincesAndCitiesRsp": {
  21465. "type": "object",
  21466. "properties": {
  21467. "cities": {
  21468. "description": "市",
  21469. "type": "array",
  21470. "items": {
  21471. "$ref": "#/definitions/models.Division"
  21472. }
  21473. },
  21474. "province": {
  21475. "description": "省",
  21476. "$ref": "#/definitions/models.Division"
  21477. }
  21478. }
  21479. },
  21480. "models.Arearole": {
  21481. "type": "object",
  21482. "required": [
  21483. "roletype",
  21484. "userid"
  21485. ],
  21486. "properties": {
  21487. "createtime": {
  21488. "description": "创建时间",
  21489. "type": "string"
  21490. },
  21491. "creatorid": {
  21492. "description": "创建人ID",
  21493. "type": "integer"
  21494. },
  21495. "fromuserid": {
  21496. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  21497. "type": "integer"
  21498. },
  21499. "isreturnscore": {
  21500. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  21501. "type": "integer"
  21502. },
  21503. "modifierid": {
  21504. "description": "修改人ID",
  21505. "type": "integer"
  21506. },
  21507. "modifytime": {
  21508. "description": "修改时间",
  21509. "type": "string"
  21510. },
  21511. "orgtype": {
  21512. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21513. "type": "integer"
  21514. },
  21515. "outuserid": {
  21516. "description": "外部账户[场外期权做市商]",
  21517. "type": "string"
  21518. },
  21519. "parentuserid": {
  21520. "description": "上级组织机构(组织机构)",
  21521. "type": "integer"
  21522. },
  21523. "roletype": {
  21524. "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:门店",
  21525. "type": "integer"
  21526. },
  21527. "rootuserid": {
  21528. "description": "顶级组织机构用户ID(组织机构)",
  21529. "type": "integer"
  21530. },
  21531. "shoppassword": {
  21532. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21533. "type": "string"
  21534. },
  21535. "sublevelpath": {
  21536. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21537. "type": "string"
  21538. },
  21539. "suborgtype": {
  21540. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21541. "type": "integer"
  21542. },
  21543. "tradeaccountid": {
  21544. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21545. "type": "integer"
  21546. },
  21547. "transurl": {
  21548. "description": "物流地址(物流机构)",
  21549. "type": "string"
  21550. },
  21551. "userid": {
  21552. "description": "机构用户ID其他做市关系,都设置为 1",
  21553. "type": "integer"
  21554. }
  21555. }
  21556. },
  21557. "models.BuyOrder": {
  21558. "type": "object",
  21559. "properties": {
  21560. "accountid": {
  21561. "description": "资金账户ID",
  21562. "type": "integer"
  21563. },
  21564. "buyusername": {
  21565. "description": "买方",
  21566. "type": "string"
  21567. },
  21568. "marketid": {
  21569. "description": "市场ID",
  21570. "type": "integer"
  21571. },
  21572. "origin": {
  21573. "description": "原产地",
  21574. "type": "string"
  21575. },
  21576. "remark": {
  21577. "description": "备注",
  21578. "type": "string"
  21579. },
  21580. "userid": {
  21581. "description": "用户ID",
  21582. "type": "integer"
  21583. },
  21584. "warehouseids": {
  21585. "description": "仓库ID - 多个, 逗号分隔",
  21586. "type": "string"
  21587. },
  21588. "warehouseinfosdisplay": {
  21589. "type": "string"
  21590. },
  21591. "wrtradeorderid": {
  21592. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21593. "type": "integer"
  21594. },
  21595. "zscategory": {
  21596. "description": "钻石分类 - 枚举”ZSCategory“",
  21597. "type": "integer"
  21598. },
  21599. "zscategorydisplay": {
  21600. "type": "string"
  21601. },
  21602. "zsclaritytype": {
  21603. "description": "净度 - 两个, 逗号分隔",
  21604. "type": "string"
  21605. },
  21606. "zsclaritytypedisplay": {
  21607. "type": "string"
  21608. },
  21609. "zscolortype": {
  21610. "description": "颜色 - 两个, 逗号分隔",
  21611. "type": "string"
  21612. },
  21613. "zscolortypedisplay": {
  21614. "type": "string"
  21615. },
  21616. "zscrystaltype": {
  21617. "description": "晶型 - 多个,逗号分隔",
  21618. "type": "string"
  21619. },
  21620. "zscrystaltypedisplay": {
  21621. "type": "string"
  21622. },
  21623. "zscurrencytype": {
  21624. "description": "货币类型 - 多个, 逗号分隔",
  21625. "type": "string"
  21626. },
  21627. "zscurrencytypedisplay": {
  21628. "type": "string"
  21629. },
  21630. "zscuttype": {
  21631. "description": "切工 - 两个, 逗号分隔",
  21632. "type": "string"
  21633. },
  21634. "zscuttypedisplay": {
  21635. "type": "string"
  21636. },
  21637. "zsczcolor1type": {
  21638. "description": "彩钻颜色1, 逗号分隔",
  21639. "type": "string"
  21640. },
  21641. "zsczcolor1typedisplay": {
  21642. "type": "string"
  21643. },
  21644. "zsczcolor2type": {
  21645. "description": "彩钻颜色2, 逗号分隔",
  21646. "type": "string"
  21647. },
  21648. "zsczcolor2typedisplay": {
  21649. "type": "string"
  21650. },
  21651. "zsczcolor3type": {
  21652. "description": "彩钻颜色3, 逗号分隔",
  21653. "type": "string"
  21654. },
  21655. "zsczcolor3typedisplay": {
  21656. "type": "string"
  21657. },
  21658. "zsfluorescencetype": {
  21659. "description": "荧光 - 多个, 逗号分隔",
  21660. "type": "string"
  21661. },
  21662. "zsfluorescencetypedisplay": {
  21663. "type": "string"
  21664. },
  21665. "zspolishtype": {
  21666. "description": "抛光度 - 两个, 逗号分隔",
  21667. "type": "string"
  21668. },
  21669. "zspolishtypedisplay": {
  21670. "type": "string"
  21671. },
  21672. "zsshapetype": {
  21673. "description": "形状 - 多个, 逗号分隔",
  21674. "type": "string"
  21675. },
  21676. "zsshapetypedisplay": {
  21677. "type": "string"
  21678. },
  21679. "zssize": {
  21680. "description": "尺寸 - 两个小数, 逗号分隔",
  21681. "type": "string"
  21682. },
  21683. "zsstyletype": {
  21684. "description": "款式 - 多个, 逗号分隔",
  21685. "type": "string"
  21686. },
  21687. "zsstyletypedisplay": {
  21688. "type": "string"
  21689. },
  21690. "zssymmetrytype": {
  21691. "description": "对称度 - 两个, 逗号分隔",
  21692. "type": "string"
  21693. },
  21694. "zssymmetrytypedisplay": {
  21695. "type": "string"
  21696. },
  21697. "zstabledisplay": {
  21698. "description": "求购信息",
  21699. "type": "string"
  21700. }
  21701. }
  21702. },
  21703. "models.Clientfixedadconfig": {
  21704. "type": "object",
  21705. "required": [
  21706. "adsort",
  21707. "adtype"
  21708. ],
  21709. "properties": {
  21710. "adsort": {
  21711. "description": "排序",
  21712. "type": "integer"
  21713. },
  21714. "adtype": {
  21715. "description": "广告位类型 - 1:新品抢购(HSBY)",
  21716. "type": "integer"
  21717. },
  21718. "areauserid": {
  21719. "description": "所属机构ID",
  21720. "type": "integer"
  21721. },
  21722. "createdate": {
  21723. "description": "创建时间",
  21724. "type": "string"
  21725. },
  21726. "creatorid": {
  21727. "description": "创建人",
  21728. "type": "integer"
  21729. },
  21730. "imagepath": {
  21731. "description": "图片",
  21732. "type": "string"
  21733. },
  21734. "isshow": {
  21735. "description": "是否展示 - 0:不展示 1:展示",
  21736. "type": "integer"
  21737. },
  21738. "modifierid": {
  21739. "description": "操作人",
  21740. "type": "integer"
  21741. },
  21742. "recsize": {
  21743. "description": "推荐尺寸",
  21744. "type": "string"
  21745. },
  21746. "title": {
  21747. "description": "标题",
  21748. "type": "string"
  21749. },
  21750. "updatedate": {
  21751. "description": "更新时间",
  21752. "type": "string"
  21753. },
  21754. "urlcontent": {
  21755. "description": "链接(地址或商品ID)",
  21756. "type": "string"
  21757. },
  21758. "urltype": {
  21759. "description": "链接类型 - 1:直接地址 2:商品ID",
  21760. "type": "integer"
  21761. }
  21762. }
  21763. },
  21764. "models.DgFactoryItem": {
  21765. "type": "object",
  21766. "properties": {
  21767. "dgfactoryitemid": {
  21768. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21769. "type": "integer"
  21770. },
  21771. "dgfactoryitemtypeid": {
  21772. "description": "要素项类型",
  21773. "type": "integer"
  21774. },
  21775. "dgfactoryitemvalue": {
  21776. "description": "要素项值(类型为仓库时填写仓库名称)",
  21777. "type": "string"
  21778. },
  21779. "orderindex": {
  21780. "description": "顺序",
  21781. "type": "integer"
  21782. }
  21783. }
  21784. },
  21785. "models.Division": {
  21786. "type": "object",
  21787. "required": [
  21788. "autoid",
  21789. "divisioncode"
  21790. ],
  21791. "properties": {
  21792. "autoid": {
  21793. "description": "自增ID",
  21794. "type": "integer"
  21795. },
  21796. "divisioncode": {
  21797. "description": "行政代码",
  21798. "type": "string"
  21799. },
  21800. "divisionlevel": {
  21801. "description": "行政级别",
  21802. "type": "string"
  21803. },
  21804. "divisionname": {
  21805. "description": "行政名称",
  21806. "type": "string"
  21807. },
  21808. "modifierid": {
  21809. "description": "修改人",
  21810. "type": "integer"
  21811. },
  21812. "modifytime": {
  21813. "description": "修改时间",
  21814. "type": "string"
  21815. },
  21816. "parentcode": {
  21817. "description": "上级行政代码",
  21818. "type": "string"
  21819. },
  21820. "pathname": {
  21821. "description": "路径名称",
  21822. "type": "string"
  21823. },
  21824. "postcode": {
  21825. "description": "邮政编码",
  21826. "type": "string"
  21827. },
  21828. "separablename": {
  21829. "description": "可拆分的全称",
  21830. "type": "string"
  21831. },
  21832. "shortcode": {
  21833. "description": "地区简码",
  21834. "type": "string"
  21835. }
  21836. }
  21837. },
  21838. "models.Enumdicitem": {
  21839. "type": "object",
  21840. "required": [
  21841. "autoid",
  21842. "enumdiccode",
  21843. "enumdicid",
  21844. "enumitemname"
  21845. ],
  21846. "properties": {
  21847. "autoid": {
  21848. "description": "自增ID",
  21849. "type": "integer"
  21850. },
  21851. "bankmappedvalue": {
  21852. "description": "银行服务对应值",
  21853. "type": "string"
  21854. },
  21855. "enumdiccode": {
  21856. "description": "所属枚举代码",
  21857. "type": "string"
  21858. },
  21859. "enumdicid": {
  21860. "description": "所属枚举ID",
  21861. "type": "integer"
  21862. },
  21863. "enumdicname": {
  21864. "description": "枚举项名称",
  21865. "type": "string"
  21866. },
  21867. "enumitemname": {
  21868. "description": "枚举项值",
  21869. "type": "integer"
  21870. },
  21871. "enumitemstatus": {
  21872. "description": "枚举项状态 - 1.启用 2.不启用",
  21873. "type": "integer"
  21874. },
  21875. "enumitemvalue": {
  21876. "description": "通用值 - [币种通用简写]",
  21877. "type": "string"
  21878. },
  21879. "param1": {
  21880. "description": "参数1[币种:币种小数位]",
  21881. "type": "string"
  21882. },
  21883. "param2": {
  21884. "description": "参数1[币种:币种显示单位]",
  21885. "type": "string"
  21886. },
  21887. "remark": {
  21888. "description": "备注",
  21889. "type": "string"
  21890. }
  21891. }
  21892. },
  21893. "models.Ermcp2AreaExposure": {
  21894. "type": "object",
  21895. "properties": {
  21896. "areauserid": {
  21897. "description": "所属机构",
  21898. "type": "integer"
  21899. },
  21900. "enumdicname": {
  21901. "description": "单位",
  21902. "type": "string"
  21903. },
  21904. "futureqty": {
  21905. "description": "期货套期量",
  21906. "type": "number"
  21907. },
  21908. "futureqtychange": {
  21909. "description": "期货变动量 = FutureQty - OriFutureQty",
  21910. "type": "number"
  21911. },
  21912. "goodsunitid": {
  21913. "description": "单位ID",
  21914. "type": "integer"
  21915. },
  21916. "hedgedspotexposure": {
  21917. "description": "被套期现货敞口量",
  21918. "type": "number"
  21919. },
  21920. "hedgedspratio": {
  21921. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21922. "type": "number"
  21923. },
  21924. "hedgedtotalexposourechange": {
  21925. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21926. "type": "number"
  21927. },
  21928. "hedgedtotalexposure": {
  21929. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21930. "type": "number"
  21931. },
  21932. "hedgeplanqty": {
  21933. "description": "套期计划量",
  21934. "type": "number"
  21935. },
  21936. "hedgeplanqtychange": {
  21937. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21938. "type": "number"
  21939. },
  21940. "hedgespotqty": {
  21941. "description": "被套期现货量",
  21942. "type": "number"
  21943. },
  21944. "middlegoodsid": {
  21945. "description": "套保品种",
  21946. "type": "integer"
  21947. },
  21948. "middlegoodsname": {
  21949. "description": "套保品种名称",
  21950. "type": "string"
  21951. },
  21952. "orifutureqty": {
  21953. "description": "期初期货套期量",
  21954. "type": "number"
  21955. },
  21956. "orihedgedspotexposure": {
  21957. "description": "期初被套期现货敞口量",
  21958. "type": "number"
  21959. },
  21960. "orihedgedtotalexposure": {
  21961. "description": "期初套期敞口量",
  21962. "type": "number"
  21963. },
  21964. "orihedgeplanqty": {
  21965. "description": "期初套期计划量",
  21966. "type": "number"
  21967. },
  21968. "orihedgespotqty": {
  21969. "description": "期初被套期现货量",
  21970. "type": "number"
  21971. },
  21972. "orispotexposure": {
  21973. "description": "期初现货敞口量",
  21974. "type": "number"
  21975. },
  21976. "orispotqty": {
  21977. "description": "期初现货总量",
  21978. "type": "number"
  21979. },
  21980. "oritotalexposure": {
  21981. "description": "期初总敞口量",
  21982. "type": "number"
  21983. },
  21984. "spotexposure": {
  21985. "description": "现货敞口量",
  21986. "type": "number"
  21987. },
  21988. "spotqty": {
  21989. "description": "现货总量",
  21990. "type": "number"
  21991. },
  21992. "spotqtychange": {
  21993. "description": "现货变动量 = SpotQty - OriSpotQty",
  21994. "type": "number"
  21995. },
  21996. "spratio": {
  21997. "description": "总期现比例 = 期货套期量/现货敞口量",
  21998. "type": "number"
  21999. },
  22000. "totalexposure": {
  22001. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  22002. "type": "number"
  22003. },
  22004. "totalexposurechange": {
  22005. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  22006. "type": "number"
  22007. },
  22008. "updatetime": {
  22009. "description": "更新时间 --DATE",
  22010. "type": "string"
  22011. }
  22012. }
  22013. },
  22014. "models.Ermcp2hedgeditem": {
  22015. "type": "object",
  22016. "properties": {
  22017. "accountname": {
  22018. "description": "套期主体",
  22019. "type": "string"
  22020. },
  22021. "applyid": {
  22022. "description": "申请人",
  22023. "type": "integer"
  22024. },
  22025. "applysrc": {
  22026. "description": "申请来源 - 1:管理端 2:终端",
  22027. "type": "integer"
  22028. },
  22029. "areauserid": {
  22030. "description": "企业ID",
  22031. "type": "integer"
  22032. },
  22033. "auditid": {
  22034. "description": "审核人",
  22035. "type": "integer"
  22036. },
  22037. "auditremark": {
  22038. "description": "审核备注",
  22039. "type": "string"
  22040. },
  22041. "auditsrc": {
  22042. "description": "审核来源 - 1:管理端 2:终端",
  22043. "type": "integer"
  22044. },
  22045. "audittime": {
  22046. "description": "审核时间",
  22047. "type": "string"
  22048. },
  22049. "audittradedate": {
  22050. "description": "审核交易日(yyyyMMdd)",
  22051. "type": "string"
  22052. },
  22053. "createtime": {
  22054. "description": "申请时间",
  22055. "type": "string"
  22056. },
  22057. "curprice": {
  22058. "description": "当前市场价",
  22059. "type": "number"
  22060. },
  22061. "curstock": {
  22062. "description": "期末库存量 = 采购总量 - 销售总量",
  22063. "type": "number"
  22064. },
  22065. "deliverygoodsid": {
  22066. "description": "现货品种ID",
  22067. "type": "integer"
  22068. },
  22069. "enddate": {
  22070. "description": "完成日期",
  22071. "type": "string"
  22072. },
  22073. "endtradedate": {
  22074. "description": "完成交易日",
  22075. "type": "string"
  22076. },
  22077. "enumdicname": {
  22078. "description": "单位",
  22079. "type": "string"
  22080. },
  22081. "exeamount": {
  22082. "description": "执行市价总额",
  22083. "type": "number"
  22084. },
  22085. "exeavgprice": {
  22086. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  22087. "type": "number"
  22088. },
  22089. "execontractamount": {
  22090. "description": "执行定价总额",
  22091. "type": "number"
  22092. },
  22093. "exeqty": {
  22094. "description": "执行现货量",
  22095. "type": "number"
  22096. },
  22097. "exerestamount": {
  22098. "description": "执行剩余市价总额【现货贸易】",
  22099. "type": "number"
  22100. },
  22101. "futurefloatpl": {
  22102. "description": "期货浮动损益",
  22103. "type": "number"
  22104. },
  22105. "futurehedgepl": {
  22106. "description": "期货实际损益",
  22107. "type": "number"
  22108. },
  22109. "futurehedgeplchange": {
  22110. "description": "期货实际损益变动",
  22111. "type": "number"
  22112. },
  22113. "futurepl": {
  22114. "description": "期货套期损益",
  22115. "type": "number"
  22116. },
  22117. "futureplchange": {
  22118. "description": "期货套期损益变动",
  22119. "type": "number"
  22120. },
  22121. "hedgeamount": {
  22122. "description": "套期市价总额",
  22123. "type": "number"
  22124. },
  22125. "hedgecontractamount": {
  22126. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  22127. "type": "number"
  22128. },
  22129. "hedgeditemid": {
  22130. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22131. "type": "string"
  22132. },
  22133. "hedgeditemname": {
  22134. "description": "项目名称",
  22135. "type": "string"
  22136. },
  22137. "hedgeditemnum": {
  22138. "description": "项目编号",
  22139. "type": "string"
  22140. },
  22141. "hedgeditemstatus": {
  22142. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22143. "type": "integer"
  22144. },
  22145. "hedgedtype": {
  22146. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22147. "type": "integer"
  22148. },
  22149. "hedgeqty": {
  22150. "description": "套期现货量",
  22151. "type": "number"
  22152. },
  22153. "hedgerate": {
  22154. "description": "套保比率",
  22155. "type": "number"
  22156. },
  22157. "hedgerestamount": {
  22158. "description": "套期剩余市价总额【现货贸易】",
  22159. "type": "number"
  22160. },
  22161. "hedgesumpl": {
  22162. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  22163. "type": "number"
  22164. },
  22165. "middlegoodslist": {
  22166. "description": "套期商品列表",
  22167. "type": "array",
  22168. "items": {
  22169. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  22170. }
  22171. },
  22172. "oriavgprice": {
  22173. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  22174. "type": "number"
  22175. },
  22176. "orifuturehedgepl": {
  22177. "description": "期初期货实际损益",
  22178. "type": "number"
  22179. },
  22180. "orifuturepl": {
  22181. "description": "期初期货套期损益",
  22182. "type": "number"
  22183. },
  22184. "orispothedgepl": {
  22185. "description": "期初现货实际损益",
  22186. "type": "number"
  22187. },
  22188. "orispotpl": {
  22189. "description": "期初现货套期损益",
  22190. "type": "number"
  22191. },
  22192. "planenddate": {
  22193. "description": "计划结束日期",
  22194. "type": "string"
  22195. },
  22196. "planstartdate": {
  22197. "description": "计划开始日期",
  22198. "type": "string"
  22199. },
  22200. "remark": {
  22201. "description": "备注",
  22202. "type": "string"
  22203. },
  22204. "spotbookamount": {
  22205. "description": "现货账面总额",
  22206. "type": "number"
  22207. },
  22208. "spotfloatpl": {
  22209. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22210. "type": "number"
  22211. },
  22212. "spothedgepl": {
  22213. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22214. "type": "number"
  22215. },
  22216. "spothedgeplchange": {
  22217. "description": "现货实际损益变动",
  22218. "type": "number"
  22219. },
  22220. "spotpl": {
  22221. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  22222. "type": "number"
  22223. },
  22224. "spotplchange": {
  22225. "description": "现货套期损益变动",
  22226. "type": "number"
  22227. },
  22228. "spottradepl": {
  22229. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  22230. "type": "number"
  22231. },
  22232. "sumobspl": {
  22233. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  22234. "type": "number"
  22235. },
  22236. "tradeuserid": {
  22237. "description": "交易用户ID",
  22238. "type": "integer"
  22239. },
  22240. "unexeqty": {
  22241. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22242. "type": "number"
  22243. },
  22244. "updatetime": {
  22245. "description": "更新时间",
  22246. "type": "string"
  22247. },
  22248. "vatpl": {
  22249. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  22250. "type": "number"
  22251. },
  22252. "vatrate": {
  22253. "description": "增值税",
  22254. "type": "number"
  22255. },
  22256. "wrstandardid": {
  22257. "description": "现货商品ID",
  22258. "type": "integer"
  22259. },
  22260. "wrstandardname": {
  22261. "description": "商品名称",
  22262. "type": "string"
  22263. }
  22264. }
  22265. },
  22266. "models.Ermcp2hedgeditemlink": {
  22267. "type": "object",
  22268. "required": [
  22269. "relatedspotcontractid"
  22270. ],
  22271. "properties": {
  22272. "areauserid": {
  22273. "description": "企业ID",
  22274. "type": "integer"
  22275. },
  22276. "createtime": {
  22277. "description": "[关联时间]创建时间",
  22278. "type": "string"
  22279. },
  22280. "customeruserid": {
  22281. "description": "对手方 【3:采购合同 4:销售合同】",
  22282. "type": "integer"
  22283. },
  22284. "deliverygoodsid": {
  22285. "description": "现货品种ID",
  22286. "type": "integer"
  22287. },
  22288. "enumdicname": {
  22289. "description": "单位",
  22290. "type": "string"
  22291. },
  22292. "hedgeditemid": {
  22293. "description": "被套期项目ID",
  22294. "type": "integer"
  22295. },
  22296. "hedgeditemlinkid": {
  22297. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  22298. "type": "integer"
  22299. },
  22300. "hedgeditemnum": {
  22301. "description": "项目编号",
  22302. "type": "string"
  22303. },
  22304. "hedgedtype": {
  22305. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22306. "type": "integer"
  22307. },
  22308. "relatedamount": {
  22309. "description": "市价总额 = 关联数量 * 期初市场价",
  22310. "type": "number"
  22311. },
  22312. "relatedhedgeplanid": {
  22313. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22314. "type": "integer"
  22315. },
  22316. "relatedqty": {
  22317. "description": "关联数量",
  22318. "type": "number"
  22319. },
  22320. "relatedspotcontractid": {
  22321. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22322. "type": "integer"
  22323. },
  22324. "relatedtype": {
  22325. "description": "关联类型 - 1:套期关联 2:执行关联",
  22326. "type": "integer"
  22327. },
  22328. "spotgoodsbrandid": {
  22329. "description": "现货品牌ID",
  22330. "type": "integer"
  22331. },
  22332. "spotpricedamount": {
  22333. "description": "[关联定价总额]定价总额",
  22334. "type": "number"
  22335. },
  22336. "spotpricedavgprice": {
  22337. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  22338. "type": "number"
  22339. },
  22340. "spottype": {
  22341. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22342. "type": "integer"
  22343. },
  22344. "tradeuserid": {
  22345. "description": "交易用户ID",
  22346. "type": "integer"
  22347. },
  22348. "unexeqty": {
  22349. "description": "未执行现货量【项目关联时值】",
  22350. "type": "number"
  22351. },
  22352. "wrstandardid": {
  22353. "description": "现货商品ID",
  22354. "type": "integer"
  22355. },
  22356. "wrstandardname": {
  22357. "description": "现货商品",
  22358. "type": "string"
  22359. }
  22360. }
  22361. },
  22362. "models.Ermcp2hedgeditemsDetail": {
  22363. "type": "object",
  22364. "properties": {
  22365. "accountname": {
  22366. "description": "套期主体",
  22367. "type": "string"
  22368. },
  22369. "areauserid": {
  22370. "description": "企业ID",
  22371. "type": "integer"
  22372. },
  22373. "createtime": {
  22374. "description": "[日期时间]创建时间",
  22375. "type": "string"
  22376. },
  22377. "customeruserid": {
  22378. "description": "对手方 【3:采购合同 4:销售合同】",
  22379. "type": "integer"
  22380. },
  22381. "deliverygoodsid": {
  22382. "description": "现货品种ID",
  22383. "type": "integer"
  22384. },
  22385. "enumdicname": {
  22386. "description": "单位",
  22387. "type": "string"
  22388. },
  22389. "hedgeditemid": {
  22390. "description": "被套期项目ID",
  22391. "type": "string"
  22392. },
  22393. "hedgeditemspotid": {
  22394. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22395. "type": "string"
  22396. },
  22397. "hedgedtype": {
  22398. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22399. "type": "integer"
  22400. },
  22401. "hedgeplanno": {
  22402. "description": "计划编号",
  22403. "type": "string"
  22404. },
  22405. "middlegoodschange": {
  22406. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  22407. "type": "number"
  22408. },
  22409. "oriavgprice": {
  22410. "description": "期初市场价[当初市场价]",
  22411. "type": "number"
  22412. },
  22413. "relatedamount": {
  22414. "description": "市价总额 = 关联数量 * 期初市场价",
  22415. "type": "number"
  22416. },
  22417. "relatedhedgeplanid": {
  22418. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22419. "type": "integer"
  22420. },
  22421. "relatedqty": {
  22422. "description": "[期间变化量]关联数量",
  22423. "type": "number"
  22424. },
  22425. "relatedspotcontractid": {
  22426. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22427. "type": "integer"
  22428. },
  22429. "relatedtype": {
  22430. "description": "关联类型 - 1:套期关联 2:执行关联",
  22431. "type": "integer"
  22432. },
  22433. "spotgoodsbrandid": {
  22434. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22435. "type": "integer"
  22436. },
  22437. "spotpricedamount": {
  22438. "description": "定价总额",
  22439. "type": "number"
  22440. },
  22441. "spotpricedavgprice": {
  22442. "description": "现货均价 = 定价总额 / 关联数量",
  22443. "type": "number"
  22444. },
  22445. "spottype": {
  22446. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22447. "type": "integer"
  22448. },
  22449. "tradeuserid": {
  22450. "description": "交易用户ID",
  22451. "type": "integer"
  22452. },
  22453. "unexeqty": {
  22454. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22455. "type": "number"
  22456. },
  22457. "wrstandardid": {
  22458. "description": "现货商品ID",
  22459. "type": "integer"
  22460. },
  22461. "wrstandardname": {
  22462. "description": "现货商品",
  22463. "type": "string"
  22464. }
  22465. }
  22466. },
  22467. "models.Ermcp2hedgeditemspot": {
  22468. "type": "object",
  22469. "required": [
  22470. "hedgeditemid"
  22471. ],
  22472. "properties": {
  22473. "areauserid": {
  22474. "description": "企业ID",
  22475. "type": "integer"
  22476. },
  22477. "createtime": {
  22478. "description": "创建时间",
  22479. "type": "string"
  22480. },
  22481. "customeruserid": {
  22482. "description": "对手方 【3:采购合同 4:销售合同】",
  22483. "type": "integer"
  22484. },
  22485. "deliverygoodsid": {
  22486. "description": "现货品种ID",
  22487. "type": "integer"
  22488. },
  22489. "enumdicname": {
  22490. "description": "单位",
  22491. "type": "string"
  22492. },
  22493. "hedgeditemid": {
  22494. "description": "被套期项目ID",
  22495. "type": "string"
  22496. },
  22497. "hedgeditemspotid": {
  22498. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22499. "type": "string"
  22500. },
  22501. "hedgedtype": {
  22502. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22503. "type": "integer"
  22504. },
  22505. "hedgeplanno": {
  22506. "description": "计划编号",
  22507. "type": "string"
  22508. },
  22509. "oriavgprice": {
  22510. "description": "期初市场价[当初市场价]",
  22511. "type": "number"
  22512. },
  22513. "relatedamount": {
  22514. "description": "市价总额 = 关联数量 * 期初市场价",
  22515. "type": "number"
  22516. },
  22517. "relatedhedgeplanid": {
  22518. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22519. "type": "integer"
  22520. },
  22521. "relatedqty": {
  22522. "description": "关联数量[数量]",
  22523. "type": "number"
  22524. },
  22525. "relatedspotcontractid": {
  22526. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22527. "type": "integer"
  22528. },
  22529. "relatedtype": {
  22530. "description": "关联类型 - 1:套期关联 2:执行关联",
  22531. "type": "integer"
  22532. },
  22533. "spotgoodsbrandid": {
  22534. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22535. "type": "integer"
  22536. },
  22537. "spotpricedamount": {
  22538. "description": "定价总额",
  22539. "type": "number"
  22540. },
  22541. "spotpricedavgprice": {
  22542. "description": "现货均价 = 定价总额 / 关联数量",
  22543. "type": "number"
  22544. },
  22545. "spottype": {
  22546. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22547. "type": "integer"
  22548. },
  22549. "tradeuserid": {
  22550. "description": "交易用户ID",
  22551. "type": "integer"
  22552. },
  22553. "wrstandardid": {
  22554. "description": "现货商品ID",
  22555. "type": "integer"
  22556. },
  22557. "wrstandardname": {
  22558. "description": "现货商品",
  22559. "type": "string"
  22560. }
  22561. }
  22562. },
  22563. "models.Ermcp2hedgeditemspotDetail": {
  22564. "type": "object",
  22565. "required": [
  22566. "hedgeditemid"
  22567. ],
  22568. "properties": {
  22569. "accountname": {
  22570. "description": "对手方",
  22571. "type": "string"
  22572. },
  22573. "areauserid": {
  22574. "description": "企业ID",
  22575. "type": "integer"
  22576. },
  22577. "brandname": {
  22578. "description": "品牌",
  22579. "type": "string"
  22580. },
  22581. "contractno": {
  22582. "description": "合同编号",
  22583. "type": "string"
  22584. },
  22585. "createtime": {
  22586. "description": "创建时间",
  22587. "type": "string"
  22588. },
  22589. "customeruserid": {
  22590. "description": "对手方 【3:采购合同 4:销售合同】",
  22591. "type": "integer"
  22592. },
  22593. "deliverygoodsid": {
  22594. "description": "现货品种ID",
  22595. "type": "integer"
  22596. },
  22597. "enumdicname": {
  22598. "description": "单位",
  22599. "type": "string"
  22600. },
  22601. "hedgeditemid": {
  22602. "description": "被套期项目ID",
  22603. "type": "string"
  22604. },
  22605. "hedgeditemspotid": {
  22606. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22607. "type": "string"
  22608. },
  22609. "hedgedtype": {
  22610. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22611. "type": "integer"
  22612. },
  22613. "oriavgprice": {
  22614. "description": "期初市场价[当初市场价]",
  22615. "type": "number"
  22616. },
  22617. "relatedamount": {
  22618. "description": "市价总额 = 关联数量 * 期初市场价",
  22619. "type": "number"
  22620. },
  22621. "relatedhedgeplanid": {
  22622. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22623. "type": "integer"
  22624. },
  22625. "relatedqty": {
  22626. "description": "关联数量[数量]",
  22627. "type": "number"
  22628. },
  22629. "relatedspotcontractid": {
  22630. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22631. "type": "integer"
  22632. },
  22633. "relatedtype": {
  22634. "description": "关联类型 - 1:套期关联 2:执行关联",
  22635. "type": "integer"
  22636. },
  22637. "spotgoodsbrandid": {
  22638. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22639. "type": "integer"
  22640. },
  22641. "spotpricedamount": {
  22642. "description": "定价总额[金额]",
  22643. "type": "number"
  22644. },
  22645. "spotpricedavgprice": {
  22646. "description": "现货均价 = 定价总额 / 关联数量",
  22647. "type": "number"
  22648. },
  22649. "spottype": {
  22650. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22651. "type": "integer"
  22652. },
  22653. "tradeuserid": {
  22654. "description": "交易用户ID",
  22655. "type": "integer"
  22656. },
  22657. "wrstandardid": {
  22658. "description": "现货商品ID",
  22659. "type": "integer"
  22660. },
  22661. "wrstandardname": {
  22662. "description": "现货商品",
  22663. "type": "string"
  22664. }
  22665. }
  22666. },
  22667. "models.Ermcp2himiddlegoods": {
  22668. "type": "object",
  22669. "required": [
  22670. "hedgeditemid",
  22671. "middlegoodsid"
  22672. ],
  22673. "properties": {
  22674. "futurehedgeqty": {
  22675. "description": "期货持仓套期量",
  22676. "type": "number"
  22677. },
  22678. "hedgeditemid": {
  22679. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22680. "type": "integer"
  22681. },
  22682. "hiexpsoure": {
  22683. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22684. "type": "number"
  22685. },
  22686. "middlegoodscode": {
  22687. "description": "套保商品代码",
  22688. "type": "string"
  22689. },
  22690. "middlegoodsid": {
  22691. "description": "套保品种ID",
  22692. "type": "integer"
  22693. },
  22694. "middlegoodsname": {
  22695. "description": "套保商品名称",
  22696. "type": "string"
  22697. },
  22698. "unexehedgeqty": {
  22699. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22700. "type": "number"
  22701. }
  22702. }
  22703. },
  22704. "models.Ermcp2stockspotchangelog": {
  22705. "type": "object",
  22706. "properties": {
  22707. "accountname": {
  22708. "description": "套期主体",
  22709. "type": "string"
  22710. },
  22711. "aftervalue": {
  22712. "description": "现货量",
  22713. "type": "number"
  22714. },
  22715. "beforevalue": {
  22716. "description": "变更前现货量",
  22717. "type": "number"
  22718. },
  22719. "contractno": {
  22720. "description": "[编号]现货合同编号",
  22721. "type": "string"
  22722. },
  22723. "contracttype": {
  22724. "description": "现货合同类型 - 1:采购 -1:销售",
  22725. "type": "integer"
  22726. },
  22727. "createtime": {
  22728. "description": "创建时间",
  22729. "type": "string"
  22730. },
  22731. "customerusername": {
  22732. "description": "对手方",
  22733. "type": "string"
  22734. },
  22735. "deliverygoodsid": {
  22736. "description": "现货品种ID",
  22737. "type": "integer"
  22738. },
  22739. "exetype": {
  22740. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22741. "type": "integer"
  22742. },
  22743. "logid": {
  22744. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22745. "type": "string"
  22746. },
  22747. "logvalue": {
  22748. "description": "[期间变化量]现货量变更值",
  22749. "type": "number"
  22750. },
  22751. "middlegoodschange": {
  22752. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22753. "type": "number"
  22754. },
  22755. "operatelogtype": {
  22756. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22757. "type": "integer"
  22758. },
  22759. "relatedid": {
  22760. "description": "现货合同ID",
  22761. "type": "integer"
  22762. },
  22763. "spotgoodsbrandid": {
  22764. "description": "现货品牌ID",
  22765. "type": "integer"
  22766. },
  22767. "tradedate": {
  22768. "description": "交易日(yyyyMMdd)",
  22769. "type": "string"
  22770. },
  22771. "userid": {
  22772. "description": "机构ID",
  22773. "type": "integer"
  22774. },
  22775. "warehouseinfoid": {
  22776. "description": "仓库ID",
  22777. "type": "integer"
  22778. },
  22779. "wrfactortypeid": {
  22780. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22781. "type": "integer"
  22782. },
  22783. "wrstandardid": {
  22784. "description": "现货商品ID",
  22785. "type": "integer"
  22786. },
  22787. "wrstandardname": {
  22788. "description": "商品名称",
  22789. "type": "string"
  22790. }
  22791. }
  22792. },
  22793. "models.Ermcp3AreaSpot": {
  22794. "type": "object",
  22795. "properties": {
  22796. "areauserid": {
  22797. "description": "所属机构",
  22798. "type": "integer"
  22799. },
  22800. "convertratio": {
  22801. "description": "套保系数",
  22802. "type": "number"
  22803. },
  22804. "decreaseqty": {
  22805. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22806. "type": "number"
  22807. },
  22808. "enumdicname": {
  22809. "description": "单位名称",
  22810. "type": "string"
  22811. },
  22812. "increaseqty": {
  22813. "description": "增加数量=销售计划数量+采购已定价数量",
  22814. "type": "number"
  22815. },
  22816. "oritoalspotqty": {
  22817. "description": "昨日数量",
  22818. "type": "number"
  22819. },
  22820. "totalspotqty": {
  22821. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22822. "type": "number"
  22823. },
  22824. "unitid": {
  22825. "description": "现货商品单位id",
  22826. "type": "integer"
  22827. },
  22828. "updatetime": {
  22829. "description": "更新时间",
  22830. "type": "string"
  22831. },
  22832. "wrstandardcode": {
  22833. "description": "现货商品代码",
  22834. "type": "string"
  22835. },
  22836. "wrstandardid": {
  22837. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22838. "type": "integer"
  22839. },
  22840. "wrstandardname": {
  22841. "description": "现货商品名称",
  22842. "type": "string"
  22843. }
  22844. }
  22845. },
  22846. "models.Ermcp3AreaSpotDetail": {
  22847. "type": "object",
  22848. "properties": {
  22849. "contracttype": {
  22850. "description": "合同类型 1-采购 -1-销售",
  22851. "type": "integer"
  22852. },
  22853. "createtime": {
  22854. "description": "创建时间",
  22855. "type": "string"
  22856. },
  22857. "enumdicname": {
  22858. "description": "现货商品单位名称",
  22859. "type": "string"
  22860. },
  22861. "logtype": {
  22862. "description": "记录类型 1-套保 2-现货合同",
  22863. "type": "integer"
  22864. },
  22865. "qty": {
  22866. "description": "数量",
  22867. "type": "number"
  22868. },
  22869. "recordname": {
  22870. "description": "类型名称",
  22871. "type": "string"
  22872. },
  22873. "relatedid": {
  22874. "description": "套保计划ID/现货合同ID",
  22875. "type": "string"
  22876. },
  22877. "relatedno": {
  22878. "description": "编号",
  22879. "type": "string"
  22880. },
  22881. "strtime": {
  22882. "description": "时间",
  22883. "type": "string"
  22884. },
  22885. "wrstandardcode": {
  22886. "description": "现货商品代码",
  22887. "type": "string"
  22888. },
  22889. "wrstandardid": {
  22890. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22891. "type": "integer"
  22892. },
  22893. "wrstandardname": {
  22894. "description": "现货商品名称",
  22895. "type": "string"
  22896. }
  22897. }
  22898. },
  22899. "models.Ermcp3AreaSpotPLReport": {
  22900. "type": "object",
  22901. "properties": {
  22902. "accountid": {
  22903. "description": "期货账户ID (作废, 默认为0)",
  22904. "type": "integer"
  22905. },
  22906. "accountname": {
  22907. "description": "机构名称",
  22908. "type": "string"
  22909. },
  22910. "actualpl": {
  22911. "description": "现货损益",
  22912. "type": "number"
  22913. },
  22914. "areauserid": {
  22915. "description": "所属机构\\交易用户ID",
  22916. "type": "integer"
  22917. },
  22918. "begindate": {
  22919. "description": "开始交易日",
  22920. "type": "string"
  22921. },
  22922. "biztype": {
  22923. "description": "业务类型 - 1:套保 2:套利",
  22924. "type": "integer"
  22925. },
  22926. "brandname": {
  22927. "description": "品牌名称",
  22928. "type": "string"
  22929. },
  22930. "curamount": {
  22931. "description": "期末额",
  22932. "type": "number"
  22933. },
  22934. "curaverageprice": {
  22935. "description": "期初均价",
  22936. "type": "number"
  22937. },
  22938. "curbuyamount": {
  22939. "description": "期末采购总额",
  22940. "type": "number"
  22941. },
  22942. "curbuyqty": {
  22943. "description": "期末采购总量",
  22944. "type": "number"
  22945. },
  22946. "curmarketvalue": {
  22947. "description": "期初均价",
  22948. "type": "number"
  22949. },
  22950. "curqty": {
  22951. "description": "期末量",
  22952. "type": "number"
  22953. },
  22954. "currencyid": {
  22955. "description": "结算币种ID【原值】",
  22956. "type": "integer"
  22957. },
  22958. "currencyname": {
  22959. "description": "币种名称",
  22960. "type": "string"
  22961. },
  22962. "cursellamount": {
  22963. "description": "期末销售总额",
  22964. "type": "number"
  22965. },
  22966. "cursellqty": {
  22967. "description": "期末销售总量",
  22968. "type": "number"
  22969. },
  22970. "curspotprice": {
  22971. "description": "期初均价",
  22972. "type": "number"
  22973. },
  22974. "cycletime": {
  22975. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22976. "type": "string"
  22977. },
  22978. "cycletype": {
  22979. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22980. "type": "integer"
  22981. },
  22982. "deliverygoodscode": {
  22983. "description": "现货品种代码",
  22984. "type": "string"
  22985. },
  22986. "deliverygoodsid": {
  22987. "description": "现货品种ID",
  22988. "type": "integer"
  22989. },
  22990. "deliverygoodsname": {
  22991. "description": "现货品种名称",
  22992. "type": "string"
  22993. },
  22994. "enddate": {
  22995. "description": "结束交易日",
  22996. "type": "string"
  22997. },
  22998. "enumdicname": {
  22999. "description": "现货品种单位名称(作废)",
  23000. "type": "string"
  23001. },
  23002. "floatpl": {
  23003. "description": "期初均价",
  23004. "type": "number"
  23005. },
  23006. "goodsunitid": {
  23007. "description": "现货品种单位id(作废)",
  23008. "type": "integer"
  23009. },
  23010. "oriamount": {
  23011. "description": "期初额",
  23012. "type": "number"
  23013. },
  23014. "oriaverageprice": {
  23015. "description": "期初均价",
  23016. "type": "number"
  23017. },
  23018. "oribuyamount": {
  23019. "description": "期初采购总额",
  23020. "type": "number"
  23021. },
  23022. "oribuyqty": {
  23023. "description": "期初采购总量",
  23024. "type": "number"
  23025. },
  23026. "oriqty": {
  23027. "description": "期初量",
  23028. "type": "number"
  23029. },
  23030. "orisellamount": {
  23031. "description": "期初销售总额",
  23032. "type": "number"
  23033. },
  23034. "orisellqty": {
  23035. "description": "期初销售总量",
  23036. "type": "number"
  23037. },
  23038. "reckondate": {
  23039. "description": "日照时期(yyyyMMdd)",
  23040. "type": "string"
  23041. },
  23042. "spotgoodsbrandid": {
  23043. "description": "现货品牌ID",
  23044. "type": "integer"
  23045. },
  23046. "todaybuyamount": {
  23047. "description": "今日采购额(今采购额)",
  23048. "type": "number"
  23049. },
  23050. "todaybuyaverageprice": {
  23051. "description": "期初均价",
  23052. "type": "number"
  23053. },
  23054. "todaybuyqty": {
  23055. "description": "今日采购量(今采购量)",
  23056. "type": "number"
  23057. },
  23058. "todayinqty": {
  23059. "description": "今日入库量(今入库量)",
  23060. "type": "number"
  23061. },
  23062. "todayoutqty": {
  23063. "description": "今日出库量(今出库量)",
  23064. "type": "number"
  23065. },
  23066. "todaysellamount": {
  23067. "description": "今日销售额(今销售额)",
  23068. "type": "number"
  23069. },
  23070. "todaysellaverageprice": {
  23071. "description": "期初均价",
  23072. "type": "number"
  23073. },
  23074. "todaysellqty": {
  23075. "description": "今日销售量(今销售量)",
  23076. "type": "number"
  23077. },
  23078. "unitid": {
  23079. "description": "品类单位id",
  23080. "type": "integer"
  23081. },
  23082. "unitidname": {
  23083. "description": "品类单位名称",
  23084. "type": "string"
  23085. },
  23086. "updatetime": {
  23087. "description": "更新时间",
  23088. "type": "string"
  23089. },
  23090. "wrfactortypeid": {
  23091. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23092. "type": "integer"
  23093. },
  23094. "wrstandardcode": {
  23095. "description": "现货商品(品类)代码",
  23096. "type": "string"
  23097. },
  23098. "wrstandardid": {
  23099. "description": "现货品类ID",
  23100. "type": "integer"
  23101. },
  23102. "wrstandardname": {
  23103. "description": "现货商品(品类)名称",
  23104. "type": "string"
  23105. }
  23106. }
  23107. },
  23108. "models.Ermcp3AreaStock": {
  23109. "type": "object",
  23110. "required": [
  23111. "userid"
  23112. ],
  23113. "properties": {
  23114. "brandname": {
  23115. "description": "品牌名称",
  23116. "type": "string"
  23117. },
  23118. "curstock": {
  23119. "description": "期末库存量(今日量)",
  23120. "type": "number"
  23121. },
  23122. "deliverygoodscode": {
  23123. "description": "现货品种代码",
  23124. "type": "string"
  23125. },
  23126. "deliverygoodsid": {
  23127. "description": "现货品种id",
  23128. "type": "integer"
  23129. },
  23130. "deliverygoodsname": {
  23131. "description": "现货品种名称",
  23132. "type": "string"
  23133. },
  23134. "enumdicname": {
  23135. "description": "单位名称",
  23136. "type": "string"
  23137. },
  23138. "goodsunitid": {
  23139. "description": "现货商品单位id",
  23140. "type": "integer"
  23141. },
  23142. "oristock": {
  23143. "description": "期初库存量(昨日量)",
  23144. "type": "number"
  23145. },
  23146. "spotgoodsbrandid": {
  23147. "description": "现货品牌ID",
  23148. "type": "integer"
  23149. },
  23150. "todaybuyinqty": {
  23151. "description": "今日采购入库量",
  23152. "type": "number"
  23153. },
  23154. "todayproduceinqty": {
  23155. "description": "今日生产入库量",
  23156. "type": "number"
  23157. },
  23158. "todayproduceoutqty": {
  23159. "description": "今日生产出库量",
  23160. "type": "number"
  23161. },
  23162. "todayselloutqty": {
  23163. "description": "今日销售出库量",
  23164. "type": "number"
  23165. },
  23166. "unitid": {
  23167. "description": "单位id",
  23168. "type": "integer"
  23169. },
  23170. "updatetime": {
  23171. "description": "更新时间",
  23172. "type": "string"
  23173. },
  23174. "userid": {
  23175. "description": "机构ID",
  23176. "type": "integer"
  23177. },
  23178. "username": {
  23179. "description": "机构名称",
  23180. "type": "string"
  23181. },
  23182. "warehousecode": {
  23183. "description": "仓库代码",
  23184. "type": "string"
  23185. },
  23186. "warehouseinfoid": {
  23187. "description": "仓库ID",
  23188. "type": "string"
  23189. },
  23190. "warehousename": {
  23191. "description": "仓库名称",
  23192. "type": "string"
  23193. },
  23194. "warehousetype": {
  23195. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23196. "type": "integer"
  23197. },
  23198. "wrstandardcode": {
  23199. "description": "品类代码",
  23200. "type": "string"
  23201. },
  23202. "wrstandardid": {
  23203. "description": "品类ID",
  23204. "type": "string"
  23205. },
  23206. "wrstandardname": {
  23207. "description": "品类名称",
  23208. "type": "string"
  23209. }
  23210. }
  23211. },
  23212. "models.Ermcp3AreaStockApply": {
  23213. "type": "object",
  23214. "properties": {
  23215. "applyid": {
  23216. "description": "申请人",
  23217. "type": "integer"
  23218. },
  23219. "applyname": {
  23220. "description": "申请人名称",
  23221. "type": "string"
  23222. },
  23223. "applyremark": {
  23224. "description": "申请备注",
  23225. "type": "string"
  23226. },
  23227. "applysrc": {
  23228. "description": "申请来源 - 1:管理端 2:终端",
  23229. "type": "integer"
  23230. },
  23231. "applystatus": {
  23232. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23233. "type": "integer"
  23234. },
  23235. "applytime": {
  23236. "description": "申请时间",
  23237. "type": "string"
  23238. },
  23239. "auditid": {
  23240. "description": "审核人",
  23241. "type": "integer"
  23242. },
  23243. "auditname": {
  23244. "description": "审核人名称",
  23245. "type": "string"
  23246. },
  23247. "auditremark": {
  23248. "description": "审核备注",
  23249. "type": "string"
  23250. },
  23251. "auditsrc": {
  23252. "description": "审核来源 - 1:管理端 2:终端",
  23253. "type": "integer"
  23254. },
  23255. "audittime": {
  23256. "description": "审核时间",
  23257. "type": "string"
  23258. },
  23259. "audittradedate": {
  23260. "description": "审核交易日(yyyyMMdd)",
  23261. "type": "string"
  23262. },
  23263. "brandname": {
  23264. "description": "品牌名称",
  23265. "type": "string"
  23266. },
  23267. "buynickname": {
  23268. "description": "采购方昵称",
  23269. "type": "string"
  23270. },
  23271. "buyuserid": {
  23272. "description": "采购方userid",
  23273. "type": "integer"
  23274. },
  23275. "buyusername": {
  23276. "description": "采购方名称",
  23277. "type": "string"
  23278. },
  23279. "contractno": {
  23280. "description": "合同编号",
  23281. "type": "string"
  23282. },
  23283. "contractqty": {
  23284. "description": "合同量",
  23285. "type": "number"
  23286. },
  23287. "contracttype": {
  23288. "description": "现货合同类型 - 1:采购 -1:销售",
  23289. "type": "integer"
  23290. },
  23291. "deliverygoodscode": {
  23292. "description": "现货品种代码",
  23293. "type": "string"
  23294. },
  23295. "deliverygoodsid": {
  23296. "description": "现货品种id",
  23297. "type": "integer"
  23298. },
  23299. "deliverygoodsname": {
  23300. "description": "现货品种名称",
  23301. "type": "string"
  23302. },
  23303. "detailjson": {
  23304. "description": "明细数据",
  23305. "type": "string"
  23306. },
  23307. "enumdicname": {
  23308. "description": "现货商品单位名称",
  23309. "type": "string"
  23310. },
  23311. "inoutapplyid": {
  23312. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  23313. "type": "string"
  23314. },
  23315. "inouttype": {
  23316. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23317. "type": "integer"
  23318. },
  23319. "pricetype": {
  23320. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23321. "type": "integer"
  23322. },
  23323. "qty": {
  23324. "description": "数量",
  23325. "type": "number"
  23326. },
  23327. "sellnickname": {
  23328. "description": "销售方昵称",
  23329. "type": "string"
  23330. },
  23331. "selluserid": {
  23332. "description": "销售方userid",
  23333. "type": "integer"
  23334. },
  23335. "sellusername": {
  23336. "description": "销售方名称",
  23337. "type": "string"
  23338. },
  23339. "spotcontractid": {
  23340. "description": "关联现货合同ID",
  23341. "type": "string"
  23342. },
  23343. "spotgoodsbrandid": {
  23344. "description": "现货品牌ID",
  23345. "type": "integer"
  23346. },
  23347. "unitid": {
  23348. "description": "单位id",
  23349. "type": "integer"
  23350. },
  23351. "userid": {
  23352. "description": "机构ID",
  23353. "type": "integer"
  23354. },
  23355. "warehousecode": {
  23356. "description": "仓库代码",
  23357. "type": "string"
  23358. },
  23359. "warehouseinfoid": {
  23360. "description": "现货仓库ID",
  23361. "type": "string"
  23362. },
  23363. "warehousename": {
  23364. "description": "仓库名称",
  23365. "type": "string"
  23366. },
  23367. "warehousetype": {
  23368. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23369. "type": "integer"
  23370. },
  23371. "wrstandardcode": {
  23372. "description": "品类代码",
  23373. "type": "string"
  23374. },
  23375. "wrstandardid": {
  23376. "description": "品类ID",
  23377. "type": "integer"
  23378. },
  23379. "wrstandardname": {
  23380. "description": "品类名称",
  23381. "type": "string"
  23382. }
  23383. }
  23384. },
  23385. "models.Ermcp3AreaStockApplySum": {
  23386. "type": "object",
  23387. "properties": {
  23388. "brandname": {
  23389. "description": "品牌名称",
  23390. "type": "string"
  23391. },
  23392. "inouttype": {
  23393. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23394. "type": "integer"
  23395. },
  23396. "spotcontractid": {
  23397. "description": "关联现货合同ID",
  23398. "type": "string"
  23399. },
  23400. "spotgoodsbrandid": {
  23401. "description": "品牌id",
  23402. "type": "integer"
  23403. },
  23404. "totalqty": {
  23405. "description": "总数量",
  23406. "type": "number"
  23407. },
  23408. "wrstandardid": {
  23409. "description": "品类id",
  23410. "type": "integer"
  23411. },
  23412. "wrstandardname": {
  23413. "description": "品类名称",
  23414. "type": "string"
  23415. }
  23416. }
  23417. },
  23418. "models.Ermcp3AreaStockReportEx": {
  23419. "type": "object",
  23420. "properties": {
  23421. "begindate": {
  23422. "description": "开始交易日",
  23423. "type": "string"
  23424. },
  23425. "brandname": {
  23426. "description": "品牌名称",
  23427. "type": "string"
  23428. },
  23429. "curstock": {
  23430. "description": "期末库存量",
  23431. "type": "number"
  23432. },
  23433. "cycletime": {
  23434. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23435. "type": "string"
  23436. },
  23437. "cycletype": {
  23438. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23439. "type": "integer"
  23440. },
  23441. "deliverygoodscode": {
  23442. "description": "现货品种代码",
  23443. "type": "string"
  23444. },
  23445. "deliverygoodsid": {
  23446. "description": "现货品种id",
  23447. "type": "integer"
  23448. },
  23449. "deliverygoodsname": {
  23450. "description": "现货品种名称",
  23451. "type": "string"
  23452. },
  23453. "diffqty": {
  23454. "description": "库存变化量 = 期末 - 期初",
  23455. "type": "number"
  23456. },
  23457. "enddate": {
  23458. "description": "结束交易日",
  23459. "type": "string"
  23460. },
  23461. "enumdicname": {
  23462. "description": "单位名称",
  23463. "type": "string"
  23464. },
  23465. "goodsunitid": {
  23466. "description": "现货单位id",
  23467. "type": "integer"
  23468. },
  23469. "oristock": {
  23470. "description": "期初库存量",
  23471. "type": "number"
  23472. },
  23473. "reckondate": {
  23474. "description": "日照时期(yyyyMMdd)",
  23475. "type": "string"
  23476. },
  23477. "spotgoodsbrandid": {
  23478. "description": "现货品牌ID",
  23479. "type": "integer"
  23480. },
  23481. "todaybuyinqty": {
  23482. "description": "今采购入库量",
  23483. "type": "number"
  23484. },
  23485. "todayproduceinqty": {
  23486. "description": "今内部入库量",
  23487. "type": "number"
  23488. },
  23489. "todayproduceoutqty": {
  23490. "description": "今内部出库量",
  23491. "type": "number"
  23492. },
  23493. "todayselloutqty": {
  23494. "description": "今销售出库量",
  23495. "type": "number"
  23496. },
  23497. "unbuyinqty": {
  23498. "description": "采购未入库量(数据库未找到相关字段?)",
  23499. "type": "number"
  23500. },
  23501. "unitid": {
  23502. "description": "品类单位id",
  23503. "type": "integer"
  23504. },
  23505. "unselloutqty": {
  23506. "description": "销售未出库量(数据库未找到相关字段?)",
  23507. "type": "number"
  23508. },
  23509. "updatetime": {
  23510. "description": "更新时间",
  23511. "type": "string"
  23512. },
  23513. "userid": {
  23514. "description": "机构ID",
  23515. "type": "integer"
  23516. },
  23517. "username": {
  23518. "description": "机构名称",
  23519. "type": "string"
  23520. },
  23521. "warehousecode": {
  23522. "description": "仓库代码",
  23523. "type": "string"
  23524. },
  23525. "warehouseinfoid": {
  23526. "description": "仓库ID",
  23527. "type": "string"
  23528. },
  23529. "warehousename": {
  23530. "description": "仓库名称",
  23531. "type": "string"
  23532. },
  23533. "warehousetype": {
  23534. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23535. "type": "integer"
  23536. },
  23537. "wrstandardcode": {
  23538. "description": "品类代码",
  23539. "type": "string"
  23540. },
  23541. "wrstandardid": {
  23542. "description": "品类ID",
  23543. "type": "integer"
  23544. },
  23545. "wrstandardname": {
  23546. "description": "品类名称",
  23547. "type": "string"
  23548. }
  23549. }
  23550. },
  23551. "models.Ermcp3ArealSumPL": {
  23552. "type": "object",
  23553. "properties": {
  23554. "accountname": {
  23555. "description": "机构名称",
  23556. "type": "string"
  23557. },
  23558. "areauserid": {
  23559. "description": "所属机构\\交易用户ID",
  23560. "type": "integer"
  23561. },
  23562. "begindate": {
  23563. "description": "开始交易日",
  23564. "type": "string"
  23565. },
  23566. "currencyid": {
  23567. "description": "结算币种ID",
  23568. "type": "integer"
  23569. },
  23570. "currencyname": {
  23571. "description": "币种名称",
  23572. "type": "string"
  23573. },
  23574. "cycletime": {
  23575. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23576. "type": "string"
  23577. },
  23578. "cycletype": {
  23579. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23580. "type": "integer"
  23581. },
  23582. "enddate": {
  23583. "description": "结束交易日",
  23584. "type": "string"
  23585. },
  23586. "enumdicname": {
  23587. "description": "单位名称(套保品种)",
  23588. "type": "string"
  23589. },
  23590. "futureactualpl": {
  23591. "description": "期货损益",
  23592. "type": "number"
  23593. },
  23594. "futurefloatpl": {
  23595. "description": "期货浮动损益",
  23596. "type": "number"
  23597. },
  23598. "futurespotratio": {
  23599. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23600. "type": "number"
  23601. },
  23602. "goodsunitid": {
  23603. "description": "套保品种单位id",
  23604. "type": "integer"
  23605. },
  23606. "hedgeexposurepl": {
  23607. "description": "套保敞口损益",
  23608. "type": "number"
  23609. },
  23610. "middlegoodscode": {
  23611. "description": "套保品种代码",
  23612. "type": "string"
  23613. },
  23614. "middlegoodsid": {
  23615. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23616. "type": "integer"
  23617. },
  23618. "middlegoodsname": {
  23619. "description": "套保品种名称",
  23620. "type": "string"
  23621. },
  23622. "reckondate": {
  23623. "description": "日照时期(yyyyMMdd)",
  23624. "type": "string"
  23625. },
  23626. "spotactualpl": {
  23627. "description": "现货损益",
  23628. "type": "number"
  23629. },
  23630. "spotfloatpl": {
  23631. "description": "现货浮动损益",
  23632. "type": "number"
  23633. },
  23634. "sumactualpl": {
  23635. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23636. "type": "number"
  23637. },
  23638. "sumpl": {
  23639. "description": "总敞口损益 | 汇总损益",
  23640. "type": "number"
  23641. },
  23642. "totalfutureqty": {
  23643. "description": "期货头寸总量",
  23644. "type": "number"
  23645. },
  23646. "totalneedhedgeqty": {
  23647. "description": "应套保总量",
  23648. "type": "number"
  23649. },
  23650. "totalspotqty": {
  23651. "description": "现货头寸总量",
  23652. "type": "number"
  23653. },
  23654. "updatetime": {
  23655. "description": "更新时间",
  23656. "type": "string"
  23657. }
  23658. }
  23659. },
  23660. "models.Ermcp3Brand": {
  23661. "type": "object",
  23662. "properties": {
  23663. "areauserid": {
  23664. "description": "用户id",
  23665. "type": "integer"
  23666. },
  23667. "brandid": {
  23668. "description": "品牌id",
  23669. "type": "integer"
  23670. },
  23671. "brandname": {
  23672. "description": "品牌名称",
  23673. "type": "string"
  23674. },
  23675. "deliverygoodsid": {
  23676. "description": "品种ID",
  23677. "type": "integer"
  23678. },
  23679. "isvalid": {
  23680. "description": "是否有效",
  23681. "type": "integer"
  23682. }
  23683. }
  23684. },
  23685. "models.Ermcp3Contract": {
  23686. "type": "object",
  23687. "properties": {
  23688. "accountid": {
  23689. "description": "期货账户id",
  23690. "type": "string"
  23691. },
  23692. "amount": {
  23693. "description": "金额 [1:一口价、3:暂定价]",
  23694. "type": "number"
  23695. },
  23696. "attachment": {
  23697. "description": "附件",
  23698. "type": "string"
  23699. },
  23700. "auditremark": {
  23701. "description": "审核意见",
  23702. "type": "string"
  23703. },
  23704. "audittime": {
  23705. "description": "审核时间",
  23706. "type": "string"
  23707. },
  23708. "biztype": {
  23709. "description": "业务类型 1-套保 2-套利",
  23710. "type": "integer"
  23711. },
  23712. "brandname": {
  23713. "description": "品牌名称",
  23714. "type": "string"
  23715. },
  23716. "buynickname": {
  23717. "description": "销售方昵称",
  23718. "type": "string"
  23719. },
  23720. "buyuserid": {
  23721. "description": "采购方ID",
  23722. "type": "integer"
  23723. },
  23724. "buyusername": {
  23725. "description": "采购方名称",
  23726. "type": "string"
  23727. },
  23728. "contracctstatus": {
  23729. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23730. "type": "integer"
  23731. },
  23732. "contractmargin": {
  23733. "description": "合同保证金",
  23734. "type": "number"
  23735. },
  23736. "contractno": {
  23737. "description": "现货合同编号",
  23738. "type": "string"
  23739. },
  23740. "contracttype": {
  23741. "description": "现货合同类型 - 1:采购 -1:销售",
  23742. "type": "integer"
  23743. },
  23744. "convertfactor": {
  23745. "description": "标仓系数(品类)",
  23746. "type": "number"
  23747. },
  23748. "createtime": {
  23749. "description": "创建时间",
  23750. "type": "string"
  23751. },
  23752. "currencyid": {
  23753. "description": "币种id",
  23754. "type": "integer"
  23755. },
  23756. "currencyname": {
  23757. "description": "币种名称",
  23758. "type": "string"
  23759. },
  23760. "deliveryenddate": {
  23761. "description": "交收期(结束)",
  23762. "type": "string"
  23763. },
  23764. "deliverygoodscode": {
  23765. "description": "现货品种代码",
  23766. "type": "string"
  23767. },
  23768. "deliverygoodsid": {
  23769. "description": "现货品种ID",
  23770. "type": "integer"
  23771. },
  23772. "deliverygoodsname": {
  23773. "description": "现货品种名称",
  23774. "type": "string"
  23775. },
  23776. "deliverystartdate": {
  23777. "description": "交收期(开始)",
  23778. "type": "string"
  23779. },
  23780. "enddate": {
  23781. "description": "点价结束日期 [2:点价 3:暂定价]",
  23782. "type": "string"
  23783. },
  23784. "enumdicname": {
  23785. "description": "单位名称",
  23786. "type": "string"
  23787. },
  23788. "goodscode": {
  23789. "description": "点价合约代码",
  23790. "type": "string"
  23791. },
  23792. "goodsid": {
  23793. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23794. "type": "integer"
  23795. },
  23796. "goodsname": {
  23797. "description": "点价商品名称",
  23798. "type": "string"
  23799. },
  23800. "margin": {
  23801. "description": "当前保证金",
  23802. "type": "number"
  23803. },
  23804. "meruserid": {
  23805. "description": "跟单员id",
  23806. "type": "integer"
  23807. },
  23808. "meruserlogincode": {
  23809. "description": "跟单员登录代码",
  23810. "type": "string"
  23811. },
  23812. "merusername": {
  23813. "description": "跟单员名称",
  23814. "type": "string"
  23815. },
  23816. "pointdesc": {
  23817. "description": "点价备注",
  23818. "type": "string"
  23819. },
  23820. "price": {
  23821. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23822. "type": "number"
  23823. },
  23824. "pricemove": {
  23825. "description": "升贴水 [2:点价 3:暂定价]",
  23826. "type": "number"
  23827. },
  23828. "pricetype": {
  23829. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23830. "type": "integer"
  23831. },
  23832. "producttype": {
  23833. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23834. "type": "integer"
  23835. },
  23836. "qty": {
  23837. "description": "数量",
  23838. "type": "number"
  23839. },
  23840. "remark": {
  23841. "description": "备注",
  23842. "type": "string"
  23843. },
  23844. "saleuserid": {
  23845. "description": "业务员id",
  23846. "type": "integer"
  23847. },
  23848. "saleuserlogincode": {
  23849. "description": "业务员登录代码",
  23850. "type": "string"
  23851. },
  23852. "saleusername": {
  23853. "description": "业务员名称",
  23854. "type": "string"
  23855. },
  23856. "sellnickname": {
  23857. "description": "采购方昵称",
  23858. "type": "string"
  23859. },
  23860. "selluserid": {
  23861. "description": "销售方ID",
  23862. "type": "integer"
  23863. },
  23864. "sellusername": {
  23865. "description": "销售方名称",
  23866. "type": "string"
  23867. },
  23868. "spotcontractid": {
  23869. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23870. "type": "string"
  23871. },
  23872. "spotgoodsbrandid": {
  23873. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23874. "type": "integer"
  23875. },
  23876. "spotgoodsdesc": {
  23877. "description": "商品型号",
  23878. "type": "string"
  23879. },
  23880. "startdate": {
  23881. "description": "点价开始日期 [2:点价 3:暂定价]",
  23882. "type": "string"
  23883. },
  23884. "subjectid": {
  23885. "description": "交易主体ID",
  23886. "type": "integer"
  23887. },
  23888. "subjectname": {
  23889. "description": "交易主体名称",
  23890. "type": "string"
  23891. },
  23892. "tradeuserid": {
  23893. "description": "交易员id",
  23894. "type": "integer"
  23895. },
  23896. "tradeuserlogincode": {
  23897. "description": "交易员登录代码",
  23898. "type": "string"
  23899. },
  23900. "tradeusername": {
  23901. "description": "交易员名称",
  23902. "type": "string"
  23903. },
  23904. "unitid": {
  23905. "description": "单位id(取品类上的单位id)",
  23906. "type": "integer"
  23907. },
  23908. "updatetime": {
  23909. "description": "更新时间",
  23910. "type": "string"
  23911. },
  23912. "userid": {
  23913. "description": "所属机构ID",
  23914. "type": "integer"
  23915. },
  23916. "vatrate": {
  23917. "description": "增值税率",
  23918. "type": "number"
  23919. },
  23920. "wrstandardcode": {
  23921. "description": "品类代码",
  23922. "type": "string"
  23923. },
  23924. "wrstandardid": {
  23925. "description": "品类ID",
  23926. "type": "integer"
  23927. },
  23928. "wrstandardname": {
  23929. "description": "品类名称",
  23930. "type": "string"
  23931. }
  23932. }
  23933. },
  23934. "models.Ermcp3ContractMiddleGoodsCfg": {
  23935. "type": "object",
  23936. "properties": {
  23937. "agreeunit": {
  23938. "description": "合约乘数",
  23939. "type": "number"
  23940. },
  23941. "convertratio": {
  23942. "description": "期货品种系数",
  23943. "type": "number"
  23944. },
  23945. "covertqty": {
  23946. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23947. "type": "integer"
  23948. },
  23949. "middlegoodsid": {
  23950. "description": "套保品种ID",
  23951. "type": "integer"
  23952. },
  23953. "middlegoodspricedqty3": {
  23954. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23955. "type": "string",
  23956. "example": "0"
  23957. },
  23958. "pendingpricedqty": {
  23959. "description": "待点价量",
  23960. "type": "string",
  23961. "example": "0"
  23962. },
  23963. "relatedmiddlegoodsqty": {
  23964. "description": "已关联量(套保品种-期货)",
  23965. "type": "string",
  23966. "example": "0"
  23967. },
  23968. "spotcontractid": {
  23969. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23970. "type": "string"
  23971. }
  23972. }
  23973. },
  23974. "models.Ermcp3ExposureContractDetail": {
  23975. "type": "object",
  23976. "properties": {
  23977. "biztype": {
  23978. "description": "业务类型 1-套保 2-套利",
  23979. "type": "integer"
  23980. },
  23981. "brandname": {
  23982. "description": "品牌名称",
  23983. "type": "string"
  23984. },
  23985. "buyuserid": {
  23986. "description": "采购方id",
  23987. "type": "integer"
  23988. },
  23989. "buyusername": {
  23990. "description": "采购方名称",
  23991. "type": "string"
  23992. },
  23993. "contractno": {
  23994. "description": "合同编号",
  23995. "type": "string"
  23996. },
  23997. "contracttype": {
  23998. "description": "现货合同类型 - 1:采购 -1:销售",
  23999. "type": "integer"
  24000. },
  24001. "convertfactor": {
  24002. "description": "标仓系数",
  24003. "type": "number"
  24004. },
  24005. "convertratio": {
  24006. "description": "折算系数(套保品种)",
  24007. "type": "number"
  24008. },
  24009. "curqty": {
  24010. "description": "今定价量",
  24011. "type": "number"
  24012. },
  24013. "deliverygoodscode": {
  24014. "description": "现货品种代码",
  24015. "type": "string"
  24016. },
  24017. "deliverygoodsid": {
  24018. "description": "现货品种id",
  24019. "type": "integer"
  24020. },
  24021. "deliverygoodsname": {
  24022. "description": "现货品种名称",
  24023. "type": "string"
  24024. },
  24025. "diffhedgeqty": {
  24026. "description": "套保变动量",
  24027. "type": "number"
  24028. },
  24029. "diffneedhedgeqty": {
  24030. "description": "应套保变动量",
  24031. "type": "number"
  24032. },
  24033. "diffqty": {
  24034. "description": "套保品种今变动量",
  24035. "type": "number"
  24036. },
  24037. "enumdicname": {
  24038. "description": "单位名称",
  24039. "type": "string"
  24040. },
  24041. "mgunitname": {
  24042. "description": "套保品种单位名称",
  24043. "type": "string"
  24044. },
  24045. "middlegoodscode": {
  24046. "description": "套保品种代码",
  24047. "type": "string"
  24048. },
  24049. "middlegoodsid": {
  24050. "description": "套保品种id",
  24051. "type": "integer"
  24052. },
  24053. "middlegoodsname": {
  24054. "description": "套保品种名称",
  24055. "type": "string"
  24056. },
  24057. "needarbitrageratio": {
  24058. "description": "应套利比例",
  24059. "type": "number"
  24060. },
  24061. "needhedgeratio": {
  24062. "description": "应套保比例",
  24063. "type": "number"
  24064. },
  24065. "pricedqty": {
  24066. "description": "已定价量",
  24067. "type": "number"
  24068. },
  24069. "qty": {
  24070. "description": "合同量",
  24071. "type": "number"
  24072. },
  24073. "reckondate": {
  24074. "description": "交易日(reckondate)",
  24075. "type": "string"
  24076. },
  24077. "selluserid": {
  24078. "description": "销售方id",
  24079. "type": "integer"
  24080. },
  24081. "sellusername": {
  24082. "description": "销售方名称",
  24083. "type": "string"
  24084. },
  24085. "spotcontractid": {
  24086. "description": "合同id",
  24087. "type": "string"
  24088. },
  24089. "todaypricedqty": {
  24090. "description": "今定价量",
  24091. "type": "number"
  24092. },
  24093. "tradedate": {
  24094. "description": "交易日",
  24095. "type": "string"
  24096. },
  24097. "unitid": {
  24098. "description": "品类单位id",
  24099. "type": "integer"
  24100. },
  24101. "userid": {
  24102. "description": "机构id",
  24103. "type": "integer"
  24104. },
  24105. "username": {
  24106. "description": "交易用户",
  24107. "type": "string"
  24108. },
  24109. "wrstandardcode": {
  24110. "description": "现货商品代码",
  24111. "type": "string"
  24112. },
  24113. "wrstandardid": {
  24114. "description": "现货商品id",
  24115. "type": "integer"
  24116. },
  24117. "wrstandardname": {
  24118. "description": "现货商品名称",
  24119. "type": "string"
  24120. }
  24121. }
  24122. },
  24123. "models.Ermcp3ExposureDetail": {
  24124. "type": "object",
  24125. "properties": {
  24126. "areauserid": {
  24127. "description": "机构ID",
  24128. "type": "integer"
  24129. },
  24130. "changeQty": {
  24131. "description": "套保变动量",
  24132. "type": "number"
  24133. },
  24134. "contracttype": {
  24135. "description": "现货合同类型 - 1:采购 -1:销售",
  24136. "type": "integer"
  24137. },
  24138. "convertfactor": {
  24139. "description": "标仓系数",
  24140. "type": "number"
  24141. },
  24142. "convertratio": {
  24143. "description": "折算系数",
  24144. "type": "number"
  24145. },
  24146. "createtime": {
  24147. "description": "时间",
  24148. "type": "string"
  24149. },
  24150. "enumdicname": {
  24151. "description": "现货商品单位名称",
  24152. "type": "string"
  24153. },
  24154. "logtype": {
  24155. "description": "类型 - 1:套保计划 2:现货合同",
  24156. "type": "integer"
  24157. },
  24158. "mgunitid": {
  24159. "description": "套保品种单位id",
  24160. "type": "integer"
  24161. },
  24162. "mgunitidname": {
  24163. "description": "套保品种单位名称",
  24164. "type": "string"
  24165. },
  24166. "middlegoodsId": {
  24167. "description": "套保商品id",
  24168. "type": "integer"
  24169. },
  24170. "middlegoodscode": {
  24171. "description": "套保商品代码",
  24172. "type": "string"
  24173. },
  24174. "middlegoodsname": {
  24175. "description": "套保商品名称",
  24176. "type": "string"
  24177. },
  24178. "qty": {
  24179. "description": "数量",
  24180. "type": "number"
  24181. },
  24182. "relateNo": {
  24183. "description": "现货合同/套保计划编号",
  24184. "type": "string"
  24185. },
  24186. "unitid": {
  24187. "description": "现货商品单位id",
  24188. "type": "integer"
  24189. },
  24190. "wrstandardcode": {
  24191. "description": "现货商品代码",
  24192. "type": "string"
  24193. },
  24194. "wrstandardid": {
  24195. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24196. "type": "integer"
  24197. },
  24198. "wrstandardname": {
  24199. "description": "现货商品名称",
  24200. "type": "string"
  24201. }
  24202. }
  24203. },
  24204. "models.Ermcp3ExposureFutuDetail": {
  24205. "type": "object",
  24206. "properties": {
  24207. "accountid": {
  24208. "description": "交易账户id",
  24209. "type": "integer"
  24210. },
  24211. "accountname": {
  24212. "description": "交易账户",
  24213. "type": "string"
  24214. },
  24215. "begindate": {
  24216. "description": "开始交易日",
  24217. "type": "string"
  24218. },
  24219. "buyorsell": {
  24220. "description": "方向 0-买 1-卖",
  24221. "type": "integer"
  24222. },
  24223. "diffmgqty": {
  24224. "description": "套保品种今变化量",
  24225. "type": "number"
  24226. },
  24227. "diffneedqty": {
  24228. "description": "应套保总量变化量",
  24229. "type": "number"
  24230. },
  24231. "difftradeqty": {
  24232. "description": "交易品种今变化量",
  24233. "type": "number"
  24234. },
  24235. "enddate": {
  24236. "description": "结束交易日",
  24237. "type": "string"
  24238. },
  24239. "enumdicname": {
  24240. "description": "单位名称",
  24241. "type": "string"
  24242. },
  24243. "goodscode": {
  24244. "description": "商品代码",
  24245. "type": "string"
  24246. },
  24247. "goodsid": {
  24248. "description": "商品id",
  24249. "type": "integer"
  24250. },
  24251. "goodsname": {
  24252. "description": "商品名称",
  24253. "type": "string"
  24254. },
  24255. "holdqty": {
  24256. "description": "期末持仓量",
  24257. "type": "number"
  24258. },
  24259. "middlegoodscode": {
  24260. "description": "套保商品代码",
  24261. "type": "string"
  24262. },
  24263. "middlegoodsid": {
  24264. "description": "套保商品id",
  24265. "type": "integer"
  24266. },
  24267. "middlegoodsname": {
  24268. "description": "套保商品名称",
  24269. "type": "string"
  24270. },
  24271. "oriholdqty": {
  24272. "description": "期初持仓量",
  24273. "type": "number"
  24274. },
  24275. "reckondate": {
  24276. "description": "交易日(RECKONDATE)",
  24277. "type": "string"
  24278. },
  24279. "todaycloseqty": {
  24280. "description": "今平仓量",
  24281. "type": "number"
  24282. },
  24283. "todayopenqty": {
  24284. "description": "今开仓量",
  24285. "type": "number"
  24286. },
  24287. "tradedate": {
  24288. "description": "交易日(RECKONDATE)",
  24289. "type": "string"
  24290. },
  24291. "username": {
  24292. "description": "用户名称(交易用户)",
  24293. "type": "string"
  24294. }
  24295. }
  24296. },
  24297. "models.Ermcp3ExposureHedgeplanDetail": {
  24298. "type": "object",
  24299. "properties": {
  24300. "biztype": {
  24301. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  24302. "type": "integer"
  24303. },
  24304. "changqty": {
  24305. "description": "应套保总量变化量",
  24306. "type": "number"
  24307. },
  24308. "contracttype": {
  24309. "description": "计划类型 - 1:采购 -1:销售",
  24310. "type": "integer"
  24311. },
  24312. "convertratio": {
  24313. "description": "折算系数(套保品种)",
  24314. "type": "number"
  24315. },
  24316. "deliverygoodscode": {
  24317. "description": "现货商品代码",
  24318. "type": "string"
  24319. },
  24320. "deliverygoodsid": {
  24321. "description": "现货商品id",
  24322. "type": "integer"
  24323. },
  24324. "deliverygoodsname": {
  24325. "description": "现货商吕名称",
  24326. "type": "string"
  24327. },
  24328. "dgunitid": {
  24329. "description": "现货商品单位id",
  24330. "type": "integer"
  24331. },
  24332. "dgunitidname": {
  24333. "description": "单位名称(现货商品)",
  24334. "type": "string"
  24335. },
  24336. "diffqty": {
  24337. "description": "套保品种今变动量",
  24338. "type": "number"
  24339. },
  24340. "enumdicname": {
  24341. "description": "单位名称(品类)",
  24342. "type": "string"
  24343. },
  24344. "hedgeplanid": {
  24345. "description": "套保计划id",
  24346. "type": "string"
  24347. },
  24348. "hedgeplanno": {
  24349. "description": "套保计划名称",
  24350. "type": "string"
  24351. },
  24352. "hedgeplanstatus": {
  24353. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24354. "type": "integer"
  24355. },
  24356. "mgunitidname": {
  24357. "description": "单位名称(套保商品)",
  24358. "type": "string"
  24359. },
  24360. "middlegoodscode": {
  24361. "description": "套保品种代码",
  24362. "type": "string"
  24363. },
  24364. "middlegoodsid": {
  24365. "description": "套保品种id",
  24366. "type": "integer"
  24367. },
  24368. "middlegoodsname": {
  24369. "description": "套保品种名称",
  24370. "type": "string"
  24371. },
  24372. "needarbitrageratio": {
  24373. "description": "应套利比例",
  24374. "type": "number"
  24375. },
  24376. "needhedgeratio": {
  24377. "description": "应套保比例",
  24378. "type": "number"
  24379. },
  24380. "pricedqty": {
  24381. "description": "已定价量",
  24382. "type": "number"
  24383. },
  24384. "qty": {
  24385. "description": "合同量",
  24386. "type": "number"
  24387. },
  24388. "reckondate": {
  24389. "description": "交易日(reckondate)",
  24390. "type": "string"
  24391. },
  24392. "tradedate": {
  24393. "description": "交易日(登记日)",
  24394. "type": "string"
  24395. },
  24396. "unitid": {
  24397. "description": "品类单位id",
  24398. "type": "integer"
  24399. },
  24400. "userid": {
  24401. "description": "机构id",
  24402. "type": "integer"
  24403. },
  24404. "wrstandardcode": {
  24405. "description": "品类代码",
  24406. "type": "string"
  24407. },
  24408. "wrstandardid": {
  24409. "description": "品类id",
  24410. "type": "integer"
  24411. },
  24412. "wrstandardname": {
  24413. "description": "品类名称",
  24414. "type": "string"
  24415. }
  24416. }
  24417. },
  24418. "models.Ermcp3ExposureParamChLog": {
  24419. "type": "object",
  24420. "properties": {
  24421. "accountid": {
  24422. "description": "期货账户ID (作废, 默认为0)",
  24423. "type": "integer"
  24424. },
  24425. "aftervalue": {
  24426. "description": "应套保\\套利量变更后(调整后应套保总量)",
  24427. "type": "number"
  24428. },
  24429. "areauserid": {
  24430. "description": "所属机构\\交易用户ID",
  24431. "type": "integer"
  24432. },
  24433. "beforevalue": {
  24434. "description": "应套保\\套利量变更前(调整前应套保总量)",
  24435. "type": "number"
  24436. },
  24437. "begindate": {
  24438. "description": "开始交易日",
  24439. "type": "string"
  24440. },
  24441. "changelogtype": {
  24442. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  24443. "type": "integer"
  24444. },
  24445. "curvalue": {
  24446. "description": "当前套保\\套利量(套保总量|套利总量)",
  24447. "type": "number"
  24448. },
  24449. "diffvalue": {
  24450. "description": "应套保总量变化量",
  24451. "type": "number"
  24452. },
  24453. "enddate": {
  24454. "description": "结束交易日",
  24455. "type": "string"
  24456. },
  24457. "logdatetime": {
  24458. "description": "流水日期",
  24459. "type": "string"
  24460. },
  24461. "logid": {
  24462. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  24463. "type": "string"
  24464. },
  24465. "middlegoodscode": {
  24466. "description": "套保品种代码",
  24467. "type": "string"
  24468. },
  24469. "middlegoodsid": {
  24470. "description": "套保品种",
  24471. "type": "integer"
  24472. },
  24473. "middlegoodsname": {
  24474. "description": "套保品种名称",
  24475. "type": "string"
  24476. },
  24477. "paramaftervalue": {
  24478. "description": "参数变更后(调整后参数值)",
  24479. "type": "number"
  24480. },
  24481. "parambeforevalue": {
  24482. "description": "参数变更前(调整前参数值)",
  24483. "type": "number"
  24484. },
  24485. "reckondate": {
  24486. "description": "交易日(reckondate)",
  24487. "type": "string"
  24488. },
  24489. "tradedate": {
  24490. "description": "交易日(yyyyMMdd)",
  24491. "type": "string"
  24492. }
  24493. }
  24494. },
  24495. "models.Ermcp3ExpourseReport": {
  24496. "type": "object",
  24497. "properties": {
  24498. "accountid": {
  24499. "description": "期货账户ID (作废, 默认为0)",
  24500. "type": "integer"
  24501. },
  24502. "accountname": {
  24503. "description": "机构名称",
  24504. "type": "string"
  24505. },
  24506. "arbitrageqty": {
  24507. "description": "套利量",
  24508. "type": "number"
  24509. },
  24510. "areauserid": {
  24511. "description": "所属机构\\交易用户ID",
  24512. "type": "integer"
  24513. },
  24514. "begindate": {
  24515. "description": "开始交易日",
  24516. "type": "string"
  24517. },
  24518. "buyfutureqty": {
  24519. "description": "买入期货数量",
  24520. "type": "number"
  24521. },
  24522. "buyplanqty": {
  24523. "description": "采购计划数量",
  24524. "type": "number"
  24525. },
  24526. "buypricedqty": {
  24527. "description": "采购合同已定价数量",
  24528. "type": "number"
  24529. },
  24530. "cycletime": {
  24531. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24532. "type": "string"
  24533. },
  24534. "cycletype": {
  24535. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24536. "type": "integer"
  24537. },
  24538. "diffexposure": {
  24539. "description": "变动量(套保敞口)",
  24540. "type": "number"
  24541. },
  24542. "difffutuqty": {
  24543. "description": "变动量(期货)",
  24544. "type": "number"
  24545. },
  24546. "diffhedgeqty": {
  24547. "description": "变动量(现货应套保总量)",
  24548. "type": "number"
  24549. },
  24550. "diffmgqtya": {
  24551. "description": "套保变动量",
  24552. "type": "number"
  24553. },
  24554. "diffmgqtyb": {
  24555. "description": "套利变动量",
  24556. "type": "number"
  24557. },
  24558. "diffneedqty": {
  24559. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24560. "type": "number"
  24561. },
  24562. "diffqty": {
  24563. "description": "变动量(总敞口)",
  24564. "type": "number"
  24565. },
  24566. "diffspotqty": {
  24567. "description": "变动量(现货) | 除税变动量",
  24568. "type": "number"
  24569. },
  24570. "enddate": {
  24571. "description": "结束交易日",
  24572. "type": "string"
  24573. },
  24574. "enumdicname": {
  24575. "description": "单位名称",
  24576. "type": "string"
  24577. },
  24578. "hedgeqty": {
  24579. "description": "套保量",
  24580. "type": "number"
  24581. },
  24582. "mgneedhedgeratio": {
  24583. "description": "套保比例(套保品的)",
  24584. "type": "number"
  24585. },
  24586. "middlegoodsid": {
  24587. "description": "套保品种ID",
  24588. "type": "integer"
  24589. },
  24590. "middlegoodsname": {
  24591. "description": "套保商品名称",
  24592. "type": "string"
  24593. },
  24594. "middlgoodscode": {
  24595. "description": "套保商品代码",
  24596. "type": "string"
  24597. },
  24598. "needarbitrageqty": {
  24599. "description": "应套利量",
  24600. "type": "number"
  24601. },
  24602. "needarbitrageratio": {
  24603. "description": "套利比例(套保品的)",
  24604. "type": "number"
  24605. },
  24606. "needhedgeexposoure": {
  24607. "description": "应套保敞口(套保敞口)",
  24608. "type": "number"
  24609. },
  24610. "needhedgeqty": {
  24611. "description": "应套保量",
  24612. "type": "number"
  24613. },
  24614. "needhedgeratio": {
  24615. "description": "应套保敞口比例",
  24616. "type": "number"
  24617. },
  24618. "needqty": {
  24619. "description": "应套总量 = 应套保量 + 应套利量",
  24620. "type": "number"
  24621. },
  24622. "oriarbitrageqty": {
  24623. "description": "期初套利量",
  24624. "type": "number"
  24625. },
  24626. "oribuyfutureqty": {
  24627. "description": "期初买入期货数量",
  24628. "type": "number"
  24629. },
  24630. "oribuyplanqty": {
  24631. "description": "期初采购计划数量",
  24632. "type": "number"
  24633. },
  24634. "oribuypricedqty": {
  24635. "description": "期初采购合同已定价数量",
  24636. "type": "number"
  24637. },
  24638. "orihedgeqty": {
  24639. "description": "期初套保量",
  24640. "type": "number"
  24641. },
  24642. "orineedarbitrageqty": {
  24643. "description": "期初应套利量",
  24644. "type": "number"
  24645. },
  24646. "orineedhedgeexposoure": {
  24647. "description": "期初应套保敞口",
  24648. "type": "number"
  24649. },
  24650. "orineedhedgeqty": {
  24651. "description": "期初应套保量",
  24652. "type": "number"
  24653. },
  24654. "orisellfutureqty": {
  24655. "description": "期初卖出期货数量",
  24656. "type": "number"
  24657. },
  24658. "orisellplanqty": {
  24659. "description": "期初销售计划数量",
  24660. "type": "number"
  24661. },
  24662. "orisellpricedqty": {
  24663. "description": "期初销售合同已定价数量",
  24664. "type": "number"
  24665. },
  24666. "oritotalexposure": {
  24667. "description": "期初实时总敞口",
  24668. "type": "number"
  24669. },
  24670. "oritotalfutureqty": {
  24671. "description": "期初期货头寸总量",
  24672. "type": "number"
  24673. },
  24674. "oritotalneedhedgeqty": {
  24675. "description": "期初应套保总量",
  24676. "type": "number"
  24677. },
  24678. "oritotalspotqty": {
  24679. "description": "期初现货头寸总量",
  24680. "type": "number"
  24681. },
  24682. "reckondate": {
  24683. "description": "日照时期(yyyyMMdd)",
  24684. "type": "string"
  24685. },
  24686. "sellfutureqty": {
  24687. "description": "卖出期货数量",
  24688. "type": "number"
  24689. },
  24690. "sellplanqty": {
  24691. "description": "销售计划数量",
  24692. "type": "number"
  24693. },
  24694. "sellpricedqty": {
  24695. "description": "销售合同已定价数量",
  24696. "type": "number"
  24697. },
  24698. "totalexposure": {
  24699. "description": "实时总敞口(总敞口)",
  24700. "type": "number"
  24701. },
  24702. "totalfutureqty": {
  24703. "description": "期货头寸总量(期货总量)",
  24704. "type": "number"
  24705. },
  24706. "totalhedgeratio": {
  24707. "description": "敞口比例",
  24708. "type": "number"
  24709. },
  24710. "totalneedhedgeqty": {
  24711. "description": "应套保总量(现货应套保总量)",
  24712. "type": "number"
  24713. },
  24714. "totalspotqty": {
  24715. "description": "现货头寸总量 | 除税总量",
  24716. "type": "number"
  24717. },
  24718. "unitid": {
  24719. "description": "单位id",
  24720. "type": "integer"
  24721. },
  24722. "updatetime": {
  24723. "description": "更新时间",
  24724. "type": "string"
  24725. }
  24726. }
  24727. },
  24728. "models.Ermcp3FinanceReport": {
  24729. "type": "object",
  24730. "properties": {
  24731. "accountname": {
  24732. "description": "机构名称",
  24733. "type": "string"
  24734. },
  24735. "areauserid": {
  24736. "description": "所属机构\\交易用户ID",
  24737. "type": "integer"
  24738. },
  24739. "begindate": {
  24740. "description": "开始交易日",
  24741. "type": "string"
  24742. },
  24743. "biztype": {
  24744. "description": "业务类型 - 1:套保 2:套利",
  24745. "type": "integer"
  24746. },
  24747. "brandname": {
  24748. "description": "品牌名称",
  24749. "type": "string"
  24750. },
  24751. "buypreinvoicedamount": {
  24752. "description": "采购预收票额(预收票额)",
  24753. "type": "number"
  24754. },
  24755. "buyprepaidamount": {
  24756. "description": "采购预付款额(预付货款额)",
  24757. "type": "number"
  24758. },
  24759. "buytodayinvoiceamount": {
  24760. "description": "采购今收票额(今收票额)",
  24761. "type": "number"
  24762. },
  24763. "buytodayrefundamount": {
  24764. "description": "采购今收退款额(今收退款额)",
  24765. "type": "number"
  24766. },
  24767. "buytodaysettleamount": {
  24768. "description": "采购今付款额(今付货款额)",
  24769. "type": "number"
  24770. },
  24771. "buyuninvoicedamount": {
  24772. "description": "采购应收票额(应收票额)",
  24773. "type": "number"
  24774. },
  24775. "buyunpaidamount": {
  24776. "description": "采购应付款额(应付货款额)",
  24777. "type": "number"
  24778. },
  24779. "currencyid": {
  24780. "description": "结算币种ID",
  24781. "type": "integer"
  24782. },
  24783. "currencyname": {
  24784. "description": "币种名称",
  24785. "type": "string"
  24786. },
  24787. "cycletime": {
  24788. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24789. "type": "string"
  24790. },
  24791. "cycletype": {
  24792. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24793. "type": "integer"
  24794. },
  24795. "deliverygoodscode": {
  24796. "description": "现货品种代码",
  24797. "type": "string"
  24798. },
  24799. "deliverygoodsid": {
  24800. "description": "现货品种ID",
  24801. "type": "integer"
  24802. },
  24803. "deliverygoodsname": {
  24804. "description": "现货品种名称",
  24805. "type": "string"
  24806. },
  24807. "enddate": {
  24808. "description": "结束交易日",
  24809. "type": "string"
  24810. },
  24811. "reckondate": {
  24812. "description": "日照时期(yyyyMMdd)",
  24813. "type": "string"
  24814. },
  24815. "sellpreinvoicedamount": {
  24816. "description": "销售预开票额(预开票额)",
  24817. "type": "number"
  24818. },
  24819. "sellprepaidamount": {
  24820. "description": "销售预收款额(预收货款额)",
  24821. "type": "number"
  24822. },
  24823. "selltodayinvoiceamount": {
  24824. "description": "销售今开票额(今开票额)",
  24825. "type": "number"
  24826. },
  24827. "selltodayrefundamount": {
  24828. "description": "销售今付退款额(今付退款额)",
  24829. "type": "number"
  24830. },
  24831. "selltodaysettleamount": {
  24832. "description": "销售今收款额(今收货款额)",
  24833. "type": "number"
  24834. },
  24835. "selluninvoicedamount": {
  24836. "description": "销售应开票额(应开票额)",
  24837. "type": "number"
  24838. },
  24839. "sellunpaidamount": {
  24840. "description": "销售应收款额(应收货款额)",
  24841. "type": "number"
  24842. },
  24843. "spotgoodsbrandid": {
  24844. "description": "现货品牌ID",
  24845. "type": "integer"
  24846. },
  24847. "todaypaysum": {
  24848. "description": "今付款合计",
  24849. "type": "number"
  24850. },
  24851. "todayreceivesum": {
  24852. "description": "今收款合计",
  24853. "type": "number"
  24854. },
  24855. "updatetime": {
  24856. "description": "更新时间",
  24857. "type": "string"
  24858. },
  24859. "wrfactortypeid": {
  24860. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24861. "type": "integer"
  24862. },
  24863. "wrstandardcode": {
  24864. "description": "品类代码",
  24865. "type": "string"
  24866. },
  24867. "wrstandardid": {
  24868. "description": "现货商品ID",
  24869. "type": "integer"
  24870. },
  24871. "wrstandardname": {
  24872. "description": "品类名称",
  24873. "type": "string"
  24874. }
  24875. }
  24876. },
  24877. "models.Ermcp3GoodsGroup": {
  24878. "type": "object",
  24879. "required": [
  24880. "areauserid"
  24881. ],
  24882. "properties": {
  24883. "agreeunit": {
  24884. "description": "合约单位",
  24885. "type": "number"
  24886. },
  24887. "areauserid": {
  24888. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24889. "type": "integer"
  24890. },
  24891. "canshort": {
  24892. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24893. "type": "integer"
  24894. },
  24895. "closepricemode": {
  24896. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24897. "type": "integer"
  24898. },
  24899. "createtime": {
  24900. "description": "创建时间",
  24901. "type": "string"
  24902. },
  24903. "creatorid": {
  24904. "description": "创建人",
  24905. "type": "integer"
  24906. },
  24907. "currencyid": {
  24908. "description": "报价货币ID",
  24909. "type": "integer"
  24910. },
  24911. "decimalplace": {
  24912. "description": "报价小数位",
  24913. "type": "integer"
  24914. },
  24915. "enumdicname": {
  24916. "description": "单位名称",
  24917. "type": "string"
  24918. },
  24919. "exchangefullname": {
  24920. "description": "交易所全称",
  24921. "type": "string"
  24922. },
  24923. "excludecfg": {
  24924. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24925. "type": "integer"
  24926. },
  24927. "exexchangecode": {
  24928. "description": "交易所代码",
  24929. "type": "string"
  24930. },
  24931. "exexchangeid": {
  24932. "description": "外部交易所ID[通道交易]",
  24933. "type": "integer"
  24934. },
  24935. "exexchangename": {
  24936. "description": "交易所名称",
  24937. "type": "string"
  24938. },
  24939. "goodsgroupid": {
  24940. "description": "商品组ID(自增ID)",
  24941. "type": "integer"
  24942. },
  24943. "goodsgroupname": {
  24944. "description": "商品组名称",
  24945. "type": "string"
  24946. },
  24947. "goodsgroupstatus": {
  24948. "description": "商品组状态 - 1:正常 2:注销",
  24949. "type": "integer"
  24950. },
  24951. "goodunitid": {
  24952. "description": "报价单位ID",
  24953. "type": "integer"
  24954. },
  24955. "groupcategroyid": {
  24956. "description": "品种分类ID",
  24957. "type": "integer"
  24958. },
  24959. "innerdealmode": {
  24960. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24961. "type": "integer"
  24962. },
  24963. "marketid": {
  24964. "description": "所属市场ID",
  24965. "type": "integer"
  24966. },
  24967. "modifierid": {
  24968. "description": "修改人",
  24969. "type": "integer"
  24970. },
  24971. "modifytime": {
  24972. "description": "修改时间",
  24973. "type": "string"
  24974. },
  24975. "outerdealmode": {
  24976. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24977. "type": "integer"
  24978. },
  24979. "outergroupcode": {
  24980. "description": "外部商品组代码[通道交易]",
  24981. "type": "string"
  24982. },
  24983. "quoteminunit": {
  24984. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24985. "type": "integer"
  24986. },
  24987. "quotesourcegroupid": {
  24988. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24989. "type": "integer"
  24990. },
  24991. "syncgoodsqty": {
  24992. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24993. "type": "integer"
  24994. }
  24995. }
  24996. },
  24997. "models.Ermcp3HPMiddleGoods": {
  24998. "type": "object",
  24999. "properties": {
  25000. "biztype": {
  25001. "description": "业务类型 1:套保 2:套利",
  25002. "type": "integer"
  25003. },
  25004. "contracttype": {
  25005. "description": "合同类型 1:采购 -1:销售",
  25006. "type": "integer"
  25007. },
  25008. "convertratio": {
  25009. "description": "折算系数",
  25010. "type": "number"
  25011. },
  25012. "customername": {
  25013. "description": "对手手名称",
  25014. "type": "string"
  25015. },
  25016. "customeruserid": {
  25017. "description": "对手id",
  25018. "type": "integer"
  25019. },
  25020. "enumdicname": {
  25021. "description": "现货单位名称",
  25022. "type": "string"
  25023. },
  25024. "hedgeplanid": {
  25025. "description": "计划id",
  25026. "type": "string"
  25027. },
  25028. "hedgeplanno": {
  25029. "description": "计划编号",
  25030. "type": "string"
  25031. },
  25032. "middlegoodsid": {
  25033. "description": "套保品种ID",
  25034. "type": "integer"
  25035. },
  25036. "middlegoodsplanqty3": {
  25037. "description": "应套保计划量",
  25038. "type": "number"
  25039. },
  25040. "needhedgeratio": {
  25041. "description": "套保比例",
  25042. "type": "number"
  25043. },
  25044. "pricedqty": {
  25045. "description": "已定价量",
  25046. "type": "number"
  25047. },
  25048. "relatedmiddlegoodsqty": {
  25049. "description": "已关联量(套保品种)(期货)",
  25050. "type": "number"
  25051. },
  25052. "unitid": {
  25053. "description": "现货单位id",
  25054. "type": "integer"
  25055. },
  25056. "userid": {
  25057. "description": "用户id",
  25058. "type": "integer"
  25059. },
  25060. "vatrate": {
  25061. "description": "增值税率",
  25062. "type": "number"
  25063. },
  25064. "wrstandardcode": {
  25065. "description": "现货商品代码",
  25066. "type": "string"
  25067. },
  25068. "wrstandardid": {
  25069. "description": "现货商品id",
  25070. "type": "integer"
  25071. },
  25072. "wrstandardname": {
  25073. "description": "现货商品名称",
  25074. "type": "string"
  25075. }
  25076. }
  25077. },
  25078. "models.Ermcp3HedgePlan": {
  25079. "type": "object",
  25080. "properties": {
  25081. "accountid": {
  25082. "description": "资金账号",
  25083. "type": "integer"
  25084. },
  25085. "areauserid": {
  25086. "description": "用户ID",
  25087. "type": "integer"
  25088. },
  25089. "auditid": {
  25090. "description": "审核id",
  25091. "type": "integer"
  25092. },
  25093. "auditname": {
  25094. "description": "审核人名称",
  25095. "type": "string"
  25096. },
  25097. "auditremark": {
  25098. "description": "审核备注",
  25099. "type": "string"
  25100. },
  25101. "auditsrc": {
  25102. "description": "审核来源 1-管理端 2-终端",
  25103. "type": "integer"
  25104. },
  25105. "audittime": {
  25106. "description": "审核时间",
  25107. "type": "string"
  25108. },
  25109. "contracttype": {
  25110. "description": "计划类型 - 1:采购 -1:销售",
  25111. "type": "integer"
  25112. },
  25113. "convertfactor": {
  25114. "description": "标仓系数",
  25115. "type": "number"
  25116. },
  25117. "createtime": {
  25118. "description": "创建时间",
  25119. "type": "string"
  25120. },
  25121. "currencyid": {
  25122. "description": "币种id",
  25123. "type": "integer"
  25124. },
  25125. "currencyname": {
  25126. "description": "币种名称",
  25127. "type": "string"
  25128. },
  25129. "deliverygoodscode": {
  25130. "description": "现货品种代码",
  25131. "type": "string"
  25132. },
  25133. "deliverygoodsid": {
  25134. "description": "现货品种ID",
  25135. "type": "integer"
  25136. },
  25137. "deliverygoodsname": {
  25138. "description": "现货品种名称",
  25139. "type": "string"
  25140. },
  25141. "enumdicname": {
  25142. "description": "单位名称(现货商品)",
  25143. "type": "string"
  25144. },
  25145. "hedgeplanid": {
  25146. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  25147. "type": "string"
  25148. },
  25149. "hedgeplanno": {
  25150. "description": "套保计划编号(名称)",
  25151. "type": "string"
  25152. },
  25153. "hedgeplanstatus": {
  25154. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25155. "type": "integer"
  25156. },
  25157. "planqty": {
  25158. "description": "计划数量",
  25159. "type": "number"
  25160. },
  25161. "plantime": {
  25162. "description": "计划时间",
  25163. "type": "string"
  25164. },
  25165. "producttype": {
  25166. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25167. "type": "integer"
  25168. },
  25169. "remark": {
  25170. "description": "备注",
  25171. "type": "string"
  25172. },
  25173. "spotgoodsdesc": {
  25174. "description": "商品型号",
  25175. "type": "string"
  25176. },
  25177. "taaccountname": {
  25178. "description": "资金账号名称",
  25179. "type": "string"
  25180. },
  25181. "tradeuserid": {
  25182. "description": "交易用户id",
  25183. "type": "integer"
  25184. },
  25185. "tradeusername": {
  25186. "description": "交易用户名称",
  25187. "type": "string"
  25188. },
  25189. "unitid": {
  25190. "description": "单位id(现货商品)",
  25191. "type": "integer"
  25192. },
  25193. "updatetime": {
  25194. "description": "更新时间",
  25195. "type": "string"
  25196. },
  25197. "vatrate": {
  25198. "description": "增值税率",
  25199. "type": "number"
  25200. },
  25201. "wrstandardcode": {
  25202. "description": "品类代码",
  25203. "type": "string"
  25204. },
  25205. "wrstandardid": {
  25206. "description": "品类id",
  25207. "type": "integer"
  25208. },
  25209. "wrstandardname": {
  25210. "description": "品类名称",
  25211. "type": "string"
  25212. },
  25213. "wrunitid": {
  25214. "description": "品类单位id",
  25215. "type": "integer"
  25216. },
  25217. "wrunitidame": {
  25218. "description": "品类单位名称",
  25219. "type": "string"
  25220. }
  25221. }
  25222. },
  25223. "models.Ermcp3InnerTradeLink": {
  25224. "type": "object",
  25225. "properties": {
  25226. "accountid": {
  25227. "description": "期货账号代码 | 资金账号ID",
  25228. "type": "integer"
  25229. },
  25230. "buyorsell": {
  25231. "description": "方向 - 0:买 1:卖",
  25232. "type": "integer"
  25233. },
  25234. "channelbuildtype": {
  25235. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25236. "type": "integer"
  25237. },
  25238. "currencyid": {
  25239. "description": "币种id",
  25240. "type": "integer"
  25241. },
  25242. "currencyname": {
  25243. "description": "结算币种 名称",
  25244. "type": "string"
  25245. },
  25246. "goodscode": {
  25247. "description": "商品代码",
  25248. "type": "string"
  25249. },
  25250. "goodsid": {
  25251. "description": "商品ID",
  25252. "type": "integer"
  25253. },
  25254. "goodsname": {
  25255. "description": "商品名称",
  25256. "type": "string"
  25257. },
  25258. "outtradeid": {
  25259. "description": "外部成交单号",
  25260. "type": "string"
  25261. },
  25262. "taname": {
  25263. "description": "期货账户名称",
  25264. "type": "string"
  25265. },
  25266. "tradeid": {
  25267. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25268. "type": "string"
  25269. },
  25270. "tradeprice": {
  25271. "description": "成交价格",
  25272. "type": "number"
  25273. },
  25274. "tradeqty": {
  25275. "description": "期货成交数量",
  25276. "type": "integer"
  25277. },
  25278. "tradetime": {
  25279. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  25280. "type": "string"
  25281. },
  25282. "username": {
  25283. "description": "用户名称",
  25284. "type": "string"
  25285. }
  25286. }
  25287. },
  25288. "models.Ermcp3OutTradeLink": {
  25289. "type": "object",
  25290. "properties": {
  25291. "buyorsell": {
  25292. "description": "买卖方向 - 0:买 1:卖",
  25293. "type": "integer"
  25294. },
  25295. "channelbuildtype": {
  25296. "description": "开平标志- 0:无 1:建仓 2:平仓",
  25297. "type": "integer"
  25298. },
  25299. "currencyname": {
  25300. "description": "币种名称",
  25301. "type": "string"
  25302. },
  25303. "exexchangecode": {
  25304. "description": "交易所代码",
  25305. "type": "string"
  25306. },
  25307. "exexchangename": {
  25308. "description": "交易所名称",
  25309. "type": "string"
  25310. },
  25311. "goodscode": {
  25312. "description": "合约代码",
  25313. "type": "string"
  25314. },
  25315. "goodsid": {
  25316. "description": "合约id",
  25317. "type": "integer"
  25318. },
  25319. "goodsname": {
  25320. "description": "合约名称",
  25321. "type": "string"
  25322. },
  25323. "hasinnerorder": {
  25324. "description": "是否有内部单关联 - 0:无 1:有",
  25325. "type": "integer"
  25326. },
  25327. "hedgeaccountcode": {
  25328. "description": "外部账号 | 对冲账号",
  25329. "type": "string"
  25330. },
  25331. "outtradeid": {
  25332. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25333. "type": "string"
  25334. },
  25335. "tradeprice": {
  25336. "description": "成交价格",
  25337. "type": "number"
  25338. },
  25339. "tradeqty": {
  25340. "description": "成交数量",
  25341. "type": "integer"
  25342. },
  25343. "tradetime": {
  25344. "description": "成交时间",
  25345. "type": "string"
  25346. }
  25347. }
  25348. },
  25349. "models.Ermcp3PaAreaAuditCfg": {
  25350. "type": "object",
  25351. "properties": {
  25352. "areauserid": {
  25353. "description": "用户ID",
  25354. "type": "integer"
  25355. },
  25356. "buyinauditflag": {
  25357. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  25358. "type": "integer"
  25359. },
  25360. "costratioauditflag": {
  25361. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  25362. "type": "integer"
  25363. },
  25364. "customerauditflag": {
  25365. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  25366. "type": "integer"
  25367. },
  25368. "deliveryauditflag": {
  25369. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  25370. "type": "integer"
  25371. },
  25372. "invoiceauditflag": {
  25373. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  25374. "type": "integer"
  25375. },
  25376. "mgneedhedgeratioauditflag": {
  25377. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  25378. "type": "integer"
  25379. },
  25380. "moneyauditflag": {
  25381. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  25382. "type": "integer"
  25383. },
  25384. "operatorid": {
  25385. "description": "操作人",
  25386. "type": "integer"
  25387. },
  25388. "operatorsrc": {
  25389. "description": "操作来源 - 1:管理端 2:终端",
  25390. "type": "integer"
  25391. },
  25392. "pointpriceauditflag": {
  25393. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  25394. "type": "integer"
  25395. },
  25396. "produceinauditflag": {
  25397. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  25398. "type": "integer"
  25399. },
  25400. "produceoutauditflag": {
  25401. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  25402. "type": "integer"
  25403. },
  25404. "selloutauditflag": {
  25405. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  25406. "type": "integer"
  25407. },
  25408. "sgconvertratioauditflag": {
  25409. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  25410. "type": "integer"
  25411. },
  25412. "sgvtaratioauditflag": {
  25413. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  25414. "type": "integer"
  25415. },
  25416. "spotcontractauditflag": {
  25417. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  25418. "type": "integer"
  25419. },
  25420. "updatetime": {
  25421. "description": "更新时间",
  25422. "type": "string"
  25423. }
  25424. }
  25425. },
  25426. "models.Ermcp3PaAreaSubject": {
  25427. "type": "object",
  25428. "properties": {
  25429. "areauserid": {
  25430. "description": "所属机构",
  25431. "type": "integer"
  25432. },
  25433. "canmodify": {
  25434. "description": "是否可修改 - 0:否 1:是",
  25435. "type": "integer"
  25436. },
  25437. "createtime": {
  25438. "description": "创建时间",
  25439. "type": "string"
  25440. },
  25441. "creatorid": {
  25442. "description": "创建人ID",
  25443. "type": "string"
  25444. },
  25445. "creatorsrc": {
  25446. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25447. "type": "integer"
  25448. },
  25449. "modifierid": {
  25450. "description": "修改人",
  25451. "type": "string"
  25452. },
  25453. "modifiersrc": {
  25454. "description": "修改人来源 - 1:管理端 2:终端",
  25455. "type": "integer"
  25456. },
  25457. "modifytime": {
  25458. "description": "修改时间",
  25459. "type": "string"
  25460. },
  25461. "parentsubjectid": {
  25462. "description": "上级主体ID",
  25463. "type": "string"
  25464. },
  25465. "remark": {
  25466. "description": "备注",
  25467. "type": "string"
  25468. },
  25469. "subjectid": {
  25470. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  25471. "type": "integer"
  25472. },
  25473. "subjectname": {
  25474. "description": "主体名称",
  25475. "type": "string"
  25476. },
  25477. "subjectstatus": {
  25478. "description": "主体状态 - 1:正常 2: 停用",
  25479. "type": "integer"
  25480. },
  25481. "subjecttype": {
  25482. "description": "主体类型 - 1:交易主体 2:业务部门",
  25483. "type": "integer"
  25484. }
  25485. }
  25486. },
  25487. "models.Ermcp3PaTradeLink": {
  25488. "type": "object",
  25489. "properties": {
  25490. "accountid": {
  25491. "description": "期货账户代码 | 账号ID",
  25492. "type": "integer"
  25493. },
  25494. "agreeunit": {
  25495. "description": "合约乘数",
  25496. "type": "number"
  25497. },
  25498. "buyorsell": {
  25499. "description": "方向 - 0:买 1:卖",
  25500. "type": "integer"
  25501. },
  25502. "channelbuildtype": {
  25503. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25504. "type": "integer"
  25505. },
  25506. "charge": {
  25507. "description": "手续费",
  25508. "type": "number"
  25509. },
  25510. "closepl": {
  25511. "description": "平仓盈亏",
  25512. "type": "number"
  25513. },
  25514. "closetype": {
  25515. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25516. "type": "integer"
  25517. },
  25518. "convertratio": {
  25519. "description": "折算系数",
  25520. "type": "number"
  25521. },
  25522. "enumdicname": {
  25523. "description": "单位名称",
  25524. "type": "string"
  25525. },
  25526. "executeprice": {
  25527. "description": "执行价 [期权]",
  25528. "type": "integer"
  25529. },
  25530. "goodscode": {
  25531. "description": "合约代码",
  25532. "type": "string"
  25533. },
  25534. "goodsgroupid": {
  25535. "description": "对冲品种ID[期货合约商品组ID]",
  25536. "type": "integer"
  25537. },
  25538. "goodsid": {
  25539. "description": "商品ID",
  25540. "type": "integer"
  25541. },
  25542. "goodsname": {
  25543. "description": "合约名称",
  25544. "type": "string"
  25545. },
  25546. "goodunitid": {
  25547. "description": "单位id",
  25548. "type": "integer"
  25549. },
  25550. "hedgeflag": {
  25551. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25552. "type": "integer"
  25553. },
  25554. "marketid": {
  25555. "description": "市场ID",
  25556. "type": "integer"
  25557. },
  25558. "middlegoodsid": {
  25559. "description": "套保品种ID",
  25560. "type": "integer"
  25561. },
  25562. "middlegoodsqty": {
  25563. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25564. "type": "number"
  25565. },
  25566. "optioncode": {
  25567. "description": "期权代码 [期权]",
  25568. "type": "string"
  25569. },
  25570. "ordertype": {
  25571. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25572. "type": "integer"
  25573. },
  25574. "ordertypename": {
  25575. "description": "订单类型",
  25576. "type": "string"
  25577. },
  25578. "parentaccountid": {
  25579. "description": "所属母账户",
  25580. "type": "integer"
  25581. },
  25582. "premium": {
  25583. "description": "权利金 [期权]",
  25584. "type": "number"
  25585. },
  25586. "relatedlot": {
  25587. "description": "已关联数量(已关联数量手) | db:关联手数",
  25588. "type": "number"
  25589. },
  25590. "relatedouttradeid": {
  25591. "description": "关联外部成交单ID",
  25592. "type": "string"
  25593. },
  25594. "relatedqty": {
  25595. "description": "关联数量",
  25596. "type": "number"
  25597. },
  25598. "spotcontractid": {
  25599. "description": "现货合同ID [4:套期保值\\10\\11]",
  25600. "type": "string"
  25601. },
  25602. "taname": {
  25603. "description": "期货账户名称",
  25604. "type": "string"
  25605. },
  25606. "tradeamount": {
  25607. "description": "成交金额(账户)",
  25608. "type": "number"
  25609. },
  25610. "tradedate": {
  25611. "description": "交易日(yyyyMMdd)",
  25612. "type": "string"
  25613. },
  25614. "tradeid": {
  25615. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25616. "type": "string"
  25617. },
  25618. "tradelot": {
  25619. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25620. "type": "integer"
  25621. },
  25622. "tradeprice": {
  25623. "description": "成交价格",
  25624. "type": "number"
  25625. },
  25626. "tradetime": {
  25627. "description": "时间 | db:成交时间",
  25628. "type": "string"
  25629. },
  25630. "tradetype": {
  25631. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25632. "type": "integer"
  25633. },
  25634. "userid": {
  25635. "description": "所属机构 - 所属母账户的UserID",
  25636. "type": "string"
  25637. },
  25638. "username": {
  25639. "description": "用户名称",
  25640. "type": "string"
  25641. }
  25642. }
  25643. },
  25644. "models.Ermcp3ParamChangeApp": {
  25645. "type": "object",
  25646. "properties": {
  25647. "aftervalue": {
  25648. "description": "变更后",
  25649. "type": "number"
  25650. },
  25651. "applicationid": {
  25652. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25653. "type": "string"
  25654. },
  25655. "applyid": {
  25656. "description": "申请人",
  25657. "type": "string"
  25658. },
  25659. "applyname": {
  25660. "description": "申请人名称(代码)",
  25661. "type": "string"
  25662. },
  25663. "applyremark": {
  25664. "description": "申请备注",
  25665. "type": "string"
  25666. },
  25667. "applysrc": {
  25668. "description": "申请来源 - 1:管理端 2:终端",
  25669. "type": "integer"
  25670. },
  25671. "applystatus": {
  25672. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25673. "type": "integer"
  25674. },
  25675. "applytime": {
  25676. "description": "申请时间",
  25677. "type": "string"
  25678. },
  25679. "areauserid": {
  25680. "description": "所属机构用户ID",
  25681. "type": "integer"
  25682. },
  25683. "auditid": {
  25684. "description": "审核人",
  25685. "type": "string"
  25686. },
  25687. "auditname": {
  25688. "description": "审核人名称(代码)",
  25689. "type": "string"
  25690. },
  25691. "auditremark": {
  25692. "description": "审核备注",
  25693. "type": "string"
  25694. },
  25695. "auditsrc": {
  25696. "description": "审核来源 - 1:管理端 2:终端",
  25697. "type": "integer"
  25698. },
  25699. "audittime": {
  25700. "description": "审核时间",
  25701. "type": "string"
  25702. },
  25703. "audittradedate": {
  25704. "description": "审核交易日(yyyyMMdd)",
  25705. "type": "string"
  25706. },
  25707. "beforevalue": {
  25708. "description": "变更前",
  25709. "type": "number"
  25710. },
  25711. "deliverygoodscode": {
  25712. "description": "品种代码",
  25713. "type": "string"
  25714. },
  25715. "deliverygoodsid": {
  25716. "description": "品种id",
  25717. "type": "integer"
  25718. },
  25719. "deliverygoodsname": {
  25720. "description": "品种名称",
  25721. "type": "string"
  25722. },
  25723. "middlegoodscode": {
  25724. "description": "套保品种代码",
  25725. "type": "string"
  25726. },
  25727. "middlegoodsid": {
  25728. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25729. "type": "integer"
  25730. },
  25731. "middlegoodsname": {
  25732. "description": "套保品种名称",
  25733. "type": "string"
  25734. },
  25735. "operatetype": {
  25736. "description": "操作类型 - 1:新增 2:修改",
  25737. "type": "integer"
  25738. },
  25739. "paramchangetype": {
  25740. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25741. "type": "integer"
  25742. },
  25743. "wrstandardcode": {
  25744. "description": "现货商品代码",
  25745. "type": "string"
  25746. },
  25747. "wrstandardid": {
  25748. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25749. "type": "integer"
  25750. },
  25751. "wrstandardname": {
  25752. "description": "现货商品名称",
  25753. "type": "string"
  25754. }
  25755. }
  25756. },
  25757. "models.Ermcp3RootUserAccount": {
  25758. "type": "object",
  25759. "properties": {
  25760. "accountname": {
  25761. "description": "账户名称(机构名称)",
  25762. "type": "string"
  25763. },
  25764. "accountstatus": {
  25765. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25766. "type": "integer"
  25767. },
  25768. "applysrc": {
  25769. "description": "申请来源 - 1:管理端 2:终端",
  25770. "type": "integer"
  25771. },
  25772. "auditremark": {
  25773. "description": "审核备注",
  25774. "type": "string"
  25775. },
  25776. "auditsrc": {
  25777. "description": "审核来源 - 1:管理端 2:终端",
  25778. "type": "integer"
  25779. },
  25780. "audittime": {
  25781. "description": "审核时间",
  25782. "type": "string"
  25783. },
  25784. "audituserid": {
  25785. "description": "审核人",
  25786. "type": "integer"
  25787. },
  25788. "broker": {
  25789. "description": "所属经纪人ID",
  25790. "type": "integer"
  25791. },
  25792. "canceltime": {
  25793. "description": "销户时间",
  25794. "type": "string"
  25795. },
  25796. "canceluserid": {
  25797. "description": "销户人",
  25798. "type": "integer"
  25799. },
  25800. "canrecommend": {
  25801. "description": "是否可推荐 - 0:不可 1;可",
  25802. "type": "integer"
  25803. },
  25804. "createtime": {
  25805. "description": "创建时间",
  25806. "type": "string"
  25807. },
  25808. "creatorid": {
  25809. "description": "创建人",
  25810. "type": "integer"
  25811. },
  25812. "hasauth": {
  25813. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25814. "type": "integer"
  25815. },
  25816. "isanonymous": {
  25817. "description": "是否匿名下单 - 0:否 1:是",
  25818. "type": "integer"
  25819. },
  25820. "maxinvestornum": {
  25821. "description": "最大用户数(经纪会员下投资者个数)",
  25822. "type": "integer"
  25823. },
  25824. "memberuserid": {
  25825. "description": "所属会员ID",
  25826. "type": "integer"
  25827. },
  25828. "modifierid": {
  25829. "description": "修改人",
  25830. "type": "integer"
  25831. },
  25832. "modifyremark": {
  25833. "description": "变更备注",
  25834. "type": "string"
  25835. },
  25836. "modifystatus": {
  25837. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25838. "type": "integer"
  25839. },
  25840. "modifytime": {
  25841. "description": "修改时间",
  25842. "type": "string"
  25843. },
  25844. "nickname": {
  25845. "description": "昵称",
  25846. "type": "string"
  25847. },
  25848. "parenttopuser": {
  25849. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25850. "type": "string"
  25851. },
  25852. "parentuserid": {
  25853. "description": "所属机构ID",
  25854. "type": "integer"
  25855. },
  25856. "reckonaccountid": {
  25857. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25858. "type": "integer"
  25859. },
  25860. "refercount": {
  25861. "description": "推荐总人数",
  25862. "type": "integer"
  25863. },
  25864. "refereeuserid": {
  25865. "description": "推荐人ID",
  25866. "type": "integer"
  25867. },
  25868. "refernum": {
  25869. "description": "推荐码",
  25870. "type": "string"
  25871. },
  25872. "rootuserid": {
  25873. "description": "根用户ID",
  25874. "type": "integer"
  25875. },
  25876. "subaccountlevel": {
  25877. "description": "子账户层数",
  25878. "type": "integer"
  25879. },
  25880. "subarealevelpath": {
  25881. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25882. "type": "string"
  25883. },
  25884. "userid": {
  25885. "description": "用户ID",
  25886. "type": "integer"
  25887. },
  25888. "usertype": {
  25889. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25890. "type": "integer"
  25891. }
  25892. }
  25893. },
  25894. "models.Ermcp3SCMiddleGoods": {
  25895. "type": "object",
  25896. "properties": {
  25897. "biztype": {
  25898. "description": "业务类型 1:套保 2:套利",
  25899. "type": "integer"
  25900. },
  25901. "contractno": {
  25902. "description": "合同编号",
  25903. "type": "string"
  25904. },
  25905. "contracttype": {
  25906. "description": "合同类型 1:采购 -1:销售",
  25907. "type": "integer"
  25908. },
  25909. "convertratio": {
  25910. "description": "折算系数",
  25911. "type": "number"
  25912. },
  25913. "customername": {
  25914. "description": "对手手名称",
  25915. "type": "string"
  25916. },
  25917. "customeruserid": {
  25918. "description": "对手id",
  25919. "type": "integer"
  25920. },
  25921. "deliverygoodscode": {
  25922. "description": "现货品种代码",
  25923. "type": "string"
  25924. },
  25925. "deliverygoodsid": {
  25926. "description": "现货品种ID",
  25927. "type": "integer"
  25928. },
  25929. "deliverygoodsname": {
  25930. "description": "现货品种名称",
  25931. "type": "string"
  25932. },
  25933. "enumdicname": {
  25934. "description": "现货单位名称",
  25935. "type": "string"
  25936. },
  25937. "middlegoodsid": {
  25938. "description": "套保品种ID",
  25939. "type": "integer"
  25940. },
  25941. "middlegoodspricedqty3": {
  25942. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25943. "type": "number"
  25944. },
  25945. "needhedgeratio": {
  25946. "description": "套保比例",
  25947. "type": "number"
  25948. },
  25949. "pricedqty": {
  25950. "description": "已定价量",
  25951. "type": "number"
  25952. },
  25953. "relatedmiddlegoodsqty": {
  25954. "description": "已关联量(套保品种)(期货)",
  25955. "type": "number"
  25956. },
  25957. "spotcontractid": {
  25958. "description": "合同编号",
  25959. "type": "string"
  25960. },
  25961. "unitid": {
  25962. "description": "现货单位id",
  25963. "type": "integer"
  25964. },
  25965. "userid": {
  25966. "description": "用户id",
  25967. "type": "integer"
  25968. },
  25969. "vatrate": {
  25970. "description": "增值税率",
  25971. "type": "number"
  25972. },
  25973. "wrstandardcode": {
  25974. "description": "现货商品代码",
  25975. "type": "string"
  25976. },
  25977. "wrstandardid": {
  25978. "description": "现货商品id",
  25979. "type": "integer"
  25980. },
  25981. "wrstandardname": {
  25982. "description": "现货商品名称",
  25983. "type": "string"
  25984. }
  25985. }
  25986. },
  25987. "models.Ermcp3SCMiddleGoodsReport": {
  25988. "type": "object",
  25989. "properties": {
  25990. "begindate": {
  25991. "description": "开始交易日",
  25992. "type": "string"
  25993. },
  25994. "contractno": {
  25995. "description": "合同编号",
  25996. "type": "string"
  25997. },
  25998. "contracttype": {
  25999. "description": "合同类型 1:采购 -1:销售",
  26000. "type": "integer"
  26001. },
  26002. "convertratio": {
  26003. "description": "期初均价",
  26004. "type": "number"
  26005. },
  26006. "cycletime": {
  26007. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26008. "type": "string"
  26009. },
  26010. "cycletype": {
  26011. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26012. "type": "integer"
  26013. },
  26014. "deliverygoodscode": {
  26015. "description": "品种代码",
  26016. "type": "string"
  26017. },
  26018. "deliverygoodsid": {
  26019. "description": "现货品种ID",
  26020. "type": "integer"
  26021. },
  26022. "deliverygoodsname": {
  26023. "description": "品种名称",
  26024. "type": "string"
  26025. },
  26026. "diffprice": {
  26027. "description": "期初均价",
  26028. "type": "number"
  26029. },
  26030. "diffqty": {
  26031. "description": "期初均价",
  26032. "type": "number"
  26033. },
  26034. "enddate": {
  26035. "description": "结束交易日",
  26036. "type": "string"
  26037. },
  26038. "hedgeplanqty": {
  26039. "description": "期初均价",
  26040. "type": "number"
  26041. },
  26042. "matchname": {
  26043. "description": "交易对手方(个人:用户名称 企业:简称)",
  26044. "type": "string"
  26045. },
  26046. "matchnickname": {
  26047. "description": "交易对手方昵称",
  26048. "type": "string"
  26049. },
  26050. "middlegoodscode": {
  26051. "description": "套保品种代码",
  26052. "type": "string"
  26053. },
  26054. "middlegoodsid": {
  26055. "description": "套保品种ID",
  26056. "type": "integer"
  26057. },
  26058. "middlegoodsname": {
  26059. "description": "套保品种名称",
  26060. "type": "string"
  26061. },
  26062. "middlegoodspricedqty": {
  26063. "description": "期初均价",
  26064. "type": "number"
  26065. },
  26066. "middlegoodspricedqty2": {
  26067. "description": "期初均价",
  26068. "type": "number"
  26069. },
  26070. "middlegoodspricedqty3": {
  26071. "description": "期初均价",
  26072. "type": "number"
  26073. },
  26074. "needhedgeratio": {
  26075. "description": "期初均价",
  26076. "type": "number"
  26077. },
  26078. "pricedamount": {
  26079. "description": "期初均价",
  26080. "type": "number"
  26081. },
  26082. "pricedamount2": {
  26083. "description": "期初均价",
  26084. "type": "number"
  26085. },
  26086. "pricedqty": {
  26087. "description": "期初均价",
  26088. "type": "number"
  26089. },
  26090. "reckondate": {
  26091. "description": "日照时期(yyyyMMdd)",
  26092. "type": "string"
  26093. },
  26094. "relatedmiddlegoodsamount": {
  26095. "description": "期初均价",
  26096. "type": "number"
  26097. },
  26098. "relatedmiddlegoodsqty": {
  26099. "description": "期初均价",
  26100. "type": "number"
  26101. },
  26102. "spotcontractid": {
  26103. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26104. "type": "string"
  26105. },
  26106. "todayavgfutuprice": {
  26107. "description": "期初均价",
  26108. "type": "number"
  26109. },
  26110. "todayavgprice": {
  26111. "description": "期初均价",
  26112. "type": "number"
  26113. },
  26114. "todayavgprice2": {
  26115. "description": "期初均价",
  26116. "type": "number"
  26117. },
  26118. "todaypricedamount": {
  26119. "description": "期初均价",
  26120. "type": "number"
  26121. },
  26122. "todaypricedamount2": {
  26123. "description": "期初均价",
  26124. "type": "number"
  26125. },
  26126. "todaypricedqty": {
  26127. "description": "期初均价",
  26128. "type": "number"
  26129. },
  26130. "todayrelatedfutureqty": {
  26131. "description": "期初均价",
  26132. "type": "number"
  26133. },
  26134. "todayrelatedmiddlegoodsamount": {
  26135. "description": "期初均价",
  26136. "type": "number"
  26137. },
  26138. "todayrelatedmiddlegoodsqty": {
  26139. "description": "期初均价",
  26140. "type": "number"
  26141. },
  26142. "updatetime": {
  26143. "description": "更新时间",
  26144. "type": "string"
  26145. },
  26146. "userid": {
  26147. "description": "合同所属用户id",
  26148. "type": "integer"
  26149. },
  26150. "vatrate": {
  26151. "description": "期初均价",
  26152. "type": "number"
  26153. },
  26154. "wrstandardcode": {
  26155. "description": "商品(品类) 代码",
  26156. "type": "string"
  26157. },
  26158. "wrstandardid": {
  26159. "description": "现货商品ID",
  26160. "type": "integer"
  26161. },
  26162. "wrstandardname": {
  26163. "description": "商品(品类) 名称",
  26164. "type": "string"
  26165. }
  26166. }
  26167. },
  26168. "models.Ermcp3SellBuyContract": {
  26169. "type": "object",
  26170. "properties": {
  26171. "accountid": {
  26172. "description": "期货账户id",
  26173. "type": "string"
  26174. },
  26175. "accountname": {
  26176. "description": "账户名称",
  26177. "type": "string"
  26178. },
  26179. "attachment": {
  26180. "description": "附件",
  26181. "type": "string"
  26182. },
  26183. "audittime": {
  26184. "description": "审核时间",
  26185. "type": "string"
  26186. },
  26187. "bizsubjectid": {
  26188. "description": "归属业务部门ID - SubjectID",
  26189. "type": "integer"
  26190. },
  26191. "biztype": {
  26192. "description": "业务类型 1-套保 2-套利",
  26193. "type": "integer"
  26194. },
  26195. "brandname": {
  26196. "description": "品牌名称",
  26197. "type": "string"
  26198. },
  26199. "contracctstatus": {
  26200. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26201. "type": "integer"
  26202. },
  26203. "contractmargin": {
  26204. "description": "合同保证金",
  26205. "type": "number"
  26206. },
  26207. "contractno": {
  26208. "description": "合同编号",
  26209. "type": "string"
  26210. },
  26211. "contracttype": {
  26212. "description": "合同类型 1-采购, -1-销售",
  26213. "type": "integer"
  26214. },
  26215. "convertfactor": {
  26216. "description": "标仓系数(品类)",
  26217. "type": "number"
  26218. },
  26219. "createtime": {
  26220. "description": "创建时间",
  26221. "type": "string"
  26222. },
  26223. "currencyid": {
  26224. "description": "币种id",
  26225. "type": "integer"
  26226. },
  26227. "currencyname": {
  26228. "description": "币种名称",
  26229. "type": "string"
  26230. },
  26231. "daikaiamount": {
  26232. "description": "应收(开)票额 | 未收票额",
  26233. "type": "number"
  26234. },
  26235. "deliveryenddate": {
  26236. "description": "交割结束日",
  26237. "type": "string"
  26238. },
  26239. "deliverygoodscode": {
  26240. "description": "现货品种代码",
  26241. "type": "string"
  26242. },
  26243. "deliverygoodsid": {
  26244. "description": "现货商品ID",
  26245. "type": "integer"
  26246. },
  26247. "deliverygoodsname": {
  26248. "description": "现货品种名称",
  26249. "type": "string"
  26250. },
  26251. "deliverystartdate": {
  26252. "description": "交割开始日",
  26253. "type": "string"
  26254. },
  26255. "enddate": {
  26256. "description": "点价结束日",
  26257. "type": "string"
  26258. },
  26259. "enumdicname": {
  26260. "description": "单位名称",
  26261. "type": "string"
  26262. },
  26263. "goodscode": {
  26264. "description": "点价商品代码",
  26265. "type": "string"
  26266. },
  26267. "goodsgroupid": {
  26268. "description": "点价商品组id",
  26269. "type": "integer"
  26270. },
  26271. "goodsid": {
  26272. "description": "点价商品ID",
  26273. "type": "integer"
  26274. },
  26275. "goodsname": {
  26276. "description": "点价商品名称",
  26277. "type": "string"
  26278. },
  26279. "invoiceamount": {
  26280. "description": "已开票额",
  26281. "type": "number"
  26282. },
  26283. "loanamount": {
  26284. "description": "贷款总额=已定价额+调整金额",
  26285. "type": "number"
  26286. },
  26287. "margin": {
  26288. "description": "保证金",
  26289. "type": "number"
  26290. },
  26291. "meruserid": {
  26292. "description": "跟单员id",
  26293. "type": "integer"
  26294. },
  26295. "meruserlogincode": {
  26296. "description": "跟单员登录代码",
  26297. "type": "string"
  26298. },
  26299. "merusername": {
  26300. "description": "跟单员名称",
  26301. "type": "string"
  26302. },
  26303. "nickname": {
  26304. "description": "账户昵称",
  26305. "type": "string"
  26306. },
  26307. "orireckonrealqty": {
  26308. "description": "应交收量",
  26309. "type": "number"
  26310. },
  26311. "payamount": {
  26312. "description": "已收付额(收款或付款)",
  26313. "type": "number"
  26314. },
  26315. "preinvoiceamount": {
  26316. "description": "预收(开)票额",
  26317. "type": "number"
  26318. },
  26319. "prepayamount": {
  26320. "description": "预收付额",
  26321. "type": "number"
  26322. },
  26323. "price": {
  26324. "description": "价格",
  26325. "type": "number"
  26326. },
  26327. "pricedamount": {
  26328. "description": "已定价额",
  26329. "type": "number"
  26330. },
  26331. "pricedavg": {
  26332. "description": "已点均价",
  26333. "type": "number"
  26334. },
  26335. "pricedqty": {
  26336. "description": "已定价量",
  26337. "type": "number"
  26338. },
  26339. "pricemove": {
  26340. "description": "升贴水",
  26341. "type": "number"
  26342. },
  26343. "pricetype": {
  26344. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26345. "type": "integer"
  26346. },
  26347. "producttype": {
  26348. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26349. "type": "integer"
  26350. },
  26351. "qty": {
  26352. "description": "合同量",
  26353. "type": "number"
  26354. },
  26355. "reckonadjustamount": {
  26356. "description": "调整金额",
  26357. "type": "number"
  26358. },
  26359. "reckonedamount": {
  26360. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  26361. "type": "number"
  26362. },
  26363. "reckonotheramount": {
  26364. "description": "其它费用",
  26365. "type": "number"
  26366. },
  26367. "reckonrealqty": {
  26368. "description": "已交收量",
  26369. "type": "number"
  26370. },
  26371. "remark": {
  26372. "description": "备注",
  26373. "type": "string"
  26374. },
  26375. "saleuserid": {
  26376. "description": "业务员id",
  26377. "type": "integer"
  26378. },
  26379. "saleuserlogincode": {
  26380. "description": "业务员登录代码",
  26381. "type": "string"
  26382. },
  26383. "saleusername": {
  26384. "description": "业务员名称",
  26385. "type": "string"
  26386. },
  26387. "spotcontractid": {
  26388. "description": "合同ID",
  26389. "type": "string"
  26390. },
  26391. "spotgoodsbrandid": {
  26392. "description": "现货品牌ID(DGFactoryItem表的ID)",
  26393. "type": "integer"
  26394. },
  26395. "spotgoodsdesc": {
  26396. "description": "商品型号(商品规格)",
  26397. "type": "string"
  26398. },
  26399. "startdate": {
  26400. "description": "点价开始日",
  26401. "type": "string"
  26402. },
  26403. "subjectid": {
  26404. "description": "交易主体ID",
  26405. "type": "integer"
  26406. },
  26407. "subjectname": {
  26408. "description": "交易主体名称",
  26409. "type": "string"
  26410. },
  26411. "totalamount": {
  26412. "description": "合计总额",
  26413. "type": "number"
  26414. },
  26415. "tradeuserid": {
  26416. "description": "交易员id",
  26417. "type": "integer"
  26418. },
  26419. "tradeuserlogincode": {
  26420. "description": "交易员登录代码",
  26421. "type": "string"
  26422. },
  26423. "tradeusername": {
  26424. "description": "交易员名称",
  26425. "type": "string"
  26426. },
  26427. "unpayamount": {
  26428. "description": "应收付款额(应支付或应收款) | 未付款额",
  26429. "type": "number"
  26430. },
  26431. "unpricedqty": {
  26432. "description": "未定价量",
  26433. "type": "number"
  26434. },
  26435. "unsureqty": {
  26436. "description": "未确定量 | 未交收量",
  26437. "type": "number"
  26438. },
  26439. "userid": {
  26440. "description": "机构ID",
  26441. "type": "integer"
  26442. },
  26443. "vatrate": {
  26444. "description": "增值税率",
  26445. "type": "number"
  26446. },
  26447. "wrstandardcode": {
  26448. "description": "品类代码",
  26449. "type": "string"
  26450. },
  26451. "wrstandardid": {
  26452. "description": "品类ID",
  26453. "type": "integer"
  26454. },
  26455. "wrstandardname": {
  26456. "description": "品类名称",
  26457. "type": "string"
  26458. }
  26459. }
  26460. },
  26461. "models.Ermcp3SpotGoodsPrice": {
  26462. "type": "object",
  26463. "properties": {
  26464. "areauserid": {
  26465. "description": "所属机构id",
  26466. "type": "integer"
  26467. },
  26468. "brandname": {
  26469. "description": "品牌名称",
  26470. "type": "string"
  26471. },
  26472. "currencyid": {
  26473. "description": "报价货币ID",
  26474. "type": "integer"
  26475. },
  26476. "currencyname": {
  26477. "description": "币种名称",
  26478. "type": "string"
  26479. },
  26480. "deliverygoodscode": {
  26481. "description": "现货商品代码",
  26482. "type": "string"
  26483. },
  26484. "deliverygoodsid": {
  26485. "description": "现货商品id",
  26486. "type": "integer"
  26487. },
  26488. "deliverygoodsname": {
  26489. "description": "现货商品名称",
  26490. "type": "string"
  26491. },
  26492. "enumdicname": {
  26493. "description": "现货商品单位名称",
  26494. "type": "string"
  26495. },
  26496. "gbenumdicname": {
  26497. "description": "品类单位名称",
  26498. "type": "string"
  26499. },
  26500. "gmunitid": {
  26501. "description": "品类单位id",
  26502. "type": "integer"
  26503. },
  26504. "isvalid": {
  26505. "description": "是否有效 - 0:无效 1:有效",
  26506. "type": "integer"
  26507. },
  26508. "operateid": {
  26509. "description": "最后操作人",
  26510. "type": "integer"
  26511. },
  26512. "operatesrc": {
  26513. "description": "最后操作来源 - 1:管理端 2:终端",
  26514. "type": "integer"
  26515. },
  26516. "operatetime": {
  26517. "description": "最后操作时间",
  26518. "type": "string"
  26519. },
  26520. "operatorname": {
  26521. "description": "操作人名称",
  26522. "type": "string"
  26523. },
  26524. "spotgoodsbrandid": {
  26525. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26526. "type": "integer"
  26527. },
  26528. "spotgoodsprice": {
  26529. "description": "现货价格",
  26530. "type": "number"
  26531. },
  26532. "tradedate": {
  26533. "description": "交易日(yyyyMMdd)",
  26534. "type": "string"
  26535. },
  26536. "unitid": {
  26537. "description": "现货商品单位id",
  26538. "type": "integer"
  26539. },
  26540. "wrstandardcode": {
  26541. "description": "品类代码",
  26542. "type": "string"
  26543. },
  26544. "wrstandardid": {
  26545. "description": "现货品类ID(通用则为0)",
  26546. "type": "integer"
  26547. },
  26548. "wrstandardname": {
  26549. "description": "品类名称",
  26550. "type": "string"
  26551. }
  26552. }
  26553. },
  26554. "models.Ermcp3SpotGoodsPriceLog": {
  26555. "type": "object",
  26556. "properties": {
  26557. "areauserid": {
  26558. "description": "所属机构id",
  26559. "type": "integer"
  26560. },
  26561. "brandname": {
  26562. "description": "品牌名称",
  26563. "type": "string"
  26564. },
  26565. "currencyid": {
  26566. "description": "报价货币ID",
  26567. "type": "integer"
  26568. },
  26569. "deliverygoodscode": {
  26570. "description": "现货商品代码",
  26571. "type": "string"
  26572. },
  26573. "deliverygoodsid": {
  26574. "description": "现货商品id",
  26575. "type": "integer"
  26576. },
  26577. "deliverygoodsname": {
  26578. "description": "现货商品名称",
  26579. "type": "string"
  26580. },
  26581. "enumdicname": {
  26582. "description": "现货商品单位名称",
  26583. "type": "string"
  26584. },
  26585. "gbenumdicname": {
  26586. "description": "品类单位名称",
  26587. "type": "string"
  26588. },
  26589. "gmunitid": {
  26590. "description": "品类单位id",
  26591. "type": "integer"
  26592. },
  26593. "logid": {
  26594. "description": "日志id",
  26595. "type": "integer"
  26596. },
  26597. "operateid": {
  26598. "description": "最后操作人",
  26599. "type": "integer"
  26600. },
  26601. "operatesrc": {
  26602. "description": "最后操作来源 - 1:管理端 2:终端",
  26603. "type": "integer"
  26604. },
  26605. "operatetime": {
  26606. "description": "最后操作时间",
  26607. "type": "string"
  26608. },
  26609. "operatorname": {
  26610. "description": "操作人名称",
  26611. "type": "string"
  26612. },
  26613. "spotgoodsbrandid": {
  26614. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26615. "type": "integer"
  26616. },
  26617. "spotgoodsprice": {
  26618. "description": "现货价格",
  26619. "type": "number"
  26620. },
  26621. "tradedate": {
  26622. "description": "交易日(yyyyMMdd)",
  26623. "type": "string"
  26624. },
  26625. "unitid": {
  26626. "description": "现货商品单位id",
  26627. "type": "integer"
  26628. },
  26629. "wrstandardcode": {
  26630. "description": "品类代码",
  26631. "type": "string"
  26632. },
  26633. "wrstandardid": {
  26634. "description": "现货品类ID(通用则为0)",
  26635. "type": "integer"
  26636. },
  26637. "wrstandardname": {
  26638. "description": "品类名称",
  26639. "type": "string"
  26640. }
  26641. }
  26642. },
  26643. "models.Ermcp3SubTaaccount": {
  26644. "type": "object",
  26645. "properties": {
  26646. "accountid": {
  26647. "description": "资金账户ID",
  26648. "type": "integer"
  26649. },
  26650. "parentaccountcode": {
  26651. "description": "所属根账号代码(母账号代码)",
  26652. "type": "string"
  26653. },
  26654. "parentaccountid": {
  26655. "description": "所属根账号(母账号)",
  26656. "type": "integer"
  26657. },
  26658. "taname": {
  26659. "description": "资金账号名称",
  26660. "type": "string"
  26661. },
  26662. "tradestatus": {
  26663. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26664. "type": "integer"
  26665. },
  26666. "username": {
  26667. "description": "交易用户",
  26668. "type": "string"
  26669. }
  26670. }
  26671. },
  26672. "models.Ermcp3TaFutuReDataReport": {
  26673. "type": "object",
  26674. "properties": {
  26675. "accountid": {
  26676. "description": "交易账户",
  26677. "type": "integer"
  26678. },
  26679. "accountname": {
  26680. "description": "交易账号名称",
  26681. "type": "string"
  26682. },
  26683. "agreeunit": {
  26684. "description": "商品合约单位",
  26685. "type": "number"
  26686. },
  26687. "begindate": {
  26688. "description": "开始交易日",
  26689. "type": "string"
  26690. },
  26691. "buyorsell": {
  26692. "description": "持仓方向",
  26693. "type": "integer"
  26694. },
  26695. "charge": {
  26696. "description": "手续费",
  26697. "type": "number"
  26698. },
  26699. "closeavgprice": {
  26700. "description": "期初均价",
  26701. "type": "number"
  26702. },
  26703. "closepl": {
  26704. "description": "平仓损益",
  26705. "type": "number"
  26706. },
  26707. "currencyid": {
  26708. "description": "结算币种ID",
  26709. "type": "integer"
  26710. },
  26711. "currencyname": {
  26712. "description": "币种名称",
  26713. "type": "string"
  26714. },
  26715. "cycletime": {
  26716. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26717. "type": "string"
  26718. },
  26719. "cycletype": {
  26720. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26721. "type": "integer"
  26722. },
  26723. "enddate": {
  26724. "description": "结束交易日",
  26725. "type": "string"
  26726. },
  26727. "enumdicname": {
  26728. "description": "单位名称",
  26729. "type": "string"
  26730. },
  26731. "floatpl": {
  26732. "description": "浮动损益",
  26733. "type": "number"
  26734. },
  26735. "goodscode": {
  26736. "description": "交易合约代码",
  26737. "type": "string"
  26738. },
  26739. "goodsgroupid": {
  26740. "description": "交易品种",
  26741. "type": "integer"
  26742. },
  26743. "goodsgroupname": {
  26744. "description": "交易品种名称",
  26745. "type": "string"
  26746. },
  26747. "goodsgroupspotqty": {
  26748. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26749. "type": "number"
  26750. },
  26751. "goodsid": {
  26752. "description": "交易合约",
  26753. "type": "integer"
  26754. },
  26755. "goodsname": {
  26756. "description": "交易合约名称",
  26757. "type": "string"
  26758. },
  26759. "goodunitid": {
  26760. "description": "交易合约单位id",
  26761. "type": "integer"
  26762. },
  26763. "holdamount": {
  26764. "description": "期末持仓额",
  26765. "type": "number"
  26766. },
  26767. "holdqty": {
  26768. "description": "期初均价",
  26769. "type": "number"
  26770. },
  26771. "lastholdamount": {
  26772. "description": "当前持仓额",
  26773. "type": "number"
  26774. },
  26775. "lastprice": {
  26776. "description": "最新价",
  26777. "type": "number"
  26778. },
  26779. "middlegoodsid": {
  26780. "description": "套保品种id",
  26781. "type": "integer"
  26782. },
  26783. "middlegoodsname": {
  26784. "description": "套保商品名称",
  26785. "type": "string"
  26786. },
  26787. "middlegoodsqty": {
  26788. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26789. "type": "number"
  26790. },
  26791. "middlgoodscode": {
  26792. "description": "套保商品代码",
  26793. "type": "string"
  26794. },
  26795. "openamount": {
  26796. "description": "期末开仓额",
  26797. "type": "number"
  26798. },
  26799. "openavgprice": {
  26800. "description": "期初均价",
  26801. "type": "number"
  26802. },
  26803. "oriholdamount": {
  26804. "description": "期初持仓额",
  26805. "type": "number"
  26806. },
  26807. "oriholdqty": {
  26808. "description": "期初均价",
  26809. "type": "number"
  26810. },
  26811. "oriopenamount": {
  26812. "description": "期初开仓额",
  26813. "type": "number"
  26814. },
  26815. "outergroupcode": {
  26816. "description": "交易品种代码",
  26817. "type": "string"
  26818. },
  26819. "qtydecimalplace": {
  26820. "description": "成交量小数位",
  26821. "type": "integer"
  26822. },
  26823. "reckondate": {
  26824. "description": "日照时期(yyyyMMdd)",
  26825. "type": "string"
  26826. },
  26827. "reckonholdamount": {
  26828. "description": "结算持仓额",
  26829. "type": "number"
  26830. },
  26831. "reckonpl": {
  26832. "description": "结算损益",
  26833. "type": "number"
  26834. },
  26835. "reckonpl2": {
  26836. "description": "结算逐笔盈亏",
  26837. "type": "number"
  26838. },
  26839. "reckonprice": {
  26840. "description": "结算价",
  26841. "type": "number"
  26842. },
  26843. "relateduserid": {
  26844. "description": "账户关联用户ID",
  26845. "type": "integer"
  26846. },
  26847. "todaycloseamount": {
  26848. "description": "今平仓额",
  26849. "type": "number"
  26850. },
  26851. "todaycloseqty": {
  26852. "description": "期初均价",
  26853. "type": "number"
  26854. },
  26855. "todaygoodsgroupspotqty": {
  26856. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26857. "type": "number"
  26858. },
  26859. "todaymiddlegoodsqty": {
  26860. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26861. "type": "number"
  26862. },
  26863. "todayopenamount": {
  26864. "description": "今开仓额",
  26865. "type": "number"
  26866. },
  26867. "todayopenqty": {
  26868. "description": "期初均价",
  26869. "type": "number"
  26870. },
  26871. "userid": {
  26872. "description": "账户所属用户ID",
  26873. "type": "integer"
  26874. }
  26875. }
  26876. },
  26877. "models.Ermcp3TradeLinkDetail": {
  26878. "type": "object",
  26879. "properties": {
  26880. "accountid": {
  26881. "description": "资金账号",
  26882. "type": "integer"
  26883. },
  26884. "agreeunit": {
  26885. "description": "合约乘数",
  26886. "type": "number"
  26887. },
  26888. "areauserid": {
  26889. "description": "所属机构",
  26890. "type": "string"
  26891. },
  26892. "bizsubjectid": {
  26893. "description": "归属业务部门ID - SubjectID",
  26894. "type": "string"
  26895. },
  26896. "buyorsell": {
  26897. "description": "方向 - 0:买 1:卖",
  26898. "type": "integer"
  26899. },
  26900. "channelbuildtype": {
  26901. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26902. "type": "integer"
  26903. },
  26904. "contractno": {
  26905. "description": "现货编号 (合同编号)",
  26906. "type": "string"
  26907. },
  26908. "convertratio": {
  26909. "description": "折算系数",
  26910. "type": "number"
  26911. },
  26912. "createtime": {
  26913. "description": "关联时间 | 创建时间",
  26914. "type": "string"
  26915. },
  26916. "creatorid": {
  26917. "description": "创建人ID",
  26918. "type": "string"
  26919. },
  26920. "creatorsrc": {
  26921. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26922. "type": "integer"
  26923. },
  26924. "enumdicname": {
  26925. "description": "单位名称",
  26926. "type": "string"
  26927. },
  26928. "goodscode": {
  26929. "description": "合约代码",
  26930. "type": "string"
  26931. },
  26932. "goodsgroupid": {
  26933. "description": "对冲品种ID[期货合约商品组ID]",
  26934. "type": "integer"
  26935. },
  26936. "goodsid": {
  26937. "description": "商品ID",
  26938. "type": "integer"
  26939. },
  26940. "goodsname": {
  26941. "description": "合约名称",
  26942. "type": "string"
  26943. },
  26944. "hedgeflag": {
  26945. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26946. "type": "integer"
  26947. },
  26948. "linkdetailid": {
  26949. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26950. "type": "string"
  26951. },
  26952. "linkstatus": {
  26953. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26954. "type": "integer"
  26955. },
  26956. "middlegoodscode": {
  26957. "description": "套保品种代码",
  26958. "type": "string"
  26959. },
  26960. "middlegoodsid": {
  26961. "description": "套保品种ID",
  26962. "type": "integer"
  26963. },
  26964. "middlegoodsname": {
  26965. "description": "套保品种名称",
  26966. "type": "string"
  26967. },
  26968. "relatedlot": {
  26969. "description": "关联手数",
  26970. "type": "number"
  26971. },
  26972. "relatedmode": {
  26973. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26974. "type": "integer"
  26975. },
  26976. "relatedqty": {
  26977. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26978. "type": "number"
  26979. },
  26980. "retcode": {
  26981. "description": "返回码",
  26982. "type": "integer"
  26983. },
  26984. "saleuserid": {
  26985. "description": "业务员ID",
  26986. "type": "string"
  26987. },
  26988. "spotcontractid": {
  26989. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26990. "type": "string"
  26991. },
  26992. "taname": {
  26993. "description": "期货账户",
  26994. "type": "string"
  26995. },
  26996. "tradedate": {
  26997. "description": "关联交易日(yyyyMMdd)",
  26998. "type": "string"
  26999. },
  27000. "tradeid": {
  27001. "description": "期货订单号 | 内部成交单ID",
  27002. "type": "string"
  27003. },
  27004. "tradelot": {
  27005. "description": "成交数量 | 成交手数",
  27006. "type": "integer"
  27007. },
  27008. "tradeprice": {
  27009. "description": "成交价格",
  27010. "type": "number"
  27011. },
  27012. "tradetime": {
  27013. "description": "期货成交时间",
  27014. "type": "string"
  27015. },
  27016. "tradetradedate": {
  27017. "description": "成交交易日(yyyyMMdd)",
  27018. "type": "string"
  27019. },
  27020. "username": {
  27021. "description": "用户名称",
  27022. "type": "string"
  27023. }
  27024. }
  27025. },
  27026. "models.Ermcp3Wrstandard": {
  27027. "type": "object",
  27028. "properties": {
  27029. "areauserid": {
  27030. "description": "所属机构",
  27031. "type": "integer"
  27032. },
  27033. "cantrade": {
  27034. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27035. "type": "integer"
  27036. },
  27037. "convertfactor": {
  27038. "description": "标仓系数",
  27039. "type": "number"
  27040. },
  27041. "createtime": {
  27042. "description": "创建时间",
  27043. "type": "string"
  27044. },
  27045. "creatorid": {
  27046. "description": "创建人",
  27047. "type": "integer"
  27048. },
  27049. "deliverygoodsid": {
  27050. "description": "现货品种ID",
  27051. "type": "integer"
  27052. },
  27053. "enumdicname": {
  27054. "description": "品类单位名称",
  27055. "type": "string"
  27056. },
  27057. "isvalid": {
  27058. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  27059. "type": "integer"
  27060. },
  27061. "minivalue": {
  27062. "description": "最小变动值",
  27063. "type": "integer"
  27064. },
  27065. "minivaluedp": {
  27066. "description": "最小变动值小数位",
  27067. "type": "integer"
  27068. },
  27069. "realminivalue": {
  27070. "description": "实际最小变动值",
  27071. "type": "integer"
  27072. },
  27073. "realminivaluedp": {
  27074. "description": "实际最小变动值小数位",
  27075. "type": "integer"
  27076. },
  27077. "remark": {
  27078. "description": "备注",
  27079. "type": "string"
  27080. },
  27081. "unitid": {
  27082. "description": "品类单位ID",
  27083. "type": "integer"
  27084. },
  27085. "updatetime": {
  27086. "description": "更新时间",
  27087. "type": "string"
  27088. },
  27089. "wrstandardcode": {
  27090. "description": "品类代码",
  27091. "type": "string"
  27092. },
  27093. "wrstandardid": {
  27094. "description": "品类ID(SEQ_WRSTANDARD)",
  27095. "type": "integer"
  27096. },
  27097. "wrstandardname": {
  27098. "description": "品类名称",
  27099. "type": "string"
  27100. }
  27101. }
  27102. },
  27103. "models.Ermcp8EnableHedgeditem": {
  27104. "type": "object",
  27105. "properties": {
  27106. "accountname": {
  27107. "description": "套期主体",
  27108. "type": "string"
  27109. },
  27110. "hedgeditemid": {
  27111. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27112. "type": "string"
  27113. },
  27114. "hedgeditemname": {
  27115. "description": "项目名称",
  27116. "type": "string"
  27117. },
  27118. "hedgeditemnum": {
  27119. "description": "项目编号",
  27120. "type": "string"
  27121. },
  27122. "hedgedtype": {
  27123. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27124. "type": "integer"
  27125. },
  27126. "planenddate": {
  27127. "description": "计划结束日期",
  27128. "type": "string"
  27129. },
  27130. "planstartdate": {
  27131. "description": "计划开始日期",
  27132. "type": "string"
  27133. },
  27134. "wrstandardid": {
  27135. "description": "现货商品ID",
  27136. "type": "integer"
  27137. },
  27138. "wrstandardname": {
  27139. "description": "现货商品",
  27140. "type": "string"
  27141. }
  27142. }
  27143. },
  27144. "models.Ermcp8HedgeditemReport": {
  27145. "type": "object",
  27146. "properties": {
  27147. "accountname": {
  27148. "description": "套期主体",
  27149. "type": "string"
  27150. },
  27151. "areauserid": {
  27152. "description": "企业ID",
  27153. "type": "integer"
  27154. },
  27155. "curprice": {
  27156. "description": "[当日现货市场价]当前市场价",
  27157. "type": "number"
  27158. },
  27159. "enumdicname": {
  27160. "description": "单位",
  27161. "type": "string"
  27162. },
  27163. "exeamount": {
  27164. "description": "[执行现货金额]执行市价总额",
  27165. "type": "number"
  27166. },
  27167. "exeavgprice": {
  27168. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  27169. "type": "number"
  27170. },
  27171. "exeqty": {
  27172. "description": "[执行数量]执行现货量",
  27173. "type": "number"
  27174. },
  27175. "futurehedgepl": {
  27176. "description": "期货实际损益",
  27177. "type": "number"
  27178. },
  27179. "futurehedgeplchange": {
  27180. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  27181. "type": "number"
  27182. },
  27183. "futurepl": {
  27184. "description": "期货套期损益",
  27185. "type": "number"
  27186. },
  27187. "futureplchange": {
  27188. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  27189. "type": "number"
  27190. },
  27191. "hedgeamount": {
  27192. "description": "[套期现货金额]套期市价总额",
  27193. "type": "number"
  27194. },
  27195. "hedgeditemnum": {
  27196. "description": "项目编号,模糊查询",
  27197. "type": "string"
  27198. },
  27199. "hedgeditemstatus": {
  27200. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27201. "type": "integer"
  27202. },
  27203. "hedgedtype": {
  27204. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27205. "type": "integer"
  27206. },
  27207. "hedgeqty": {
  27208. "description": "[套期数量]套期现货量",
  27209. "type": "number"
  27210. },
  27211. "oriavgprice": {
  27212. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  27213. "type": "number"
  27214. },
  27215. "orifuturehedgepl": {
  27216. "description": "期初期货实际损益",
  27217. "type": "number"
  27218. },
  27219. "orifuturepl": {
  27220. "description": "期初期货套期损益",
  27221. "type": "number"
  27222. },
  27223. "orispothedgepl": {
  27224. "description": "期初现货实际损益",
  27225. "type": "number"
  27226. },
  27227. "orispotpl": {
  27228. "description": "期初现货套期损益",
  27229. "type": "number"
  27230. },
  27231. "planenddate": {
  27232. "description": "计划结束日期",
  27233. "type": "string"
  27234. },
  27235. "planstartdate": {
  27236. "description": "计划开始日期",
  27237. "type": "string"
  27238. },
  27239. "spothedgepl": {
  27240. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27241. "type": "number"
  27242. },
  27243. "spothedgeplchange": {
  27244. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  27245. "type": "number"
  27246. },
  27247. "spotpl": {
  27248. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27249. "type": "number"
  27250. },
  27251. "spotplchange": {
  27252. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  27253. "type": "number"
  27254. },
  27255. "tradeuserid": {
  27256. "description": "交易用户ID",
  27257. "type": "integer"
  27258. },
  27259. "unexeqty": {
  27260. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27261. "type": "number"
  27262. },
  27263. "wrstandardcode": {
  27264. "description": "现货品类代码",
  27265. "type": "string"
  27266. },
  27267. "wrstandardid": {
  27268. "description": "现货商品ID",
  27269. "type": "integer"
  27270. },
  27271. "wrstandardname": {
  27272. "description": "[现货商品]现货品类名称",
  27273. "type": "string"
  27274. }
  27275. }
  27276. },
  27277. "models.Ermcp8RunningHedgeditem": {
  27278. "type": "object",
  27279. "properties": {
  27280. "accountname": {
  27281. "description": "套期主体",
  27282. "type": "string"
  27283. },
  27284. "applyid": {
  27285. "description": "申请人",
  27286. "type": "integer"
  27287. },
  27288. "applysrc": {
  27289. "description": "申请来源 - 1:管理端 2:终端",
  27290. "type": "integer"
  27291. },
  27292. "areauserid": {
  27293. "description": "企业ID",
  27294. "type": "integer"
  27295. },
  27296. "auditid": {
  27297. "description": "审核人",
  27298. "type": "integer"
  27299. },
  27300. "auditremark": {
  27301. "description": "审核备注",
  27302. "type": "string"
  27303. },
  27304. "auditsrc": {
  27305. "description": "审核来源 - 1:管理端 2:终端",
  27306. "type": "integer"
  27307. },
  27308. "audittime": {
  27309. "description": "审核时间",
  27310. "type": "string"
  27311. },
  27312. "audittradedate": {
  27313. "description": "审核交易日(yyyyMMdd)",
  27314. "type": "string"
  27315. },
  27316. "createtime": {
  27317. "description": "申请时间",
  27318. "type": "string"
  27319. },
  27320. "curprice": {
  27321. "description": "当前市场价",
  27322. "type": "number"
  27323. },
  27324. "curstock": {
  27325. "description": "期末库存量 = 采购总量 - 销售总量",
  27326. "type": "number"
  27327. },
  27328. "deliverygoodsid": {
  27329. "description": "现货品种ID",
  27330. "type": "integer"
  27331. },
  27332. "enddate": {
  27333. "description": "完成日期",
  27334. "type": "string"
  27335. },
  27336. "endtradedate": {
  27337. "description": "完成交易日",
  27338. "type": "string"
  27339. },
  27340. "enumdicname": {
  27341. "description": "单位",
  27342. "type": "string"
  27343. },
  27344. "exeamount": {
  27345. "description": "执行市价总额",
  27346. "type": "number"
  27347. },
  27348. "exeavgprice": {
  27349. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  27350. "type": "number"
  27351. },
  27352. "execontractamount": {
  27353. "description": "执行定价总额",
  27354. "type": "number"
  27355. },
  27356. "exeqty": {
  27357. "description": "执行现货量",
  27358. "type": "number"
  27359. },
  27360. "exerestamount": {
  27361. "description": "执行剩余市价总额【现货贸易】",
  27362. "type": "number"
  27363. },
  27364. "futurefloatpl": {
  27365. "description": "期货浮动损益",
  27366. "type": "number"
  27367. },
  27368. "futurehedgepl": {
  27369. "description": "期货实际损益",
  27370. "type": "number"
  27371. },
  27372. "futurehedgeplchange": {
  27373. "description": "期货实际损益变动",
  27374. "type": "number"
  27375. },
  27376. "futurepl": {
  27377. "description": "期货套期损益",
  27378. "type": "number"
  27379. },
  27380. "futureplchange": {
  27381. "description": "期货套期损益变动",
  27382. "type": "number"
  27383. },
  27384. "hedgeamount": {
  27385. "description": "套期市价总额",
  27386. "type": "number"
  27387. },
  27388. "hedgecontractamount": {
  27389. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  27390. "type": "number"
  27391. },
  27392. "hedgeditemid": {
  27393. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27394. "type": "string"
  27395. },
  27396. "hedgeditemname": {
  27397. "description": "项目名称",
  27398. "type": "string"
  27399. },
  27400. "hedgeditemnum": {
  27401. "description": "项目编号",
  27402. "type": "string"
  27403. },
  27404. "hedgeditemstatus": {
  27405. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27406. "type": "integer"
  27407. },
  27408. "hedgedtype": {
  27409. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27410. "type": "integer"
  27411. },
  27412. "hedgeqty": {
  27413. "description": "套期现货量",
  27414. "type": "number"
  27415. },
  27416. "hedgerate": {
  27417. "description": "套保比率",
  27418. "type": "number"
  27419. },
  27420. "hedgerestamount": {
  27421. "description": "套期剩余市价总额【现货贸易】",
  27422. "type": "number"
  27423. },
  27424. "hedgesumpl": {
  27425. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  27426. "type": "number"
  27427. },
  27428. "middlegoodslist": {
  27429. "description": "套期商品列表",
  27430. "type": "array",
  27431. "items": {
  27432. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  27433. }
  27434. },
  27435. "oriavgprice": {
  27436. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  27437. "type": "number"
  27438. },
  27439. "orifuturehedgepl": {
  27440. "description": "期初期货实际损益",
  27441. "type": "number"
  27442. },
  27443. "orifuturepl": {
  27444. "description": "期初期货套期损益",
  27445. "type": "number"
  27446. },
  27447. "orispothedgepl": {
  27448. "description": "期初现货实际损益",
  27449. "type": "number"
  27450. },
  27451. "orispotpl": {
  27452. "description": "期初现货套期损益",
  27453. "type": "number"
  27454. },
  27455. "planenddate": {
  27456. "description": "计划结束日期",
  27457. "type": "string"
  27458. },
  27459. "planstartdate": {
  27460. "description": "计划开始日期",
  27461. "type": "string"
  27462. },
  27463. "remark": {
  27464. "description": "备注",
  27465. "type": "string"
  27466. },
  27467. "spotbookamount": {
  27468. "description": "现货账面总额",
  27469. "type": "number"
  27470. },
  27471. "spotfloatpl": {
  27472. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27473. "type": "number"
  27474. },
  27475. "spothedgepl": {
  27476. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27477. "type": "number"
  27478. },
  27479. "spothedgeplchange": {
  27480. "description": "现货实际损益变动",
  27481. "type": "number"
  27482. },
  27483. "spotpl": {
  27484. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27485. "type": "number"
  27486. },
  27487. "spotplchange": {
  27488. "description": "现货套期损益变动",
  27489. "type": "number"
  27490. },
  27491. "spottradepl": {
  27492. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  27493. "type": "number"
  27494. },
  27495. "sumobspl": {
  27496. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  27497. "type": "number"
  27498. },
  27499. "tradeuserid": {
  27500. "description": "交易用户ID",
  27501. "type": "integer"
  27502. },
  27503. "unexeqty": {
  27504. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27505. "type": "number"
  27506. },
  27507. "updatetime": {
  27508. "description": "更新时间",
  27509. "type": "string"
  27510. },
  27511. "vatpl": {
  27512. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  27513. "type": "number"
  27514. },
  27515. "vatrate": {
  27516. "description": "增值税",
  27517. "type": "number"
  27518. },
  27519. "wrstandardid": {
  27520. "description": "现货商品ID",
  27521. "type": "integer"
  27522. },
  27523. "wrstandardname": {
  27524. "description": "商品名称",
  27525. "type": "string"
  27526. }
  27527. }
  27528. },
  27529. "models.ErmcpBizGroupEx": {
  27530. "type": "object",
  27531. "properties": {
  27532. "acclist": {
  27533. "description": "账号列表",
  27534. "type": "array",
  27535. "items": {
  27536. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  27537. }
  27538. },
  27539. "bizgroupid": {
  27540. "description": "业务分组id",
  27541. "type": "integer"
  27542. },
  27543. "biztype": {
  27544. "description": "业务类型 1-套保 2-套利",
  27545. "type": "integer"
  27546. },
  27547. "wrlist": {
  27548. "description": "现货商品表",
  27549. "type": "array",
  27550. "items": {
  27551. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27552. }
  27553. }
  27554. }
  27555. },
  27556. "models.ErmcpBizGroupSpotGoods": {
  27557. "type": "object",
  27558. "properties": {
  27559. "areauserid": {
  27560. "description": "所属机构id",
  27561. "type": "integer"
  27562. },
  27563. "bizgroupid": {
  27564. "description": "分组id",
  27565. "type": "integer"
  27566. },
  27567. "biztype": {
  27568. "description": "业务类型 1-套保 2-套利",
  27569. "type": "integer"
  27570. },
  27571. "deliverygoodscode": {
  27572. "description": "现货商品代码",
  27573. "type": "string"
  27574. },
  27575. "deliverygoodsid": {
  27576. "description": "现货商品id",
  27577. "type": "integer"
  27578. },
  27579. "deliverygoodsname": {
  27580. "description": "现货商品名称",
  27581. "type": "string"
  27582. },
  27583. "unitid": {
  27584. "description": "现货商品单位id",
  27585. "type": "integer"
  27586. }
  27587. }
  27588. },
  27589. "models.ErmcpBizGroupTaAccount": {
  27590. "type": "object",
  27591. "properties": {
  27592. "accountid": {
  27593. "description": "账号id",
  27594. "type": "integer"
  27595. },
  27596. "accountname": {
  27597. "description": "账号名称",
  27598. "type": "string"
  27599. },
  27600. "areauserid": {
  27601. "description": "所属机构id",
  27602. "type": "integer"
  27603. },
  27604. "bizgroupid": {
  27605. "description": "业务分组id",
  27606. "type": "integer"
  27607. },
  27608. "ismain": {
  27609. "description": "是否主账号 1-是 0-否",
  27610. "type": "integer"
  27611. }
  27612. }
  27613. },
  27614. "models.ErmcpDGFactoryItem": {
  27615. "type": "object",
  27616. "properties": {
  27617. "areauserid": {
  27618. "description": "用户id",
  27619. "type": "integer"
  27620. },
  27621. "deliverygoodsid": {
  27622. "description": "现货品种ID",
  27623. "type": "integer"
  27624. },
  27625. "dgfactoryitemid": {
  27626. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27627. "type": "integer"
  27628. },
  27629. "dgfactoryitemtypeid": {
  27630. "description": "要素项类型",
  27631. "type": "integer"
  27632. },
  27633. "dgfactoryitemvalue": {
  27634. "description": "要素项值(类型为仓库时填写仓库名称)",
  27635. "type": "string"
  27636. },
  27637. "isvalid": {
  27638. "description": "是否有效 - 0:无效 1:有效",
  27639. "type": "integer"
  27640. },
  27641. "orderindex": {
  27642. "description": "顺序",
  27643. "type": "integer"
  27644. },
  27645. "warehouseid": {
  27646. "description": "仓库ID(类型为仓库时填写)",
  27647. "type": "integer"
  27648. }
  27649. }
  27650. },
  27651. "models.ErmcpDeliveryGoods": {
  27652. "type": "object",
  27653. "properties": {
  27654. "agreeunit": {
  27655. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27656. "type": "integer"
  27657. },
  27658. "areauserid": {
  27659. "description": "所属机构",
  27660. "type": "integer"
  27661. },
  27662. "auditflag": {
  27663. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27664. "type": "integer"
  27665. },
  27666. "categoryid": {
  27667. "description": "类别ID(SEQ_WRCATEGORY)",
  27668. "type": "integer"
  27669. },
  27670. "deliverygoodscode": {
  27671. "description": "现货品种代码",
  27672. "type": "string"
  27673. },
  27674. "deliverygoodsid": {
  27675. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27676. "type": "integer"
  27677. },
  27678. "deliverygoodsname": {
  27679. "description": "现货品种名称",
  27680. "type": "string"
  27681. },
  27682. "deliverygoodstype": {
  27683. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27684. "type": "integer"
  27685. },
  27686. "dgstatus": {
  27687. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27688. "type": "integer"
  27689. },
  27690. "enumdicname": {
  27691. "description": "现货品种单位名称",
  27692. "type": "string"
  27693. },
  27694. "goodsunitid": {
  27695. "description": "现货品种单位ID",
  27696. "type": "integer"
  27697. },
  27698. "isvalid": {
  27699. "description": "是否有效 - 0:无效 1:有效",
  27700. "type": "integer"
  27701. },
  27702. "qtydecimalplace": {
  27703. "description": "成交量小数位",
  27704. "type": "integer"
  27705. },
  27706. "remark": {
  27707. "description": "备注",
  27708. "type": "string"
  27709. },
  27710. "standardqty": {
  27711. "description": "标准数量(库位数量) [标准品特有]",
  27712. "type": "integer"
  27713. },
  27714. "standardqtyrange": {
  27715. "description": "标准数量偏差范围 [标准品特有]",
  27716. "type": "integer"
  27717. }
  27718. }
  27719. },
  27720. "models.ErmcpFuturesCompany": {
  27721. "type": "object",
  27722. "properties": {
  27723. "brokerid": {
  27724. "description": "经纪公司代码",
  27725. "type": "string"
  27726. },
  27727. "channeladdress": {
  27728. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27729. "type": "string"
  27730. },
  27731. "channelid": {
  27732. "description": "对冲渠道ID",
  27733. "type": "string"
  27734. },
  27735. "createtime": {
  27736. "description": "创建时间",
  27737. "type": "string"
  27738. },
  27739. "creatorid": {
  27740. "description": "创建人",
  27741. "type": "string"
  27742. },
  27743. "fcid": {
  27744. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27745. "type": "integer"
  27746. },
  27747. "fcname": {
  27748. "description": "期货公司名称",
  27749. "type": "string"
  27750. },
  27751. "isvalid": {
  27752. "description": "是否有效 - 0:无效 1:有效",
  27753. "type": "integer"
  27754. },
  27755. "mhpaddress": {
  27756. "description": "MHP服务地址(IP:Port)",
  27757. "type": "string"
  27758. },
  27759. "riskrulegroupid": {
  27760. "description": "风控规则组ID",
  27761. "type": "string"
  27762. },
  27763. "tradefeetmpid": {
  27764. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27765. "type": "string"
  27766. },
  27767. "trademargintmpid": {
  27768. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27769. "type": "string"
  27770. },
  27771. "traderatetmpid": {
  27772. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27773. "type": "string"
  27774. },
  27775. "updatetime": {
  27776. "description": "更新时间",
  27777. "type": "string"
  27778. },
  27779. "updatorid": {
  27780. "description": "更新人",
  27781. "type": "string"
  27782. }
  27783. }
  27784. },
  27785. "models.ErmcpGGConvertCfg": {
  27786. "type": "object",
  27787. "properties": {
  27788. "convertratio": {
  27789. "description": "折算系数",
  27790. "type": "number"
  27791. },
  27792. "destgoodsgroupid": {
  27793. "description": "目标品种ID",
  27794. "type": "integer"
  27795. },
  27796. "dstcode": {
  27797. "description": "目录品种代码",
  27798. "type": "string"
  27799. },
  27800. "dstexchangecode": {
  27801. "description": "目标期货交易所",
  27802. "type": "string"
  27803. },
  27804. "dstname": {
  27805. "description": "目标品种名称",
  27806. "type": "string"
  27807. },
  27808. "dstunitid": {
  27809. "description": "目标品种单位ID",
  27810. "type": "integer"
  27811. },
  27812. "dstunitidname": {
  27813. "description": "目标品种单位名称",
  27814. "type": "string"
  27815. },
  27816. "modifytime": {
  27817. "description": "修改时间",
  27818. "type": "string"
  27819. },
  27820. "srccode": {
  27821. "description": "源品种代码",
  27822. "type": "string"
  27823. },
  27824. "srcexchangecode": {
  27825. "description": "源期货交易所",
  27826. "type": "string"
  27827. },
  27828. "srcgoodsgroupid": {
  27829. "description": "源品种ID",
  27830. "type": "integer"
  27831. },
  27832. "srcname": {
  27833. "description": "源品种名称",
  27834. "type": "string"
  27835. },
  27836. "srcunitid": {
  27837. "description": "源品种单位ID",
  27838. "type": "integer"
  27839. },
  27840. "srcunitidname": {
  27841. "description": "源品种单位名称",
  27842. "type": "string"
  27843. }
  27844. }
  27845. },
  27846. "models.ErmcpGoods": {
  27847. "type": "object",
  27848. "required": [
  27849. "goodscode",
  27850. "goodsid",
  27851. "goodsname",
  27852. "marketid"
  27853. ],
  27854. "properties": {
  27855. "agreeunit": {
  27856. "description": "合约单位",
  27857. "type": "number"
  27858. },
  27859. "areauserid": {
  27860. "description": "所属机构",
  27861. "type": "integer"
  27862. },
  27863. "auditaccountid": {
  27864. "description": "审核操作员账号",
  27865. "type": "integer"
  27866. },
  27867. "audittime": {
  27868. "description": "审核时间",
  27869. "type": "string"
  27870. },
  27871. "cancelaccountid": {
  27872. "description": "注销操作员账号",
  27873. "type": "integer"
  27874. },
  27875. "canceltime": {
  27876. "description": "注销时间",
  27877. "type": "string"
  27878. },
  27879. "closepricemode": {
  27880. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27881. "type": "integer"
  27882. },
  27883. "closepriceparam": {
  27884. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27885. "type": "number"
  27886. },
  27887. "createtime": {
  27888. "description": "创建时间",
  27889. "type": "string"
  27890. },
  27891. "creatorid": {
  27892. "description": "创建人",
  27893. "type": "integer"
  27894. },
  27895. "currencyid": {
  27896. "description": "报价货币ID",
  27897. "type": "integer"
  27898. },
  27899. "cutmode": {
  27900. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27901. "type": "integer"
  27902. },
  27903. "decimalplace": {
  27904. "description": "报价小数位",
  27905. "type": "integer"
  27906. },
  27907. "delistingdate": {
  27908. "description": "商品退市时间(状态:退市) -- 已作废",
  27909. "type": "string"
  27910. },
  27911. "delistingmode": {
  27912. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27913. "type": "integer"
  27914. },
  27915. "deliveryflag": {
  27916. "description": "交割标志 - 0:不可交割 1:可交割",
  27917. "type": "integer"
  27918. },
  27919. "enumdicname": {
  27920. "description": "单位名称",
  27921. "type": "string"
  27922. },
  27923. "forceclosemode": {
  27924. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27925. "type": "integer"
  27926. },
  27927. "forceclosevalue": {
  27928. "description": "定期强平参数 [收益权]",
  27929. "type": "integer"
  27930. },
  27931. "goodscode": {
  27932. "description": "商品代码(内部)",
  27933. "type": "string"
  27934. },
  27935. "goodscurrencyid": {
  27936. "description": "合约货币ID",
  27937. "type": "integer"
  27938. },
  27939. "goodsgroupid": {
  27940. "description": "所属商品组ID",
  27941. "type": "integer"
  27942. },
  27943. "goodsid": {
  27944. "description": "商品ID(自增ID SEQ_GOODS)",
  27945. "type": "integer"
  27946. },
  27947. "goodsname": {
  27948. "description": "商品名称",
  27949. "type": "string"
  27950. },
  27951. "goodsquotetype": {
  27952. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27953. "type": "integer"
  27954. },
  27955. "goodsstatus": {
  27956. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27957. "type": "integer"
  27958. },
  27959. "goodstradetype": {
  27960. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27961. "type": "integer"
  27962. },
  27963. "goodunitid": {
  27964. "description": "报价单位ID",
  27965. "type": "integer"
  27966. },
  27967. "hasquoter": {
  27968. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27969. "type": "integer"
  27970. },
  27971. "hqprotecttime": {
  27972. "description": "行情保护时间(秒)",
  27973. "type": "integer"
  27974. },
  27975. "innerdealmode": {
  27976. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27977. "type": "integer"
  27978. },
  27979. "isbuylimited": {
  27980. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27981. "type": "integer"
  27982. },
  27983. "isvisible": {
  27984. "description": "游客是否可见 - 0:不可见 1:可见",
  27985. "type": "integer"
  27986. },
  27987. "lasttradedate": {
  27988. "description": "最后交易日期(状态:待退市)",
  27989. "type": "string"
  27990. },
  27991. "listingdate": {
  27992. "description": "交易开始日期",
  27993. "type": "string"
  27994. },
  27995. "marketid": {
  27996. "description": "所属市场ID",
  27997. "type": "integer"
  27998. },
  27999. "modifierid": {
  28000. "description": "修改人",
  28001. "type": "integer"
  28002. },
  28003. "modifystatus": {
  28004. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28005. "type": "integer"
  28006. },
  28007. "modifytime": {
  28008. "description": "修改时间",
  28009. "type": "string"
  28010. },
  28011. "outerdealmode": {
  28012. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28013. "type": "integer"
  28014. },
  28015. "outgoodscode": {
  28016. "description": "商品代码(外部)",
  28017. "type": "string"
  28018. },
  28019. "pictureurl": {
  28020. "description": "商品图片",
  28021. "type": "string"
  28022. },
  28023. "qtydecimalplace": {
  28024. "description": "成交量小数位",
  28025. "type": "integer"
  28026. },
  28027. "quotegear": {
  28028. "description": "行情档位(1-10)",
  28029. "type": "integer"
  28030. },
  28031. "quoteminunit": {
  28032. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28033. "type": "integer"
  28034. },
  28035. "quoteshowtype": {
  28036. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28037. "type": "integer"
  28038. },
  28039. "quoteshowtypeinterval": {
  28040. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28041. "type": "integer"
  28042. },
  28043. "relatedgoodsid": {
  28044. "description": "关联参考商品ID",
  28045. "type": "integer"
  28046. },
  28047. "remark": {
  28048. "description": "备注",
  28049. "type": "string"
  28050. },
  28051. "trademode": {
  28052. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28053. "type": "integer"
  28054. }
  28055. }
  28056. },
  28057. "models.ErmcpGoodsBrand": {
  28058. "type": "object",
  28059. "properties": {
  28060. "areauserid": {
  28061. "description": "所属机构",
  28062. "type": "integer"
  28063. },
  28064. "brandid": {
  28065. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  28066. "type": "integer"
  28067. },
  28068. "brandname": {
  28069. "description": "品牌名称",
  28070. "type": "string"
  28071. },
  28072. "createtime": {
  28073. "description": "创建时间",
  28074. "type": "string"
  28075. },
  28076. "creatorid": {
  28077. "description": "创建人",
  28078. "type": "integer"
  28079. },
  28080. "creatorsrc": {
  28081. "description": "创建人来源 - 1:管理端 2:终端",
  28082. "type": "integer"
  28083. },
  28084. "deliverygoodsid": {
  28085. "description": "现货品种ID",
  28086. "type": "integer"
  28087. },
  28088. "isvalid": {
  28089. "description": "是否有效 - 0:无效 1:有效",
  28090. "type": "integer"
  28091. },
  28092. "updatetime": {
  28093. "description": "更新时间",
  28094. "type": "string"
  28095. },
  28096. "updatorid": {
  28097. "description": "更新人",
  28098. "type": "integer"
  28099. },
  28100. "updatorsrc": {
  28101. "description": "更新人来源 - 1:管理端 2:终端",
  28102. "type": "integer"
  28103. },
  28104. "wrstandardid": {
  28105. "description": "现货商品ID",
  28106. "type": "integer"
  28107. }
  28108. }
  28109. },
  28110. "models.ErmcpGoodsModel": {
  28111. "type": "object",
  28112. "properties": {
  28113. "areauserid": {
  28114. "description": "所属机构",
  28115. "type": "integer"
  28116. },
  28117. "convertfactor": {
  28118. "description": "标仓系数",
  28119. "type": "number"
  28120. },
  28121. "createtime": {
  28122. "description": "创建时间",
  28123. "type": "string"
  28124. },
  28125. "creatorid": {
  28126. "description": "创建人",
  28127. "type": "integer"
  28128. },
  28129. "creatorsrc": {
  28130. "description": "创建人来源 - 1:管理端 2:终端",
  28131. "type": "integer"
  28132. },
  28133. "deliverygoodsid": {
  28134. "description": "现货品种ID",
  28135. "type": "integer"
  28136. },
  28137. "isvalid": {
  28138. "description": "是否有效 - 0:无效 1:有效",
  28139. "type": "integer"
  28140. },
  28141. "modelid": {
  28142. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  28143. "type": "integer"
  28144. },
  28145. "modelname": {
  28146. "description": "型号名称",
  28147. "type": "string"
  28148. },
  28149. "updatetime": {
  28150. "description": "更新时间",
  28151. "type": "string"
  28152. },
  28153. "updatorid": {
  28154. "description": "更新人",
  28155. "type": "integer"
  28156. },
  28157. "updatorsrc": {
  28158. "description": "更新人来源 - 1:管理端 2:终端",
  28159. "type": "integer"
  28160. },
  28161. "wrstandardid": {
  28162. "description": "现货商品ID",
  28163. "type": "integer"
  28164. }
  28165. }
  28166. },
  28167. "models.ErmcpHisExposure": {
  28168. "type": "object",
  28169. "properties": {
  28170. "needhedgeexposoure": {
  28171. "description": "应套保敞口",
  28172. "type": "number"
  28173. },
  28174. "reckondate": {
  28175. "description": "日照时期(yyyyMMdd)",
  28176. "type": "string"
  28177. },
  28178. "totalexposure": {
  28179. "description": "总敞口",
  28180. "type": "number"
  28181. }
  28182. }
  28183. },
  28184. "models.ErmcpLoginTaAccount": {
  28185. "type": "object",
  28186. "properties": {
  28187. "accountid": {
  28188. "description": "账号id",
  28189. "type": "integer"
  28190. },
  28191. "accountname": {
  28192. "description": "账号名称",
  28193. "type": "string"
  28194. }
  28195. }
  28196. },
  28197. "models.ErmcpLoginUser": {
  28198. "type": "object",
  28199. "properties": {
  28200. "acclist": {
  28201. "description": "关联资金账号",
  28202. "type": "array",
  28203. "items": {
  28204. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  28205. }
  28206. },
  28207. "accountname": {
  28208. "description": "用户名称",
  28209. "type": "string"
  28210. },
  28211. "clientroleid": {
  28212. "description": "角色id(usertype=2)",
  28213. "type": "integer"
  28214. },
  28215. "createtime": {
  28216. "description": "创建时间",
  28217. "type": "string"
  28218. },
  28219. "logincode": {
  28220. "description": "登录代码",
  28221. "type": "string"
  28222. },
  28223. "loginid": {
  28224. "description": "登录id(LOGINID)",
  28225. "type": "integer"
  28226. },
  28227. "loginname": {
  28228. "description": "登录名称(loginaccount表中的accountname字段)",
  28229. "type": "string"
  28230. },
  28231. "loginstatus": {
  28232. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  28233. "type": "integer"
  28234. },
  28235. "memberuserid": {
  28236. "description": "所属会员id",
  28237. "type": "integer"
  28238. },
  28239. "mobile": {
  28240. "description": "手机号",
  28241. "type": "string"
  28242. },
  28243. "modifytime": {
  28244. "description": "修改时间",
  28245. "type": "string"
  28246. },
  28247. "password": {
  28248. "description": "密码(不可解密)",
  28249. "type": "string"
  28250. },
  28251. "rolename": {
  28252. "description": "角色名称",
  28253. "type": "string"
  28254. },
  28255. "rolestatus": {
  28256. "description": "角色状态 1-启用 2-停用",
  28257. "type": "integer"
  28258. },
  28259. "roletype": {
  28260. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  28261. "type": "string"
  28262. },
  28263. "userid": {
  28264. "description": "用户id",
  28265. "type": "integer"
  28266. },
  28267. "usertype": {
  28268. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28269. "type": "integer"
  28270. }
  28271. }
  28272. },
  28273. "models.ErmcpLoginUserEx": {
  28274. "type": "object",
  28275. "properties": {
  28276. "accountstatus": {
  28277. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28278. "type": "integer"
  28279. },
  28280. "mobile": {
  28281. "description": "手机号",
  28282. "type": "string"
  28283. },
  28284. "querytype": {
  28285. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  28286. "type": "integer"
  28287. },
  28288. "roleid": {
  28289. "description": "角色id(交易账户-\u003e用户id)",
  28290. "type": "integer"
  28291. },
  28292. "rolename": {
  28293. "description": "角色名称(交易账户-\u003e用户名称)",
  28294. "type": "string"
  28295. },
  28296. "userlist": {
  28297. "description": "用户列表",
  28298. "type": "array",
  28299. "items": {
  28300. "$ref": "#/definitions/models.ErmcpLoginUser"
  28301. }
  28302. },
  28303. "usertype": {
  28304. "description": "用户类型 2-机构 7-企业成员(云平台)",
  28305. "type": "integer"
  28306. }
  28307. }
  28308. },
  28309. "models.ErmcpMiddleGoodsModel": {
  28310. "type": "object",
  28311. "properties": {
  28312. "areauserid": {
  28313. "description": "机构用户ID",
  28314. "type": "integer"
  28315. },
  28316. "createtime": {
  28317. "description": "修改时间",
  28318. "type": "string"
  28319. },
  28320. "enumdicname": {
  28321. "description": "单位名称",
  28322. "type": "string"
  28323. },
  28324. "evaluateratio": {
  28325. "description": "估价系数",
  28326. "type": "number"
  28327. },
  28328. "goodsgroupid": {
  28329. "description": "关联期货品种ID",
  28330. "type": "integer"
  28331. },
  28332. "goodsunitid": {
  28333. "description": "单位ID",
  28334. "type": "integer"
  28335. },
  28336. "isvalid": {
  28337. "description": "状态 0-无效(停用) 1-有效(正常)",
  28338. "type": "integer"
  28339. },
  28340. "middlegoodscode": {
  28341. "description": "套保品种代码",
  28342. "type": "string"
  28343. },
  28344. "middlegoodsid": {
  28345. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  28346. "type": "integer"
  28347. },
  28348. "middlegoodsname": {
  28349. "description": "套保品种名称",
  28350. "type": "string"
  28351. },
  28352. "modifytime": {
  28353. "description": "修改时间",
  28354. "type": "string"
  28355. },
  28356. "needarbitrageratio": {
  28357. "description": "套利比例",
  28358. "type": "number"
  28359. },
  28360. "needhedgeratio": {
  28361. "description": "套保比率",
  28362. "type": "number"
  28363. },
  28364. "qtydecimalplace": {
  28365. "description": "数量小数位",
  28366. "type": "integer"
  28367. },
  28368. "relatedgoodsid": {
  28369. "description": "关联交易商品ID",
  28370. "type": "integer"
  28371. },
  28372. "relatedgoodstype": {
  28373. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  28374. "type": "integer"
  28375. },
  28376. "remark": {
  28377. "description": "备注",
  28378. "type": "string"
  28379. }
  28380. }
  28381. },
  28382. "models.ErmcpMiddlegoodsRelateGoods": {
  28383. "type": "object",
  28384. "properties": {
  28385. "agreeunit": {
  28386. "description": "合约乘数",
  28387. "type": "number"
  28388. },
  28389. "convertratio": {
  28390. "description": "折算系数",
  28391. "type": "number"
  28392. },
  28393. "enumdicname": {
  28394. "description": "单位名称(交易商品)",
  28395. "type": "string"
  28396. },
  28397. "goodscode": {
  28398. "description": "交易商品代码",
  28399. "type": "string"
  28400. },
  28401. "goodsgroupid": {
  28402. "description": "交易品种id",
  28403. "type": "integer"
  28404. },
  28405. "goodsid": {
  28406. "description": "商品Id",
  28407. "type": "integer"
  28408. },
  28409. "goodsname": {
  28410. "description": "交易商品名称",
  28411. "type": "string"
  28412. },
  28413. "goodunitid": {
  28414. "description": "交易商品单位id",
  28415. "type": "integer"
  28416. },
  28417. "middlegoodsid": {
  28418. "description": "套保商品id",
  28419. "type": "integer"
  28420. },
  28421. "middlegoodsname": {
  28422. "description": "套保商品名称",
  28423. "type": "string"
  28424. },
  28425. "middlegoodsswcode": {
  28426. "description": "套保商品代码",
  28427. "type": "string"
  28428. },
  28429. "needarbitrageratio": {
  28430. "description": "应套利比例",
  28431. "type": "number"
  28432. },
  28433. "needhedgeratio": {
  28434. "description": "应套保比例",
  28435. "type": "number"
  28436. }
  28437. }
  28438. },
  28439. "models.ErmcpRole": {
  28440. "type": "object",
  28441. "properties": {
  28442. "areauserid": {
  28443. "description": "所属机构",
  28444. "type": "integer"
  28445. },
  28446. "autoid": {
  28447. "description": "角色ID(自增ID)",
  28448. "type": "integer"
  28449. },
  28450. "modifierid": {
  28451. "description": "修改人(创建人)",
  28452. "type": "integer"
  28453. },
  28454. "modifiername": {
  28455. "description": "修改人名称",
  28456. "type": "string"
  28457. },
  28458. "modifytime": {
  28459. "description": "修改时间(创建时间)",
  28460. "type": "string"
  28461. },
  28462. "rolename": {
  28463. "description": "角色名称",
  28464. "type": "string"
  28465. },
  28466. "rolestatus": {
  28467. "description": "角色状态 - 1:启用 2:停用",
  28468. "type": "integer"
  28469. },
  28470. "roletype": {
  28471. "description": "角色类型 - 1- 管理端 2- 交易端",
  28472. "type": "integer"
  28473. }
  28474. }
  28475. },
  28476. "models.ErmcpRoleMenu": {
  28477. "type": "object",
  28478. "properties": {
  28479. "iconame": {
  28480. "description": "菜单图标",
  28481. "type": "string"
  28482. },
  28483. "ishadrole": {
  28484. "description": "是否有权限",
  28485. "type": "boolean"
  28486. },
  28487. "menutype": {
  28488. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  28489. "type": "integer"
  28490. },
  28491. "parentcode": {
  28492. "description": "上级资源代码",
  28493. "type": "string"
  28494. },
  28495. "remark": {
  28496. "description": "菜单备注",
  28497. "type": "string"
  28498. },
  28499. "resourcecode": {
  28500. "description": "菜单代码",
  28501. "type": "string"
  28502. },
  28503. "resourcelevel": {
  28504. "description": "级别",
  28505. "type": "integer"
  28506. },
  28507. "resourcename": {
  28508. "description": "菜单名称",
  28509. "type": "string"
  28510. },
  28511. "roleid": {
  28512. "description": "角色id",
  28513. "type": "integer"
  28514. },
  28515. "sort": {
  28516. "description": "排序",
  28517. "type": "integer"
  28518. },
  28519. "url": {
  28520. "description": "URL",
  28521. "type": "string"
  28522. },
  28523. "userid": {
  28524. "description": "用户id",
  28525. "type": "integer"
  28526. }
  28527. }
  28528. },
  28529. "models.ErmcpRoleMenuEx": {
  28530. "type": "object",
  28531. "properties": {
  28532. "menu": {
  28533. "description": "父级菜单",
  28534. "$ref": "#/definitions/models.ErmcpRoleMenu"
  28535. },
  28536. "subMenu": {
  28537. "description": "子级菜单",
  28538. "type": "array",
  28539. "items": {
  28540. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  28541. }
  28542. }
  28543. }
  28544. },
  28545. "models.ErmcpSpotContractModelEx": {
  28546. "type": "object",
  28547. "properties": {
  28548. "accountname": {
  28549. "description": "套期主体",
  28550. "type": "string"
  28551. },
  28552. "amount": {
  28553. "description": "金额 [1:一口价、3:暂定价]",
  28554. "type": "number"
  28555. },
  28556. "attachment": {
  28557. "description": "附件",
  28558. "type": "string"
  28559. },
  28560. "auditremark": {
  28561. "description": "审核意见",
  28562. "type": "string"
  28563. },
  28564. "audittime": {
  28565. "description": "审核时间",
  28566. "type": "string"
  28567. },
  28568. "avgprice": {
  28569. "description": "定价均价 = 已定价金额 / 已定价量",
  28570. "type": "number"
  28571. },
  28572. "brandname": {
  28573. "description": "品牌名称",
  28574. "type": "string"
  28575. },
  28576. "buyuserid": {
  28577. "description": "采购方ID",
  28578. "type": "integer"
  28579. },
  28580. "buyusername": {
  28581. "description": "采购方名称",
  28582. "type": "string"
  28583. },
  28584. "contracctstatus": {
  28585. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28586. "type": "integer"
  28587. },
  28588. "contractmargin": {
  28589. "description": "合同保证金",
  28590. "type": "number"
  28591. },
  28592. "contractno": {
  28593. "description": "[合同编号]现货合同编号",
  28594. "type": "string"
  28595. },
  28596. "contracttype": {
  28597. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28598. "type": "integer"
  28599. },
  28600. "convertfactor": {
  28601. "description": "标仓系数",
  28602. "type": "number"
  28603. },
  28604. "createtime": {
  28605. "description": "创建时间",
  28606. "type": "string"
  28607. },
  28608. "customername": {
  28609. "description": "对手方",
  28610. "type": "string"
  28611. },
  28612. "customeruserid": {
  28613. "description": "客户ID",
  28614. "type": "integer"
  28615. },
  28616. "deliveryenddate": {
  28617. "description": "交收期(结束)",
  28618. "type": "string"
  28619. },
  28620. "deliverygoodscode": {
  28621. "description": "现货品种代码",
  28622. "type": "string"
  28623. },
  28624. "deliverygoodsid": {
  28625. "description": "现货品种ID",
  28626. "type": "integer"
  28627. },
  28628. "deliverygoodsname": {
  28629. "description": "现货品种名称",
  28630. "type": "string"
  28631. },
  28632. "deliverystartdate": {
  28633. "description": "交收期(开始)",
  28634. "type": "string"
  28635. },
  28636. "enddate": {
  28637. "description": "点价结束日期 [2:点价 3:暂定价]",
  28638. "type": "string"
  28639. },
  28640. "enumdicname": {
  28641. "description": "单位名称",
  28642. "type": "string"
  28643. },
  28644. "goodscode": {
  28645. "description": "点价合约代码",
  28646. "type": "string"
  28647. },
  28648. "goodsid": {
  28649. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28650. "type": "integer"
  28651. },
  28652. "goodsname": {
  28653. "description": "点价商品名称",
  28654. "type": "string"
  28655. },
  28656. "isrelated": {
  28657. "description": "是否已关联计划项目 - 0:否 1:是",
  28658. "type": "integer"
  28659. },
  28660. "isrelated2": {
  28661. "description": "是否已关联现货项目 - 0:否 1:是",
  28662. "type": "integer"
  28663. },
  28664. "margin": {
  28665. "description": "当前保证金",
  28666. "type": "number"
  28667. },
  28668. "modelname": {
  28669. "description": "型号名称",
  28670. "type": "string"
  28671. },
  28672. "price": {
  28673. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28674. "type": "number"
  28675. },
  28676. "pricedamount": {
  28677. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28678. "type": "number"
  28679. },
  28680. "pricedqty": {
  28681. "description": "已定价量",
  28682. "type": "number"
  28683. },
  28684. "pricemove": {
  28685. "description": "升贴水 [2:点价 3:暂定价]",
  28686. "type": "number"
  28687. },
  28688. "pricetype": {
  28689. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28690. "type": "integer"
  28691. },
  28692. "producttype": {
  28693. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28694. "type": "integer"
  28695. },
  28696. "qty": {
  28697. "description": "[合同数量]数量",
  28698. "type": "number"
  28699. },
  28700. "remark": {
  28701. "description": "备注",
  28702. "type": "string"
  28703. },
  28704. "selluserid": {
  28705. "description": "销售方ID",
  28706. "type": "integer"
  28707. },
  28708. "sellusername": {
  28709. "description": "销售方名称",
  28710. "type": "string"
  28711. },
  28712. "spotamount": {
  28713. "description": "合同现货金额 [不含升贴水]",
  28714. "type": "number"
  28715. },
  28716. "spotavgprice": {
  28717. "description": "现货均价 = 合同现货金额 / 已定价量",
  28718. "type": "number"
  28719. },
  28720. "spotcontractid": {
  28721. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28722. "type": "string"
  28723. },
  28724. "spotgoodsbrandid": {
  28725. "description": "现货品牌ID",
  28726. "type": "integer"
  28727. },
  28728. "spotgoodsdesc": {
  28729. "description": "商品型号",
  28730. "type": "string"
  28731. },
  28732. "spotgoodsmodelid": {
  28733. "description": "现货型号ID",
  28734. "type": "integer"
  28735. },
  28736. "startdate": {
  28737. "description": "点价开始日期 [2:点价 3:暂定价]",
  28738. "type": "string"
  28739. },
  28740. "tradeuserid": {
  28741. "description": "交易用户ID",
  28742. "type": "integer"
  28743. },
  28744. "unpricedqty": {
  28745. "description": "未定价量 = 合同数量 - 已定价量",
  28746. "type": "number"
  28747. },
  28748. "updatetime": {
  28749. "description": "更新时间",
  28750. "type": "string"
  28751. },
  28752. "userid": {
  28753. "description": "机构ID",
  28754. "type": "integer"
  28755. },
  28756. "wrstandardcode": {
  28757. "description": "现货商品代码",
  28758. "type": "string"
  28759. },
  28760. "wrstandardid": {
  28761. "description": "现货商品ID",
  28762. "type": "integer"
  28763. },
  28764. "wrstandardname": {
  28765. "description": "[现货商品]现货商品名称",
  28766. "type": "string"
  28767. }
  28768. }
  28769. },
  28770. "models.ErmcpTaAccount": {
  28771. "type": "object",
  28772. "properties": {
  28773. "accountid": {
  28774. "description": "账户id",
  28775. "type": "integer"
  28776. },
  28777. "accountname": {
  28778. "description": "账户名称",
  28779. "type": "string"
  28780. },
  28781. "currencyid": {
  28782. "description": "币种id",
  28783. "type": "integer"
  28784. },
  28785. "hedgeaccountcode": {
  28786. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28787. "type": "string"
  28788. },
  28789. "ismain": {
  28790. "description": "是否主账户 0-否 1-是",
  28791. "type": "integer"
  28792. },
  28793. "parentaccountid": {
  28794. "description": "父账户id",
  28795. "type": "integer"
  28796. },
  28797. "relateduserid": {
  28798. "description": "关联userid",
  28799. "type": "integer"
  28800. },
  28801. "tradefeetmpid": {
  28802. "description": "手续费模板id",
  28803. "type": "integer"
  28804. },
  28805. "tradefeetmpname": {
  28806. "description": "手续费模板名称",
  28807. "type": "string"
  28808. },
  28809. "trademargintmpid": {
  28810. "description": "保证金模板id",
  28811. "type": "integer"
  28812. },
  28813. "trademargintmpname": {
  28814. "description": "保证金模板名称",
  28815. "type": "string"
  28816. },
  28817. "traderatetmpid": {
  28818. "description": "汇率模板id",
  28819. "type": "integer"
  28820. },
  28821. "traderatetmpname": {
  28822. "description": "汇率模板名称",
  28823. "type": "string"
  28824. },
  28825. "tradestatus": {
  28826. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28827. "type": "integer"
  28828. },
  28829. "userid": {
  28830. "description": "用户id",
  28831. "type": "integer"
  28832. }
  28833. }
  28834. },
  28835. "models.ErmcpTaAccountEx": {
  28836. "type": "object",
  28837. "properties": {
  28838. "mainAcc": {
  28839. "description": "主账号",
  28840. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28841. },
  28842. "subacclist": {
  28843. "description": "子账号列表",
  28844. "type": "array",
  28845. "items": {
  28846. "$ref": "#/definitions/models.ErmcpTaAccount"
  28847. }
  28848. }
  28849. }
  28850. },
  28851. "models.ErmcpTaAccountInfo": {
  28852. "type": "object",
  28853. "properties": {
  28854. "accountid": {
  28855. "description": "资金账户ID",
  28856. "type": "integer"
  28857. },
  28858. "accountname": {
  28859. "description": "账户名称",
  28860. "type": "string"
  28861. },
  28862. "balance": {
  28863. "description": "期初余额",
  28864. "type": "number"
  28865. },
  28866. "capitalbalance": {
  28867. "description": "本金余额[外部子账户实际出入金余额]",
  28868. "type": "number"
  28869. },
  28870. "closepl": {
  28871. "description": "今日平仓盈亏",
  28872. "type": "number"
  28873. },
  28874. "creditdecrease": {
  28875. "description": "今日授信减少",
  28876. "type": "number"
  28877. },
  28878. "creditincrease": {
  28879. "description": "今日授信增加",
  28880. "type": "number"
  28881. },
  28882. "curdebt": {
  28883. "description": "期末欠款",
  28884. "type": "number"
  28885. },
  28886. "currencyid": {
  28887. "description": "货币ID",
  28888. "type": "integer"
  28889. },
  28890. "currentbalance": {
  28891. "description": "期末余额",
  28892. "type": "number"
  28893. },
  28894. "freezecharge": {
  28895. "description": "手续费冻结",
  28896. "type": "number"
  28897. },
  28898. "freezemargin": {
  28899. "description": "冻结保证金",
  28900. "type": "number"
  28901. },
  28902. "fromaccountid": {
  28903. "description": "所属上级账户",
  28904. "type": "integer"
  28905. },
  28906. "inamount": {
  28907. "description": "今日入金金额(包括三方入金)",
  28908. "type": "number"
  28909. },
  28910. "ismain": {
  28911. "description": "是否母账号 0:不是母账户 1:是母账户",
  28912. "type": "integer"
  28913. },
  28914. "mortgagecredit": {
  28915. "description": "授信金额",
  28916. "type": "number"
  28917. },
  28918. "oridebt": {
  28919. "description": "期初欠款",
  28920. "type": "number"
  28921. },
  28922. "orifreezecharge": {
  28923. "description": "期初手续费冻结",
  28924. "type": "number"
  28925. },
  28926. "orifreezemargin": {
  28927. "description": "期初冻结保证金",
  28928. "type": "number"
  28929. },
  28930. "orimortgagecredit": {
  28931. "description": "期初授信金额",
  28932. "type": "number"
  28933. },
  28934. "oriothercredit": {
  28935. "description": "期初其它授信金额",
  28936. "type": "number"
  28937. },
  28938. "oriotherfreezemargin": {
  28939. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28940. "type": "number"
  28941. },
  28942. "orioutamountfreeze": {
  28943. "description": "期初出金冻结",
  28944. "type": "number"
  28945. },
  28946. "oriusedmargin": {
  28947. "description": "期初占用保证金",
  28948. "type": "number"
  28949. },
  28950. "othercredit": {
  28951. "description": "其它授信金额",
  28952. "type": "number"
  28953. },
  28954. "othercreditdecrease": {
  28955. "description": "今日其它授信减少",
  28956. "type": "number"
  28957. },
  28958. "othercreditincrease": {
  28959. "description": "今日其它授信增加",
  28960. "type": "number"
  28961. },
  28962. "otherfreezemargin": {
  28963. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28964. "type": "number"
  28965. },
  28966. "outamount": {
  28967. "description": "今日出金金额(包括三方出金)",
  28968. "type": "number"
  28969. },
  28970. "outamountfreeze": {
  28971. "description": "出金冻结",
  28972. "type": "number"
  28973. },
  28974. "outthreshold": {
  28975. "description": "出金阈值",
  28976. "type": "number"
  28977. },
  28978. "parentaccountid": {
  28979. "description": "所属根账号",
  28980. "type": "integer"
  28981. },
  28982. "paycharge": {
  28983. "description": "今日手续费支出",
  28984. "type": "number"
  28985. },
  28986. "relateduserid": {
  28987. "description": "关联用户",
  28988. "type": "integer"
  28989. },
  28990. "signstatus": {
  28991. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28992. "type": "integer"
  28993. },
  28994. "sublevelpath": {
  28995. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28996. "type": "string"
  28997. },
  28998. "taaccounttype": {
  28999. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29000. "type": "integer"
  29001. },
  29002. "thirdinamount": {
  29003. "description": "今日三方入金",
  29004. "type": "number"
  29005. },
  29006. "thirdoutamount": {
  29007. "description": "今日三方出金",
  29008. "type": "number"
  29009. },
  29010. "tradestatus": {
  29011. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29012. "type": "integer"
  29013. },
  29014. "transferamount": {
  29015. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29016. "type": "number"
  29017. },
  29018. "usedmargin": {
  29019. "description": "占用保证金",
  29020. "type": "number"
  29021. },
  29022. "userid": {
  29023. "description": "用户ID",
  29024. "type": "integer"
  29025. }
  29026. }
  29027. },
  29028. "models.ErmcpTaAccountM": {
  29029. "type": "object",
  29030. "properties": {
  29031. "accountid": {
  29032. "description": "账户id",
  29033. "type": "integer"
  29034. },
  29035. "accountname": {
  29036. "description": "账户名称",
  29037. "type": "string"
  29038. },
  29039. "currencyid": {
  29040. "description": "币种id",
  29041. "type": "integer"
  29042. },
  29043. "fcid": {
  29044. "description": "期货公司id",
  29045. "type": "integer"
  29046. },
  29047. "fcname": {
  29048. "description": "期货公司代码",
  29049. "type": "string"
  29050. },
  29051. "hedgeaccountcode": {
  29052. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29053. "type": "string"
  29054. },
  29055. "ismain": {
  29056. "description": "是否主账户 0-否 1-是",
  29057. "type": "integer"
  29058. },
  29059. "parentaccountid": {
  29060. "description": "父账户id",
  29061. "type": "integer"
  29062. },
  29063. "relateduserid": {
  29064. "description": "关联userid",
  29065. "type": "integer"
  29066. },
  29067. "tradefeetmpid": {
  29068. "description": "手续费模板id",
  29069. "type": "integer"
  29070. },
  29071. "tradefeetmpname": {
  29072. "description": "手续费模板名称",
  29073. "type": "string"
  29074. },
  29075. "trademargintmpid": {
  29076. "description": "保证金模板id",
  29077. "type": "integer"
  29078. },
  29079. "trademargintmpname": {
  29080. "description": "保证金模板名称",
  29081. "type": "string"
  29082. },
  29083. "traderatetmpid": {
  29084. "description": "汇率模板id",
  29085. "type": "integer"
  29086. },
  29087. "traderatetmpname": {
  29088. "description": "汇率模板名称",
  29089. "type": "string"
  29090. },
  29091. "tradestatus": {
  29092. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29093. "type": "integer"
  29094. },
  29095. "userid": {
  29096. "description": "用户id",
  29097. "type": "integer"
  29098. }
  29099. }
  29100. },
  29101. "models.ErmcpTradeConfigTMP": {
  29102. "type": "object",
  29103. "properties": {
  29104. "areauserid": {
  29105. "description": "所属机构",
  29106. "type": "integer"
  29107. },
  29108. "basiccurrencyid": {
  29109. "description": "基本币种ID[汇率] - 目标币种",
  29110. "type": "integer"
  29111. },
  29112. "mainaccountid": {
  29113. "description": "主账户ID",
  29114. "type": "integer"
  29115. },
  29116. "modifierid": {
  29117. "description": "修改人",
  29118. "type": "integer"
  29119. },
  29120. "remark": {
  29121. "description": "备注",
  29122. "type": "string"
  29123. },
  29124. "tradeconfigtmpid": {
  29125. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  29126. "type": "integer"
  29127. },
  29128. "tradeconfigtmpname": {
  29129. "description": "交易配置模板名称",
  29130. "type": "string"
  29131. },
  29132. "tradeconfigtmptype": {
  29133. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  29134. "type": "integer"
  29135. },
  29136. "updatetime": {
  29137. "description": "更新时间",
  29138. "type": "string"
  29139. }
  29140. }
  29141. },
  29142. "models.Ermcpjrlinkpos": {
  29143. "type": "object",
  29144. "required": [
  29145. "spotcontractid"
  29146. ],
  29147. "properties": {
  29148. "areauserid": {
  29149. "description": "所属企业",
  29150. "type": "integer"
  29151. },
  29152. "averageprice": {
  29153. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  29154. "type": "number"
  29155. },
  29156. "closepl": {
  29157. "description": "总平仓盈亏 [期货损益]",
  29158. "type": "number"
  29159. },
  29160. "executeprice": {
  29161. "description": "执行价 - 1:期货单 为 0",
  29162. "type": "integer"
  29163. },
  29164. "futurehedgeqty": {
  29165. "description": "期货套期量",
  29166. "type": "number"
  29167. },
  29168. "goodsid": {
  29169. "description": "期货合约",
  29170. "type": "integer"
  29171. },
  29172. "middlegoodscode": {
  29173. "description": "套保商品代码",
  29174. "type": "string"
  29175. },
  29176. "middlegoodsname": {
  29177. "description": "套保商品名称",
  29178. "type": "string"
  29179. },
  29180. "netqty": {
  29181. "description": "净头寸",
  29182. "type": "number"
  29183. },
  29184. "optioncode": {
  29185. "description": "期权代码",
  29186. "type": "string"
  29187. },
  29188. "ordertype": {
  29189. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29190. "type": "integer"
  29191. },
  29192. "reckonpl": {
  29193. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  29194. "type": "number"
  29195. },
  29196. "spotcontractid": {
  29197. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  29198. "type": "string"
  29199. },
  29200. "todayfutureclosepl": {
  29201. "description": "今日平仓盈亏",
  29202. "type": "number"
  29203. },
  29204. "totalbuyamount": {
  29205. "description": "买金额 [期货]",
  29206. "type": "number"
  29207. },
  29208. "totalbuyholdamount": {
  29209. "description": "买持仓总金额[期货]",
  29210. "type": "number"
  29211. },
  29212. "totalbuyqty": {
  29213. "description": "买数量",
  29214. "type": "number"
  29215. },
  29216. "totalcharge": {
  29217. "description": "手续费",
  29218. "type": "number"
  29219. },
  29220. "totalpremium": {
  29221. "description": "权利金 [期权]",
  29222. "type": "number"
  29223. },
  29224. "totalsellamount": {
  29225. "description": "卖金额 [期货]",
  29226. "type": "number"
  29227. },
  29228. "totalsellholdamount": {
  29229. "description": "卖持仓总金额[期货]",
  29230. "type": "number"
  29231. },
  29232. "totalsellqty": {
  29233. "description": "卖数量",
  29234. "type": "number"
  29235. },
  29236. "updatetime": {
  29237. "description": "更新时间",
  29238. "type": "string"
  29239. }
  29240. }
  29241. },
  29242. "models.Ermcppatradelinkdetail": {
  29243. "type": "object",
  29244. "required": [
  29245. "hedgeditemid"
  29246. ],
  29247. "properties": {
  29248. "agreeunit": {
  29249. "description": "合约乘数",
  29250. "type": "number"
  29251. },
  29252. "amount": {
  29253. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29254. "type": "number"
  29255. },
  29256. "areauserid": {
  29257. "description": "所属机构",
  29258. "type": "integer"
  29259. },
  29260. "bizsubjectid": {
  29261. "description": "归属业务部门ID - SubjectID",
  29262. "type": "integer"
  29263. },
  29264. "buyorsell": {
  29265. "description": "方向 - 0:买 1:卖",
  29266. "type": "integer"
  29267. },
  29268. "convertratio": {
  29269. "description": "品种系数",
  29270. "type": "number"
  29271. },
  29272. "createtime": {
  29273. "description": "创建时间",
  29274. "type": "string"
  29275. },
  29276. "creatorid": {
  29277. "description": "创建人ID",
  29278. "type": "integer"
  29279. },
  29280. "creatorsrc": {
  29281. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29282. "type": "integer"
  29283. },
  29284. "goodsgroupid": {
  29285. "description": "对冲品种ID[期货合约商品组ID]",
  29286. "type": "integer"
  29287. },
  29288. "goodsid": {
  29289. "description": "商品ID",
  29290. "type": "integer"
  29291. },
  29292. "hedgeditemid": {
  29293. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29294. "type": "integer"
  29295. },
  29296. "hedgeflag": {
  29297. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29298. "type": "integer"
  29299. },
  29300. "linkdetailid": {
  29301. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29302. "type": "string"
  29303. },
  29304. "linkstatus": {
  29305. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29306. "type": "integer"
  29307. },
  29308. "middlegoodsid": {
  29309. "description": "套保品种ID",
  29310. "type": "integer"
  29311. },
  29312. "name": {
  29313. "description": "账户名/子账户",
  29314. "type": "string"
  29315. },
  29316. "optioncode": {
  29317. "description": "[期货合约]期权代码 [期权]",
  29318. "type": "string"
  29319. },
  29320. "ordertype": {
  29321. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29322. "type": "integer"
  29323. },
  29324. "relatedlot": {
  29325. "description": "[数量]关联手数",
  29326. "type": "number"
  29327. },
  29328. "relatedmode": {
  29329. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29330. "type": "integer"
  29331. },
  29332. "relatedqty": {
  29333. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29334. "type": "number"
  29335. },
  29336. "retcode": {
  29337. "description": "返回码",
  29338. "type": "integer"
  29339. },
  29340. "saleuserid": {
  29341. "description": "业务员ID",
  29342. "type": "integer"
  29343. },
  29344. "tradedate": {
  29345. "description": "关联交易日(yyyyMMdd)",
  29346. "type": "string"
  29347. },
  29348. "tradeid": {
  29349. "description": "[成交单号]内部成交单ID",
  29350. "type": "string"
  29351. },
  29352. "tradelot": {
  29353. "description": "成交手数",
  29354. "type": "integer"
  29355. },
  29356. "tradeprice": {
  29357. "description": "[价格]成交价格",
  29358. "type": "number"
  29359. },
  29360. "tradetime": {
  29361. "description": "日期时间",
  29362. "type": "string"
  29363. },
  29364. "tradetradedate": {
  29365. "description": "成交交易日(yyyyMMdd)",
  29366. "type": "string"
  29367. }
  29368. }
  29369. },
  29370. "models.Externalexchange": {
  29371. "type": "object",
  29372. "required": [
  29373. "autoid"
  29374. ],
  29375. "properties": {
  29376. "autoid": {
  29377. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  29378. "type": "integer"
  29379. },
  29380. "exchangefullname": {
  29381. "description": "外部交易所全称",
  29382. "type": "string"
  29383. },
  29384. "exexchangecode": {
  29385. "description": "外部交易所代码",
  29386. "type": "string"
  29387. },
  29388. "exexchangename": {
  29389. "description": "外部交易所名称(简称)",
  29390. "type": "string"
  29391. },
  29392. "ismarketprice": {
  29393. "description": "是否支持市价 - 0:不支持 1:支持",
  29394. "type": "integer"
  29395. },
  29396. "quotegear": {
  29397. "description": "行情档位(1-10)",
  29398. "type": "integer"
  29399. },
  29400. "showbrokerflag": {
  29401. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  29402. "type": "integer"
  29403. },
  29404. "updatetime": {
  29405. "description": "更新时间",
  29406. "type": "string"
  29407. }
  29408. }
  29409. },
  29410. "models.Funcmenulist": {
  29411. "type": "object",
  29412. "required": [
  29413. "resourcecode"
  29414. ],
  29415. "properties": {
  29416. "iconame": {
  29417. "description": "菜单图标",
  29418. "type": "string"
  29419. },
  29420. "menutype": {
  29421. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  29422. "type": "integer"
  29423. },
  29424. "parentcode": {
  29425. "description": "上级资源代码",
  29426. "type": "string"
  29427. },
  29428. "remark": {
  29429. "description": "备注",
  29430. "type": "string"
  29431. },
  29432. "resourcecode": {
  29433. "description": "资源代码",
  29434. "type": "string"
  29435. },
  29436. "resourcelevel": {
  29437. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  29438. "type": "integer"
  29439. },
  29440. "resourcename": {
  29441. "description": "资源名",
  29442. "type": "string"
  29443. },
  29444. "sort": {
  29445. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  29446. "type": "integer"
  29447. },
  29448. "url": {
  29449. "description": "URL",
  29450. "type": "string"
  29451. }
  29452. }
  29453. },
  29454. "models.GZWarehouseinfo": {
  29455. "type": "object",
  29456. "properties": {
  29457. "address": {
  29458. "description": "详细地址",
  29459. "type": "string"
  29460. },
  29461. "areauserid": {
  29462. "description": "所属机构",
  29463. "type": "integer"
  29464. },
  29465. "autoid": {
  29466. "description": "自增ID",
  29467. "type": "integer"
  29468. },
  29469. "cityid": {
  29470. "description": "市",
  29471. "type": "integer"
  29472. },
  29473. "contactname": {
  29474. "description": "联系人",
  29475. "type": "string"
  29476. },
  29477. "contactnum": {
  29478. "description": "联系电话",
  29479. "type": "string"
  29480. },
  29481. "countryid": {
  29482. "description": "国家",
  29483. "type": "integer"
  29484. },
  29485. "createtime": {
  29486. "description": "创建时间",
  29487. "type": "string"
  29488. },
  29489. "districtid": {
  29490. "description": "区",
  29491. "type": "integer"
  29492. },
  29493. "hasvideo": {
  29494. "description": "是否有视频 - 0:无 1:有",
  29495. "type": "integer"
  29496. },
  29497. "provinceid": {
  29498. "description": "省",
  29499. "type": "integer"
  29500. },
  29501. "remark": {
  29502. "description": "审核备注",
  29503. "type": "string"
  29504. },
  29505. "videourl": {
  29506. "description": "视频地址",
  29507. "type": "string"
  29508. },
  29509. "warehousecode": {
  29510. "description": "仓库代码",
  29511. "type": "string"
  29512. },
  29513. "warehousename": {
  29514. "description": "仓库名称",
  29515. "type": "string"
  29516. },
  29517. "warehousestatus": {
  29518. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29519. "type": "integer"
  29520. },
  29521. "warehousetype": {
  29522. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29523. "type": "integer"
  29524. }
  29525. }
  29526. },
  29527. "models.Goods": {
  29528. "type": "object",
  29529. "required": [
  29530. "goodscode",
  29531. "goodsid",
  29532. "goodsname",
  29533. "marketid"
  29534. ],
  29535. "properties": {
  29536. "agreeunit": {
  29537. "description": "合约单位",
  29538. "type": "number"
  29539. },
  29540. "areauserid": {
  29541. "description": "所属机构",
  29542. "type": "integer"
  29543. },
  29544. "auditaccountid": {
  29545. "description": "审核操作员账号",
  29546. "type": "integer"
  29547. },
  29548. "audittime": {
  29549. "description": "审核时间",
  29550. "type": "string"
  29551. },
  29552. "cancelaccountid": {
  29553. "description": "注销操作员账号",
  29554. "type": "integer"
  29555. },
  29556. "canceltime": {
  29557. "description": "注销时间",
  29558. "type": "string"
  29559. },
  29560. "closepricemode": {
  29561. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29562. "type": "integer"
  29563. },
  29564. "closepriceparam": {
  29565. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29566. "type": "number"
  29567. },
  29568. "createtime": {
  29569. "description": "创建时间",
  29570. "type": "string"
  29571. },
  29572. "creatorid": {
  29573. "description": "创建人",
  29574. "type": "integer"
  29575. },
  29576. "currencyid": {
  29577. "description": "报价货币ID",
  29578. "type": "integer"
  29579. },
  29580. "cutmode": {
  29581. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29582. "type": "integer"
  29583. },
  29584. "decimalplace": {
  29585. "description": "报价小数位",
  29586. "type": "integer"
  29587. },
  29588. "delistingdate": {
  29589. "description": "商品退市时间(状态:退市) -- 已作废",
  29590. "type": "string"
  29591. },
  29592. "delistingmode": {
  29593. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29594. "type": "integer"
  29595. },
  29596. "deliveryflag": {
  29597. "description": "交割标志 - 0:不可交割 1:可交割",
  29598. "type": "integer"
  29599. },
  29600. "forceclosemode": {
  29601. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29602. "type": "integer"
  29603. },
  29604. "forceclosevalue": {
  29605. "description": "定期强平参数 [收益权]",
  29606. "type": "integer"
  29607. },
  29608. "goodscode": {
  29609. "description": "商品代码(内部)",
  29610. "type": "string"
  29611. },
  29612. "goodscurrencyid": {
  29613. "description": "合约货币ID",
  29614. "type": "integer"
  29615. },
  29616. "goodsgroupid": {
  29617. "description": "所属商品组ID",
  29618. "type": "integer"
  29619. },
  29620. "goodsid": {
  29621. "description": "商品ID(自增ID SEQ_GOODS)",
  29622. "type": "integer"
  29623. },
  29624. "goodsname": {
  29625. "description": "商品名称",
  29626. "type": "string"
  29627. },
  29628. "goodsquotetype": {
  29629. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29630. "type": "integer"
  29631. },
  29632. "goodsstatus": {
  29633. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29634. "type": "integer"
  29635. },
  29636. "goodstradetype": {
  29637. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29638. "type": "integer"
  29639. },
  29640. "goodunitid": {
  29641. "description": "报价单位ID",
  29642. "type": "integer"
  29643. },
  29644. "hasquoter": {
  29645. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29646. "type": "integer"
  29647. },
  29648. "hqprotecttime": {
  29649. "description": "行情保护时间(秒)",
  29650. "type": "integer"
  29651. },
  29652. "innerdealmode": {
  29653. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29654. "type": "integer"
  29655. },
  29656. "isbuylimited": {
  29657. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29658. "type": "integer"
  29659. },
  29660. "isvisible": {
  29661. "description": "游客是否可见 - 0:不可见 1:可见",
  29662. "type": "integer"
  29663. },
  29664. "lasttradedate": {
  29665. "description": "最后交易日期(状态:待退市)",
  29666. "type": "string"
  29667. },
  29668. "listingdate": {
  29669. "description": "交易开始日期",
  29670. "type": "string"
  29671. },
  29672. "marketid": {
  29673. "description": "所属市场ID",
  29674. "type": "integer"
  29675. },
  29676. "modifierid": {
  29677. "description": "修改人",
  29678. "type": "integer"
  29679. },
  29680. "modifystatus": {
  29681. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29682. "type": "integer"
  29683. },
  29684. "modifytime": {
  29685. "description": "修改时间",
  29686. "type": "string"
  29687. },
  29688. "outerdealmode": {
  29689. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29690. "type": "integer"
  29691. },
  29692. "outgoodscode": {
  29693. "description": "商品代码(外部)",
  29694. "type": "string"
  29695. },
  29696. "pictureurl": {
  29697. "description": "商品图片",
  29698. "type": "string"
  29699. },
  29700. "qtydecimalplace": {
  29701. "description": "成交量小数位",
  29702. "type": "integer"
  29703. },
  29704. "quotegear": {
  29705. "description": "行情档位(1-10)",
  29706. "type": "integer"
  29707. },
  29708. "quoteminunit": {
  29709. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29710. "type": "integer"
  29711. },
  29712. "quoteshowtype": {
  29713. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29714. "type": "integer"
  29715. },
  29716. "quoteshowtypeinterval": {
  29717. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29718. "type": "integer"
  29719. },
  29720. "remark": {
  29721. "description": "备注",
  29722. "type": "string"
  29723. }
  29724. }
  29725. },
  29726. "models.GoodsIDAndName": {
  29727. "type": "object",
  29728. "required": [
  29729. "goodscode",
  29730. "goodsid",
  29731. "goodsname",
  29732. "marketid"
  29733. ],
  29734. "properties": {
  29735. "goodscode": {
  29736. "description": "商品代码(内部)",
  29737. "type": "string"
  29738. },
  29739. "goodsid": {
  29740. "description": "商品ID(自增ID SEQ_GOODS)",
  29741. "type": "integer"
  29742. },
  29743. "goodsname": {
  29744. "description": "商品名称",
  29745. "type": "string"
  29746. },
  29747. "marketid": {
  29748. "description": "所属市场ID",
  29749. "type": "integer"
  29750. }
  29751. }
  29752. },
  29753. "models.Goodsgroup": {
  29754. "type": "object",
  29755. "required": [
  29756. "goodsgroupid",
  29757. "goodsgroupname",
  29758. "goodsgroupstatus",
  29759. "marketid"
  29760. ],
  29761. "properties": {
  29762. "agreeunit": {
  29763. "description": "合约单位",
  29764. "type": "number"
  29765. },
  29766. "canshort": {
  29767. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  29768. "type": "integer"
  29769. },
  29770. "closepricemode": {
  29771. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29772. "type": "integer"
  29773. },
  29774. "closepriceparam": {
  29775. "description": "强平最新价浮动比例 - 方式为2时使用",
  29776. "type": "number"
  29777. },
  29778. "createtime": {
  29779. "description": "创建时间",
  29780. "type": "string"
  29781. },
  29782. "creatorid": {
  29783. "description": "创建人",
  29784. "type": "integer"
  29785. },
  29786. "currencyid": {
  29787. "description": "报价货币ID",
  29788. "type": "integer"
  29789. },
  29790. "decimalplace": {
  29791. "description": "报价小数位",
  29792. "type": "integer"
  29793. },
  29794. "exercisetype": {
  29795. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  29796. "type": "integer"
  29797. },
  29798. "exexchangeid": {
  29799. "description": "外部交易所ID[通道交易]",
  29800. "type": "integer"
  29801. },
  29802. "goodsgroupid": {
  29803. "description": "商品组ID(自增ID)",
  29804. "type": "integer"
  29805. },
  29806. "goodsgroupname": {
  29807. "description": "商品组名称",
  29808. "type": "string"
  29809. },
  29810. "goodsgroupstatus": {
  29811. "description": "商品组状态 - 1:正常 2:注销",
  29812. "type": "integer"
  29813. },
  29814. "goodunitid": {
  29815. "description": "报价单位ID",
  29816. "type": "integer"
  29817. },
  29818. "innerdealmode": {
  29819. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29820. "type": "integer"
  29821. },
  29822. "isbuylimited": {
  29823. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29824. "type": "integer"
  29825. },
  29826. "marketid": {
  29827. "description": "所属市场ID",
  29828. "type": "integer"
  29829. },
  29830. "modifierid": {
  29831. "description": "修改人",
  29832. "type": "integer"
  29833. },
  29834. "modifytime": {
  29835. "description": "修改时间",
  29836. "type": "string"
  29837. },
  29838. "outerdealmode": {
  29839. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29840. "type": "integer"
  29841. },
  29842. "outergroupcode": {
  29843. "description": "外部商品组代码[通道交易]",
  29844. "type": "string"
  29845. },
  29846. "premiumdecimalplace": {
  29847. "description": "权利金小数位[场外期权]",
  29848. "type": "integer"
  29849. },
  29850. "premiumspreadalgorithm": {
  29851. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29852. "type": "integer"
  29853. },
  29854. "premiumspreadvalue": {
  29855. "description": "权利金点差值[场外期权]",
  29856. "type": "number"
  29857. },
  29858. "qtydecimalplace": {
  29859. "description": "成交量小数位",
  29860. "type": "integer"
  29861. },
  29862. "quotegear": {
  29863. "description": "行情档位(1-10)",
  29864. "type": "integer"
  29865. },
  29866. "quoteminunit": {
  29867. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29868. "type": "integer"
  29869. },
  29870. "quoterid": {
  29871. "description": "报价商ID[场外期权]",
  29872. "type": "integer"
  29873. },
  29874. "quotesourcegroupid": {
  29875. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29876. "type": "integer"
  29877. },
  29878. "syncgoodsqty": {
  29879. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29880. "type": "integer"
  29881. }
  29882. }
  29883. },
  29884. "models.Goodssortbypreposition": {
  29885. "type": "object",
  29886. "required": [
  29887. "goodscode",
  29888. "tradedate"
  29889. ],
  29890. "properties": {
  29891. "goodscode": {
  29892. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29893. "type": "string"
  29894. },
  29895. "goodsgroupcode": {
  29896. "description": "品种代码",
  29897. "type": "string"
  29898. },
  29899. "prepositionqty": {
  29900. "description": "昨持仓量",
  29901. "type": "integer"
  29902. },
  29903. "sortindex": {
  29904. "description": "排序",
  29905. "type": "integer"
  29906. },
  29907. "tradedate": {
  29908. "description": "交易日",
  29909. "type": "string"
  29910. },
  29911. "updatetime": {
  29912. "description": "更新时间",
  29913. "type": "string"
  29914. }
  29915. }
  29916. },
  29917. "models.Hedgeinnerholderdetail": {
  29918. "type": "object",
  29919. "required": [
  29920. "buyorsell",
  29921. "tradeid"
  29922. ],
  29923. "properties": {
  29924. "accountid": {
  29925. "description": "账号ID",
  29926. "type": "integer"
  29927. },
  29928. "buyorsell": {
  29929. "description": "方向 - 0:买 1:卖",
  29930. "type": "integer"
  29931. },
  29932. "freezeqty": {
  29933. "description": "冻结数量 - 按单平使用",
  29934. "type": "integer"
  29935. },
  29936. "goodsid": {
  29937. "description": "商品ID",
  29938. "type": "integer"
  29939. },
  29940. "holderamount": {
  29941. "description": "持仓金额 [商品币种]",
  29942. "type": "number"
  29943. },
  29944. "holderdays": {
  29945. "description": "剩余冻结天数",
  29946. "type": "integer"
  29947. },
  29948. "holderprice": {
  29949. "description": "持仓价格",
  29950. "type": "number"
  29951. },
  29952. "holderqty": {
  29953. "description": "持仓数量",
  29954. "type": "integer"
  29955. },
  29956. "marketid": {
  29957. "description": "市场ID",
  29958. "type": "integer"
  29959. },
  29960. "openprice": {
  29961. "description": "建仓价格",
  29962. "type": "number"
  29963. },
  29964. "openqty": {
  29965. "description": "建仓数量",
  29966. "type": "integer"
  29967. },
  29968. "parentaccountid": {
  29969. "description": "所属母账户",
  29970. "type": "integer"
  29971. },
  29972. "releaseamount": {
  29973. "description": "释放持仓金额[商品币种]",
  29974. "type": "number"
  29975. },
  29976. "tradeamount": {
  29977. "description": "成交金额[账户]",
  29978. "type": "number"
  29979. },
  29980. "tradedate": {
  29981. "description": "交易日(yyyyMMdd)",
  29982. "type": "string"
  29983. },
  29984. "tradeid": {
  29985. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29986. "type": "string"
  29987. },
  29988. "tradetime": {
  29989. "description": "交易时间",
  29990. "type": "string"
  29991. }
  29992. }
  29993. },
  29994. "models.Hedgemarketopenlog": {
  29995. "type": "object",
  29996. "required": [
  29997. "accountid"
  29998. ],
  29999. "properties": {
  30000. "accountid": {
  30001. "description": "资金账号[外部母账户]",
  30002. "type": "integer"
  30003. },
  30004. "fcname": {
  30005. "description": "期货公司名称",
  30006. "type": "string"
  30007. },
  30008. "handlestatus": {
  30009. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  30010. "type": "integer"
  30011. },
  30012. "marketid": {
  30013. "description": "市场ID",
  30014. "type": "integer"
  30015. },
  30016. "status": {
  30017. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  30018. "type": "integer"
  30019. },
  30020. "tradedate": {
  30021. "description": "交易日(yyyyMMdd)",
  30022. "type": "string"
  30023. },
  30024. "updatetime": {
  30025. "description": "更新时间",
  30026. "type": "string"
  30027. }
  30028. }
  30029. },
  30030. "models.HsbyBuyMyPayOrder": {
  30031. "type": "object",
  30032. "required": [
  30033. "goodscode",
  30034. "goodsname",
  30035. "tradeid",
  30036. "trademode"
  30037. ],
  30038. "properties": {
  30039. "agreeunit": {
  30040. "description": "合约单位",
  30041. "type": "number"
  30042. },
  30043. "buyaccountid": {
  30044. "description": "买方账号ID[报价币种]",
  30045. "type": "integer"
  30046. },
  30047. "buyorderid": {
  30048. "description": "买方委托单号",
  30049. "type": "string"
  30050. },
  30051. "createtime": {
  30052. "description": "创建时间",
  30053. "type": "string"
  30054. },
  30055. "currencysign": {
  30056. "description": "货币符号",
  30057. "type": "string"
  30058. },
  30059. "decimalplace": {
  30060. "description": "报价小数位",
  30061. "type": "integer"
  30062. },
  30063. "goodscode": {
  30064. "description": "商品代码(内部)",
  30065. "type": "string"
  30066. },
  30067. "goodsid": {
  30068. "description": "商品ID",
  30069. "type": "integer"
  30070. },
  30071. "goodsname": {
  30072. "description": "商品名称",
  30073. "type": "string"
  30074. },
  30075. "marketid": {
  30076. "description": "市场ID",
  30077. "type": "integer"
  30078. },
  30079. "offamount": {
  30080. "description": "优惠金额",
  30081. "type": "number"
  30082. },
  30083. "originalamount": {
  30084. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  30085. "type": "number"
  30086. },
  30087. "payamount": {
  30088. "description": "支付金额 = TradeAmount + TradeCharge",
  30089. "type": "number"
  30090. },
  30091. "payflag": {
  30092. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30093. "type": "integer"
  30094. },
  30095. "paylimitedtime": {
  30096. "description": "支付期限",
  30097. "type": "string"
  30098. },
  30099. "paytime": {
  30100. "description": "付款时间",
  30101. "type": "string"
  30102. },
  30103. "picurls1": {
  30104. "description": "预售商品介绍图片[多张用逗号分隔]",
  30105. "type": "string"
  30106. },
  30107. "picurls2": {
  30108. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30109. "type": "string"
  30110. },
  30111. "sellaccountid": {
  30112. "description": "卖方账号ID[报价币种]",
  30113. "type": "integer"
  30114. },
  30115. "sellorderid": {
  30116. "description": "卖方委托单号",
  30117. "type": "string"
  30118. },
  30119. "tradeamount": {
  30120. "description": "成交金额",
  30121. "type": "number"
  30122. },
  30123. "tradecharge": {
  30124. "description": "成交手续费(买方)",
  30125. "type": "number"
  30126. },
  30127. "tradedate": {
  30128. "description": "交易日(yyyyMMdd)",
  30129. "type": "string"
  30130. },
  30131. "tradeid": {
  30132. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30133. "type": "string"
  30134. },
  30135. "trademode": {
  30136. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30137. "type": "integer"
  30138. },
  30139. "tradeprice": {
  30140. "description": "成交价格",
  30141. "type": "number"
  30142. },
  30143. "tradeqty": {
  30144. "description": "成交数量",
  30145. "type": "integer"
  30146. },
  30147. "vendorname1": {
  30148. "description": "预售商品供应商名称",
  30149. "type": "string"
  30150. },
  30151. "vendorname2": {
  30152. "description": "挂牌商品供应商名称",
  30153. "type": "string"
  30154. }
  30155. }
  30156. },
  30157. "models.HsbyBuyMyTradeDetail": {
  30158. "type": "object",
  30159. "required": [
  30160. "accountid",
  30161. "buyorsell",
  30162. "goodscode",
  30163. "goodsid",
  30164. "goodsname",
  30165. "marketid",
  30166. "orderid",
  30167. "qty",
  30168. "time",
  30169. "trademode"
  30170. ],
  30171. "properties": {
  30172. "accountid": {
  30173. "description": "账户ID[报价币种]",
  30174. "type": "integer"
  30175. },
  30176. "agreeunit": {
  30177. "description": "合约单位",
  30178. "type": "number"
  30179. },
  30180. "amount": {
  30181. "description": "金额 = 价格 * 数量 * 合约单位",
  30182. "type": "number"
  30183. },
  30184. "buyorsell": {
  30185. "description": "买卖 - 0:买 1:卖",
  30186. "type": "integer"
  30187. },
  30188. "currencysign": {
  30189. "description": "货币符号",
  30190. "type": "string"
  30191. },
  30192. "decimalplace": {
  30193. "description": "报价小数位",
  30194. "type": "integer"
  30195. },
  30196. "goodscode": {
  30197. "description": "商品代码(内部)",
  30198. "type": "string"
  30199. },
  30200. "goodsid": {
  30201. "description": "商品ID",
  30202. "type": "integer"
  30203. },
  30204. "goodsname": {
  30205. "description": "商品名称",
  30206. "type": "string"
  30207. },
  30208. "marketid": {
  30209. "description": "市场ID",
  30210. "type": "integer"
  30211. },
  30212. "orderamount": {
  30213. "description": "委托金额",
  30214. "type": "number"
  30215. },
  30216. "orderid": {
  30217. "description": "单号(成交单号)",
  30218. "type": "string"
  30219. },
  30220. "picurls1": {
  30221. "description": "预售商品介绍图片[多张用逗号分隔]",
  30222. "type": "string"
  30223. },
  30224. "picurls2": {
  30225. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  30226. "type": "string"
  30227. },
  30228. "price": {
  30229. "description": "价格",
  30230. "type": "number"
  30231. },
  30232. "qty": {
  30233. "description": "数量",
  30234. "type": "integer"
  30235. },
  30236. "time": {
  30237. "description": "时间",
  30238. "type": "string"
  30239. },
  30240. "trademode": {
  30241. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30242. "type": "integer"
  30243. },
  30244. "vendorname1": {
  30245. "description": "预售商品供应商名称",
  30246. "type": "string"
  30247. },
  30248. "vendorname2": {
  30249. "description": "挂牌商品供应商名称",
  30250. "type": "string"
  30251. }
  30252. }
  30253. },
  30254. "models.HsbyGoodsOrderDetail": {
  30255. "type": "object",
  30256. "required": [
  30257. "buyorsell",
  30258. "orderid",
  30259. "ordertime"
  30260. ],
  30261. "properties": {
  30262. "buyorsell": {
  30263. "description": "买卖 - 0:买 1:卖",
  30264. "type": "integer"
  30265. },
  30266. "currencysign": {
  30267. "description": "货币符号",
  30268. "type": "string"
  30269. },
  30270. "customername": {
  30271. "description": "客户名称(企业名称),已脱敏",
  30272. "type": "string"
  30273. },
  30274. "enableqty": {
  30275. "description": "可用数量",
  30276. "type": "integer"
  30277. },
  30278. "goodunit": {
  30279. "description": "报价单位",
  30280. "type": "string"
  30281. },
  30282. "orderid": {
  30283. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30284. "type": "string"
  30285. },
  30286. "orderprice": {
  30287. "description": "委托价格",
  30288. "type": "number"
  30289. },
  30290. "ordertime": {
  30291. "description": "委托时间",
  30292. "type": "string"
  30293. }
  30294. }
  30295. },
  30296. "models.HsbyListingGoodsDetail": {
  30297. "type": "object",
  30298. "required": [
  30299. "goodscode",
  30300. "goodsid",
  30301. "goodsname",
  30302. "marketid",
  30303. "trademode"
  30304. ],
  30305. "properties": {
  30306. "agreeunit": {
  30307. "description": "合约单位",
  30308. "type": "number"
  30309. },
  30310. "buymaxqty": {
  30311. "description": "购买上限 [71] - 0为不限",
  30312. "type": "integer"
  30313. },
  30314. "currency": {
  30315. "description": "货币",
  30316. "type": "string"
  30317. },
  30318. "currencysign": {
  30319. "description": "货币符号",
  30320. "type": "string"
  30321. },
  30322. "decimalplace": {
  30323. "description": "报价小数位",
  30324. "type": "integer"
  30325. },
  30326. "desccityid": {
  30327. "description": "目的地(市)ID",
  30328. "type": "integer"
  30329. },
  30330. "descprovinceid": {
  30331. "description": "目的地(省)ID",
  30332. "type": "integer"
  30333. },
  30334. "goodscode": {
  30335. "description": "商品代码(内部)",
  30336. "type": "string"
  30337. },
  30338. "goodsdesc": {
  30339. "description": "商品详情",
  30340. "type": "string"
  30341. },
  30342. "goodsid": {
  30343. "description": "商品ID(自增ID SEQ_GOODS)",
  30344. "type": "integer"
  30345. },
  30346. "goodsname": {
  30347. "description": "商品名称",
  30348. "type": "string"
  30349. },
  30350. "goodsprice": {
  30351. "description": "商品价格",
  30352. "type": "number"
  30353. },
  30354. "hotindex": {
  30355. "description": "景点热度",
  30356. "type": "integer"
  30357. },
  30358. "last": {
  30359. "description": "现价",
  30360. "type": "number"
  30361. },
  30362. "limitdown": {
  30363. "description": "跌停价",
  30364. "type": "number"
  30365. },
  30366. "limitup": {
  30367. "description": "涨停价",
  30368. "type": "number"
  30369. },
  30370. "lotsize": {
  30371. "description": "手数最小变动单位",
  30372. "type": "integer"
  30373. },
  30374. "marketid": {
  30375. "description": "所属市场ID",
  30376. "type": "integer"
  30377. },
  30378. "picurls": {
  30379. "description": "介绍图片[多张用逗号分隔]",
  30380. "type": "string"
  30381. },
  30382. "quoteminunit": {
  30383. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30384. "type": "integer"
  30385. },
  30386. "stepvalue": {
  30387. "description": "价格最小变动单位",
  30388. "type": "number"
  30389. },
  30390. "trademode": {
  30391. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30392. "type": "integer"
  30393. },
  30394. "vendorattr": {
  30395. "description": "供应商附件(多张,逗号分隔)",
  30396. "type": "string"
  30397. },
  30398. "vendorname": {
  30399. "description": "供应商名称",
  30400. "type": "string"
  30401. },
  30402. "vendorphone": {
  30403. "description": "供应商客服电话",
  30404. "type": "string"
  30405. },
  30406. "videourls": {
  30407. "description": "介绍视频[多张用逗号分隔]",
  30408. "type": "string"
  30409. }
  30410. }
  30411. },
  30412. "models.HsbyMarketGoods": {
  30413. "type": "object",
  30414. "required": [
  30415. "accountid",
  30416. "buyorsell",
  30417. "goodscode",
  30418. "goodsid",
  30419. "goodsname",
  30420. "marketid",
  30421. "orderid",
  30422. "trademode"
  30423. ],
  30424. "properties": {
  30425. "accountid": {
  30426. "description": "账户ID[报价币种]",
  30427. "type": "integer"
  30428. },
  30429. "agreeunit": {
  30430. "description": "合约单位",
  30431. "type": "number"
  30432. },
  30433. "buyorsell": {
  30434. "description": "买卖 - 0:买 1:卖",
  30435. "type": "integer"
  30436. },
  30437. "categoryid": {
  30438. "description": "类别ID(WRCATEGORY)",
  30439. "type": "integer"
  30440. },
  30441. "currency": {
  30442. "description": "货币",
  30443. "type": "string"
  30444. },
  30445. "currencysign": {
  30446. "description": "货币符号",
  30447. "type": "string"
  30448. },
  30449. "customername": {
  30450. "description": "卖家名称",
  30451. "type": "string"
  30452. },
  30453. "decimalplace": {
  30454. "description": "报价小数位",
  30455. "type": "integer"
  30456. },
  30457. "goodscode": {
  30458. "description": "商品代码(内部)",
  30459. "type": "string"
  30460. },
  30461. "goodsid": {
  30462. "description": "商品ID",
  30463. "type": "integer"
  30464. },
  30465. "goodsname": {
  30466. "description": "商品名称",
  30467. "type": "string"
  30468. },
  30469. "goodsprice": {
  30470. "description": "商品价格",
  30471. "type": "number"
  30472. },
  30473. "hascoupon": {
  30474. "description": "是否可用优惠卷",
  30475. "type": "boolean"
  30476. },
  30477. "hotindex": {
  30478. "description": "景点热度",
  30479. "type": "integer"
  30480. },
  30481. "marketid": {
  30482. "description": "市场ID",
  30483. "type": "integer"
  30484. },
  30485. "orderid": {
  30486. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30487. "type": "string"
  30488. },
  30489. "orderprice": {
  30490. "description": "委托价格",
  30491. "type": "number"
  30492. },
  30493. "orderstatus": {
  30494. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30495. "type": "integer"
  30496. },
  30497. "picurls": {
  30498. "description": "介绍图片[多张用逗号分隔]",
  30499. "type": "string"
  30500. },
  30501. "quoteminunit": {
  30502. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30503. "type": "integer"
  30504. },
  30505. "sellUserID": {
  30506. "description": "卖方UserID",
  30507. "type": "integer"
  30508. },
  30509. "trademode": {
  30510. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30511. "type": "integer"
  30512. },
  30513. "videourls": {
  30514. "description": "介绍视频[多张用逗号分隔]",
  30515. "type": "string"
  30516. }
  30517. }
  30518. },
  30519. "models.HsbyMarketGoodsDetail": {
  30520. "type": "object",
  30521. "required": [
  30522. "accountid",
  30523. "buyorsell",
  30524. "goodscode",
  30525. "goodsid",
  30526. "goodsname",
  30527. "marketid",
  30528. "orderid",
  30529. "orderqty",
  30530. "trademode"
  30531. ],
  30532. "properties": {
  30533. "accountid": {
  30534. "description": "账户ID[报价币种]",
  30535. "type": "integer"
  30536. },
  30537. "agreeunit": {
  30538. "description": "合约单位",
  30539. "type": "number"
  30540. },
  30541. "buymaxqty": {
  30542. "description": "购买上限 [71] - 0为不限",
  30543. "type": "integer"
  30544. },
  30545. "buyorsell": {
  30546. "description": "买卖 - 0:买 1:卖",
  30547. "type": "integer"
  30548. },
  30549. "cancelqty": {
  30550. "description": "撤单数量",
  30551. "type": "integer"
  30552. },
  30553. "categoryid": {
  30554. "description": "类别ID(WRCATEGORY)",
  30555. "type": "integer"
  30556. },
  30557. "currency": {
  30558. "description": "货币",
  30559. "type": "string"
  30560. },
  30561. "currencysign": {
  30562. "description": "货币符号",
  30563. "type": "string"
  30564. },
  30565. "customername": {
  30566. "description": "卖家名称",
  30567. "type": "string"
  30568. },
  30569. "decimalplace": {
  30570. "description": "报价小数位",
  30571. "type": "integer"
  30572. },
  30573. "goodscode": {
  30574. "description": "商品代码(内部)",
  30575. "type": "string"
  30576. },
  30577. "goodsdesc": {
  30578. "description": "商品详情",
  30579. "type": "string"
  30580. },
  30581. "goodsid": {
  30582. "description": "商品ID",
  30583. "type": "integer"
  30584. },
  30585. "goodsname": {
  30586. "description": "商品名称",
  30587. "type": "string"
  30588. },
  30589. "goodsprice": {
  30590. "description": "商品价格",
  30591. "type": "number"
  30592. },
  30593. "hotindex": {
  30594. "description": "景点热度",
  30595. "type": "integer"
  30596. },
  30597. "lotsize": {
  30598. "description": "手数最小变动单位",
  30599. "type": "integer"
  30600. },
  30601. "marketid": {
  30602. "description": "市场ID",
  30603. "type": "integer"
  30604. },
  30605. "orderid": {
  30606. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30607. "type": "string"
  30608. },
  30609. "orderprice": {
  30610. "description": "委托价格",
  30611. "type": "number"
  30612. },
  30613. "orderqty": {
  30614. "description": "委托数量",
  30615. "type": "integer"
  30616. },
  30617. "orderstatus": {
  30618. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30619. "type": "integer"
  30620. },
  30621. "picurls": {
  30622. "description": "介绍图片[多张用逗号分隔]",
  30623. "type": "string"
  30624. },
  30625. "quoteminunit": {
  30626. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30627. "type": "integer"
  30628. },
  30629. "sellUserID": {
  30630. "description": "卖方UserID",
  30631. "type": "integer"
  30632. },
  30633. "trademode": {
  30634. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30635. "type": "integer"
  30636. },
  30637. "tradeqty": {
  30638. "description": "成交数量",
  30639. "type": "integer"
  30640. },
  30641. "vendorattr": {
  30642. "description": "供应商附件(多张,逗号分隔)",
  30643. "type": "string"
  30644. },
  30645. "vendorname": {
  30646. "description": "供应商名称",
  30647. "type": "string"
  30648. },
  30649. "vendorphone": {
  30650. "description": "供应商客服电话",
  30651. "type": "string"
  30652. },
  30653. "videourls": {
  30654. "description": "介绍视频[多张用逗号分隔]",
  30655. "type": "string"
  30656. }
  30657. }
  30658. },
  30659. "models.HsbyMarketInfo": {
  30660. "type": "object",
  30661. "required": [
  30662. "marketid",
  30663. "marketstatus",
  30664. "trademode"
  30665. ],
  30666. "properties": {
  30667. "marketid": {
  30668. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30669. "type": "integer"
  30670. },
  30671. "marketname": {
  30672. "description": "市场名称",
  30673. "type": "string"
  30674. },
  30675. "marketstatus": {
  30676. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30677. "type": "integer"
  30678. },
  30679. "trademode": {
  30680. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30681. "type": "integer"
  30682. }
  30683. }
  30684. },
  30685. "models.HsbyMyGoods": {
  30686. "type": "object",
  30687. "required": [
  30688. "accountid",
  30689. "goodscode",
  30690. "goodsid",
  30691. "goodsname",
  30692. "marketid",
  30693. "trademode"
  30694. ],
  30695. "properties": {
  30696. "accountid": {
  30697. "description": "账号Id",
  30698. "type": "integer"
  30699. },
  30700. "agreeunit": {
  30701. "description": "合约单位",
  30702. "type": "number"
  30703. },
  30704. "buyaverageprice": {
  30705. "description": "持仓均价",
  30706. "type": "number"
  30707. },
  30708. "buycurholderamount": {
  30709. "description": "买当前持仓总金额[商品币种]",
  30710. "type": "number"
  30711. },
  30712. "buycurpositionqty": {
  30713. "description": "买当前持仓总数量",
  30714. "type": "integer"
  30715. },
  30716. "buymaxqty": {
  30717. "description": "购买上限 [71] - 0为不限",
  30718. "type": "integer"
  30719. },
  30720. "currencysign": {
  30721. "description": "货币符号",
  30722. "type": "string"
  30723. },
  30724. "decimalplace": {
  30725. "description": "报价小数位",
  30726. "type": "integer"
  30727. },
  30728. "enableqty": {
  30729. "description": "可用数量",
  30730. "type": "integer"
  30731. },
  30732. "goodscode": {
  30733. "description": "商品代码(内部)",
  30734. "type": "string"
  30735. },
  30736. "goodsid": {
  30737. "description": "商品Id",
  30738. "type": "integer"
  30739. },
  30740. "goodsname": {
  30741. "description": "商品名称",
  30742. "type": "string"
  30743. },
  30744. "goodsprice": {
  30745. "description": "商品价格",
  30746. "type": "number"
  30747. },
  30748. "goodsstatus": {
  30749. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30750. "type": "integer"
  30751. },
  30752. "last": {
  30753. "description": "现价(仅使用于挂牌点选)",
  30754. "type": "number"
  30755. },
  30756. "limitdown": {
  30757. "description": "跌停价(仅使用于挂牌点选)",
  30758. "type": "number"
  30759. },
  30760. "limitup": {
  30761. "description": "涨停价(仅使用于挂牌点选)",
  30762. "type": "number"
  30763. },
  30764. "lotsize": {
  30765. "description": "手数最小变动单位",
  30766. "type": "integer"
  30767. },
  30768. "marketid": {
  30769. "description": "所属市场ID",
  30770. "type": "integer"
  30771. },
  30772. "picurls": {
  30773. "description": "介绍图片[多张用逗号分隔]",
  30774. "type": "string"
  30775. },
  30776. "quoteminunit": {
  30777. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30778. "type": "integer"
  30779. },
  30780. "stepvalue": {
  30781. "description": "价格最小变动单位",
  30782. "type": "number"
  30783. },
  30784. "trademode": {
  30785. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30786. "type": "integer"
  30787. }
  30788. }
  30789. },
  30790. "models.HsbyMyPackage": {
  30791. "type": "object",
  30792. "required": [
  30793. "goodscode",
  30794. "goodsname",
  30795. "takeorderid",
  30796. "trademode"
  30797. ],
  30798. "properties": {
  30799. "accountid": {
  30800. "description": "账户ID",
  30801. "type": "integer"
  30802. },
  30803. "address": {
  30804. "description": "提货人详细地址",
  30805. "type": "string"
  30806. },
  30807. "agreeunit": {
  30808. "description": "合约单位",
  30809. "type": "number"
  30810. },
  30811. "amount": {
  30812. "description": "提货金额",
  30813. "type": "number"
  30814. },
  30815. "auditer": {
  30816. "description": "审核人",
  30817. "type": "integer"
  30818. },
  30819. "audittime": {
  30820. "description": "审核时间",
  30821. "type": "string"
  30822. },
  30823. "averageprice": {
  30824. "description": "均价",
  30825. "type": "number"
  30826. },
  30827. "cardnum": {
  30828. "description": "提货人证件号码",
  30829. "type": "string"
  30830. },
  30831. "cardtypeid": {
  30832. "description": "提货人证件类型",
  30833. "type": "integer"
  30834. },
  30835. "checkremark": {
  30836. "description": "审核备注",
  30837. "type": "string"
  30838. },
  30839. "currencysign": {
  30840. "description": "货币符号",
  30841. "type": "string"
  30842. },
  30843. "decimalplace": {
  30844. "description": "报价小数位",
  30845. "type": "integer"
  30846. },
  30847. "goodscode": {
  30848. "description": "商品代码(内部)",
  30849. "type": "string"
  30850. },
  30851. "goodsid": {
  30852. "description": "商品ID",
  30853. "type": "integer"
  30854. },
  30855. "goodsname": {
  30856. "description": "商品名称",
  30857. "type": "string"
  30858. },
  30859. "handlestatus": {
  30860. "description": "处理状态",
  30861. "type": "integer"
  30862. },
  30863. "marketid": {
  30864. "description": "市场ID",
  30865. "type": "integer"
  30866. },
  30867. "phonenum": {
  30868. "description": "提货人联系方式",
  30869. "type": "string"
  30870. },
  30871. "picurls": {
  30872. "description": "介绍图片[多张用逗号分隔]",
  30873. "type": "string"
  30874. },
  30875. "qty": {
  30876. "description": "提货数量",
  30877. "type": "number"
  30878. },
  30879. "recivername": {
  30880. "description": "提货人姓名",
  30881. "type": "string"
  30882. },
  30883. "reqtime": {
  30884. "description": "更新时间",
  30885. "type": "string"
  30886. },
  30887. "takemode": {
  30888. "description": "提货方式 - 2:自提 3:配送",
  30889. "type": "integer"
  30890. },
  30891. "takeorderid": {
  30892. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30893. "type": "string"
  30894. },
  30895. "takeorderstatus": {
  30896. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  30897. "type": "integer"
  30898. },
  30899. "takeremark": {
  30900. "description": "提货备注",
  30901. "type": "string"
  30902. },
  30903. "tradedate": {
  30904. "description": "交易日(yyyyMMdd)",
  30905. "type": "string"
  30906. },
  30907. "trademode": {
  30908. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30909. "type": "integer"
  30910. },
  30911. "userid": {
  30912. "description": "用户ID",
  30913. "type": "integer"
  30914. },
  30915. "vendorname": {
  30916. "description": "供应商名称",
  30917. "type": "string"
  30918. }
  30919. }
  30920. },
  30921. "models.HsbyPreGoods": {
  30922. "type": "object",
  30923. "required": [
  30924. "goodscode",
  30925. "goodsid",
  30926. "goodsname",
  30927. "marketid",
  30928. "trademode"
  30929. ],
  30930. "properties": {
  30931. "agreeunit": {
  30932. "description": "合约单位",
  30933. "type": "number"
  30934. },
  30935. "currency": {
  30936. "description": "货币",
  30937. "type": "string"
  30938. },
  30939. "currencysign": {
  30940. "description": "货币符号",
  30941. "type": "string"
  30942. },
  30943. "decimalplace": {
  30944. "description": "报价小数位",
  30945. "type": "integer"
  30946. },
  30947. "desccityid": {
  30948. "description": "目的地(市)",
  30949. "type": "integer"
  30950. },
  30951. "descprovinceid": {
  30952. "description": "目的地(省)",
  30953. "type": "integer"
  30954. },
  30955. "enableqty": {
  30956. "description": "剩余数量",
  30957. "type": "integer"
  30958. },
  30959. "goodscode": {
  30960. "description": "商品代码(内部)",
  30961. "type": "string"
  30962. },
  30963. "goodsid": {
  30964. "description": "商品ID(自增ID SEQ_GOODS)",
  30965. "type": "integer"
  30966. },
  30967. "goodsname": {
  30968. "description": "商品名称",
  30969. "type": "string"
  30970. },
  30971. "goodsstatus": {
  30972. "description": "商品状态- 2:未上市 3:上市",
  30973. "type": "integer"
  30974. },
  30975. "lasttradedate": {
  30976. "description": "最后交易日期(状态:待退市)",
  30977. "type": "string"
  30978. },
  30979. "listingdate": {
  30980. "description": "交易开始日期",
  30981. "type": "string"
  30982. },
  30983. "marketid": {
  30984. "description": "所属市场ID",
  30985. "type": "integer"
  30986. },
  30987. "picurls": {
  30988. "description": "介绍图片[多张用逗号分隔]",
  30989. "type": "string"
  30990. },
  30991. "presaledqty": {
  30992. "description": "已预售量(预售结束时更新)",
  30993. "type": "integer"
  30994. },
  30995. "presaleqty": {
  30996. "description": "预售数量",
  30997. "type": "integer"
  30998. },
  30999. "quoteminunit": {
  31000. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31001. "type": "integer"
  31002. },
  31003. "refprice": {
  31004. "description": "参考价格[一口价]",
  31005. "type": "number"
  31006. },
  31007. "relatedgoodsid": {
  31008. "description": "关联交易合约ID",
  31009. "type": "integer"
  31010. },
  31011. "trademode": {
  31012. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31013. "type": "integer"
  31014. },
  31015. "videourls": {
  31016. "description": "介绍视频[多张用逗号分隔]",
  31017. "type": "string"
  31018. }
  31019. }
  31020. },
  31021. "models.HsbyPreGoodsDetail": {
  31022. "type": "object",
  31023. "required": [
  31024. "goodscode",
  31025. "goodsid",
  31026. "goodsname",
  31027. "marketid",
  31028. "trademode"
  31029. ],
  31030. "properties": {
  31031. "agreeunit": {
  31032. "description": "合约单位",
  31033. "type": "number"
  31034. },
  31035. "buymaxqty": {
  31036. "description": "购买上限 [71] - 0为不限",
  31037. "type": "integer"
  31038. },
  31039. "currency": {
  31040. "description": "货币",
  31041. "type": "string"
  31042. },
  31043. "currencysign": {
  31044. "description": "货币符号",
  31045. "type": "string"
  31046. },
  31047. "customername": {
  31048. "description": "发行单位",
  31049. "type": "string"
  31050. },
  31051. "decimalplace": {
  31052. "description": "报价小数位",
  31053. "type": "integer"
  31054. },
  31055. "desccityid": {
  31056. "description": "目的地(市)ID",
  31057. "type": "integer"
  31058. },
  31059. "descprovinceid": {
  31060. "description": "目的地(省)ID",
  31061. "type": "integer"
  31062. },
  31063. "enableqty": {
  31064. "description": "剩余数量",
  31065. "type": "integer"
  31066. },
  31067. "goodscode": {
  31068. "description": "商品代码(内部)",
  31069. "type": "string"
  31070. },
  31071. "goodsdesc": {
  31072. "description": "商品详情",
  31073. "type": "string"
  31074. },
  31075. "goodsid": {
  31076. "description": "商品ID(自增ID SEQ_GOODS)",
  31077. "type": "integer"
  31078. },
  31079. "goodsname": {
  31080. "description": "商品名称",
  31081. "type": "string"
  31082. },
  31083. "goodsstatus": {
  31084. "description": "商品状态- 2:未上市 3:上市",
  31085. "type": "integer"
  31086. },
  31087. "goodunit": {
  31088. "description": "报价单位",
  31089. "type": "string"
  31090. },
  31091. "lasttradedate": {
  31092. "description": "最后交易日期(状态:待退市)",
  31093. "type": "string"
  31094. },
  31095. "listingdate": {
  31096. "description": "交易开始日期",
  31097. "type": "string"
  31098. },
  31099. "lotsize": {
  31100. "description": "手数最小变动单位",
  31101. "type": "integer"
  31102. },
  31103. "marketid": {
  31104. "description": "所属市场ID",
  31105. "type": "integer"
  31106. },
  31107. "picurls": {
  31108. "description": "介绍图片[多张用逗号分隔]",
  31109. "type": "string"
  31110. },
  31111. "presaledqty": {
  31112. "description": "已预售量(预售结束时更新)",
  31113. "type": "integer"
  31114. },
  31115. "presaleqty": {
  31116. "description": "预售数量",
  31117. "type": "integer"
  31118. },
  31119. "quoteminunit": {
  31120. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31121. "type": "integer"
  31122. },
  31123. "refprice": {
  31124. "description": "参考价格[一口价]",
  31125. "type": "number"
  31126. },
  31127. "relatedgoodsid": {
  31128. "description": "关联交易合约ID",
  31129. "type": "integer"
  31130. },
  31131. "stepvalue": {
  31132. "description": "价格最小变动单位",
  31133. "type": "number"
  31134. },
  31135. "trademode": {
  31136. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31137. "type": "integer"
  31138. },
  31139. "vendorattr": {
  31140. "description": "供应商附件(多张,逗号分隔)",
  31141. "type": "string"
  31142. },
  31143. "vendorname": {
  31144. "description": "供应商名称",
  31145. "type": "string"
  31146. },
  31147. "vendorphone": {
  31148. "description": "供应商客服电话",
  31149. "type": "string"
  31150. },
  31151. "videourls": {
  31152. "description": "介绍视频[多张用逗号分隔]",
  31153. "type": "string"
  31154. }
  31155. }
  31156. },
  31157. "models.HsbySellCollectionOrder": {
  31158. "type": "object",
  31159. "required": [
  31160. "goodscode",
  31161. "goodsname",
  31162. "tradeid",
  31163. "trademode"
  31164. ],
  31165. "properties": {
  31166. "agreeunit": {
  31167. "description": "合约单位",
  31168. "type": "number"
  31169. },
  31170. "buyaccountid": {
  31171. "description": "买方账号ID[报价币种]",
  31172. "type": "integer"
  31173. },
  31174. "buyorderid": {
  31175. "description": "买方委托单号",
  31176. "type": "string"
  31177. },
  31178. "createtime": {
  31179. "description": "创建时间",
  31180. "type": "string"
  31181. },
  31182. "currencysign": {
  31183. "description": "货币符号",
  31184. "type": "string"
  31185. },
  31186. "decimalplace": {
  31187. "description": "报价小数位",
  31188. "type": "integer"
  31189. },
  31190. "goodscode": {
  31191. "description": "商品代码(内部)",
  31192. "type": "string"
  31193. },
  31194. "goodsid": {
  31195. "description": "商品ID",
  31196. "type": "integer"
  31197. },
  31198. "goodsname": {
  31199. "description": "商品名称",
  31200. "type": "string"
  31201. },
  31202. "marketid": {
  31203. "description": "市场ID",
  31204. "type": "integer"
  31205. },
  31206. "offamount": {
  31207. "description": "优惠金额",
  31208. "type": "number"
  31209. },
  31210. "payamount": {
  31211. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  31212. "type": "number"
  31213. },
  31214. "payflag": {
  31215. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  31216. "type": "integer"
  31217. },
  31218. "paylimitedtime": {
  31219. "description": "支付期限",
  31220. "type": "string"
  31221. },
  31222. "paytime": {
  31223. "description": "付款时间",
  31224. "type": "string"
  31225. },
  31226. "picurls": {
  31227. "description": "商品介绍图片[多张用逗号分隔]",
  31228. "type": "string"
  31229. },
  31230. "sellaccountid": {
  31231. "description": "卖方账号ID[报价币种]",
  31232. "type": "integer"
  31233. },
  31234. "sellorderid": {
  31235. "description": "卖方委托单号",
  31236. "type": "string"
  31237. },
  31238. "tradeamount": {
  31239. "description": "成交金额",
  31240. "type": "number"
  31241. },
  31242. "tradecharge": {
  31243. "description": "成交手续费(买方)",
  31244. "type": "number"
  31245. },
  31246. "tradedate": {
  31247. "description": "交易日(yyyyMMdd)",
  31248. "type": "string"
  31249. },
  31250. "tradeid": {
  31251. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31252. "type": "string"
  31253. },
  31254. "trademode": {
  31255. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31256. "type": "integer"
  31257. },
  31258. "tradeprice": {
  31259. "description": "成交价格",
  31260. "type": "number"
  31261. },
  31262. "tradeqty": {
  31263. "description": "成交数量",
  31264. "type": "integer"
  31265. }
  31266. }
  31267. },
  31268. "models.HsbySellMyDetail": {
  31269. "type": "object",
  31270. "required": [
  31271. "accountid",
  31272. "buyorsell",
  31273. "goodscode",
  31274. "goodsid",
  31275. "goodsname",
  31276. "marketid",
  31277. "orderid",
  31278. "time",
  31279. "trademode"
  31280. ],
  31281. "properties": {
  31282. "accountid": {
  31283. "description": "账户ID[报价币种]",
  31284. "type": "integer"
  31285. },
  31286. "agreeunit": {
  31287. "description": "合约单位",
  31288. "type": "number"
  31289. },
  31290. "buyorsell": {
  31291. "description": "买卖 - 0:买 1:卖",
  31292. "type": "integer"
  31293. },
  31294. "currencysign": {
  31295. "description": "货币符号",
  31296. "type": "string"
  31297. },
  31298. "decimalplace": {
  31299. "description": "报价小数位",
  31300. "type": "integer"
  31301. },
  31302. "goodscode": {
  31303. "description": "商品代码(内部)",
  31304. "type": "string"
  31305. },
  31306. "goodsid": {
  31307. "description": "商品ID",
  31308. "type": "integer"
  31309. },
  31310. "goodsname": {
  31311. "description": "商品名称",
  31312. "type": "string"
  31313. },
  31314. "marketid": {
  31315. "description": "市场ID",
  31316. "type": "integer"
  31317. },
  31318. "orderid": {
  31319. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  31320. "type": "string"
  31321. },
  31322. "ordertype": {
  31323. "description": "单据类型:0 - 发布中, 1 - 已完成",
  31324. "type": "integer"
  31325. },
  31326. "picurls": {
  31327. "description": "介绍图片[多张用逗号分隔]",
  31328. "type": "string"
  31329. },
  31330. "price": {
  31331. "description": "价格",
  31332. "type": "number"
  31333. },
  31334. "qty": {
  31335. "description": "数量",
  31336. "type": "integer"
  31337. },
  31338. "time": {
  31339. "description": "时间",
  31340. "type": "string"
  31341. },
  31342. "trademode": {
  31343. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31344. "type": "integer"
  31345. },
  31346. "vendorname": {
  31347. "description": "供应商名称",
  31348. "type": "string"
  31349. }
  31350. }
  31351. },
  31352. "models.HsbyTopGoods": {
  31353. "type": "object",
  31354. "required": [
  31355. "goodscode",
  31356. "goodsid",
  31357. "goodsname",
  31358. "marketid",
  31359. "trademode"
  31360. ],
  31361. "properties": {
  31362. "agreeunit": {
  31363. "description": "合约单位",
  31364. "type": "number"
  31365. },
  31366. "currency": {
  31367. "description": "货币",
  31368. "type": "string"
  31369. },
  31370. "currencysign": {
  31371. "description": "货币符号",
  31372. "type": "string"
  31373. },
  31374. "decimalplace": {
  31375. "description": "报价小数位",
  31376. "type": "integer"
  31377. },
  31378. "desccityid": {
  31379. "description": "目的地(市)",
  31380. "type": "integer"
  31381. },
  31382. "descprovinceid": {
  31383. "description": "目的地(省)",
  31384. "type": "integer"
  31385. },
  31386. "goodscode": {
  31387. "description": "商品代码(内部)",
  31388. "type": "string"
  31389. },
  31390. "goodsid": {
  31391. "description": "商品ID(自增ID SEQ_GOODS)",
  31392. "type": "integer"
  31393. },
  31394. "goodsname": {
  31395. "description": "商品名称",
  31396. "type": "string"
  31397. },
  31398. "hotindex": {
  31399. "description": "景点热度",
  31400. "type": "integer"
  31401. },
  31402. "last": {
  31403. "description": "现价",
  31404. "type": "number"
  31405. },
  31406. "marketid": {
  31407. "description": "所属市场ID",
  31408. "type": "integer"
  31409. },
  31410. "picurls": {
  31411. "description": "介绍图片[多张用逗号分隔]",
  31412. "type": "string"
  31413. },
  31414. "quoteminunit": {
  31415. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31416. "type": "integer"
  31417. },
  31418. "trademode": {
  31419. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31420. "type": "integer"
  31421. },
  31422. "videourls": {
  31423. "description": "介绍视频[多张用逗号分隔]",
  31424. "type": "string"
  31425. }
  31426. }
  31427. },
  31428. "models.HybsMyBuyOrderDetail": {
  31429. "type": "object",
  31430. "required": [
  31431. "accountid",
  31432. "buyorsell",
  31433. "goodscode",
  31434. "goodsid",
  31435. "goodsname",
  31436. "marketid",
  31437. "orderid",
  31438. "orderqty",
  31439. "ordertime",
  31440. "trademode"
  31441. ],
  31442. "properties": {
  31443. "accountid": {
  31444. "description": "账户ID[报价币种]",
  31445. "type": "integer"
  31446. },
  31447. "agreeunit": {
  31448. "description": "合约单位",
  31449. "type": "number"
  31450. },
  31451. "buyorsell": {
  31452. "description": "买卖 - 0:买 1:卖",
  31453. "type": "integer"
  31454. },
  31455. "cancelqty": {
  31456. "description": "撤单数量",
  31457. "type": "integer"
  31458. },
  31459. "currencysign": {
  31460. "description": "货币符号",
  31461. "type": "string"
  31462. },
  31463. "decimalplace": {
  31464. "description": "报价小数位",
  31465. "type": "integer"
  31466. },
  31467. "goodscode": {
  31468. "description": "商品代码(内部)",
  31469. "type": "string"
  31470. },
  31471. "goodsid": {
  31472. "description": "商品ID",
  31473. "type": "integer"
  31474. },
  31475. "goodsname": {
  31476. "description": "商品名称",
  31477. "type": "string"
  31478. },
  31479. "listingselecttype": {
  31480. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31481. "type": "integer"
  31482. },
  31483. "marketid": {
  31484. "description": "市场ID",
  31485. "type": "integer"
  31486. },
  31487. "mybuystatus": {
  31488. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  31489. "type": "integer"
  31490. },
  31491. "orderamount": {
  31492. "description": "委托金额",
  31493. "type": "number"
  31494. },
  31495. "orderid": {
  31496. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31497. "type": "string"
  31498. },
  31499. "orderprice": {
  31500. "description": "委托价格",
  31501. "type": "number"
  31502. },
  31503. "orderqty": {
  31504. "description": "委托数量",
  31505. "type": "integer"
  31506. },
  31507. "orderstatus": {
  31508. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31509. "type": "integer"
  31510. },
  31511. "ordertime": {
  31512. "description": "委托时间",
  31513. "type": "string"
  31514. },
  31515. "picurls1": {
  31516. "description": "预售商品介绍图片[多张用逗号分隔]",
  31517. "type": "string"
  31518. },
  31519. "picurls2": {
  31520. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  31521. "type": "string"
  31522. },
  31523. "trademode": {
  31524. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31525. "type": "integer"
  31526. },
  31527. "tradeqty": {
  31528. "description": "成交数量",
  31529. "type": "integer"
  31530. },
  31531. "vendorname1": {
  31532. "description": "预售商品供应商名称",
  31533. "type": "string"
  31534. },
  31535. "vendorname2": {
  31536. "description": "挂牌商品供应商名称",
  31537. "type": "string"
  31538. }
  31539. }
  31540. },
  31541. "models.InternalEnableTradeDetail": {
  31542. "type": "object",
  31543. "required": [
  31544. "areauserid",
  31545. "goodsid",
  31546. "tradeuserid"
  31547. ],
  31548. "properties": {
  31549. "agreeunit": {
  31550. "description": "合约乘数",
  31551. "type": "number"
  31552. },
  31553. "areauserid": {
  31554. "description": "企业ID",
  31555. "type": "integer"
  31556. },
  31557. "convertratio": {
  31558. "description": "品种系数",
  31559. "type": "number"
  31560. },
  31561. "deliverygoodscode": {
  31562. "description": "现货品种代码",
  31563. "type": "string"
  31564. },
  31565. "deliverygoodsid": {
  31566. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31567. "type": "integer"
  31568. },
  31569. "deliverygoodsname": {
  31570. "description": "现货品种名称",
  31571. "type": "string"
  31572. },
  31573. "futurehedgeqty": {
  31574. "description": "[已关联数量]期货持仓套期量",
  31575. "type": "number"
  31576. },
  31577. "goodsid": {
  31578. "description": "期货合约ID",
  31579. "type": "integer"
  31580. },
  31581. "hedgeditemid": {
  31582. "description": "被套期项目ID",
  31583. "type": "string"
  31584. },
  31585. "hedgeditemnum": {
  31586. "description": "项目编号",
  31587. "type": "string"
  31588. },
  31589. "tradeuserid": {
  31590. "description": "交易用户ID",
  31591. "type": "integer"
  31592. },
  31593. "unexehedgeqty": {
  31594. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  31595. "type": "number"
  31596. },
  31597. "unexespotqty": {
  31598. "description": "未执行现货量",
  31599. "type": "number"
  31600. },
  31601. "wrstandardcode": {
  31602. "description": "现货品类代码",
  31603. "type": "string"
  31604. },
  31605. "wrstandardid": {
  31606. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31607. "type": "integer"
  31608. },
  31609. "wrstandardname": {
  31610. "description": "现货品类名称",
  31611. "type": "string"
  31612. }
  31613. }
  31614. },
  31615. "models.InternalUncorrelatedTradeDetail": {
  31616. "type": "object",
  31617. "properties": {
  31618. "accountid": {
  31619. "description": "账号ID",
  31620. "type": "integer"
  31621. },
  31622. "accountname": {
  31623. "description": "套期主体",
  31624. "type": "string"
  31625. },
  31626. "agreeunit": {
  31627. "description": "合约乘数",
  31628. "type": "number"
  31629. },
  31630. "areauserid": {
  31631. "description": "所属机构",
  31632. "type": "integer"
  31633. },
  31634. "bizsubjectid": {
  31635. "description": "归属业务部门ID - SubjectID",
  31636. "type": "integer"
  31637. },
  31638. "buyorsell": {
  31639. "description": "方向 - 0:买 1:卖",
  31640. "type": "integer"
  31641. },
  31642. "channelbuildtype": {
  31643. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31644. "type": "integer"
  31645. },
  31646. "convertratio": {
  31647. "description": "品种系数",
  31648. "type": "number"
  31649. },
  31650. "createtime": {
  31651. "description": "创建时间",
  31652. "type": "string"
  31653. },
  31654. "creatorid": {
  31655. "description": "创建人ID",
  31656. "type": "integer"
  31657. },
  31658. "creatorsrc": {
  31659. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31660. "type": "integer"
  31661. },
  31662. "enableqty": {
  31663. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  31664. "type": "number"
  31665. },
  31666. "enumdicname": {
  31667. "description": "单位",
  31668. "type": "string"
  31669. },
  31670. "goodscode": {
  31671. "description": "合约代码",
  31672. "type": "string"
  31673. },
  31674. "goodsgroupid": {
  31675. "description": "对冲品种ID[期货合约商品组ID]",
  31676. "type": "integer"
  31677. },
  31678. "goodsid": {
  31679. "description": "商品ID",
  31680. "type": "integer"
  31681. },
  31682. "goodsname": {
  31683. "description": "合约名称",
  31684. "type": "string"
  31685. },
  31686. "hedgeditemid": {
  31687. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31688. "type": "integer"
  31689. },
  31690. "hedgeflag": {
  31691. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31692. "type": "integer"
  31693. },
  31694. "linkdetailid": {
  31695. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31696. "type": "string"
  31697. },
  31698. "linkstatus": {
  31699. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31700. "type": "integer"
  31701. },
  31702. "middlegoodsid": {
  31703. "description": "套保品种ID",
  31704. "type": "integer"
  31705. },
  31706. "middlegoodsqty": {
  31707. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  31708. "type": "number"
  31709. },
  31710. "relatedlot": {
  31711. "description": "[数量]关联手数",
  31712. "type": "number"
  31713. },
  31714. "relatedmode": {
  31715. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31716. "type": "integer"
  31717. },
  31718. "relatedqty": {
  31719. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31720. "type": "number"
  31721. },
  31722. "retcode": {
  31723. "description": "返回码",
  31724. "type": "integer"
  31725. },
  31726. "saleuserid": {
  31727. "description": "业务员ID",
  31728. "type": "integer"
  31729. },
  31730. "tradedate": {
  31731. "description": "关联交易日(yyyyMMdd)",
  31732. "type": "string"
  31733. },
  31734. "tradeid": {
  31735. "description": "成交单号",
  31736. "type": "string"
  31737. },
  31738. "tradelot": {
  31739. "description": "成交手数",
  31740. "type": "integer"
  31741. },
  31742. "tradeprice": {
  31743. "description": "成交价",
  31744. "type": "number"
  31745. },
  31746. "tradetime": {
  31747. "description": "成交时间",
  31748. "type": "string"
  31749. },
  31750. "tradetradedate": {
  31751. "description": "成交交易日(yyyyMMdd)",
  31752. "type": "string"
  31753. },
  31754. "tradeuserid": {
  31755. "description": "交易用户ID",
  31756. "type": "integer"
  31757. }
  31758. }
  31759. },
  31760. "models.Loginaccount": {
  31761. "type": "object",
  31762. "required": [
  31763. "loginid"
  31764. ],
  31765. "properties": {
  31766. "accountname": {
  31767. "description": "账户名称",
  31768. "type": "string"
  31769. },
  31770. "canoutin": {
  31771. "description": "是否可出入金 - 0:不可 1:可",
  31772. "type": "integer"
  31773. },
  31774. "clientroleid": {
  31775. "description": "终端角色ID",
  31776. "type": "integer"
  31777. },
  31778. "haslogined": {
  31779. "description": "是否已登录 - 0:未登录 1:已登录",
  31780. "type": "integer"
  31781. },
  31782. "hasupdatedpwd": {
  31783. "description": "是否已更改密码 - 0:未修改 1:已修改",
  31784. "type": "integer"
  31785. },
  31786. "lastloginip": {
  31787. "description": "最新登录地址",
  31788. "type": "string"
  31789. },
  31790. "lastloginmode": {
  31791. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31792. "type": "integer"
  31793. },
  31794. "lastloginremark": {
  31795. "description": "最新登录描述",
  31796. "type": "string"
  31797. },
  31798. "lastlogintime": {
  31799. "description": "最新登录时间",
  31800. "type": "string"
  31801. },
  31802. "logincode": {
  31803. "description": "登录代码",
  31804. "type": "string"
  31805. },
  31806. "loginfailnum": {
  31807. "description": "连续登录失败次数(登录成功时清零)",
  31808. "type": "integer"
  31809. },
  31810. "loginid": {
  31811. "description": "登陆账号",
  31812. "type": "integer"
  31813. },
  31814. "loginport": {
  31815. "description": "最新登录端口",
  31816. "type": "integer"
  31817. },
  31818. "loginstatus": {
  31819. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  31820. "type": "integer"
  31821. },
  31822. "loginusertype": {
  31823. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  31824. "type": "integer"
  31825. },
  31826. "mobile": {
  31827. "description": "手机号码(加密存储)",
  31828. "type": "string"
  31829. },
  31830. "modifierid": {
  31831. "description": "修改人",
  31832. "type": "integer"
  31833. },
  31834. "modifysrc": {
  31835. "description": "审核来源 - 1:管理端 2:终端",
  31836. "type": "integer"
  31837. },
  31838. "modifytime": {
  31839. "description": "修改时间",
  31840. "type": "string"
  31841. },
  31842. "password": {
  31843. "description": "登陆密码",
  31844. "type": "string"
  31845. },
  31846. "pwdwrongcount": {
  31847. "description": "密码错误次数",
  31848. "type": "integer"
  31849. },
  31850. "relateduserid": {
  31851. "description": "关联用户ID(机构)",
  31852. "type": "integer"
  31853. },
  31854. "taaccountrighttype": {
  31855. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31856. "type": "integer"
  31857. },
  31858. "unfreezetime": {
  31859. "description": "账户解冻时间",
  31860. "type": "string"
  31861. },
  31862. "userid": {
  31863. "description": "用户ID",
  31864. "type": "integer"
  31865. }
  31866. }
  31867. },
  31868. "models.MainAccountInfo": {
  31869. "type": "object",
  31870. "properties": {
  31871. "accountid": {
  31872. "description": "账号id",
  31873. "type": "integer"
  31874. },
  31875. "accountname": {
  31876. "description": "账号名称(taaccount表中的名称)",
  31877. "type": "string"
  31878. },
  31879. "appid": {
  31880. "description": "AppID",
  31881. "type": "string"
  31882. },
  31883. "authcode": {
  31884. "description": "授权码",
  31885. "type": "string"
  31886. },
  31887. "brokerid": {
  31888. "description": "经纪商id",
  31889. "type": "string"
  31890. },
  31891. "fcid": {
  31892. "description": "期货公司id",
  31893. "type": "integer"
  31894. },
  31895. "fcname": {
  31896. "description": "期货公司代码",
  31897. "type": "string"
  31898. },
  31899. "hedgeaccountcode": {
  31900. "description": "外部账号代码(主账号登录代码)",
  31901. "type": "string"
  31902. },
  31903. "hedgeaccountpwd": {
  31904. "description": "密码",
  31905. "type": "string"
  31906. },
  31907. "ismain": {
  31908. "description": "是否主账号",
  31909. "type": "integer"
  31910. },
  31911. "relateduserid": {
  31912. "description": "关联用户id",
  31913. "type": "integer"
  31914. },
  31915. "userid": {
  31916. "description": "关联用户id",
  31917. "type": "integer"
  31918. }
  31919. }
  31920. },
  31921. "models.Market": {
  31922. "type": "object",
  31923. "required": [
  31924. "marketid",
  31925. "marketstatus",
  31926. "openmethod",
  31927. "reckonpricealgorithm",
  31928. "trademode",
  31929. "tradeproperty"
  31930. ],
  31931. "properties": {
  31932. "auctionwrtype": {
  31933. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31934. "type": "integer"
  31935. },
  31936. "canacceptquote": {
  31937. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31938. "type": "integer"
  31939. },
  31940. "cangoodsexercise": {
  31941. "description": "[期权]是否可现货行权- 0:否 1:是",
  31942. "type": "integer"
  31943. },
  31944. "cangoodsexercisetype": {
  31945. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31946. "type": "integer"
  31947. },
  31948. "canmanualquotestrike": {
  31949. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31950. "type": "integer"
  31951. },
  31952. "canmutistage": {
  31953. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31954. "type": "integer"
  31955. },
  31956. "canpreexercise": {
  31957. "description": "[期权]是否可预申报- 0:否 1:是",
  31958. "type": "integer"
  31959. },
  31960. "clearinterval": {
  31961. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31962. "type": "integer"
  31963. },
  31964. "contracttmp": {
  31965. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31966. "type": "string"
  31967. },
  31968. "exchareaid": {
  31969. "description": "所属交易所,可以没有",
  31970. "type": "integer"
  31971. },
  31972. "goodstype": {
  31973. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31974. "type": "integer"
  31975. },
  31976. "hasrebate": {
  31977. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31978. "type": "integer"
  31979. },
  31980. "hastradecredit": {
  31981. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31982. "type": "integer"
  31983. },
  31984. "haswr": {
  31985. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31986. "type": "integer"
  31987. },
  31988. "isdeductmargin": {
  31989. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31990. "type": "integer"
  31991. },
  31992. "isrecordsource": {
  31993. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31994. "type": "integer"
  31995. },
  31996. "isreleasemargin": {
  31997. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31998. "type": "integer"
  31999. },
  32000. "marginformula": {
  32001. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32002. "type": "integer"
  32003. },
  32004. "marginformula2": {
  32005. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32006. "type": "integer"
  32007. },
  32008. "marketid": {
  32009. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32010. "type": "integer"
  32011. },
  32012. "marketname": {
  32013. "description": "市场名称",
  32014. "type": "string"
  32015. },
  32016. "marketserviceid": {
  32017. "description": "市场服务ID",
  32018. "type": "integer"
  32019. },
  32020. "marketstatus": {
  32021. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32022. "type": "integer"
  32023. },
  32024. "markettype": {
  32025. "description": "市场类型- 1:非交易服务 2:交易服务",
  32026. "type": "integer"
  32027. },
  32028. "matchermode": {
  32029. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  32030. "type": "integer"
  32031. },
  32032. "openmethod": {
  32033. "description": "开盘模式 - 0 自动 1手动",
  32034. "type": "integer"
  32035. },
  32036. "otcuserid": {
  32037. "description": "场外期权做市商[场外期权]",
  32038. "type": "integer"
  32039. },
  32040. "outersynctime": {
  32041. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32042. "type": "string"
  32043. },
  32044. "pendingflag": {
  32045. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32046. "type": "integer"
  32047. },
  32048. "pendingtime": {
  32049. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32050. "type": "string"
  32051. },
  32052. "performancetempid": {
  32053. "description": "履约计划模板ID - 作废",
  32054. "type": "integer"
  32055. },
  32056. "premiumquotemode": {
  32057. "description": "权利金报价方式 - 1:自动 2:手动",
  32058. "type": "integer"
  32059. },
  32060. "rebateratio": {
  32061. "description": "返利比率[竞价式]",
  32062. "type": "number"
  32063. },
  32064. "reckonorder": {
  32065. "description": "结算顺序",
  32066. "type": "integer"
  32067. },
  32068. "reckonpricealgorithm": {
  32069. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32070. "type": "integer"
  32071. },
  32072. "reckonpriceparam": {
  32073. "description": "结算价参数",
  32074. "type": "integer"
  32075. },
  32076. "reckontime": {
  32077. "description": "结算时间[通道交易-对冲](HH:mm)",
  32078. "type": "string"
  32079. },
  32080. "roleprioritytype": {
  32081. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32082. "type": "integer"
  32083. },
  32084. "selllistingauditflag": {
  32085. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32086. "type": "integer"
  32087. },
  32088. "trademarkettype": {
  32089. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32090. "type": "integer"
  32091. },
  32092. "trademode": {
  32093. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32094. "type": "integer"
  32095. },
  32096. "tradeproperty": {
  32097. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32098. "type": "integer"
  32099. },
  32100. "tradetype": {
  32101. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32102. "type": "integer"
  32103. }
  32104. }
  32105. },
  32106. "models.Marketcalendar": {
  32107. "type": "object",
  32108. "properties": {
  32109. "holidaydate": {
  32110. "description": "节假日期(yyyy-MM-dd)",
  32111. "type": "string"
  32112. },
  32113. "marketid": {
  32114. "description": "市场ID",
  32115. "type": "integer"
  32116. }
  32117. }
  32118. },
  32119. "models.Marketrun": {
  32120. "type": "object",
  32121. "required": [
  32122. "marketid",
  32123. "nexttradedate",
  32124. "reckonflag",
  32125. "runstatus",
  32126. "tradedate",
  32127. "tradedate2"
  32128. ],
  32129. "properties": {
  32130. "afternexttradedate": {
  32131. "description": "下下交易日",
  32132. "type": "string"
  32133. },
  32134. "clearquoteflag": {
  32135. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  32136. "type": "integer"
  32137. },
  32138. "lastreckondate": {
  32139. "description": "最新交易日(结算成功)",
  32140. "type": "string"
  32141. },
  32142. "machinedate": {
  32143. "description": "机器时间",
  32144. "type": "string"
  32145. },
  32146. "manualflag": {
  32147. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  32148. "type": "integer"
  32149. },
  32150. "marketid": {
  32151. "description": "市场ID",
  32152. "type": "integer"
  32153. },
  32154. "nexttradedate": {
  32155. "description": "下一交易日",
  32156. "type": "string"
  32157. },
  32158. "pretradedate": {
  32159. "description": "上一交易日",
  32160. "type": "string"
  32161. },
  32162. "reckonflag": {
  32163. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  32164. "type": "integer"
  32165. },
  32166. "runstatus": {
  32167. "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.今日免清算",
  32168. "type": "integer"
  32169. },
  32170. "sectionid": {
  32171. "description": "时间段号[多时段时用]",
  32172. "type": "integer"
  32173. },
  32174. "tradedate": {
  32175. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  32176. "type": "string"
  32177. },
  32178. "tradedate2": {
  32179. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  32180. "type": "string"
  32181. },
  32182. "updatetime": {
  32183. "description": "更新时间",
  32184. "type": "string"
  32185. }
  32186. }
  32187. },
  32188. "models.Messageboard": {
  32189. "type": "object",
  32190. "required": [
  32191. "messageboardid"
  32192. ],
  32193. "properties": {
  32194. "contactnum": {
  32195. "description": "联系电话",
  32196. "type": "string"
  32197. },
  32198. "createtime": {
  32199. "description": "创建时间",
  32200. "type": "string"
  32201. },
  32202. "message": {
  32203. "description": "留言信息",
  32204. "type": "string"
  32205. },
  32206. "messageboardid": {
  32207. "description": "留言簿ID(SEQ_MessageBoard)",
  32208. "type": "integer"
  32209. },
  32210. "userid": {
  32211. "description": "用户ID",
  32212. "type": "integer"
  32213. }
  32214. }
  32215. },
  32216. "models.MyCoupon": {
  32217. "type": "object",
  32218. "required": [
  32219. "accountid",
  32220. "coupontypeid"
  32221. ],
  32222. "properties": {
  32223. "accountid": {
  32224. "description": "资金账户ID",
  32225. "type": "integer"
  32226. },
  32227. "areauserid": {
  32228. "description": "所属机构",
  32229. "type": "integer"
  32230. },
  32231. "conditionvalue": {
  32232. "description": "条件阈值(可为0)",
  32233. "type": "number"
  32234. },
  32235. "couponcategroy": {
  32236. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  32237. "type": "integer"
  32238. },
  32239. "couponname": {
  32240. "description": "优惠券名称",
  32241. "type": "string"
  32242. },
  32243. "coupontypeid": {
  32244. "description": "优惠券类型ID",
  32245. "type": "string"
  32246. },
  32247. "couponvalue": {
  32248. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  32249. "type": "number"
  32250. },
  32251. "curfreezeqty": {
  32252. "description": "期末冻结数量",
  32253. "type": "integer"
  32254. },
  32255. "curqty": {
  32256. "description": "期末数量",
  32257. "type": "integer"
  32258. },
  32259. "isgeneral": {
  32260. "description": "是否通用券 - 0:否 1:是",
  32261. "type": "integer"
  32262. },
  32263. "isunusable": {
  32264. "description": "是否不可用",
  32265. "type": "boolean"
  32266. },
  32267. "limitedflag": {
  32268. "description": "是否指定商品 - 0:不限 1:限制",
  32269. "type": "integer"
  32270. },
  32271. "limitedgoodsids": {
  32272. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  32273. "type": "string"
  32274. },
  32275. "orifreezeqty": {
  32276. "description": "期初冻结数量",
  32277. "type": "integer"
  32278. },
  32279. "oriqty": {
  32280. "description": "期初数量",
  32281. "type": "integer"
  32282. },
  32283. "reasontype": {
  32284. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  32285. "type": "integer"
  32286. },
  32287. "todaydecrease": {
  32288. "description": "今日减少",
  32289. "type": "integer"
  32290. },
  32291. "todayincrease": {
  32292. "description": "今日增加",
  32293. "type": "integer"
  32294. },
  32295. "userid": {
  32296. "description": "用户ID",
  32297. "type": "integer"
  32298. },
  32299. "userscope": {
  32300. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  32301. "type": "string"
  32302. }
  32303. }
  32304. },
  32305. "models.MyCouponHold": {
  32306. "type": "object",
  32307. "required": [
  32308. "couponholdid"
  32309. ],
  32310. "properties": {
  32311. "accountid": {
  32312. "description": "资金账户ID",
  32313. "type": "integer"
  32314. },
  32315. "conditionvalue": {
  32316. "description": "条件阈值(可为0)",
  32317. "type": "number"
  32318. },
  32319. "couponcategroy": {
  32320. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  32321. "type": "integer"
  32322. },
  32323. "couponholdid": {
  32324. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  32325. "type": "string"
  32326. },
  32327. "couponname": {
  32328. "description": "优惠券名称",
  32329. "type": "string"
  32330. },
  32331. "coupontypeid": {
  32332. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  32333. "type": "string"
  32334. },
  32335. "couponvalue": {
  32336. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  32337. "type": "number"
  32338. },
  32339. "createtime": {
  32340. "description": "创建时间",
  32341. "type": "string"
  32342. },
  32343. "enddate": {
  32344. "description": "结束日期",
  32345. "type": "string"
  32346. },
  32347. "giveapplyid": {
  32348. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  32349. "type": "integer"
  32350. },
  32351. "holdstatus": {
  32352. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  32353. "type": "integer"
  32354. },
  32355. "isgeneral": {
  32356. "description": "是否通用券 - 0:否 1:是",
  32357. "type": "integer"
  32358. },
  32359. "limitedflag": {
  32360. "description": "是否指定商品 - 0:不限 1:限制",
  32361. "type": "integer"
  32362. },
  32363. "limitedgoodsids": {
  32364. "description": "指定商品IDs[逗号分隔]",
  32365. "type": "string"
  32366. },
  32367. "qty": {
  32368. "description": "数量(按1平铺)",
  32369. "type": "integer"
  32370. },
  32371. "startdate": {
  32372. "description": "开始日期",
  32373. "type": "string"
  32374. },
  32375. "userid": {
  32376. "description": "用户ID",
  32377. "type": "integer"
  32378. },
  32379. "userscope": {
  32380. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  32381. "type": "string"
  32382. }
  32383. }
  32384. },
  32385. "models.MyUsedCoupon": {
  32386. "type": "object",
  32387. "required": [
  32388. "coupontypeid",
  32389. "orderid"
  32390. ],
  32391. "properties": {
  32392. "accountid": {
  32393. "description": "资金账户ID(买方)",
  32394. "type": "integer"
  32395. },
  32396. "conditionvalue": {
  32397. "description": "条件阈值(可为0)",
  32398. "type": "number"
  32399. },
  32400. "couponcategroy": {
  32401. "description": "种类 - 1:现金券 2:折扣券",
  32402. "type": "integer"
  32403. },
  32404. "couponname": {
  32405. "description": "优惠券名称",
  32406. "type": "string"
  32407. },
  32408. "coupontypeid": {
  32409. "description": "优惠券类型ID(买方)",
  32410. "type": "string"
  32411. },
  32412. "couponvalue": {
  32413. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  32414. "type": "number"
  32415. },
  32416. "createtime": {
  32417. "description": "创建时间",
  32418. "type": "string"
  32419. },
  32420. "goodsid": {
  32421. "description": "商品ID",
  32422. "type": "integer"
  32423. },
  32424. "handlestatus": {
  32425. "description": "处理状态",
  32426. "type": "integer"
  32427. },
  32428. "marketid": {
  32429. "description": "市场ID",
  32430. "type": "integer"
  32431. },
  32432. "offamount": {
  32433. "description": "优惠金额",
  32434. "type": "number"
  32435. },
  32436. "orderid": {
  32437. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32438. "type": "string"
  32439. },
  32440. "sellaccountid": {
  32441. "description": "资金账户ID(卖方)",
  32442. "type": "integer"
  32443. },
  32444. "tradeamount": {
  32445. "description": "成交金额",
  32446. "type": "number"
  32447. },
  32448. "tradeid": {
  32449. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32450. "type": "string"
  32451. },
  32452. "usedqty": {
  32453. "description": "使用数量",
  32454. "type": "integer"
  32455. }
  32456. }
  32457. },
  32458. "models.MyWRPosition": {
  32459. "type": "object",
  32460. "required": [
  32461. "wruserid"
  32462. ],
  32463. "properties": {
  32464. "cerno": {
  32465. "description": "证书编号 - 类型:2,4,5",
  32466. "type": "string"
  32467. },
  32468. "cpcertno": {
  32469. "description": "金伯利证书编号 - 类型:3",
  32470. "type": "string"
  32471. },
  32472. "ffreezeqty": {
  32473. "description": "期初均价",
  32474. "type": "number"
  32475. },
  32476. "ftotalqty": {
  32477. "description": "期初均价",
  32478. "type": "number"
  32479. },
  32480. "goodsno": {
  32481. "description": "商品编号",
  32482. "type": "string"
  32483. },
  32484. "imagepath": {
  32485. "description": "商品照片(相对地址)",
  32486. "type": "string"
  32487. },
  32488. "isvalid": {
  32489. "description": "是否有效 - 0:无效 1:有效",
  32490. "type": "integer"
  32491. },
  32492. "kppath": {
  32493. "description": "金伯利证书图片(相对地址) - 类型:3",
  32494. "type": "string"
  32495. },
  32496. "kpweight": {
  32497. "description": "金伯利证书重量 - 类型:3",
  32498. "type": "string"
  32499. },
  32500. "marketprice": {
  32501. "description": "市场价",
  32502. "type": "string"
  32503. },
  32504. "origin": {
  32505. "description": "原产地 - 类型:3",
  32506. "type": "string"
  32507. },
  32508. "price": {
  32509. "description": "总价(价格) - 类型:1,2,3,4,5",
  32510. "type": "number"
  32511. },
  32512. "priceper": {
  32513. "description": "克拉单价 - 类型:1,2,3,5",
  32514. "type": "string"
  32515. },
  32516. "remark": {
  32517. "description": "备注",
  32518. "type": "string"
  32519. },
  32520. "sellmobile": {
  32521. "description": "手机号码(加密存储)",
  32522. "type": "string"
  32523. },
  32524. "sellusername": {
  32525. "description": "账户名称(机构名称)",
  32526. "type": "string"
  32527. },
  32528. "settingmaterial": {
  32529. "description": "镶嵌材料 - 类型:4",
  32530. "type": "string"
  32531. },
  32532. "size1": {
  32533. "description": "尺寸1 - 类型:2,4,5",
  32534. "type": "string"
  32535. },
  32536. "size2": {
  32537. "description": "尺寸2 - 类型:2,4,5",
  32538. "type": "string"
  32539. },
  32540. "size3": {
  32541. "description": "尺寸3 - 类型:2,4,5",
  32542. "type": "string"
  32543. },
  32544. "stonedesc": {
  32545. "description": "配石描述 - 类型:4",
  32546. "type": "string"
  32547. },
  32548. "userid": {
  32549. "description": "用户ID",
  32550. "type": "integer"
  32551. },
  32552. "warehouseid": {
  32553. "description": "仓库ID",
  32554. "type": "integer"
  32555. },
  32556. "warehousenamedisplay": {
  32557. "type": "string"
  32558. },
  32559. "weight": {
  32560. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  32561. "type": "number"
  32562. },
  32563. "weightavg": {
  32564. "description": "平均单颗重量 - 类型:1,3",
  32565. "type": "number"
  32566. },
  32567. "wrpath": {
  32568. "description": "仓单扫描件(相对地址)",
  32569. "type": "string"
  32570. },
  32571. "wrstandardid": {
  32572. "description": "现货商品ID",
  32573. "type": "integer"
  32574. },
  32575. "wruserid": {
  32576. "description": "登录用户ID",
  32577. "type": "integer"
  32578. },
  32579. "zscategory": {
  32580. "description": "钻石分类 - 枚举”ZSCategory“",
  32581. "type": "integer"
  32582. },
  32583. "zscategorydisplay": {
  32584. "type": "string"
  32585. },
  32586. "zscerttype": {
  32587. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  32588. "type": "integer"
  32589. },
  32590. "zscerttypedisplay": {
  32591. "type": "string"
  32592. },
  32593. "zsclaritytype1": {
  32594. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  32595. "type": "integer"
  32596. },
  32597. "zsclaritytype1display": {
  32598. "type": "string"
  32599. },
  32600. "zsclaritytype2": {
  32601. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  32602. "type": "integer"
  32603. },
  32604. "zsclaritytype2display": {
  32605. "type": "string"
  32606. },
  32607. "zscolortype1": {
  32608. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  32609. "type": "integer"
  32610. },
  32611. "zscolortype1display": {
  32612. "type": "string"
  32613. },
  32614. "zscolortype2": {
  32615. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  32616. "type": "integer"
  32617. },
  32618. "zscolortype2display": {
  32619. "type": "string"
  32620. },
  32621. "zscrystaltype": {
  32622. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  32623. "type": "string"
  32624. },
  32625. "zscrystaltypedisplay": {
  32626. "type": "string"
  32627. },
  32628. "zscurrencytype": {
  32629. "description": "货币类型 - 枚举“ZSCurrencyType”",
  32630. "type": "integer"
  32631. },
  32632. "zscurrencytypedisplay": {
  32633. "type": "string"
  32634. },
  32635. "zscurrencytypedisplayunit": {
  32636. "type": "string"
  32637. },
  32638. "zscuttype1": {
  32639. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  32640. "type": "integer"
  32641. },
  32642. "zscuttype1display": {
  32643. "type": "string"
  32644. },
  32645. "zscuttype2": {
  32646. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  32647. "type": "integer"
  32648. },
  32649. "zscuttype2display": {
  32650. "type": "string"
  32651. },
  32652. "zsczcolor1type": {
  32653. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  32654. "type": "integer"
  32655. },
  32656. "zsczcolor1typedisplay": {
  32657. "type": "string"
  32658. },
  32659. "zsczcolor2type": {
  32660. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  32661. "type": "integer"
  32662. },
  32663. "zsczcolor2typedisplay": {
  32664. "type": "string"
  32665. },
  32666. "zsczcolor3type": {
  32667. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  32668. "type": "integer"
  32669. },
  32670. "zsczcolor3typedisplay": {
  32671. "type": "string"
  32672. },
  32673. "zsfluorescencetype1": {
  32674. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  32675. "type": "integer"
  32676. },
  32677. "zsfluorescencetype1display": {
  32678. "type": "string"
  32679. },
  32680. "zsfluorescencetype2": {
  32681. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  32682. "type": "integer"
  32683. },
  32684. "zsfluorescencetype2display": {
  32685. "type": "string"
  32686. },
  32687. "zspolishtype1": {
  32688. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  32689. "type": "integer"
  32690. },
  32691. "zspolishtype1display": {
  32692. "type": "string"
  32693. },
  32694. "zspolishtype2": {
  32695. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  32696. "type": "integer"
  32697. },
  32698. "zspolishtype2display": {
  32699. "type": "string"
  32700. },
  32701. "zsshapetype": {
  32702. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  32703. "type": "string"
  32704. },
  32705. "zsshapetypedisplay": {
  32706. "type": "string"
  32707. },
  32708. "zsstyletype": {
  32709. "description": "款式 - 类型:4",
  32710. "type": "integer"
  32711. },
  32712. "zsstyletypedisplay": {
  32713. "type": "string"
  32714. },
  32715. "zssymmetrytype1": {
  32716. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  32717. "type": "integer"
  32718. },
  32719. "zssymmetrytype1display": {
  32720. "type": "string"
  32721. },
  32722. "zssymmetrytype2": {
  32723. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  32724. "type": "integer"
  32725. },
  32726. "zssymmetrytype2display": {
  32727. "type": "string"
  32728. }
  32729. }
  32730. },
  32731. "models.NewFuncmenulist": {
  32732. "type": "object",
  32733. "required": [
  32734. "resourcecode"
  32735. ],
  32736. "properties": {
  32737. "authtype": {
  32738. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  32739. "type": "integer"
  32740. },
  32741. "buttonname": {
  32742. "description": "按钮名称",
  32743. "type": "string"
  32744. },
  32745. "buttontype": {
  32746. "description": "按钮类型 - 存按钮样式",
  32747. "type": "string"
  32748. },
  32749. "component": {
  32750. "description": "组件名或组件地址",
  32751. "type": "string"
  32752. },
  32753. "hidden": {
  32754. "description": "是否隐藏 - 0:显示 1:隐藏",
  32755. "type": "integer"
  32756. },
  32757. "iconame": {
  32758. "description": "菜单图标",
  32759. "type": "string"
  32760. },
  32761. "menutype": {
  32762. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  32763. "type": "integer"
  32764. },
  32765. "parentcode": {
  32766. "description": "上级资源代码",
  32767. "type": "string"
  32768. },
  32769. "remark": {
  32770. "description": "Remark",
  32771. "type": "string"
  32772. },
  32773. "resourcecode": {
  32774. "description": "资源代码",
  32775. "type": "string"
  32776. },
  32777. "resourcelevel": {
  32778. "description": "级别1-一级 2-二级 3-三级4-四级",
  32779. "type": "integer"
  32780. },
  32781. "resourcename": {
  32782. "description": "资源名(Title)",
  32783. "type": "string"
  32784. },
  32785. "sort": {
  32786. "description": "排序",
  32787. "type": "integer"
  32788. },
  32789. "url": {
  32790. "description": "Url",
  32791. "type": "string"
  32792. },
  32793. "urltype": {
  32794. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  32795. "type": "integer"
  32796. }
  32797. }
  32798. },
  32799. "models.OperationPrimaryMenu": {
  32800. "type": "object",
  32801. "properties": {
  32802. "Children": {
  32803. "description": "二级功能菜单",
  32804. "type": "array",
  32805. "items": {
  32806. "$ref": "#/definitions/models.OperationSecondaryMenu"
  32807. }
  32808. },
  32809. "Key": {
  32810. "description": "菜单KEY",
  32811. "type": "string"
  32812. },
  32813. "Label": {
  32814. "description": "菜单标题",
  32815. "type": "string"
  32816. }
  32817. }
  32818. },
  32819. "models.OperationSecondaryMenu": {
  32820. "type": "object",
  32821. "properties": {
  32822. "Key": {
  32823. "description": "菜单KEY",
  32824. "type": "string"
  32825. },
  32826. "Label": {
  32827. "description": "菜单标题",
  32828. "type": "string"
  32829. },
  32830. "TabList": {
  32831. "description": "三级功能菜单",
  32832. "type": "array",
  32833. "items": {
  32834. "$ref": "#/definitions/models.OperationTabMenu"
  32835. }
  32836. }
  32837. }
  32838. },
  32839. "models.OperationTabMenu": {
  32840. "type": "object",
  32841. "properties": {
  32842. "Key": {
  32843. "description": "菜单KEY",
  32844. "type": "string"
  32845. },
  32846. "Label": {
  32847. "description": "菜单标题",
  32848. "type": "string"
  32849. }
  32850. }
  32851. },
  32852. "models.Patradelinkdetail": {
  32853. "type": "object",
  32854. "properties": {
  32855. "accountname": {
  32856. "description": "套期主体",
  32857. "type": "string"
  32858. },
  32859. "agreeunit": {
  32860. "description": "合约乘数",
  32861. "type": "number"
  32862. },
  32863. "amount": {
  32864. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  32865. "type": "number"
  32866. },
  32867. "areauserid": {
  32868. "description": "所属机构",
  32869. "type": "integer"
  32870. },
  32871. "bizsubjectid": {
  32872. "description": "归属业务部门ID - SubjectID",
  32873. "type": "integer"
  32874. },
  32875. "buyorsell": {
  32876. "description": "方向 - 0:买 1:卖",
  32877. "type": "integer"
  32878. },
  32879. "convertratio": {
  32880. "description": "品种系数",
  32881. "type": "number"
  32882. },
  32883. "convertratiochange": {
  32884. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  32885. "type": "number"
  32886. },
  32887. "createtime": {
  32888. "description": "[日期时间]创建时间",
  32889. "type": "string"
  32890. },
  32891. "creatorid": {
  32892. "description": "创建人ID",
  32893. "type": "integer"
  32894. },
  32895. "creatorsrc": {
  32896. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32897. "type": "integer"
  32898. },
  32899. "goodscode": {
  32900. "description": "商品代码(内部)",
  32901. "type": "string"
  32902. },
  32903. "goodsgroupid": {
  32904. "description": "对冲品种ID[期货合约商品组ID]",
  32905. "type": "integer"
  32906. },
  32907. "goodsid": {
  32908. "description": "商品ID",
  32909. "type": "integer"
  32910. },
  32911. "hedgeditemid": {
  32912. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32913. "type": "integer"
  32914. },
  32915. "hedgeflag": {
  32916. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32917. "type": "integer"
  32918. },
  32919. "linkdetailid": {
  32920. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32921. "type": "string"
  32922. },
  32923. "linkstatus": {
  32924. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32925. "type": "integer"
  32926. },
  32927. "middlegoodsid": {
  32928. "description": "套保品种ID",
  32929. "type": "integer"
  32930. },
  32931. "name": {
  32932. "description": "账户名/子账户",
  32933. "type": "string"
  32934. },
  32935. "optioncode": {
  32936. "description": "[期货合约]期权代码 [期权]",
  32937. "type": "string"
  32938. },
  32939. "ordertype": {
  32940. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32941. "type": "integer"
  32942. },
  32943. "relatedlot": {
  32944. "description": "[数量]关联手数",
  32945. "type": "number"
  32946. },
  32947. "relatedmode": {
  32948. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32949. "type": "integer"
  32950. },
  32951. "relatedqty": {
  32952. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32953. "type": "number"
  32954. },
  32955. "retcode": {
  32956. "description": "返回码",
  32957. "type": "integer"
  32958. },
  32959. "saleuserid": {
  32960. "description": "业务员ID",
  32961. "type": "integer"
  32962. },
  32963. "tradedate": {
  32964. "description": "关联交易日(yyyyMMdd)",
  32965. "type": "string"
  32966. },
  32967. "tradeid": {
  32968. "description": "[成交单号]内部成交单ID",
  32969. "type": "string"
  32970. },
  32971. "tradelot": {
  32972. "description": "成交手数",
  32973. "type": "integer"
  32974. },
  32975. "tradeprice": {
  32976. "description": "[价格]成交价格",
  32977. "type": "number"
  32978. },
  32979. "tradetradedate": {
  32980. "description": "成交交易日(yyyyMMdd)",
  32981. "type": "string"
  32982. }
  32983. }
  32984. },
  32985. "models.QhjAccountOutInApply": {
  32986. "type": "object",
  32987. "properties": {
  32988. "accountcode": {
  32989. "description": "资金账号",
  32990. "type": "string"
  32991. },
  32992. "accountname": {
  32993. "description": "用户名称(名称)",
  32994. "type": "string"
  32995. },
  32996. "accountpwd": {
  32997. "description": "资金密码",
  32998. "type": "string"
  32999. },
  33000. "accountticket": {
  33001. "description": "最新账户服务流水号",
  33002. "type": "string"
  33003. },
  33004. "amount": {
  33005. "description": "金额",
  33006. "type": "number"
  33007. },
  33008. "applyremark": {
  33009. "description": "申请备注",
  33010. "type": "string"
  33011. },
  33012. "applystatus": {
  33013. "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: 复审通过,账户冻结金额检查中;",
  33014. "type": "integer"
  33015. },
  33016. "auditid": {
  33017. "description": "审核人",
  33018. "type": "integer"
  33019. },
  33020. "audittime": {
  33021. "description": "审核时间",
  33022. "type": "string"
  33023. },
  33024. "bank_apply_ticket": {
  33025. "description": "银行申请流水",
  33026. "type": "string"
  33027. },
  33028. "bankaccountname": {
  33029. "description": "银行账户名",
  33030. "type": "string"
  33031. },
  33032. "bankaccountno": {
  33033. "description": "银行卡号",
  33034. "type": "string"
  33035. },
  33036. "bankid": {
  33037. "description": "银行编号",
  33038. "type": "string"
  33039. },
  33040. "bankticket": {
  33041. "description": "银行流水",
  33042. "type": "string"
  33043. },
  33044. "branchbankid": {
  33045. "description": "银行支行号",
  33046. "type": "string"
  33047. },
  33048. "branchbankname": {
  33049. "description": "银行支行名称",
  33050. "type": "string"
  33051. },
  33052. "capamountout": {
  33053. "description": "出金(劣后本金) - 外部子账户",
  33054. "type": "number"
  33055. },
  33056. "certificatephotourl": {
  33057. "description": "凭证地址",
  33058. "type": "string"
  33059. },
  33060. "charge": {
  33061. "description": "手续费",
  33062. "type": "number"
  33063. },
  33064. "checkerrorflag": {
  33065. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33066. "type": "integer"
  33067. },
  33068. "currency": {
  33069. "description": "币种",
  33070. "type": "string"
  33071. },
  33072. "cusbankid": {
  33073. "description": "托管银行编号",
  33074. "type": "string"
  33075. },
  33076. "exchticket": {
  33077. "description": "银行服务流水号",
  33078. "type": "string"
  33079. },
  33080. "executetype": {
  33081. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33082. "type": "integer"
  33083. },
  33084. "extendinfo": {
  33085. "description": "扩展信息",
  33086. "type": "string"
  33087. },
  33088. "extoperateid": {
  33089. "description": "交易服务流水号",
  33090. "type": "integer"
  33091. },
  33092. "infamount": {
  33093. "description": "劣后金额(自有)",
  33094. "type": "number"
  33095. },
  33096. "logincode": {
  33097. "description": "登录账号(账号)",
  33098. "type": "string"
  33099. },
  33100. "netaddr": {
  33101. "description": "调转网址",
  33102. "type": "string"
  33103. },
  33104. "priamount": {
  33105. "description": "优先金额(授信)",
  33106. "type": "number"
  33107. },
  33108. "reauditid": {
  33109. "description": "复审人",
  33110. "type": "integer"
  33111. },
  33112. "reauditremark": {
  33113. "description": "复审备注",
  33114. "type": "string"
  33115. },
  33116. "reaudittime": {
  33117. "description": "复审时间",
  33118. "type": "string"
  33119. },
  33120. "relatedorderid": {
  33121. "description": "三方关联ID",
  33122. "type": "string"
  33123. },
  33124. "remark": {
  33125. "description": "备注",
  33126. "type": "string"
  33127. },
  33128. "remark2": {
  33129. "description": "备注(失败原因)",
  33130. "type": "string"
  33131. },
  33132. "soucreamount": {
  33133. "description": "原始出入金金额",
  33134. "type": "number"
  33135. },
  33136. "soucrecurrencyid": {
  33137. "description": "原始出入金币种",
  33138. "type": "integer"
  33139. },
  33140. "tradedate": {
  33141. "description": "交易日(yyyyMMdd)",
  33142. "type": "string"
  33143. },
  33144. "updatetime": {
  33145. "description": "更新时间(申请时间)",
  33146. "type": "string"
  33147. },
  33148. "userid": {
  33149. "description": "用户id",
  33150. "type": "integer"
  33151. },
  33152. "userinfotype": {
  33153. "description": "账户类型 1-个人 2-企业",
  33154. "type": "integer"
  33155. }
  33156. }
  33157. },
  33158. "models.QhjAgreementChangeLog": {
  33159. "type": "object",
  33160. "properties": {
  33161. "agreementcontent": {
  33162. "description": "协议内容",
  33163. "type": "string"
  33164. },
  33165. "agreementfrequency": {
  33166. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  33167. "type": "integer"
  33168. },
  33169. "agreementid": {
  33170. "description": "协议ID",
  33171. "type": "integer"
  33172. },
  33173. "agreementname": {
  33174. "description": "协议名称",
  33175. "type": "string"
  33176. },
  33177. "agreementno": {
  33178. "description": "协议编号",
  33179. "type": "string"
  33180. },
  33181. "agreementtype": {
  33182. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33183. "type": "integer"
  33184. },
  33185. "agreementversion": {
  33186. "description": "协议版本号",
  33187. "type": "integer"
  33188. },
  33189. "logid": {
  33190. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  33191. "type": "integer"
  33192. },
  33193. "reviserid": {
  33194. "description": "修改人",
  33195. "type": "integer"
  33196. },
  33197. "revisersrc": {
  33198. "description": "修改来源 - 1:管理端 2:终端",
  33199. "type": "integer"
  33200. },
  33201. "updatetime": {
  33202. "description": "更新时间",
  33203. "type": "string"
  33204. }
  33205. }
  33206. },
  33207. "models.QhjAgreementConfig": {
  33208. "type": "object",
  33209. "properties": {
  33210. "agreementcontent": {
  33211. "description": "协议内容",
  33212. "type": "string"
  33213. },
  33214. "agreementfrequency": {
  33215. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  33216. "type": "integer"
  33217. },
  33218. "agreementid": {
  33219. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  33220. "type": "integer"
  33221. },
  33222. "agreementname": {
  33223. "description": "协议名称",
  33224. "type": "string"
  33225. },
  33226. "agreementno": {
  33227. "description": "协议编号",
  33228. "type": "string"
  33229. },
  33230. "agreementtype": {
  33231. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33232. "type": "integer"
  33233. },
  33234. "agreementversion": {
  33235. "description": "协议版本号(从1开始每次修改加1)",
  33236. "type": "integer"
  33237. },
  33238. "createtime": {
  33239. "description": "创建时间",
  33240. "type": "string"
  33241. },
  33242. "creatorid": {
  33243. "description": "创建人",
  33244. "type": "integer"
  33245. },
  33246. "creatorsrc": {
  33247. "description": "创建来源 - 1:管理端 2:终端",
  33248. "type": "integer"
  33249. },
  33250. "isvalid": {
  33251. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  33252. "type": "integer"
  33253. },
  33254. "reviserid": {
  33255. "description": "修改人",
  33256. "type": "integer"
  33257. },
  33258. "revisersrc": {
  33259. "description": "修改来源 - 1:管理端 2:终端",
  33260. "type": "integer"
  33261. },
  33262. "updatetime": {
  33263. "description": "更新时间",
  33264. "type": "string"
  33265. }
  33266. }
  33267. },
  33268. "models.QhjAreaFinanceConfig": {
  33269. "type": "object",
  33270. "properties": {
  33271. "additionalratio": {
  33272. "description": "追加款比例",
  33273. "type": "number"
  33274. },
  33275. "advanceratio": {
  33276. "description": "预付款比例",
  33277. "type": "number"
  33278. },
  33279. "alarmratio": {
  33280. "description": "告警比例",
  33281. "type": "number"
  33282. },
  33283. "consumptiondirectreward": {
  33284. "description": "消费直推奖励值",
  33285. "type": "number"
  33286. },
  33287. "consumptionenabled": {
  33288. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  33289. "type": "integer"
  33290. },
  33291. "consumptionindirectreward": {
  33292. "description": "消费间推奖励值",
  33293. "type": "number"
  33294. },
  33295. "consumptionmodel": {
  33296. "description": "消费奖励方式 - 1:比率 2:固定",
  33297. "type": "integer"
  33298. },
  33299. "customerservicenum": {
  33300. "description": "客服电话",
  33301. "type": "string"
  33302. },
  33303. "dayinterestrate": {
  33304. "description": "日利率",
  33305. "type": "number"
  33306. },
  33307. "disableconsumptiontips": {
  33308. "description": "关闭消费奖励提示",
  33309. "type": "string"
  33310. },
  33311. "modifierid": {
  33312. "description": "修改人ID",
  33313. "type": "integer"
  33314. },
  33315. "modifysrc": {
  33316. "description": "审核来源 - 1:管理端 2:终端",
  33317. "type": "integer"
  33318. },
  33319. "modifytime": {
  33320. "description": "修改时间",
  33321. "type": "string"
  33322. },
  33323. "promotionvalue": {
  33324. "description": "推广奖励值(固定)",
  33325. "type": "number"
  33326. },
  33327. "scoreconfigvalue1": {
  33328. "description": "提货积分配置1",
  33329. "type": "integer"
  33330. },
  33331. "scoreconfigvalue2": {
  33332. "description": "提货积分配置2",
  33333. "type": "integer"
  33334. },
  33335. "userid": {
  33336. "description": "机构用户ID其他做市关系,都设置为 1",
  33337. "type": "integer"
  33338. },
  33339. "username": {
  33340. "description": "用户名称",
  33341. "type": "string"
  33342. }
  33343. }
  33344. },
  33345. "models.QhjBankAccountSign": {
  33346. "type": "object",
  33347. "properties": {
  33348. "accountcode": {
  33349. "description": "资金账号",
  33350. "type": "string"
  33351. },
  33352. "accountname": {
  33353. "description": "资金账号对应的账号名(UserName)",
  33354. "type": "string"
  33355. },
  33356. "accountname2": {
  33357. "description": "资金账号对应的账号名(UserName) - 密文",
  33358. "type": "string"
  33359. },
  33360. "accounttype": {
  33361. "description": "账户类型(UserType)",
  33362. "type": "integer"
  33363. },
  33364. "applicationtime": {
  33365. "description": "最后一次更新的时间",
  33366. "type": "string"
  33367. },
  33368. "applyexchticket": {
  33369. "description": "申请流水",
  33370. "type": "string"
  33371. },
  33372. "auditid": {
  33373. "description": "审核人",
  33374. "type": "integer"
  33375. },
  33376. "audittime": {
  33377. "description": "审核时间",
  33378. "type": "string"
  33379. },
  33380. "bankaccountname": {
  33381. "description": "签约银行卡账号名",
  33382. "type": "string"
  33383. },
  33384. "bankaccountname2": {
  33385. "description": "签约银行卡账号名 - 密文",
  33386. "type": "string"
  33387. },
  33388. "bankaccountno": {
  33389. "description": "银行卡号",
  33390. "type": "string"
  33391. },
  33392. "bankaccountno2": {
  33393. "description": "银行卡号 - 密文",
  33394. "type": "string"
  33395. },
  33396. "bankaccounttype": {
  33397. "description": "银行账户类型 - 1-对私; 2-对公",
  33398. "type": "integer"
  33399. },
  33400. "bankcardtype": {
  33401. "description": "银行卡类型",
  33402. "type": "integer"
  33403. },
  33404. "bankchildaccount": {
  33405. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  33406. "type": "string"
  33407. },
  33408. "bankcity": {
  33409. "description": "开户行城市",
  33410. "type": "string"
  33411. },
  33412. "bankid": {
  33413. "description": "签约银行ID",
  33414. "type": "string"
  33415. },
  33416. "bankname": {
  33417. "description": "签约银行名称",
  33418. "type": "string"
  33419. },
  33420. "bankprovince": {
  33421. "description": "开户行省份",
  33422. "type": "string"
  33423. },
  33424. "branchbankid": {
  33425. "description": "签约银行支行号",
  33426. "type": "string"
  33427. },
  33428. "branchbankname": {
  33429. "description": "签约银行支行名称",
  33430. "type": "string"
  33431. },
  33432. "cardno": {
  33433. "description": "证件号码",
  33434. "type": "string"
  33435. },
  33436. "cardno2": {
  33437. "description": "证件号码 - 密文",
  33438. "type": "string"
  33439. },
  33440. "cardtype": {
  33441. "description": "证件类型",
  33442. "type": "string"
  33443. },
  33444. "currency": {
  33445. "description": "币种",
  33446. "type": "string"
  33447. },
  33448. "cusbankid": {
  33449. "description": "托管银行编号",
  33450. "type": "string"
  33451. },
  33452. "direct": {
  33453. "description": "方向(可以判断那方先发起的签约)",
  33454. "type": "integer"
  33455. },
  33456. "exchticket": {
  33457. "description": "最后一次签约成功的流水号",
  33458. "type": "string"
  33459. },
  33460. "extendinfo": {
  33461. "description": "扩展信息(JSON字符串)",
  33462. "type": "string"
  33463. },
  33464. "mobilephone": {
  33465. "description": "手机号",
  33466. "type": "string"
  33467. },
  33468. "mobilephone2": {
  33469. "description": "手机号 - 密文",
  33470. "type": "string"
  33471. },
  33472. "netaddr": {
  33473. "description": "调转网址",
  33474. "type": "string"
  33475. },
  33476. "relateduserid": {
  33477. "description": "关联使用者userid",
  33478. "type": "integer"
  33479. },
  33480. "signstatus": {
  33481. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  33482. "type": "integer"
  33483. },
  33484. "updatetime": {
  33485. "description": "更新时间(签解约更新时间)",
  33486. "type": "string"
  33487. }
  33488. }
  33489. },
  33490. "models.QhjBankInfo": {
  33491. "type": "object",
  33492. "properties": {
  33493. "bankid": {
  33494. "description": "银行ID",
  33495. "type": "string"
  33496. },
  33497. "bankname": {
  33498. "description": "银行名称",
  33499. "type": "string"
  33500. },
  33501. "clearbankno": {
  33502. "description": "清算系统银行编号",
  33503. "type": "string"
  33504. },
  33505. "orderindex": {
  33506. "description": "排序顺序",
  33507. "type": "integer"
  33508. },
  33509. "status": {
  33510. "description": "状态 - 0:正常 1:注销",
  33511. "type": "integer"
  33512. }
  33513. }
  33514. },
  33515. "models.QhjBrokerApply": {
  33516. "type": "object",
  33517. "properties": {
  33518. "applicantid": {
  33519. "description": "申请人",
  33520. "type": "integer"
  33521. },
  33522. "applysrc": {
  33523. "description": "申请来源 - 1:管理端 2:终端",
  33524. "type": "integer"
  33525. },
  33526. "applystatus": {
  33527. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33528. "type": "integer"
  33529. },
  33530. "applytime": {
  33531. "description": "申请时间",
  33532. "type": "string"
  33533. },
  33534. "auditorid": {
  33535. "description": "审核人",
  33536. "type": "integer"
  33537. },
  33538. "auditremark": {
  33539. "description": "审核备注",
  33540. "type": "string"
  33541. },
  33542. "auditsrc": {
  33543. "description": "审核来源 - 1:管理端 2:终端",
  33544. "type": "integer"
  33545. },
  33546. "audittime": {
  33547. "description": "审核时间",
  33548. "type": "string"
  33549. },
  33550. "audittradedate": {
  33551. "description": "审核交易日(yyyyMMdd)",
  33552. "type": "string"
  33553. },
  33554. "brokerapplyid": {
  33555. "description": "申请ID(SEQ_BROKERAPPLY)",
  33556. "type": "integer"
  33557. },
  33558. "cardbackphotourl": {
  33559. "description": "证件背面图片地址",
  33560. "type": "string"
  33561. },
  33562. "cardfrontphotourl": {
  33563. "description": "证件正面图片地址",
  33564. "type": "string"
  33565. },
  33566. "cardnum": {
  33567. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33568. "type": "string"
  33569. },
  33570. "customername": {
  33571. "description": "姓名",
  33572. "type": "string"
  33573. },
  33574. "logincode": {
  33575. "description": "登录代码",
  33576. "type": "string"
  33577. },
  33578. "mobile": {
  33579. "description": "手机号码",
  33580. "type": "string"
  33581. },
  33582. "parentuserid": {
  33583. "description": "所属机构id",
  33584. "type": "integer"
  33585. },
  33586. "parentusername": {
  33587. "description": "所属机构名称",
  33588. "type": "string"
  33589. },
  33590. "refereeuserid": {
  33591. "description": "推荐人id(经纪人)",
  33592. "type": "integer"
  33593. },
  33594. "refernum": {
  33595. "description": "推荐码",
  33596. "type": "string"
  33597. },
  33598. "remark": {
  33599. "description": "备注",
  33600. "type": "string"
  33601. },
  33602. "subarealevelpath": {
  33603. "description": "层级路径",
  33604. "type": "string"
  33605. },
  33606. "tradedate": {
  33607. "description": "交易日(yyyyMMdd)",
  33608. "type": "string"
  33609. },
  33610. "userid": {
  33611. "description": "申请人用户ID",
  33612. "type": "integer"
  33613. },
  33614. "userinfotype": {
  33615. "description": "用户类型 1-个人 2-企业",
  33616. "type": "integer"
  33617. },
  33618. "username": {
  33619. "description": "用户名称",
  33620. "type": "string"
  33621. }
  33622. }
  33623. },
  33624. "models.QhjBrokerApplyEx": {
  33625. "type": "object",
  33626. "properties": {
  33627. "applylist": {
  33628. "description": "经纪人申请记录(只返回最新一条)",
  33629. "type": "array",
  33630. "items": {
  33631. "$ref": "#/definitions/models.QhjBrokerApply"
  33632. }
  33633. },
  33634. "canrecommend": {
  33635. "description": "是否经纪人 0-不是 1-是",
  33636. "type": "integer"
  33637. },
  33638. "refernum": {
  33639. "description": "推荐码",
  33640. "type": "string"
  33641. },
  33642. "userid": {
  33643. "description": "用户id",
  33644. "type": "integer"
  33645. },
  33646. "userinfotype": {
  33647. "description": "用户类型 1-个人 2-企业",
  33648. "type": "integer"
  33649. }
  33650. }
  33651. },
  33652. "models.QhjBrokerRewardLog": {
  33653. "type": "object",
  33654. "properties": {
  33655. "accountid": {
  33656. "description": "资金账号ID",
  33657. "type": "integer"
  33658. },
  33659. "createtime": {
  33660. "description": "创建时间(时间)",
  33661. "type": "string"
  33662. },
  33663. "handlestatus": {
  33664. "description": "处理状态",
  33665. "type": "integer"
  33666. },
  33667. "logid": {
  33668. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33669. "type": "string"
  33670. },
  33671. "marketid": {
  33672. "description": "市场ID",
  33673. "type": "integer"
  33674. },
  33675. "mmaccountid": {
  33676. "description": "做市商资金账号ID",
  33677. "type": "string"
  33678. },
  33679. "mmuserid": {
  33680. "description": "做市商用户ID",
  33681. "type": "string"
  33682. },
  33683. "rewardamount": {
  33684. "description": "奖励金额",
  33685. "type": "number"
  33686. },
  33687. "rewardmodel": {
  33688. "description": "消费奖励方式 - 1:比率 2:固定",
  33689. "type": "integer"
  33690. },
  33691. "rewardtype": {
  33692. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  33693. "type": "integer"
  33694. },
  33695. "rewardvalue": {
  33696. "description": "配置奖励值",
  33697. "type": "number"
  33698. },
  33699. "srcamount": {
  33700. "description": "成交金额 [消费奖励] (金额)",
  33701. "type": "number"
  33702. },
  33703. "srcgoodsid": {
  33704. "description": "来源商品ID [消费奖励]",
  33705. "type": "string"
  33706. },
  33707. "srctime": {
  33708. "description": "来源时间 (成交时间) [消费奖励]",
  33709. "type": "string"
  33710. },
  33711. "srctradeid": {
  33712. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  33713. "type": "string"
  33714. },
  33715. "srcuserid": {
  33716. "description": "来源用户ID(推广账户)",
  33717. "type": "string"
  33718. },
  33719. "srcusername": {
  33720. "description": "推广账户名称",
  33721. "type": "string"
  33722. },
  33723. "tradedate": {
  33724. "description": "交易日(yyyyMMdd)",
  33725. "type": "string"
  33726. },
  33727. "userid": {
  33728. "description": "经纪人用户ID",
  33729. "type": "integer"
  33730. }
  33731. }
  33732. },
  33733. "models.QhjContract": {
  33734. "type": "object",
  33735. "properties": {
  33736. "contractconfirmtime": {
  33737. "description": "合同确认时间(时间)",
  33738. "type": "string"
  33739. },
  33740. "currisklevel": {
  33741. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33742. "type": "integer"
  33743. },
  33744. "decimalplace": {
  33745. "description": "商品报价小数位",
  33746. "type": "integer"
  33747. },
  33748. "enumdicname": {
  33749. "description": "单位名称",
  33750. "type": "string"
  33751. },
  33752. "goodscode": {
  33753. "description": "商品代码",
  33754. "type": "string"
  33755. },
  33756. "goodsid": {
  33757. "description": "商品ID [5:融资单]",
  33758. "type": "integer"
  33759. },
  33760. "goodsname": {
  33761. "description": "商品名称",
  33762. "type": "string"
  33763. },
  33764. "goodunitid": {
  33765. "description": "商品单位id",
  33766. "type": "integer"
  33767. },
  33768. "initmargin": {
  33769. "description": "初始保证金(首付款)",
  33770. "type": "number"
  33771. },
  33772. "lenderamount": {
  33773. "description": "贷款金额(总额|订单总额)",
  33774. "type": "number"
  33775. },
  33776. "marginratio": {
  33777. "description": "保证金比率(首付比例)",
  33778. "type": "number"
  33779. },
  33780. "payamount": {
  33781. "description": "已付(已付货款)",
  33782. "type": "number"
  33783. },
  33784. "reckonrecovermargin": {
  33785. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33786. "type": "number"
  33787. },
  33788. "recoveredmargin": {
  33789. "description": "已追缴保证金",
  33790. "type": "number"
  33791. },
  33792. "remainamount": {
  33793. "description": "合同剩余金额(融资额)",
  33794. "type": "number"
  33795. },
  33796. "scfcontractid": {
  33797. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33798. "type": "string"
  33799. },
  33800. "scfcontractstatus": {
  33801. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33802. "type": "integer"
  33803. },
  33804. "scfcontracttype": {
  33805. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33806. "type": "integer"
  33807. },
  33808. "totalinterest": {
  33809. "description": "已计总利息(利息)",
  33810. "type": "number"
  33811. },
  33812. "tradeprice": {
  33813. "description": "成交价格(成本价格)",
  33814. "type": "number"
  33815. },
  33816. "userid": {
  33817. "description": "用户ID",
  33818. "type": "integer"
  33819. },
  33820. "username": {
  33821. "description": "用户名称",
  33822. "type": "string"
  33823. },
  33824. "wrqty": {
  33825. "description": "仓单数量(数量)",
  33826. "type": "number"
  33827. }
  33828. }
  33829. },
  33830. "models.QhjContractLog": {
  33831. "type": "object",
  33832. "properties": {
  33833. "amount": {
  33834. "description": "支付金额",
  33835. "type": "number"
  33836. },
  33837. "amounttype": {
  33838. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  33839. "type": "integer"
  33840. },
  33841. "logid": {
  33842. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33843. "type": "string"
  33844. },
  33845. "remainamount": {
  33846. "description": "剩余货款",
  33847. "type": "number"
  33848. },
  33849. "scfcontractid": {
  33850. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33851. "type": "integer"
  33852. },
  33853. "updatetime": {
  33854. "description": "更新时间",
  33855. "type": "string"
  33856. }
  33857. }
  33858. },
  33859. "models.QhjCusBankSignBankEx": {
  33860. "type": "object",
  33861. "properties": {
  33862. "banklst": {
  33863. "description": "银行列表",
  33864. "type": "array",
  33865. "items": {
  33866. "$ref": "#/definitions/models.QhjBankInfo"
  33867. }
  33868. },
  33869. "canallot": {
  33870. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  33871. "type": "integer"
  33872. },
  33873. "canallotquery": {
  33874. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  33875. "type": "integer"
  33876. },
  33877. "canbindcard": {
  33878. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  33879. "type": "integer"
  33880. },
  33881. "caninamount": {
  33882. "description": "是否可入金 - 0:不可 1:可以",
  33883. "type": "integer"
  33884. },
  33885. "caninamount2": {
  33886. "description": "是否可入金(网银端) - 0:不可 1:可以",
  33887. "type": "integer"
  33888. },
  33889. "canmodifybankcard": {
  33890. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  33891. "type": "integer"
  33892. },
  33893. "canmodifyphone": {
  33894. "description": "是否可修改手机号 - 0:不可 1:可以",
  33895. "type": "integer"
  33896. },
  33897. "canmodifysigninfo": {
  33898. "description": "是否可修改签约信息 - 0:不可 1:可以",
  33899. "type": "integer"
  33900. },
  33901. "canoutamount": {
  33902. "description": "是否可出金 - 0:不可 1:可以",
  33903. "type": "integer"
  33904. },
  33905. "canoutamount2": {
  33906. "description": "是否可出金(网银端) - 0:不可 1:可以",
  33907. "type": "integer"
  33908. },
  33909. "canrelease": {
  33910. "description": "是否可解约 - 0:不可 1:可以",
  33911. "type": "integer"
  33912. },
  33913. "canrelease2": {
  33914. "description": "是否可解约(网银端) - 0:不可 1:可以",
  33915. "type": "integer"
  33916. },
  33917. "cansign": {
  33918. "description": "是否可签约 - 0:不可 1:可以",
  33919. "type": "integer"
  33920. },
  33921. "cansign2": {
  33922. "description": "是否可签约(网银端) - 0:不可 1:可以",
  33923. "type": "integer"
  33924. },
  33925. "currency": {
  33926. "description": "币种",
  33927. "type": "string"
  33928. },
  33929. "cusbankid": {
  33930. "description": "托管银行编号(对应清算中心TRAN_NO)",
  33931. "type": "string"
  33932. },
  33933. "cusbankname": {
  33934. "description": "银行业务名称",
  33935. "type": "string"
  33936. },
  33937. "cusbankshortname": {
  33938. "description": "银行业务简称",
  33939. "type": "string"
  33940. },
  33941. "exchbankid": {
  33942. "description": "交易所开户银行ID",
  33943. "type": "string"
  33944. },
  33945. "exchpaybankaccname": {
  33946. "description": "交易所支出结算账户户名",
  33947. "type": "string"
  33948. },
  33949. "exchpaybankaccno": {
  33950. "description": "交易所支出结算账户",
  33951. "type": "string"
  33952. },
  33953. "isneedcheck": {
  33954. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  33955. "type": "integer"
  33956. },
  33957. "isneedclear": {
  33958. "description": "是否需要清算 - 0:不需要 1:需要",
  33959. "type": "integer"
  33960. },
  33961. "lastcheckstatus": {
  33962. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  33963. "type": "integer"
  33964. },
  33965. "lastchecktime": {
  33966. "description": "最后对账时间",
  33967. "type": "string"
  33968. },
  33969. "lastclearstatus": {
  33970. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  33971. "type": "integer"
  33972. },
  33973. "lastcleartime": {
  33974. "description": "最后清算时间",
  33975. "type": "string"
  33976. },
  33977. "lastsignintime": {
  33978. "description": "最后签到时间",
  33979. "type": "string"
  33980. },
  33981. "lastsignouttime": {
  33982. "description": "最后签退时间",
  33983. "type": "string"
  33984. },
  33985. "riskinfo": {
  33986. "description": "签约风险提示书",
  33987. "type": "string"
  33988. },
  33989. "signstatus": {
  33990. "description": "当前签到/签退状态 - 1:签到 2:签退",
  33991. "type": "integer"
  33992. },
  33993. "tradedate": {
  33994. "description": "交易日(yyyyMMdd)",
  33995. "type": "string"
  33996. },
  33997. "updatetime": {
  33998. "description": "当前签到/签退更新时间",
  33999. "type": "string"
  34000. }
  34001. }
  34002. },
  34003. "models.QhjCustomer": {
  34004. "type": "object",
  34005. "properties": {
  34006. "address": {
  34007. "description": "通讯地址",
  34008. "type": "string"
  34009. },
  34010. "attachment1": {
  34011. "description": "附件1",
  34012. "type": "string"
  34013. },
  34014. "attachment2": {
  34015. "description": "附件2",
  34016. "type": "string"
  34017. },
  34018. "audittime": {
  34019. "description": "审核时间",
  34020. "type": "string"
  34021. },
  34022. "cardbackphotourl": {
  34023. "description": "证件反面图片地址",
  34024. "type": "string"
  34025. },
  34026. "cardfrontphotourl": {
  34027. "description": "证件正面图片地址",
  34028. "type": "string"
  34029. },
  34030. "cardnum": {
  34031. "description": "证件号码",
  34032. "type": "string"
  34033. },
  34034. "cardtype": {
  34035. "description": "证件类型",
  34036. "type": "integer"
  34037. },
  34038. "cardtypename": {
  34039. "description": "证件类型名称",
  34040. "type": "string"
  34041. },
  34042. "cityid": {
  34043. "description": "市",
  34044. "type": "integer"
  34045. },
  34046. "cityname": {
  34047. "description": "城市名称",
  34048. "type": "string"
  34049. },
  34050. "contactname": {
  34051. "description": "联系人",
  34052. "type": "string"
  34053. },
  34054. "countryid": {
  34055. "description": "国家",
  34056. "type": "integer"
  34057. },
  34058. "countryname": {
  34059. "description": "国家名称",
  34060. "type": "string"
  34061. },
  34062. "createtime": {
  34063. "description": "创建时间",
  34064. "type": "string"
  34065. },
  34066. "customername": {
  34067. "description": "客户名称",
  34068. "type": "string"
  34069. },
  34070. "districtid": {
  34071. "description": "区域",
  34072. "type": "integer"
  34073. },
  34074. "districtname": {
  34075. "description": "地区名称",
  34076. "type": "string"
  34077. },
  34078. "email": {
  34079. "description": "邮件",
  34080. "type": "string"
  34081. },
  34082. "legalpersonname": {
  34083. "description": "法人姓名(企业)",
  34084. "type": "string"
  34085. },
  34086. "logincode": {
  34087. "description": "登录账号(代码)",
  34088. "type": "string"
  34089. },
  34090. "memberuserid": {
  34091. "description": "所属机构ID(所属会员)",
  34092. "type": "integer"
  34093. },
  34094. "memberusername": {
  34095. "description": "所属会员名称",
  34096. "type": "string"
  34097. },
  34098. "mobile": {
  34099. "description": "手机号码",
  34100. "type": "string"
  34101. },
  34102. "modifytime": {
  34103. "description": "修改时间",
  34104. "type": "string"
  34105. },
  34106. "nickname": {
  34107. "description": "昵称",
  34108. "type": "string"
  34109. },
  34110. "parentuserid": {
  34111. "description": "上级机构(所属机构)",
  34112. "type": "integer"
  34113. },
  34114. "parentusername": {
  34115. "description": "所属机构名称",
  34116. "type": "string"
  34117. },
  34118. "provinceid": {
  34119. "description": "省",
  34120. "type": "integer"
  34121. },
  34122. "provincename": {
  34123. "description": "省名称",
  34124. "type": "string"
  34125. },
  34126. "proxystatementurl": {
  34127. "description": "授权委托书",
  34128. "type": "string"
  34129. },
  34130. "remark": {
  34131. "description": "备注",
  34132. "type": "string"
  34133. },
  34134. "status": {
  34135. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  34136. "type": "integer"
  34137. },
  34138. "statusdesc": {
  34139. "description": "账户状态中文描述",
  34140. "type": "string"
  34141. },
  34142. "taxpayernum": {
  34143. "description": "纳税人识别号",
  34144. "type": "string"
  34145. },
  34146. "telphone": {
  34147. "description": "联系电话",
  34148. "type": "string"
  34149. },
  34150. "userid": {
  34151. "description": "用户ID",
  34152. "type": "integer"
  34153. },
  34154. "userinfotype": {
  34155. "description": "客户类型 1-个人 2-企业",
  34156. "type": "integer"
  34157. },
  34158. "username": {
  34159. "description": "用户名称",
  34160. "type": "string"
  34161. }
  34162. }
  34163. },
  34164. "models.QhjCustomerSignLog": {
  34165. "type": "object",
  34166. "properties": {
  34167. "agreementcontent": {
  34168. "description": "协议内容",
  34169. "type": "string"
  34170. },
  34171. "agreementid": {
  34172. "description": "协议ID",
  34173. "type": "integer"
  34174. },
  34175. "agreementname": {
  34176. "description": "协议名称",
  34177. "type": "string"
  34178. },
  34179. "agreementno": {
  34180. "description": "协议编号",
  34181. "type": "string"
  34182. },
  34183. "agreementtype": {
  34184. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34185. "type": "integer"
  34186. },
  34187. "agreementversion": {
  34188. "description": "协议版本号",
  34189. "type": "integer"
  34190. },
  34191. "createtime": {
  34192. "description": "创建时间",
  34193. "type": "string"
  34194. },
  34195. "goodscode": {
  34196. "description": "商品代码",
  34197. "type": "string"
  34198. },
  34199. "goodsid": {
  34200. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34201. "type": "integer"
  34202. },
  34203. "goodsname": {
  34204. "description": "商品名称",
  34205. "type": "string"
  34206. },
  34207. "logid": {
  34208. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  34209. "type": "integer"
  34210. },
  34211. "nodetype": {
  34212. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34213. "type": "integer"
  34214. },
  34215. "signadressurl": {
  34216. "description": "签约文件地址",
  34217. "type": "string"
  34218. },
  34219. "signtimestamp": {
  34220. "description": "签约状态时间戳",
  34221. "type": "string"
  34222. },
  34223. "userid": {
  34224. "description": "客户ID",
  34225. "type": "integer"
  34226. },
  34227. "username": {
  34228. "description": "客户名称",
  34229. "type": "string"
  34230. }
  34231. }
  34232. },
  34233. "models.QhjCustomerSignStatus": {
  34234. "type": "object",
  34235. "properties": {
  34236. "createtime": {
  34237. "description": "创建时间",
  34238. "type": "string"
  34239. },
  34240. "goodscode": {
  34241. "description": "商品代码",
  34242. "type": "string"
  34243. },
  34244. "goodsid": {
  34245. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34246. "type": "integer"
  34247. },
  34248. "goodsname": {
  34249. "description": "商品名称",
  34250. "type": "string"
  34251. },
  34252. "nodetype": {
  34253. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  34254. "type": "integer"
  34255. },
  34256. "signtimestamp": {
  34257. "description": "签约状态时间戳",
  34258. "type": "string"
  34259. },
  34260. "tradedate": {
  34261. "description": "创建交易日(yyyyMMdd)",
  34262. "type": "string"
  34263. },
  34264. "updatetime": {
  34265. "description": "更新时间",
  34266. "type": "string"
  34267. },
  34268. "userid": {
  34269. "description": "客户ID",
  34270. "type": "integer"
  34271. },
  34272. "username": {
  34273. "description": "客户名称",
  34274. "type": "string"
  34275. }
  34276. }
  34277. },
  34278. "models.QhjMgrAccountOutInApply": {
  34279. "type": "object",
  34280. "properties": {
  34281. "accountcode": {
  34282. "description": "资金账号",
  34283. "type": "string"
  34284. },
  34285. "accountname": {
  34286. "description": "用户名称(名称)",
  34287. "type": "string"
  34288. },
  34289. "accountpwd": {
  34290. "description": "资金密码",
  34291. "type": "string"
  34292. },
  34293. "accountticket": {
  34294. "description": "最新账户服务流水号",
  34295. "type": "string"
  34296. },
  34297. "amount": {
  34298. "description": "金额",
  34299. "type": "number"
  34300. },
  34301. "applyremark": {
  34302. "description": "申请备注",
  34303. "type": "string"
  34304. },
  34305. "applystatus": {
  34306. "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: 复审通过,账户冻结金额检查中;",
  34307. "type": "integer"
  34308. },
  34309. "auditid": {
  34310. "description": "审核人",
  34311. "type": "integer"
  34312. },
  34313. "audittime": {
  34314. "description": "审核时间",
  34315. "type": "string"
  34316. },
  34317. "bank_apply_ticket": {
  34318. "description": "银行申请流水",
  34319. "type": "string"
  34320. },
  34321. "bankaccountname": {
  34322. "description": "银行账户名",
  34323. "type": "string"
  34324. },
  34325. "bankaccountno": {
  34326. "description": "银行卡号",
  34327. "type": "string"
  34328. },
  34329. "bankid": {
  34330. "description": "银行编号",
  34331. "type": "string"
  34332. },
  34333. "bankname": {
  34334. "description": "银行名称",
  34335. "type": "string"
  34336. },
  34337. "bankticket": {
  34338. "description": "银行流水",
  34339. "type": "string"
  34340. },
  34341. "branchbankid": {
  34342. "description": "银行支行号",
  34343. "type": "string"
  34344. },
  34345. "branchbankname": {
  34346. "description": "银行支行名称",
  34347. "type": "string"
  34348. },
  34349. "capamountout": {
  34350. "description": "出金(劣后本金) - 外部子账户",
  34351. "type": "number"
  34352. },
  34353. "certificatephotourl": {
  34354. "description": "凭证地址",
  34355. "type": "string"
  34356. },
  34357. "charge": {
  34358. "description": "手续费",
  34359. "type": "number"
  34360. },
  34361. "checkerrorflag": {
  34362. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  34363. "type": "integer"
  34364. },
  34365. "currency": {
  34366. "description": "币种",
  34367. "type": "string"
  34368. },
  34369. "cusbankid": {
  34370. "description": "托管银行编号",
  34371. "type": "string"
  34372. },
  34373. "exchticket": {
  34374. "description": "银行服务流水号",
  34375. "type": "string"
  34376. },
  34377. "executetype": {
  34378. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  34379. "type": "integer"
  34380. },
  34381. "extendinfo": {
  34382. "description": "扩展信息",
  34383. "type": "string"
  34384. },
  34385. "extoperateid": {
  34386. "description": "交易服务流水号",
  34387. "type": "integer"
  34388. },
  34389. "infamount": {
  34390. "description": "劣后金额(自有)",
  34391. "type": "number"
  34392. },
  34393. "logincode": {
  34394. "description": "登录账号(账号)",
  34395. "type": "string"
  34396. },
  34397. "netaddr": {
  34398. "description": "调转网址",
  34399. "type": "string"
  34400. },
  34401. "priamount": {
  34402. "description": "优先金额(授信)",
  34403. "type": "number"
  34404. },
  34405. "reauditid": {
  34406. "description": "复审人",
  34407. "type": "integer"
  34408. },
  34409. "reauditremark": {
  34410. "description": "复审备注",
  34411. "type": "string"
  34412. },
  34413. "reaudittime": {
  34414. "description": "复审时间",
  34415. "type": "string"
  34416. },
  34417. "relatedorderid": {
  34418. "description": "三方关联ID",
  34419. "type": "string"
  34420. },
  34421. "remark": {
  34422. "description": "备注",
  34423. "type": "string"
  34424. },
  34425. "remark2": {
  34426. "description": "备注(失败原因)",
  34427. "type": "string"
  34428. },
  34429. "soucreamount": {
  34430. "description": "原始出入金金额",
  34431. "type": "number"
  34432. },
  34433. "soucrecurrencyid": {
  34434. "description": "原始出入金币种",
  34435. "type": "integer"
  34436. },
  34437. "tradedate": {
  34438. "description": "交易日(yyyyMMdd)",
  34439. "type": "string"
  34440. },
  34441. "updatetime": {
  34442. "description": "更新时间(申请时间)",
  34443. "type": "string"
  34444. },
  34445. "userid": {
  34446. "description": "用户id",
  34447. "type": "integer"
  34448. },
  34449. "userinfotype": {
  34450. "description": "账户类型 1-个人 2-企业",
  34451. "type": "integer"
  34452. }
  34453. }
  34454. },
  34455. "models.QhjMgrBrokerApply": {
  34456. "type": "object",
  34457. "properties": {
  34458. "applicantid": {
  34459. "description": "申请人",
  34460. "type": "integer"
  34461. },
  34462. "applysrc": {
  34463. "description": "申请来源 - 1:管理端 2:终端",
  34464. "type": "integer"
  34465. },
  34466. "applystatus": {
  34467. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34468. "type": "integer"
  34469. },
  34470. "applytime": {
  34471. "description": "申请时间",
  34472. "type": "string"
  34473. },
  34474. "auditorid": {
  34475. "description": "审核人",
  34476. "type": "integer"
  34477. },
  34478. "auditremark": {
  34479. "description": "审核备注",
  34480. "type": "string"
  34481. },
  34482. "auditsrc": {
  34483. "description": "审核来源 - 1:管理端 2:终端",
  34484. "type": "integer"
  34485. },
  34486. "audittime": {
  34487. "description": "审核时间",
  34488. "type": "string"
  34489. },
  34490. "audittradedate": {
  34491. "description": "审核交易日(yyyyMMdd)",
  34492. "type": "string"
  34493. },
  34494. "brokerapplyid": {
  34495. "description": "申请ID(SEQ_BROKERAPPLY)",
  34496. "type": "integer"
  34497. },
  34498. "cardbackphotourl": {
  34499. "description": "证件背面图片地址",
  34500. "type": "string"
  34501. },
  34502. "cardfrontphotourl": {
  34503. "description": "证件正面图片地址",
  34504. "type": "string"
  34505. },
  34506. "cardnum": {
  34507. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  34508. "type": "string"
  34509. },
  34510. "customername": {
  34511. "description": "姓名",
  34512. "type": "string"
  34513. },
  34514. "filterstatus": {
  34515. "description": "筛选条件",
  34516. "type": "string"
  34517. },
  34518. "logincode": {
  34519. "description": "登录代码",
  34520. "type": "string"
  34521. },
  34522. "mobile": {
  34523. "description": "手机号码",
  34524. "type": "string"
  34525. },
  34526. "parentuserid": {
  34527. "description": "所属机构id",
  34528. "type": "integer"
  34529. },
  34530. "parentusername": {
  34531. "description": "所属机构名称",
  34532. "type": "string"
  34533. },
  34534. "refereeuserid": {
  34535. "description": "推荐人id(经纪人)",
  34536. "type": "integer"
  34537. },
  34538. "refernum": {
  34539. "description": "推荐码",
  34540. "type": "string"
  34541. },
  34542. "remark": {
  34543. "description": "备注",
  34544. "type": "string"
  34545. },
  34546. "subarealevelpath": {
  34547. "description": "层级路径",
  34548. "type": "string"
  34549. },
  34550. "tradedate": {
  34551. "description": "交易日(yyyyMMdd)",
  34552. "type": "string"
  34553. },
  34554. "userid": {
  34555. "description": "申请人用户ID",
  34556. "type": "integer"
  34557. },
  34558. "userinfotype": {
  34559. "description": "用户类型 1-个人 2-企业",
  34560. "type": "integer"
  34561. },
  34562. "username": {
  34563. "description": "用户名称",
  34564. "type": "string"
  34565. }
  34566. }
  34567. },
  34568. "models.QhjMgrBrokerRewardReport": {
  34569. "type": "object",
  34570. "properties": {
  34571. "createtime": {
  34572. "description": "创建时间(注册时间)",
  34573. "type": "string"
  34574. },
  34575. "cycletime": {
  34576. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  34577. "type": "string"
  34578. },
  34579. "cycletype": {
  34580. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  34581. "type": "integer"
  34582. },
  34583. "directtotalnum": {
  34584. "description": "直推总人数【期末】",
  34585. "type": "integer"
  34586. },
  34587. "indirecttotalnum": {
  34588. "description": "间推总人数【期末】",
  34589. "type": "integer"
  34590. },
  34591. "mobile": {
  34592. "description": "电话号码",
  34593. "type": "string"
  34594. },
  34595. "refereeuserid": {
  34596. "description": "推荐人id(经纪人id)",
  34597. "type": "integer"
  34598. },
  34599. "refereeusername": {
  34600. "description": "推荐人名称(经纪人) 上级经纪人名称",
  34601. "type": "string"
  34602. },
  34603. "refernum": {
  34604. "description": "推荐码",
  34605. "type": "string"
  34606. },
  34607. "subarealevelpath": {
  34608. "description": "用户层级路径",
  34609. "type": "string"
  34610. },
  34611. "todayrewardamount": {
  34612. "description": "奖励总金额【汇总】",
  34613. "type": "number"
  34614. },
  34615. "updatetime": {
  34616. "description": "更新时间",
  34617. "type": "string"
  34618. },
  34619. "userid": {
  34620. "description": "经纪人用户ID",
  34621. "type": "integer"
  34622. },
  34623. "userinfotype": {
  34624. "description": "用户类型 1-个人 2-企业",
  34625. "type": "integer"
  34626. },
  34627. "username": {
  34628. "description": "用户名称",
  34629. "type": "string"
  34630. }
  34631. }
  34632. },
  34633. "models.QhjMgrContract": {
  34634. "type": "object",
  34635. "properties": {
  34636. "contractconfirmtime": {
  34637. "description": "合同确认时间(时间)",
  34638. "type": "string"
  34639. },
  34640. "currisklevel": {
  34641. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34642. "type": "integer"
  34643. },
  34644. "decimalplace": {
  34645. "description": "商品报价小数位",
  34646. "type": "integer"
  34647. },
  34648. "enumdicname": {
  34649. "description": "单位名称",
  34650. "type": "string"
  34651. },
  34652. "goodscode": {
  34653. "description": "商品代码",
  34654. "type": "string"
  34655. },
  34656. "goodsid": {
  34657. "description": "商品ID [5:融资单]",
  34658. "type": "integer"
  34659. },
  34660. "goodsname": {
  34661. "description": "商品名称",
  34662. "type": "string"
  34663. },
  34664. "goodunitid": {
  34665. "description": "商品单位id",
  34666. "type": "integer"
  34667. },
  34668. "initmargin": {
  34669. "description": "初始保证金(首付款)",
  34670. "type": "number"
  34671. },
  34672. "lenderamount": {
  34673. "description": "贷款金额(总额|订单总额)",
  34674. "type": "number"
  34675. },
  34676. "logincode": {
  34677. "description": "账号(登录代码)",
  34678. "type": "string"
  34679. },
  34680. "marginratio": {
  34681. "description": "保证金比率(首付比例)",
  34682. "type": "number"
  34683. },
  34684. "mobile": {
  34685. "description": "电话号码(用户资料里的电话)",
  34686. "type": "string"
  34687. },
  34688. "payamount": {
  34689. "description": "已付(已付货款)",
  34690. "type": "number"
  34691. },
  34692. "reckonrecovermargin": {
  34693. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  34694. "type": "number"
  34695. },
  34696. "recoveredmargin": {
  34697. "description": "已追缴保证金",
  34698. "type": "number"
  34699. },
  34700. "remainamount": {
  34701. "description": "合同剩余金额(融资额)",
  34702. "type": "number"
  34703. },
  34704. "scfcontractid": {
  34705. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34706. "type": "string"
  34707. },
  34708. "scfcontractstatus": {
  34709. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34710. "type": "integer"
  34711. },
  34712. "scfcontracttype": {
  34713. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34714. "type": "integer"
  34715. },
  34716. "totalinterest": {
  34717. "description": "已计总利息(利息)",
  34718. "type": "number"
  34719. },
  34720. "tradedate": {
  34721. "description": "交易日",
  34722. "type": "string"
  34723. },
  34724. "tradeprice": {
  34725. "description": "成交价格(成本价格)",
  34726. "type": "number"
  34727. },
  34728. "userid": {
  34729. "description": "用户ID",
  34730. "type": "integer"
  34731. },
  34732. "userinfotype": {
  34733. "description": "用户类型 1-个人 2-企业",
  34734. "type": "integer"
  34735. },
  34736. "username": {
  34737. "description": "用户名称",
  34738. "type": "string"
  34739. },
  34740. "wrqty": {
  34741. "description": "仓单数量(数量)",
  34742. "type": "number"
  34743. }
  34744. }
  34745. },
  34746. "models.QhjMgrCustomer": {
  34747. "type": "object",
  34748. "properties": {
  34749. "address": {
  34750. "description": "通讯地址",
  34751. "type": "string"
  34752. },
  34753. "attachment1": {
  34754. "description": "附件1",
  34755. "type": "string"
  34756. },
  34757. "audittime": {
  34758. "description": "审核时间",
  34759. "type": "string"
  34760. },
  34761. "birthday": {
  34762. "description": "生日",
  34763. "type": "string"
  34764. },
  34765. "brokerid": {
  34766. "description": "所属客户经理id",
  34767. "type": "integer"
  34768. },
  34769. "brokername": {
  34770. "description": "所属客户经理名称",
  34771. "type": "string"
  34772. },
  34773. "cardbackphotourl": {
  34774. "description": "证件反面图片地址",
  34775. "type": "string"
  34776. },
  34777. "cardfrontphotourl": {
  34778. "description": "证件正面图片地址",
  34779. "type": "string"
  34780. },
  34781. "cardnum": {
  34782. "description": "证件号码",
  34783. "type": "string"
  34784. },
  34785. "cardtype": {
  34786. "description": "证件类型",
  34787. "type": "integer"
  34788. },
  34789. "cardtypename": {
  34790. "description": "证件类型名称",
  34791. "type": "string"
  34792. },
  34793. "cityid": {
  34794. "description": "市",
  34795. "type": "integer"
  34796. },
  34797. "cityname": {
  34798. "description": "城市名称",
  34799. "type": "string"
  34800. },
  34801. "contactname": {
  34802. "description": "联系人",
  34803. "type": "string"
  34804. },
  34805. "countryid": {
  34806. "description": "国家",
  34807. "type": "integer"
  34808. },
  34809. "countryname": {
  34810. "description": "国家名称",
  34811. "type": "string"
  34812. },
  34813. "createtime": {
  34814. "description": "创建时间",
  34815. "type": "string"
  34816. },
  34817. "customername": {
  34818. "description": "客户名称",
  34819. "type": "string"
  34820. },
  34821. "districtid": {
  34822. "description": "区域",
  34823. "type": "integer"
  34824. },
  34825. "districtname": {
  34826. "description": "地区名称",
  34827. "type": "string"
  34828. },
  34829. "email": {
  34830. "description": "邮件",
  34831. "type": "string"
  34832. },
  34833. "legalpersonname": {
  34834. "description": "法人姓名(企业)",
  34835. "type": "string"
  34836. },
  34837. "logincode": {
  34838. "description": "登录账号(代码)",
  34839. "type": "string"
  34840. },
  34841. "memberuserid": {
  34842. "description": "所属机构ID(所属会员)",
  34843. "type": "integer"
  34844. },
  34845. "memberusername": {
  34846. "description": "所属会员名称",
  34847. "type": "string"
  34848. },
  34849. "mobile": {
  34850. "description": "手机号码",
  34851. "type": "string"
  34852. },
  34853. "modifytime": {
  34854. "description": "修改时间",
  34855. "type": "string"
  34856. },
  34857. "nickname": {
  34858. "description": "昵称",
  34859. "type": "string"
  34860. },
  34861. "parentuserid": {
  34862. "description": "上级机构(所属机构)",
  34863. "type": "integer"
  34864. },
  34865. "parentusername": {
  34866. "description": "所属机构名称",
  34867. "type": "string"
  34868. },
  34869. "provinceid": {
  34870. "description": "省",
  34871. "type": "integer"
  34872. },
  34873. "provincename": {
  34874. "description": "省名称",
  34875. "type": "string"
  34876. },
  34877. "proxystatementurl": {
  34878. "description": "授权委托书",
  34879. "type": "string"
  34880. },
  34881. "querytype": {
  34882. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  34883. "type": "integer"
  34884. },
  34885. "remark": {
  34886. "description": "备注",
  34887. "type": "string"
  34888. },
  34889. "sex": {
  34890. "description": "性别 0-女 1-男",
  34891. "type": "integer"
  34892. },
  34893. "status": {
  34894. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34895. "type": "integer"
  34896. },
  34897. "statusdesc": {
  34898. "description": "账户状态中文描述",
  34899. "type": "string"
  34900. },
  34901. "taxpayernum": {
  34902. "description": "纳税人识别号",
  34903. "type": "string"
  34904. },
  34905. "telphone": {
  34906. "description": "联系电话",
  34907. "type": "string"
  34908. },
  34909. "userid": {
  34910. "description": "用户ID",
  34911. "type": "integer"
  34912. },
  34913. "userinfotype": {
  34914. "description": "客户类型 1-个人 2-企业",
  34915. "type": "integer"
  34916. },
  34917. "username": {
  34918. "description": "用户名称",
  34919. "type": "string"
  34920. }
  34921. }
  34922. },
  34923. "models.QhjMgrPickGoods": {
  34924. "type": "object",
  34925. "properties": {
  34926. "enumdicname": {
  34927. "description": "单位名称(提货商品)",
  34928. "type": "string"
  34929. },
  34930. "goodsid": {
  34931. "description": "商品id",
  34932. "type": "integer"
  34933. },
  34934. "imageaddress": {
  34935. "description": "图片",
  34936. "type": "string"
  34937. },
  34938. "modifierid": {
  34939. "description": "修改人",
  34940. "type": "integer"
  34941. },
  34942. "modifiername": {
  34943. "description": "修改人名称",
  34944. "type": "string"
  34945. },
  34946. "modifysrc": {
  34947. "description": "修改来源 - 1:管理端 2:终端",
  34948. "type": "integer"
  34949. },
  34950. "pickupgoodsagreeunit": {
  34951. "description": "合约乘数",
  34952. "type": "number"
  34953. },
  34954. "pickupgoodsdesc": {
  34955. "description": "描述",
  34956. "type": "string"
  34957. },
  34958. "pickupgoodsid": {
  34959. "description": "提货商品ID",
  34960. "type": "string"
  34961. },
  34962. "pickupgoodsname": {
  34963. "description": "提货商品名称",
  34964. "type": "string"
  34965. },
  34966. "pickupgoodsstatus": {
  34967. "description": "状态 - 1:正常 2:停用 3:注销",
  34968. "type": "integer"
  34969. },
  34970. "pickupgoodsunitid": {
  34971. "description": "单位ID",
  34972. "type": "integer"
  34973. },
  34974. "pickupratio": {
  34975. "description": "提货系数",
  34976. "type": "number"
  34977. },
  34978. "preparedays": {
  34979. "description": "备货期(天)",
  34980. "type": "integer"
  34981. },
  34982. "remark": {
  34983. "description": "备注",
  34984. "type": "string"
  34985. },
  34986. "updatetime": {
  34987. "description": "更新时间",
  34988. "type": "string"
  34989. }
  34990. }
  34991. },
  34992. "models.QhjMgrPositionRsp": {
  34993. "type": "object",
  34994. "properties": {
  34995. "accountid": {
  34996. "description": "账号Id",
  34997. "type": "integer"
  34998. },
  34999. "accountname": {
  35000. "description": "用户名称",
  35001. "type": "string"
  35002. },
  35003. "agreeunit": {
  35004. "description": "合约乘数",
  35005. "type": "number"
  35006. },
  35007. "averageprice": {
  35008. "description": "均价",
  35009. "type": "number"
  35010. },
  35011. "avialqty": {
  35012. "description": "可用数量",
  35013. "type": "number"
  35014. },
  35015. "decimalplace": {
  35016. "description": "报价小数位",
  35017. "type": "integer"
  35018. },
  35019. "enumdicname": {
  35020. "description": "单位名称(商品)",
  35021. "type": "string"
  35022. },
  35023. "frozenqty": {
  35024. "description": "冻结数量",
  35025. "type": "number"
  35026. },
  35027. "goodscode": {
  35028. "description": "商品代码(内部)",
  35029. "type": "string"
  35030. },
  35031. "goodsid": {
  35032. "description": "商品Id",
  35033. "type": "integer"
  35034. },
  35035. "goodsname": {
  35036. "description": "商品名称",
  35037. "type": "string"
  35038. },
  35039. "goodunitid": {
  35040. "description": "报价单位ID",
  35041. "type": "integer"
  35042. },
  35043. "holderamount": {
  35044. "description": "金额",
  35045. "type": "number"
  35046. },
  35047. "holderqty": {
  35048. "description": "持有数量",
  35049. "type": "number"
  35050. },
  35051. "holdertype": {
  35052. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  35053. "type": "integer"
  35054. },
  35055. "logincode": {
  35056. "description": "登录代码(账户)",
  35057. "type": "string"
  35058. },
  35059. "marketid": {
  35060. "description": "市场id",
  35061. "type": "integer"
  35062. },
  35063. "qtydecimalplace": {
  35064. "description": "成交量小数位",
  35065. "type": "integer"
  35066. },
  35067. "trademode": {
  35068. "description": "交易模式",
  35069. "type": "integer"
  35070. },
  35071. "userid": {
  35072. "description": "用户id",
  35073. "type": "integer"
  35074. },
  35075. "userinfotype": {
  35076. "description": "账户类型 1-个人 2-企业",
  35077. "type": "integer"
  35078. }
  35079. }
  35080. },
  35081. "models.QhjMgrSubArea": {
  35082. "type": "object",
  35083. "properties": {
  35084. "accountname": {
  35085. "description": "账户名称(机构名称)",
  35086. "type": "string"
  35087. },
  35088. "memberuserid": {
  35089. "description": "所属会员ID",
  35090. "type": "integer"
  35091. },
  35092. "parenttopuser": {
  35093. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  35094. "type": "string"
  35095. },
  35096. "parentuserid": {
  35097. "description": "所属机构ID",
  35098. "type": "integer"
  35099. },
  35100. "rootuserid": {
  35101. "description": "根用户ID",
  35102. "type": "string"
  35103. },
  35104. "subaccountlevel": {
  35105. "description": "子账户层数",
  35106. "type": "integer"
  35107. },
  35108. "subarealevelpath": {
  35109. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  35110. "type": "string"
  35111. },
  35112. "userid": {
  35113. "description": "用户ID",
  35114. "type": "integer"
  35115. },
  35116. "usertype": {
  35117. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35118. "type": "integer"
  35119. }
  35120. }
  35121. },
  35122. "models.QhjMgrTradeDetailRsp": {
  35123. "type": "object",
  35124. "properties": {
  35125. "accountid": {
  35126. "description": "资金账号",
  35127. "type": "integer"
  35128. },
  35129. "accountname": {
  35130. "description": "用户名称",
  35131. "type": "string"
  35132. },
  35133. "agreeunit": {
  35134. "description": "合约乘数",
  35135. "type": "number"
  35136. },
  35137. "buyorsell": {
  35138. "description": "成交类型(方向) 0:买 1:卖",
  35139. "type": "integer"
  35140. },
  35141. "decimalplace": {
  35142. "description": "报价小数位",
  35143. "type": "integer"
  35144. },
  35145. "enumdicname": {
  35146. "description": "单位名称(商品)",
  35147. "type": "string"
  35148. },
  35149. "goodscode": {
  35150. "description": "商品代码(内部)",
  35151. "type": "string"
  35152. },
  35153. "goodsid": {
  35154. "description": "商品id",
  35155. "type": "integer"
  35156. },
  35157. "goodsname": {
  35158. "description": "商品名称",
  35159. "type": "string"
  35160. },
  35161. "goodunitid": {
  35162. "description": "报价单位ID",
  35163. "type": "integer"
  35164. },
  35165. "logincode": {
  35166. "description": "登录代码(账户)",
  35167. "type": "string"
  35168. },
  35169. "marketid": {
  35170. "description": "市场id",
  35171. "type": "integer"
  35172. },
  35173. "orderid": {
  35174. "description": "关联委托单号",
  35175. "type": "string"
  35176. },
  35177. "qtydecimalplace": {
  35178. "description": "成交量小数位",
  35179. "type": "integer"
  35180. },
  35181. "tradeamount": {
  35182. "description": "金额",
  35183. "type": "number"
  35184. },
  35185. "tradedate": {
  35186. "description": "交易日",
  35187. "type": "string"
  35188. },
  35189. "tradeid": {
  35190. "description": "成交单号",
  35191. "type": "string"
  35192. },
  35193. "trademode": {
  35194. "description": "交易模式",
  35195. "type": "integer"
  35196. },
  35197. "tradeprice": {
  35198. "description": "价格",
  35199. "type": "number"
  35200. },
  35201. "tradeqty": {
  35202. "description": "数量",
  35203. "type": "number"
  35204. },
  35205. "tradetime": {
  35206. "description": "成交时间",
  35207. "type": "string"
  35208. },
  35209. "userid": {
  35210. "description": "用户id",
  35211. "type": "integer"
  35212. },
  35213. "userinfotype": {
  35214. "description": "账户类型 1-个人 2-企业",
  35215. "type": "integer"
  35216. }
  35217. }
  35218. },
  35219. "models.QhjMgrTradeOrderDetailRsp": {
  35220. "type": "object",
  35221. "properties": {
  35222. "accountid": {
  35223. "description": "资金账号",
  35224. "type": "integer"
  35225. },
  35226. "accountname": {
  35227. "description": "用户名称",
  35228. "type": "string"
  35229. },
  35230. "agreeunit": {
  35231. "description": "合约乘数",
  35232. "type": "number"
  35233. },
  35234. "amount": {
  35235. "description": "金额",
  35236. "type": "number"
  35237. },
  35238. "decimalplace": {
  35239. "description": "报价小数位",
  35240. "type": "integer"
  35241. },
  35242. "enumdicname": {
  35243. "description": "单位名称(商品)",
  35244. "type": "string"
  35245. },
  35246. "goodscode": {
  35247. "description": "商品代码(内部)",
  35248. "type": "string"
  35249. },
  35250. "goodsid": {
  35251. "description": "商品id",
  35252. "type": "integer"
  35253. },
  35254. "goodsname": {
  35255. "description": "商品名称",
  35256. "type": "string"
  35257. },
  35258. "goodunitid": {
  35259. "description": "报价单位ID",
  35260. "type": "integer"
  35261. },
  35262. "logincode": {
  35263. "description": "登录代码(账户)",
  35264. "type": "string"
  35265. },
  35266. "marketid": {
  35267. "description": "市场id",
  35268. "type": "integer"
  35269. },
  35270. "orderid": {
  35271. "description": "关联委托单号",
  35272. "type": "string"
  35273. },
  35274. "orderprice": {
  35275. "description": "价格",
  35276. "type": "number"
  35277. },
  35278. "orderqty": {
  35279. "description": "数量",
  35280. "type": "number"
  35281. },
  35282. "orderstatus": {
  35283. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  35284. "type": "integer"
  35285. },
  35286. "ordertime": {
  35287. "description": "委托时间",
  35288. "type": "string"
  35289. },
  35290. "qtydecimalplace": {
  35291. "description": "成交量小数位",
  35292. "type": "integer"
  35293. },
  35294. "tradedate": {
  35295. "description": "交易日",
  35296. "type": "string"
  35297. },
  35298. "trademode": {
  35299. "description": "交易模式",
  35300. "type": "integer"
  35301. },
  35302. "userid": {
  35303. "description": "用户id",
  35304. "type": "integer"
  35305. },
  35306. "userinfotype": {
  35307. "description": "账户类型 1-个人 2-企业",
  35308. "type": "integer"
  35309. }
  35310. }
  35311. },
  35312. "models.QhjMgrTradePayOrder": {
  35313. "type": "object",
  35314. "properties": {
  35315. "accountname": {
  35316. "description": "用户名称",
  35317. "type": "string"
  35318. },
  35319. "advanceratio": {
  35320. "description": "首付比率",
  35321. "type": "number"
  35322. },
  35323. "agreeunit": {
  35324. "description": "合约乘数",
  35325. "type": "number"
  35326. },
  35327. "buyaccountid": {
  35328. "description": "买方账号ID[报价币种]",
  35329. "type": "integer"
  35330. },
  35331. "buyorderid": {
  35332. "description": "买方委托单号(关联单号)",
  35333. "type": "string"
  35334. },
  35335. "createtime": {
  35336. "description": "创建时间",
  35337. "type": "string"
  35338. },
  35339. "decimalplace": {
  35340. "description": "报价小数位",
  35341. "type": "integer"
  35342. },
  35343. "enumdicname": {
  35344. "description": "单位名称(商品)",
  35345. "type": "string"
  35346. },
  35347. "goodscode": {
  35348. "description": "商品代码(内部)",
  35349. "type": "string"
  35350. },
  35351. "goodsid": {
  35352. "description": "商品ID",
  35353. "type": "integer"
  35354. },
  35355. "goodsname": {
  35356. "description": "商品名称",
  35357. "type": "string"
  35358. },
  35359. "goodunitid": {
  35360. "description": "报价单位ID",
  35361. "type": "integer"
  35362. },
  35363. "logincode": {
  35364. "description": "登录代码(账户)",
  35365. "type": "string"
  35366. },
  35367. "marketid": {
  35368. "description": "市场id",
  35369. "type": "integer"
  35370. },
  35371. "offamount": {
  35372. "description": "优惠金额",
  35373. "type": "number"
  35374. },
  35375. "operatetype": {
  35376. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  35377. "type": "integer"
  35378. },
  35379. "payamount": {
  35380. "description": "支付金额(金额)",
  35381. "type": "number"
  35382. },
  35383. "payflag": {
  35384. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  35385. "type": "integer"
  35386. },
  35387. "paylimitedtime": {
  35388. "description": "支付期限",
  35389. "type": "string"
  35390. },
  35391. "paytime": {
  35392. "description": "付款时间",
  35393. "type": "string"
  35394. },
  35395. "qtydecimalplace": {
  35396. "description": "成交量小数位",
  35397. "type": "integer"
  35398. },
  35399. "sellaccountid": {
  35400. "description": "卖方账号ID[报价币种]",
  35401. "type": "integer"
  35402. },
  35403. "sellorderid": {
  35404. "description": "卖方委托单号",
  35405. "type": "string"
  35406. },
  35407. "tradeamount": {
  35408. "description": "成交金额(优惠后金额)",
  35409. "type": "number"
  35410. },
  35411. "tradecharge": {
  35412. "description": "成交手续费(买方)",
  35413. "type": "number"
  35414. },
  35415. "tradedate": {
  35416. "description": "交易日(yyyyMMdd)",
  35417. "type": "string"
  35418. },
  35419. "tradeid": {
  35420. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35421. "type": "string"
  35422. },
  35423. "trademode": {
  35424. "description": "交易模式",
  35425. "type": "integer"
  35426. },
  35427. "tradeprice": {
  35428. "description": "成交价格(价格)",
  35429. "type": "number"
  35430. },
  35431. "tradeqty": {
  35432. "description": "成交数量(数量)",
  35433. "type": "number"
  35434. },
  35435. "tradetime": {
  35436. "description": "成交时间",
  35437. "type": "string"
  35438. },
  35439. "userid": {
  35440. "description": "用户id",
  35441. "type": "integer"
  35442. },
  35443. "userinfotype": {
  35444. "description": "账户类型 1-个人 2-企业",
  35445. "type": "integer"
  35446. }
  35447. }
  35448. },
  35449. "models.QhjMyTeamEx": {
  35450. "type": "object",
  35451. "properties": {
  35452. "accountname": {
  35453. "description": "用户名称",
  35454. "type": "string"
  35455. },
  35456. "accountstatus": {
  35457. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  35458. "type": "integer"
  35459. },
  35460. "createtime": {
  35461. "description": "创建时间",
  35462. "type": "string"
  35463. },
  35464. "mobile": {
  35465. "description": "手机号码",
  35466. "type": "string"
  35467. },
  35468. "refereeuserid": {
  35469. "description": "推荐人id",
  35470. "type": "integer"
  35471. },
  35472. "refernum": {
  35473. "description": "推荐码",
  35474. "type": "string"
  35475. },
  35476. "subList": {
  35477. "type": "array",
  35478. "items": {
  35479. "$ref": "#/definitions/models.QhjMyTeamEx"
  35480. }
  35481. },
  35482. "userid": {
  35483. "description": "用户id",
  35484. "type": "integer"
  35485. },
  35486. "userinfotype": {
  35487. "description": "用户类型 1-个人 2-企业",
  35488. "type": "integer"
  35489. }
  35490. }
  35491. },
  35492. "models.QhjNodeAgreementConfig": {
  35493. "type": "object",
  35494. "properties": {
  35495. "agreementcontent": {
  35496. "description": "协议内容",
  35497. "type": "string"
  35498. },
  35499. "agreementid": {
  35500. "description": "协议ID",
  35501. "type": "integer"
  35502. },
  35503. "agreementname": {
  35504. "description": "协议名称",
  35505. "type": "string"
  35506. },
  35507. "agreementno": {
  35508. "description": "协议编号",
  35509. "type": "string"
  35510. },
  35511. "agreementtype": {
  35512. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35513. "type": "integer"
  35514. },
  35515. "agreementversion": {
  35516. "description": "协议版本号",
  35517. "type": "integer"
  35518. },
  35519. "configid": {
  35520. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35521. "type": "integer"
  35522. },
  35523. "createtime": {
  35524. "description": "创建时间",
  35525. "type": "string"
  35526. },
  35527. "goodsid": {
  35528. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35529. "type": "integer"
  35530. },
  35531. "nodetype": {
  35532. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35533. "type": "integer"
  35534. }
  35535. }
  35536. },
  35537. "models.QhjParentAreaList": {
  35538. "type": "object",
  35539. "properties": {
  35540. "accountname": {
  35541. "description": "账户名称(机构名称)",
  35542. "type": "string"
  35543. },
  35544. "userid": {
  35545. "description": "用户ID",
  35546. "type": "integer"
  35547. },
  35548. "usertype": {
  35549. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  35550. "type": "integer"
  35551. }
  35552. }
  35553. },
  35554. "models.QhjPayOrder": {
  35555. "type": "object",
  35556. "properties": {
  35557. "advanceratio": {
  35558. "description": "首付比率",
  35559. "type": "number"
  35560. },
  35561. "buyaccountid": {
  35562. "description": "买方账号ID[报价币种]",
  35563. "type": "integer"
  35564. },
  35565. "buyorderid": {
  35566. "description": "买方委托单号",
  35567. "type": "string"
  35568. },
  35569. "createtime": {
  35570. "description": "创建时间",
  35571. "type": "string"
  35572. },
  35573. "decimalplace": {
  35574. "description": "商品报价小数位",
  35575. "type": "integer"
  35576. },
  35577. "enumdicname": {
  35578. "description": "单位名称",
  35579. "type": "string"
  35580. },
  35581. "goodscode": {
  35582. "description": "商品代码",
  35583. "type": "string"
  35584. },
  35585. "goodsid": {
  35586. "description": "商品ID",
  35587. "type": "integer"
  35588. },
  35589. "goodsname": {
  35590. "description": "商品名称",
  35591. "type": "string"
  35592. },
  35593. "goodunitid": {
  35594. "description": "商品单位id",
  35595. "type": "integer"
  35596. },
  35597. "marketid": {
  35598. "description": "市场ID",
  35599. "type": "integer"
  35600. },
  35601. "offamount": {
  35602. "description": "优惠金额",
  35603. "type": "number"
  35604. },
  35605. "operatetype": {
  35606. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  35607. "type": "integer"
  35608. },
  35609. "payamount": {
  35610. "description": "支付金额",
  35611. "type": "number"
  35612. },
  35613. "payflag": {
  35614. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  35615. "type": "integer"
  35616. },
  35617. "paylimitedtime": {
  35618. "description": "支付期限",
  35619. "type": "string"
  35620. },
  35621. "paytime": {
  35622. "description": "付款时间",
  35623. "type": "string"
  35624. },
  35625. "qtydecimalplace": {
  35626. "description": "成交量小数位",
  35627. "type": "integer"
  35628. },
  35629. "sellaccountid": {
  35630. "description": "卖方账号ID[报价币种]",
  35631. "type": "integer"
  35632. },
  35633. "sellorderid": {
  35634. "description": "卖方委托单号",
  35635. "type": "string"
  35636. },
  35637. "tradeamount": {
  35638. "description": "成交金额(优惠后金额)",
  35639. "type": "number"
  35640. },
  35641. "tradecharge": {
  35642. "description": "成交手续费(买方)",
  35643. "type": "number"
  35644. },
  35645. "tradedate": {
  35646. "description": "交易日(yyyyMMdd)",
  35647. "type": "string"
  35648. },
  35649. "tradeid": {
  35650. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35651. "type": "string"
  35652. },
  35653. "tradeprice": {
  35654. "description": "成交价格",
  35655. "type": "number"
  35656. },
  35657. "tradeqty": {
  35658. "description": "成交数量",
  35659. "type": "number"
  35660. }
  35661. }
  35662. },
  35663. "models.QhjPickArea": {
  35664. "type": "object",
  35665. "properties": {
  35666. "address": {
  35667. "description": "详细地址",
  35668. "type": "string"
  35669. },
  35670. "cityid": {
  35671. "description": "市",
  35672. "type": "integer"
  35673. },
  35674. "cityname": {
  35675. "description": "城市名称",
  35676. "type": "string"
  35677. },
  35678. "countryid": {
  35679. "description": "国家",
  35680. "type": "integer"
  35681. },
  35682. "countryname": {
  35683. "description": "国家名称",
  35684. "type": "string"
  35685. },
  35686. "districtid": {
  35687. "description": "地区",
  35688. "type": "integer"
  35689. },
  35690. "districtname": {
  35691. "description": "地区名称",
  35692. "type": "string"
  35693. },
  35694. "fromuserid": {
  35695. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  35696. "type": "integer"
  35697. },
  35698. "fromusername": {
  35699. "description": "所属机构名称",
  35700. "type": "string"
  35701. },
  35702. "provinceid": {
  35703. "description": "省",
  35704. "type": "integer"
  35705. },
  35706. "provincename": {
  35707. "description": "省名称",
  35708. "type": "string"
  35709. },
  35710. "suborgtype": {
  35711. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  35712. "type": "integer"
  35713. },
  35714. "userid": {
  35715. "description": "机构用户ID 其他做市关系,都设置为 1",
  35716. "type": "integer"
  35717. },
  35718. "username": {
  35719. "description": "机构用户名称(门店门称)",
  35720. "type": "string"
  35721. }
  35722. }
  35723. },
  35724. "models.QhjPickGoods": {
  35725. "type": "object",
  35726. "properties": {
  35727. "enumdicname": {
  35728. "description": "单位名称(提货商品)",
  35729. "type": "string"
  35730. },
  35731. "goodsid": {
  35732. "description": "商品id",
  35733. "type": "integer"
  35734. },
  35735. "imageaddress": {
  35736. "description": "图片",
  35737. "type": "string"
  35738. },
  35739. "modifierid": {
  35740. "description": "修改人",
  35741. "type": "integer"
  35742. },
  35743. "modifiername": {
  35744. "description": "修改人名称",
  35745. "type": "string"
  35746. },
  35747. "modifysrc": {
  35748. "description": "修改来源 - 1:管理端 2:终端",
  35749. "type": "integer"
  35750. },
  35751. "pickupgoodsagreeunit": {
  35752. "description": "合约乘数",
  35753. "type": "number"
  35754. },
  35755. "pickupgoodsdesc": {
  35756. "description": "描述",
  35757. "type": "string"
  35758. },
  35759. "pickupgoodsid": {
  35760. "description": "提货商品ID",
  35761. "type": "string"
  35762. },
  35763. "pickupgoodsname": {
  35764. "description": "提货商品名称",
  35765. "type": "string"
  35766. },
  35767. "pickupgoodsstatus": {
  35768. "description": "状态 - 1:正常 2:停用 3:注销",
  35769. "type": "integer"
  35770. },
  35771. "pickupgoodsunitid": {
  35772. "description": "单位ID",
  35773. "type": "integer"
  35774. },
  35775. "pickupratio": {
  35776. "description": "提货系数",
  35777. "type": "number"
  35778. },
  35779. "preparedays": {
  35780. "description": "备货期(天)",
  35781. "type": "integer"
  35782. },
  35783. "remark": {
  35784. "description": "备注",
  35785. "type": "string"
  35786. },
  35787. "updatetime": {
  35788. "description": "更新时间",
  35789. "type": "string"
  35790. }
  35791. }
  35792. },
  35793. "models.QhjRSTriggerLog": {
  35794. "type": "object",
  35795. "properties": {
  35796. "accountid": {
  35797. "description": "用户资金账户",
  35798. "type": "integer"
  35799. },
  35800. "accountname": {
  35801. "description": "账号名称(ACCOUNTID对应的名称)",
  35802. "type": "string"
  35803. },
  35804. "currencyid": {
  35805. "description": "币种id",
  35806. "type": "integer"
  35807. },
  35808. "currencyname": {
  35809. "description": "币种名称",
  35810. "type": "string"
  35811. },
  35812. "decimalplace": {
  35813. "description": "商品报价小数位",
  35814. "type": "integer"
  35815. },
  35816. "enumdicname": {
  35817. "description": "单位名称",
  35818. "type": "string"
  35819. },
  35820. "goodscode": {
  35821. "description": "定投商品代码",
  35822. "type": "string"
  35823. },
  35824. "goodsid": {
  35825. "description": "定投商品ID",
  35826. "type": "integer"
  35827. },
  35828. "goodsname": {
  35829. "description": "定投商品名称",
  35830. "type": "string"
  35831. },
  35832. "goodunitid": {
  35833. "description": "定投商品单位id",
  35834. "type": "integer"
  35835. },
  35836. "logid": {
  35837. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  35838. "type": "string"
  35839. },
  35840. "logincode": {
  35841. "description": "账号(登录代码)",
  35842. "type": "string"
  35843. },
  35844. "qtydecimalplace": {
  35845. "description": "成交量小数位",
  35846. "type": "integer"
  35847. },
  35848. "regularlycycle": {
  35849. "description": "定投频率 - 1:每周 2:每月",
  35850. "type": "integer"
  35851. },
  35852. "regularlycyclevalue": {
  35853. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35854. "type": "string"
  35855. },
  35856. "regularlymode": {
  35857. "description": "定投方式 - 1:按数量 2:按金额",
  35858. "type": "integer"
  35859. },
  35860. "regularlymodevalue": {
  35861. "description": "定投方式值 - 数量或金额",
  35862. "type": "number"
  35863. },
  35864. "regularlystrategyid": {
  35865. "description": "定投策略ID",
  35866. "type": "integer"
  35867. },
  35868. "retcode": {
  35869. "description": "错误码",
  35870. "type": "string"
  35871. },
  35872. "tradeid": {
  35873. "description": "成交单ID",
  35874. "type": "string"
  35875. },
  35876. "triggeramount": {
  35877. "description": "触发金额",
  35878. "type": "number"
  35879. },
  35880. "triggerqty": {
  35881. "description": "触发数量",
  35882. "type": "number"
  35883. },
  35884. "triggerstatus": {
  35885. "description": "触发状态 - 1:成功 2:失败",
  35886. "type": "integer"
  35887. },
  35888. "triggertime": {
  35889. "description": "触发时间",
  35890. "type": "string"
  35891. },
  35892. "triggertradedate": {
  35893. "description": "触发交易日",
  35894. "type": "string"
  35895. },
  35896. "userid": {
  35897. "description": "所属用户ID",
  35898. "type": "integer"
  35899. },
  35900. "userinfotype": {
  35901. "description": "用户类型 1-个人 2-企业",
  35902. "type": "integer"
  35903. },
  35904. "username": {
  35905. "description": "用户名称(userid对应的名称)",
  35906. "type": "string"
  35907. }
  35908. }
  35909. },
  35910. "models.QhjRStrategy": {
  35911. "type": "object",
  35912. "properties": {
  35913. "accountid": {
  35914. "description": "用户资金账户",
  35915. "type": "integer"
  35916. },
  35917. "accountname": {
  35918. "description": "账号名称(ACCOUNTID对应的名称)",
  35919. "type": "string"
  35920. },
  35921. "currencyid": {
  35922. "description": "币种id",
  35923. "type": "integer"
  35924. },
  35925. "currencyname": {
  35926. "description": "币种名称",
  35927. "type": "string"
  35928. },
  35929. "decimalplace": {
  35930. "description": "商品报价小数位",
  35931. "type": "integer"
  35932. },
  35933. "enumdicname": {
  35934. "description": "单位名称",
  35935. "type": "string"
  35936. },
  35937. "goodscode": {
  35938. "description": "定投商品代码",
  35939. "type": "string"
  35940. },
  35941. "goodsid": {
  35942. "description": "定投商品ID",
  35943. "type": "integer"
  35944. },
  35945. "goodsname": {
  35946. "description": "定投商品名称",
  35947. "type": "string"
  35948. },
  35949. "goodunitid": {
  35950. "description": "定投商品单位id",
  35951. "type": "integer"
  35952. },
  35953. "lasteffecttradedate": {
  35954. "description": "最新生效交易日",
  35955. "type": "string"
  35956. },
  35957. "laststoptradedate": {
  35958. "description": "最新暂停交易日",
  35959. "type": "string"
  35960. },
  35961. "lasttriggertradedate": {
  35962. "description": "最新触发交易日",
  35963. "type": "string"
  35964. },
  35965. "logincode": {
  35966. "description": "账号(登录代码)",
  35967. "type": "string"
  35968. },
  35969. "nexttriggeramount": {
  35970. "description": "下次触发金额",
  35971. "type": "number"
  35972. },
  35973. "nexttriggerdate": {
  35974. "description": "下次触发日期",
  35975. "type": "string"
  35976. },
  35977. "nexttriggerqty": {
  35978. "description": "下次触发数量 [按小数位放大值]",
  35979. "type": "number"
  35980. },
  35981. "qtydecimalplace": {
  35982. "description": "成交量小数位",
  35983. "type": "integer"
  35984. },
  35985. "regularlycycle": {
  35986. "description": "定投频率 - 1:每周 2:每月",
  35987. "type": "integer"
  35988. },
  35989. "regularlycyclevalue": {
  35990. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35991. "type": "string"
  35992. },
  35993. "regularlymode": {
  35994. "description": "定投方式 - 1:按数量 2:按金额",
  35995. "type": "integer"
  35996. },
  35997. "regularlymodevalue": {
  35998. "description": "定投方式值 - 数量或金额",
  35999. "type": "number"
  36000. },
  36001. "regularlystrategyid": {
  36002. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  36003. "type": "integer"
  36004. },
  36005. "regularlystrategystatus": {
  36006. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  36007. "type": "integer"
  36008. },
  36009. "remark": {
  36010. "description": "备注",
  36011. "type": "string"
  36012. },
  36013. "triggersuccesstimes": {
  36014. "description": "累计定投成功次数",
  36015. "type": "string"
  36016. },
  36017. "triggertotalamount": {
  36018. "description": "累计定投金额(成功)",
  36019. "type": "number"
  36020. },
  36021. "triggertotalqty": {
  36022. "description": "累计定投数量(成功) [按小数位放大值]",
  36023. "type": "number"
  36024. },
  36025. "triggertotaltimes": {
  36026. "description": "累计定投总次数",
  36027. "type": "string"
  36028. },
  36029. "updatesrc": {
  36030. "description": "更新来源 - 1:管理端 2:终端",
  36031. "type": "integer"
  36032. },
  36033. "updatetime": {
  36034. "description": "更新时间",
  36035. "type": "string"
  36036. },
  36037. "updatorid": {
  36038. "description": "更新人",
  36039. "type": "string"
  36040. },
  36041. "userid": {
  36042. "description": "所属用户ID",
  36043. "type": "integer"
  36044. },
  36045. "userinfotype": {
  36046. "description": "用户类型 1-个人 2-企业",
  36047. "type": "integer"
  36048. },
  36049. "username": {
  36050. "description": "用户名称(userid对应的名称)",
  36051. "type": "string"
  36052. }
  36053. }
  36054. },
  36055. "models.QhjReckonPriceLog": {
  36056. "type": "object",
  36057. "properties": {
  36058. "decimalplace": {
  36059. "description": "商品报价小数位",
  36060. "type": "integer"
  36061. },
  36062. "goodscode": {
  36063. "description": "商品代码",
  36064. "type": "string"
  36065. },
  36066. "goodsid": {
  36067. "description": "商品ID",
  36068. "type": "integer"
  36069. },
  36070. "goodsname": {
  36071. "description": "商品名称",
  36072. "type": "string"
  36073. },
  36074. "lastreckonprice": {
  36075. "description": "上日结算价",
  36076. "type": "number"
  36077. },
  36078. "nextdnlimitprice": {
  36079. "description": "下个交易日跌停价",
  36080. "type": "number"
  36081. },
  36082. "nexttrade": {
  36083. "description": "下个交易日",
  36084. "type": "string"
  36085. },
  36086. "nextuplimitprice": {
  36087. "description": "下个交易日涨停价",
  36088. "type": "number"
  36089. },
  36090. "reckonprice": {
  36091. "description": "今日结算价(定投价)",
  36092. "type": "number"
  36093. },
  36094. "reckontime": {
  36095. "description": "结算时间",
  36096. "type": "string"
  36097. },
  36098. "totalholderqty": {
  36099. "description": "总持仓数",
  36100. "type": "integer"
  36101. },
  36102. "totalstock": {
  36103. "description": "总库存",
  36104. "type": "integer"
  36105. },
  36106. "tradedate": {
  36107. "description": "交易日",
  36108. "type": "string"
  36109. },
  36110. "updowncount": {
  36111. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  36112. "type": "integer"
  36113. },
  36114. "updownflag": {
  36115. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  36116. "type": "integer"
  36117. },
  36118. "updownrate": {
  36119. "description": "今日涨跌幅",
  36120. "type": "number"
  36121. },
  36122. "updownrate_2d": {
  36123. "description": "连续两日涨跌幅",
  36124. "type": "number"
  36125. },
  36126. "updownrate_3d": {
  36127. "description": "连续三日涨跌幅",
  36128. "type": "number"
  36129. }
  36130. }
  36131. },
  36132. "models.QhjScoreLog": {
  36133. "type": "object",
  36134. "properties": {
  36135. "accountid": {
  36136. "description": "账户ID",
  36137. "type": "integer"
  36138. },
  36139. "createtime": {
  36140. "description": "创建时间(时间)",
  36141. "type": "string"
  36142. },
  36143. "goodsid": {
  36144. "description": "商品ID",
  36145. "type": "integer"
  36146. },
  36147. "hasuploaded": {
  36148. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  36149. "type": "integer"
  36150. },
  36151. "logid": {
  36152. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36153. "type": "string"
  36154. },
  36155. "marketid": {
  36156. "description": "市场ID",
  36157. "type": "integer"
  36158. },
  36159. "relatedamount": {
  36160. "description": "关联金额",
  36161. "type": "number"
  36162. },
  36163. "relatedorderid": {
  36164. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  36165. "type": "string"
  36166. },
  36167. "scoreconfigvalue1": {
  36168. "description": "积分配置1",
  36169. "type": "integer"
  36170. },
  36171. "scoreconfigvalue2": {
  36172. "description": "积分配置1",
  36173. "type": "integer"
  36174. },
  36175. "scoretype": {
  36176. "description": "积分类型 - 1:提货积分",
  36177. "type": "integer"
  36178. },
  36179. "scorevalue": {
  36180. "description": "积分",
  36181. "type": "number"
  36182. },
  36183. "tradedate": {
  36184. "description": "交易日(yyyyMMdd)",
  36185. "type": "string"
  36186. },
  36187. "uploadedtime": {
  36188. "description": "同步时间",
  36189. "type": "string"
  36190. },
  36191. "userid": {
  36192. "description": "用户ID",
  36193. "type": "integer"
  36194. }
  36195. }
  36196. },
  36197. "models.QhjSiteColumnDetail": {
  36198. "type": "object",
  36199. "properties": {
  36200. "author": {
  36201. "description": "作者",
  36202. "type": "string"
  36203. },
  36204. "brief": {
  36205. "description": "简介",
  36206. "type": "string"
  36207. },
  36208. "columnid": {
  36209. "description": "所属栏目",
  36210. "type": "integer"
  36211. },
  36212. "context": {
  36213. "description": "内容",
  36214. "type": "string"
  36215. },
  36216. "coverimage": {
  36217. "description": "封面图片",
  36218. "type": "string"
  36219. },
  36220. "creaedate": {
  36221. "description": "创建时间",
  36222. "type": "string"
  36223. },
  36224. "creatorid": {
  36225. "description": "创建人",
  36226. "type": "integer"
  36227. },
  36228. "hits": {
  36229. "description": "点击数",
  36230. "type": "integer"
  36231. },
  36232. "id": {
  36233. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36234. "type": "integer"
  36235. },
  36236. "isshow": {
  36237. "description": "是否展示 - 0:不展示 1:展示",
  36238. "type": "integer"
  36239. },
  36240. "istop": {
  36241. "description": "是否置顶 - 0:不置 1:置顶",
  36242. "type": "integer"
  36243. },
  36244. "modifierid": {
  36245. "description": "操作人",
  36246. "type": "integer"
  36247. },
  36248. "publishdate": {
  36249. "description": "发布日期",
  36250. "type": "string"
  36251. },
  36252. "status": {
  36253. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  36254. "type": "integer"
  36255. },
  36256. "title": {
  36257. "description": "标题",
  36258. "type": "string"
  36259. },
  36260. "updatedate": {
  36261. "description": "修改时间",
  36262. "type": "string"
  36263. },
  36264. "userid": {
  36265. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  36266. "type": "integer"
  36267. },
  36268. "username": {
  36269. "description": "用户名称",
  36270. "type": "string"
  36271. }
  36272. }
  36273. },
  36274. "models.QhjTeamOrder": {
  36275. "type": "object",
  36276. "properties": {
  36277. "accountid": {
  36278. "description": "账户ID[报价币种]",
  36279. "type": "integer"
  36280. },
  36281. "accountname": {
  36282. "description": "账户名称",
  36283. "type": "string"
  36284. },
  36285. "agreeunit": {
  36286. "description": "合约乘数",
  36287. "type": "number"
  36288. },
  36289. "buyorsell": {
  36290. "description": "方向 - 0:买 1:卖",
  36291. "type": "integer"
  36292. },
  36293. "decimalplace": {
  36294. "description": "报价小数位",
  36295. "type": "integer"
  36296. },
  36297. "enumdicname": {
  36298. "description": "单位名称",
  36299. "type": "string"
  36300. },
  36301. "goodscode": {
  36302. "description": "商品代码(内部)",
  36303. "type": "string"
  36304. },
  36305. "goodsid": {
  36306. "description": "商品ID",
  36307. "type": "integer"
  36308. },
  36309. "goodsname": {
  36310. "description": "商品名称",
  36311. "type": "string"
  36312. },
  36313. "goodunitid": {
  36314. "description": "报价单位ID",
  36315. "type": "integer"
  36316. },
  36317. "marketid": {
  36318. "description": "市场ID",
  36319. "type": "integer"
  36320. },
  36321. "marketname": {
  36322. "description": "市场名称",
  36323. "type": "string"
  36324. },
  36325. "qtydecimalplace": {
  36326. "description": "成交量小数位",
  36327. "type": "integer"
  36328. },
  36329. "refereeuserid": {
  36330. "description": "推荐人ID",
  36331. "type": "integer"
  36332. },
  36333. "tradeamount": {
  36334. "description": "成交金额[账户币种,用于所有权]",
  36335. "type": "number"
  36336. },
  36337. "tradedate": {
  36338. "description": "交易日(yyyyMMdd)",
  36339. "type": "string"
  36340. },
  36341. "trademode": {
  36342. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36343. "type": "integer"
  36344. },
  36345. "tradeprice": {
  36346. "description": "成交价格",
  36347. "type": "number"
  36348. },
  36349. "tradeqty": {
  36350. "description": "成交数量",
  36351. "type": "number"
  36352. },
  36353. "tradetime": {
  36354. "description": "成交时间",
  36355. "type": "string"
  36356. },
  36357. "userid": {
  36358. "description": "用户ID",
  36359. "type": "integer"
  36360. }
  36361. }
  36362. },
  36363. "models.QhjTradeGoodsPickup": {
  36364. "type": "object",
  36365. "properties": {
  36366. "accountid": {
  36367. "description": "账户ID",
  36368. "type": "integer"
  36369. },
  36370. "address": {
  36371. "description": "提货人详细地址",
  36372. "type": "string"
  36373. },
  36374. "amount": {
  36375. "description": "提货金额",
  36376. "type": "number"
  36377. },
  36378. "artradedate": {
  36379. "description": "自动收货交易日(yyyyMMdd)",
  36380. "type": "string"
  36381. },
  36382. "auditer": {
  36383. "description": "审核人",
  36384. "type": "integer"
  36385. },
  36386. "auditsrc": {
  36387. "description": "更新来源 - 1:管理端 2:终端",
  36388. "type": "integer"
  36389. },
  36390. "audittime": {
  36391. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  36392. "type": "string"
  36393. },
  36394. "audittradedate": {
  36395. "description": "审核交易日(yyyyMMdd)",
  36396. "type": "string"
  36397. },
  36398. "cardnum": {
  36399. "description": "提货人证件号码",
  36400. "type": "string"
  36401. },
  36402. "cardtypeid": {
  36403. "description": "提货人证件类型",
  36404. "type": "integer"
  36405. },
  36406. "checkremark": {
  36407. "description": "审核备注",
  36408. "type": "string"
  36409. },
  36410. "cityid": {
  36411. "description": "市",
  36412. "type": "integer"
  36413. },
  36414. "cityname": {
  36415. "description": "城市名称",
  36416. "type": "string"
  36417. },
  36418. "confirmtime": {
  36419. "description": "取货时间 或 收货时间",
  36420. "type": "string"
  36421. },
  36422. "countryid": {
  36423. "description": "国家",
  36424. "type": "integer"
  36425. },
  36426. "countryname": {
  36427. "description": "国家名称",
  36428. "type": "string"
  36429. },
  36430. "decimalplace": {
  36431. "description": "商品报价小数位",
  36432. "type": "integer"
  36433. },
  36434. "districtid": {
  36435. "description": "地区",
  36436. "type": "integer"
  36437. },
  36438. "districtname": {
  36439. "description": "地区名称",
  36440. "type": "string"
  36441. },
  36442. "enumdicname": {
  36443. "description": "单位名称(提货商品)",
  36444. "type": "string"
  36445. },
  36446. "expresscompany": {
  36447. "description": "物流公司",
  36448. "type": "string"
  36449. },
  36450. "expressnum": {
  36451. "description": "物流单号",
  36452. "type": "string"
  36453. },
  36454. "goodsagreeunit": {
  36455. "description": "交易商品乘数",
  36456. "type": "number"
  36457. },
  36458. "goodscode": {
  36459. "description": "商品代码",
  36460. "type": "string"
  36461. },
  36462. "goodsid": {
  36463. "description": "商品ID",
  36464. "type": "integer"
  36465. },
  36466. "goodsname": {
  36467. "description": "商品名称",
  36468. "type": "string"
  36469. },
  36470. "goodsqty": {
  36471. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  36472. "type": "number"
  36473. },
  36474. "handlestatus": {
  36475. "description": "处理状态",
  36476. "type": "integer"
  36477. },
  36478. "logincode": {
  36479. "description": "账号(登录代码, 有可能为空)",
  36480. "type": "string"
  36481. },
  36482. "marketid": {
  36483. "description": "市场ID",
  36484. "type": "integer"
  36485. },
  36486. "phonenum": {
  36487. "description": "提货人联系方式",
  36488. "type": "string"
  36489. },
  36490. "pickupgoodsagreeunit": {
  36491. "description": "提货商品合约乘数",
  36492. "type": "number"
  36493. },
  36494. "pickupgoodsid": {
  36495. "description": "提货商品ID",
  36496. "type": "string"
  36497. },
  36498. "pickupgoodsname": {
  36499. "description": "提货商品名称",
  36500. "type": "string"
  36501. },
  36502. "pickupgoodsqty": {
  36503. "description": "提货商品手数(数量)",
  36504. "type": "number"
  36505. },
  36506. "pickupgoodsunitid": {
  36507. "description": "单位ID(提货商品)",
  36508. "type": "integer"
  36509. },
  36510. "pickupratio": {
  36511. "description": "提货系数",
  36512. "type": "number"
  36513. },
  36514. "preparedays": {
  36515. "description": "备货期(天)-提货单明细表",
  36516. "type": "integer"
  36517. },
  36518. "provinceid": {
  36519. "description": "省",
  36520. "type": "integer"
  36521. },
  36522. "provincename": {
  36523. "description": "省名称",
  36524. "type": "string"
  36525. },
  36526. "qty": {
  36527. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  36528. "type": "number"
  36529. },
  36530. "qtydecimalplace": {
  36531. "description": "商品数量小数位",
  36532. "type": "integer"
  36533. },
  36534. "recivername": {
  36535. "description": "提货人姓名",
  36536. "type": "string"
  36537. },
  36538. "reqtime": {
  36539. "description": "提货申请时间",
  36540. "type": "string"
  36541. },
  36542. "storeuserid": {
  36543. "description": "门店用户ID (千海金)",
  36544. "type": "integer"
  36545. },
  36546. "storeusername": {
  36547. "description": "门店用户名称",
  36548. "type": "string"
  36549. },
  36550. "takemode": {
  36551. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  36552. "type": "integer"
  36553. },
  36554. "takeorderid": {
  36555. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  36556. "type": "string"
  36557. },
  36558. "takeorderstatus": {
  36559. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  36560. "type": "integer"
  36561. },
  36562. "takeremark": {
  36563. "description": "提货备注",
  36564. "type": "string"
  36565. },
  36566. "tradedate": {
  36567. "description": "交易日(yyyyMMdd)",
  36568. "type": "string"
  36569. },
  36570. "updatetime": {
  36571. "description": "更新时间",
  36572. "type": "string"
  36573. },
  36574. "userid": {
  36575. "description": "用户ID",
  36576. "type": "integer"
  36577. },
  36578. "userinfotype": {
  36579. "description": "客户类型 1-个人 2-企业",
  36580. "type": "integer"
  36581. },
  36582. "username": {
  36583. "description": "用户名称",
  36584. "type": "string"
  36585. }
  36586. }
  36587. },
  36588. "models.QhjUserNodeCfgAndStatus": {
  36589. "type": "object",
  36590. "properties": {
  36591. "agreementcontent": {
  36592. "description": "协议内容",
  36593. "type": "string"
  36594. },
  36595. "agreementid": {
  36596. "description": "协议ID",
  36597. "type": "integer"
  36598. },
  36599. "agreementname": {
  36600. "description": "协议名称",
  36601. "type": "string"
  36602. },
  36603. "agreementno": {
  36604. "description": "协议编号",
  36605. "type": "string"
  36606. },
  36607. "agreementtype": {
  36608. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36609. "type": "integer"
  36610. },
  36611. "agreementversion": {
  36612. "description": "协议版本号",
  36613. "type": "integer"
  36614. },
  36615. "configid": {
  36616. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  36617. "type": "integer"
  36618. },
  36619. "createtime": {
  36620. "description": "创建时间",
  36621. "type": "string"
  36622. },
  36623. "goodsid": {
  36624. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36625. "type": "integer"
  36626. },
  36627. "nodetype": {
  36628. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36629. "type": "integer"
  36630. },
  36631. "signtimestamp": {
  36632. "description": "签约状态时间戳(最近一次)",
  36633. "type": "string"
  36634. },
  36635. "tradedate": {
  36636. "description": "签约交易日(yyyyMMdd)",
  36637. "type": "string"
  36638. },
  36639. "userid": {
  36640. "description": "客户ID",
  36641. "type": "integer"
  36642. }
  36643. }
  36644. },
  36645. "models.Qhjgoodsex": {
  36646. "type": "object",
  36647. "properties": {
  36648. "canfinance": {
  36649. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  36650. "type": "integer"
  36651. },
  36652. "canregularlybuy": {
  36653. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  36654. "type": "integer"
  36655. },
  36656. "defaulttradeuserid": {
  36657. "description": "默认交易用户ID",
  36658. "type": "integer"
  36659. },
  36660. "deliverygoodsid": {
  36661. "description": "现货品种ID",
  36662. "type": "integer"
  36663. },
  36664. "goodsid": {
  36665. "description": "商品ID(自增ID SEQ_GOODS)",
  36666. "type": "integer"
  36667. },
  36668. "minamount": {
  36669. "description": "最小购买金额",
  36670. "type": "number"
  36671. },
  36672. "regularlybuyminamount": {
  36673. "description": "定投最小金额",
  36674. "type": "number"
  36675. },
  36676. "regularlybuyminqty": {
  36677. "description": "定投最小数量",
  36678. "type": "number"
  36679. },
  36680. "spotgoodsbrandid": {
  36681. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  36682. "type": "integer"
  36683. },
  36684. "visibilityforenterprise": {
  36685. "description": "企业客户是否可见 - 0:不可见 1:可见",
  36686. "type": "integer"
  36687. },
  36688. "visibilityforpersonal": {
  36689. "description": "个人客户是否可见 - 0:不可见 1:可见",
  36690. "type": "integer"
  36691. },
  36692. "wrstandardid": {
  36693. "description": "现货商品ID",
  36694. "type": "integer"
  36695. }
  36696. }
  36697. },
  36698. "models.QueryErrorInfosRsp": {
  36699. "type": "object",
  36700. "required": [
  36701. "errorid"
  36702. ],
  36703. "properties": {
  36704. "description": {
  36705. "description": "异常描述",
  36706. "type": "string"
  36707. },
  36708. "errorcode": {
  36709. "description": "异常代码",
  36710. "type": "string"
  36711. },
  36712. "errorid": {
  36713. "description": "异常ID",
  36714. "type": "integer"
  36715. },
  36716. "modulecode": {
  36717. "description": "所属模块",
  36718. "type": "string"
  36719. },
  36720. "operatecode": {
  36721. "description": "所属操作",
  36722. "type": "string"
  36723. },
  36724. "rownumber": {
  36725. "description": "行号",
  36726. "type": "string"
  36727. }
  36728. }
  36729. },
  36730. "models.QueryHedgeOrderDetailRsp": {
  36731. "type": "object",
  36732. "properties": {
  36733. "accountid": {
  36734. "description": "账户ID",
  36735. "type": "integer"
  36736. },
  36737. "buyorsell": {
  36738. "description": "买卖 - 0:买 1:卖",
  36739. "type": "integer"
  36740. },
  36741. "cancellogincode": {
  36742. "description": "撤单人",
  36743. "type": "string"
  36744. },
  36745. "channelbuildtype": {
  36746. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  36747. "type": "integer"
  36748. },
  36749. "channelinnerorderstatus": {
  36750. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  36751. "type": "integer"
  36752. },
  36753. "channeloperatetype": {
  36754. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  36755. "type": "integer"
  36756. },
  36757. "closetype": {
  36758. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36759. "type": "integer"
  36760. },
  36761. "curexchangerate": {
  36762. "description": "当前汇率",
  36763. "type": "number"
  36764. },
  36765. "decimalplace": {
  36766. "description": "商品报价小数位",
  36767. "type": "integer"
  36768. },
  36769. "exchangefullname": {
  36770. "description": "外部交易所全称",
  36771. "type": "string"
  36772. },
  36773. "goodscode": {
  36774. "description": "商品代码(内部)",
  36775. "type": "string"
  36776. },
  36777. "goodsid": {
  36778. "description": "商品ID",
  36779. "type": "integer"
  36780. },
  36781. "goodsname": {
  36782. "description": "商品名称",
  36783. "type": "string"
  36784. },
  36785. "marketid": {
  36786. "description": "市场ID",
  36787. "type": "integer"
  36788. },
  36789. "openfreezemargin": {
  36790. "description": "冻结保证金(冻结交易金额)",
  36791. "type": "number"
  36792. },
  36793. "orderid": {
  36794. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36795. "type": "string"
  36796. },
  36797. "orderlogincode": {
  36798. "description": "委托人",
  36799. "type": "string"
  36800. },
  36801. "orderprice": {
  36802. "description": "委托价格(账户)",
  36803. "type": "number"
  36804. },
  36805. "orderqty": {
  36806. "description": "委托数量",
  36807. "type": "integer"
  36808. },
  36809. "ordertime": {
  36810. "description": "委托时间",
  36811. "type": "string"
  36812. },
  36813. "pricemode": {
  36814. "description": "取价方式 - 1:市价 2: 限价",
  36815. "type": "integer"
  36816. },
  36817. "tradedate": {
  36818. "description": "交易日(yyyyMMdd)",
  36819. "type": "string"
  36820. },
  36821. "tradeqty": {
  36822. "description": "成交数量",
  36823. "type": "integer"
  36824. }
  36825. }
  36826. },
  36827. "models.QueryHedgeTradeDetailRsp": {
  36828. "type": "object",
  36829. "properties": {
  36830. "accountid": {
  36831. "description": "账号ID",
  36832. "type": "integer"
  36833. },
  36834. "buyorsell": {
  36835. "description": "方向 - 0:买 1:卖",
  36836. "type": "integer"
  36837. },
  36838. "channelbuildtype": {
  36839. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  36840. "type": "integer"
  36841. },
  36842. "closecharge": {
  36843. "description": "平仓手续费(账户)",
  36844. "type": "number"
  36845. },
  36846. "closecharge2": {
  36847. "description": "平仓手续费(商品)",
  36848. "type": "number"
  36849. },
  36850. "closepl": {
  36851. "description": "平仓盈亏(账户)",
  36852. "type": "number"
  36853. },
  36854. "closepl2": {
  36855. "description": "平仓盈亏(商品)",
  36856. "type": "number"
  36857. },
  36858. "closepl3": {
  36859. "description": "平仓盈亏(账户)(逐笔)",
  36860. "type": "number"
  36861. },
  36862. "closepl4": {
  36863. "description": "平仓盈亏(商品)(逐笔)",
  36864. "type": "number"
  36865. },
  36866. "closetype": {
  36867. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36868. "type": "integer"
  36869. },
  36870. "curexchangerate": {
  36871. "description": "当前汇率",
  36872. "type": "number"
  36873. },
  36874. "decimalplace": {
  36875. "description": "商品报价小数位",
  36876. "type": "integer"
  36877. },
  36878. "exchangefullname": {
  36879. "description": "外部交易所全称",
  36880. "type": "string"
  36881. },
  36882. "goodscode": {
  36883. "description": "商品代码(内部)",
  36884. "type": "string"
  36885. },
  36886. "goodsid": {
  36887. "description": "商品ID",
  36888. "type": "integer"
  36889. },
  36890. "goodsname": {
  36891. "description": "商品名称",
  36892. "type": "string"
  36893. },
  36894. "marketid": {
  36895. "description": "市场ID",
  36896. "type": "integer"
  36897. },
  36898. "opencharge": {
  36899. "description": "建仓手续费(账户)",
  36900. "type": "number"
  36901. },
  36902. "opencharge2": {
  36903. "description": "建仓手续费(商品)",
  36904. "type": "number"
  36905. },
  36906. "orderid": {
  36907. "description": "委托单号",
  36908. "type": "string"
  36909. },
  36910. "orderlogincode": {
  36911. "description": "委托人",
  36912. "type": "string"
  36913. },
  36914. "tradeamount": {
  36915. "description": "成交金额(账户)",
  36916. "type": "number"
  36917. },
  36918. "tradedate": {
  36919. "description": "交易日(yyyyMMdd)",
  36920. "type": "string"
  36921. },
  36922. "tradeid": {
  36923. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36924. "type": "string"
  36925. },
  36926. "tradeprice": {
  36927. "description": "成交价格",
  36928. "type": "number"
  36929. },
  36930. "tradeqty": {
  36931. "description": "成交数量",
  36932. "type": "integer"
  36933. },
  36934. "tradetime": {
  36935. "description": "成交时间",
  36936. "type": "string"
  36937. },
  36938. "tradetype": {
  36939. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  36940. "type": "integer"
  36941. }
  36942. }
  36943. },
  36944. "models.QuotePrimaryMenu": {
  36945. "type": "object",
  36946. "properties": {
  36947. "Index": {
  36948. "description": "序号",
  36949. "type": "integer"
  36950. },
  36951. "Key": {
  36952. "description": "键名",
  36953. "type": "string"
  36954. },
  36955. "Name": {
  36956. "description": "菜单名称",
  36957. "type": "string"
  36958. },
  36959. "SubMenus": {
  36960. "description": "子菜单",
  36961. "type": "array",
  36962. "items": {
  36963. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  36964. }
  36965. },
  36966. "SubTitleType": {
  36967. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  36968. "type": "integer"
  36969. },
  36970. "TradeModes": {
  36971. "description": "包含市场交易类型",
  36972. "type": "string"
  36973. }
  36974. }
  36975. },
  36976. "models.QuoteSecondaryMenu": {
  36977. "type": "object",
  36978. "properties": {
  36979. "ExExchangeCode": {
  36980. "description": "外部交易所代码",
  36981. "type": "string"
  36982. },
  36983. "ExExchangeID": {
  36984. "description": "外部交易所ID",
  36985. "type": "integer"
  36986. },
  36987. "GoodsGroupIDs": {
  36988. "description": "商品组ID列表",
  36989. "type": "array",
  36990. "items": {
  36991. "type": "integer"
  36992. }
  36993. },
  36994. "Index": {
  36995. "description": "序号",
  36996. "type": "integer"
  36997. },
  36998. "MarketID": {
  36999. "description": "市场ID",
  37000. "type": "integer"
  37001. },
  37002. "MenuTitle": {
  37003. "description": "菜单标题(市场名称或外部交易所名称)",
  37004. "type": "string"
  37005. },
  37006. "TradeMode": {
  37007. "description": "交易模式",
  37008. "type": "integer"
  37009. }
  37010. }
  37011. },
  37012. "models.RelatedTaAccount": {
  37013. "type": "object",
  37014. "properties": {
  37015. "accountid": {
  37016. "description": "资金账户ID",
  37017. "type": "integer"
  37018. }
  37019. }
  37020. },
  37021. "models.RoleMenu": {
  37022. "type": "object",
  37023. "properties": {
  37024. "hasright": {
  37025. "description": "是否有权限 0-没有权限 1-有权限",
  37026. "type": "integer"
  37027. },
  37028. "iconame": {
  37029. "description": "菜单图标",
  37030. "type": "string"
  37031. },
  37032. "menutype": {
  37033. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  37034. "type": "integer"
  37035. },
  37036. "parentcode": {
  37037. "description": "上级资源代码",
  37038. "type": "string"
  37039. },
  37040. "remark": {
  37041. "description": "菜单备注",
  37042. "type": "string"
  37043. },
  37044. "resourcecode": {
  37045. "description": "菜单代码",
  37046. "type": "string"
  37047. },
  37048. "resourcelevel": {
  37049. "description": "级别",
  37050. "type": "integer"
  37051. },
  37052. "resourcename": {
  37053. "description": "菜单名称",
  37054. "type": "string"
  37055. },
  37056. "roleid": {
  37057. "description": "角色id",
  37058. "type": "integer"
  37059. },
  37060. "sort": {
  37061. "description": "排序",
  37062. "type": "integer"
  37063. },
  37064. "subMenu": {
  37065. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  37066. "type": "array",
  37067. "items": {
  37068. "$ref": "#/definitions/models.RoleMenu"
  37069. }
  37070. },
  37071. "url": {
  37072. "description": "URL",
  37073. "type": "string"
  37074. },
  37075. "userid": {
  37076. "description": "用户id",
  37077. "type": "integer"
  37078. }
  37079. }
  37080. },
  37081. "models.SearchGoods": {
  37082. "type": "object",
  37083. "required": [
  37084. "goodscode",
  37085. "goodsid",
  37086. "goodsname",
  37087. "marketid",
  37088. "trademode"
  37089. ],
  37090. "properties": {
  37091. "goodscode": {
  37092. "description": "商品代码(内部)",
  37093. "type": "string"
  37094. },
  37095. "goodsid": {
  37096. "description": "商品ID(自增ID SEQ_GOODS)",
  37097. "type": "integer"
  37098. },
  37099. "goodsname": {
  37100. "description": "商品名称",
  37101. "type": "string"
  37102. },
  37103. "marketid": {
  37104. "description": "所属市场ID",
  37105. "type": "integer"
  37106. },
  37107. "marketname": {
  37108. "description": "市场名称",
  37109. "type": "string"
  37110. },
  37111. "trademode": {
  37112. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37113. "type": "integer"
  37114. }
  37115. }
  37116. },
  37117. "models.SellOrder": {
  37118. "type": "object",
  37119. "properties": {
  37120. "accountid": {
  37121. "description": "资金账号",
  37122. "type": "integer"
  37123. },
  37124. "applyid": {
  37125. "description": "申请单ID",
  37126. "type": "integer"
  37127. },
  37128. "attachment1": {
  37129. "description": "附件1",
  37130. "type": "string"
  37131. },
  37132. "attachment2": {
  37133. "description": "附件2",
  37134. "type": "string"
  37135. },
  37136. "buyorsell": {
  37137. "description": "买卖 - 0:买 1:卖",
  37138. "type": "integer"
  37139. },
  37140. "canbargain": {
  37141. "description": "是否可议价 - 0:不可 1:可",
  37142. "type": "integer"
  37143. },
  37144. "cancelqty": {
  37145. "description": "撤销数量",
  37146. "type": "integer"
  37147. },
  37148. "canceltime": {
  37149. "description": "撤销时间",
  37150. "type": "string"
  37151. },
  37152. "chargealgorithm": {
  37153. "description": "手续费收取方式 1:比率 2:固定",
  37154. "type": "integer"
  37155. },
  37156. "chargealgorithmvalue": {
  37157. "description": "手续费设置值(交易所部分)",
  37158. "type": "number"
  37159. },
  37160. "chargealgorithmvalue2": {
  37161. "description": "手续费设置值(会员部分)",
  37162. "type": "number"
  37163. },
  37164. "clientordertime": {
  37165. "description": "客户端委托时间",
  37166. "type": "string"
  37167. },
  37168. "exchangerate": {
  37169. "description": "汇率[67]",
  37170. "type": "number"
  37171. },
  37172. "firstratio": {
  37173. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  37174. "type": "number"
  37175. },
  37176. "fixedprice": {
  37177. "description": "固定价格 - [挂牌]",
  37178. "type": "number"
  37179. },
  37180. "freezecharge": {
  37181. "description": "冻结手续费",
  37182. "type": "number"
  37183. },
  37184. "freezefirstamount": {
  37185. "description": "冻结首付金额 - [摘牌]",
  37186. "type": "number"
  37187. },
  37188. "freezemargin": {
  37189. "description": "冻结保证金",
  37190. "type": "number"
  37191. },
  37192. "goodsno": {
  37193. "description": "商品编号",
  37194. "type": "string"
  37195. },
  37196. "isQueryDiamond": {
  37197. "description": "是否钻石查询",
  37198. "type": "boolean"
  37199. },
  37200. "isspecified": {
  37201. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  37202. "type": "integer"
  37203. },
  37204. "marginalgorithm": {
  37205. "description": "保证金方式 - 1:比率 2:固定",
  37206. "type": "integer"
  37207. },
  37208. "marginvalue": {
  37209. "description": "保证金设置值",
  37210. "type": "number"
  37211. },
  37212. "marketid": {
  37213. "description": "市场ID",
  37214. "type": "integer"
  37215. },
  37216. "orderamount": {
  37217. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  37218. "type": "number"
  37219. },
  37220. "orderqty": {
  37221. "description": "委托数量",
  37222. "type": "integer"
  37223. },
  37224. "ordertime": {
  37225. "description": "委托时间",
  37226. "type": "string"
  37227. },
  37228. "performancetemplateid": {
  37229. "description": "履约计划模板ID",
  37230. "type": "integer"
  37231. },
  37232. "pricefactor": {
  37233. "description": "价格系数(浮动价时填写) - [挂牌]",
  37234. "type": "number"
  37235. },
  37236. "pricemove": {
  37237. "description": "升贴水(浮动价时填写) - [挂牌]",
  37238. "type": "number"
  37239. },
  37240. "relatedwrtradeorderid": {
  37241. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  37242. "type": "integer"
  37243. },
  37244. "retcode": {
  37245. "description": "错误代码",
  37246. "type": "integer"
  37247. },
  37248. "sellusername": {
  37249. "description": "卖方(查询字段-模糊查询)",
  37250. "type": "string"
  37251. },
  37252. "tradedate": {
  37253. "description": "交易日(yyyyMMdd)",
  37254. "type": "string"
  37255. },
  37256. "tradeprice": {
  37257. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  37258. "type": "number"
  37259. },
  37260. "tradeqty": {
  37261. "description": "成交数量",
  37262. "type": "integer"
  37263. },
  37264. "unfreezecharge": {
  37265. "description": "解冻手续费",
  37266. "type": "number"
  37267. },
  37268. "unfreezefirstamount": {
  37269. "description": "解冻首付金额 - [摘牌]",
  37270. "type": "number"
  37271. },
  37272. "unfreezemargin": {
  37273. "description": "解冻保证金",
  37274. "type": "number"
  37275. },
  37276. "userid": {
  37277. "description": "用户ID",
  37278. "type": "integer"
  37279. },
  37280. "uuid": {
  37281. "description": "发起端唯一id",
  37282. "type": "string"
  37283. },
  37284. "validtime": {
  37285. "description": "有效期限",
  37286. "type": "string"
  37287. },
  37288. "validtype": {
  37289. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  37290. "type": "integer"
  37291. },
  37292. "wrbargainid": {
  37293. "description": "议价申请单ID",
  37294. "type": "integer"
  37295. },
  37296. "wrfactortypeid": {
  37297. "description": "仓单要素类型ID/商品ID(77)",
  37298. "type": "integer"
  37299. },
  37300. "wrpricetype": {
  37301. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  37302. "type": "integer"
  37303. },
  37304. "wrstandardid": {
  37305. "description": "现货商品ID",
  37306. "type": "integer"
  37307. },
  37308. "wrtradeorderid": {
  37309. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37310. "type": "integer"
  37311. },
  37312. "wrtradeorderstatus": {
  37313. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 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:撤单解冻贷款失败",
  37314. "type": "integer"
  37315. },
  37316. "wrtradetype": {
  37317. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37318. "type": "integer"
  37319. },
  37320. "wrtransferuserid": {
  37321. "description": "仓单受让用户 - [摘牌]",
  37322. "type": "integer"
  37323. },
  37324. "zscategory": {
  37325. "description": "钻石分类 - 枚举”ZSCategory“",
  37326. "type": "integer"
  37327. },
  37328. "zscurrencytype": {
  37329. "description": "货币类型 - 枚举“ZSCurrencyType”",
  37330. "type": "integer"
  37331. }
  37332. }
  37333. },
  37334. "models.SellOrderQueryReq": {
  37335. "type": "object",
  37336. "required": [
  37337. "zscategory"
  37338. ],
  37339. "properties": {
  37340. "origin": {
  37341. "description": "原产地",
  37342. "type": "string"
  37343. },
  37344. "page": {
  37345. "description": "页码",
  37346. "type": "integer"
  37347. },
  37348. "pagesize": {
  37349. "description": "每页大小",
  37350. "type": "integer"
  37351. },
  37352. "total": {
  37353. "description": "总条数",
  37354. "type": "integer"
  37355. },
  37356. "warehouseid": {
  37357. "description": "仓库ID",
  37358. "type": "integer"
  37359. },
  37360. "weight1": {
  37361. "description": "总重量(克拉重量)-从",
  37362. "type": "number"
  37363. },
  37364. "weight2": {
  37365. "description": "总重量(克拉重量)-至",
  37366. "type": "number"
  37367. },
  37368. "weightavg1": {
  37369. "description": "平均单颗重量-从",
  37370. "type": "number"
  37371. },
  37372. "weightavg2": {
  37373. "description": "平均单颗重量-至",
  37374. "type": "number"
  37375. },
  37376. "zscategory": {
  37377. "description": "钻石分类 - 枚举”ZSCategory“",
  37378. "type": "integer"
  37379. },
  37380. "zscerttype": {
  37381. "description": "证书类型",
  37382. "type": "array",
  37383. "items": {
  37384. "type": "string"
  37385. }
  37386. },
  37387. "zsclaritytype": {
  37388. "description": "净度",
  37389. "type": "array",
  37390. "items": {
  37391. "type": "integer"
  37392. }
  37393. },
  37394. "zscolortype": {
  37395. "description": "颜色",
  37396. "type": "array",
  37397. "items": {
  37398. "type": "integer"
  37399. }
  37400. },
  37401. "zscurrencytype": {
  37402. "description": "货币类型 - 枚举“ZSCurrencyType”",
  37403. "type": "array",
  37404. "items": {
  37405. "type": "string"
  37406. }
  37407. },
  37408. "zscuttype": {
  37409. "description": "切工",
  37410. "type": "array",
  37411. "items": {
  37412. "type": "integer"
  37413. }
  37414. },
  37415. "zsczcolor1type": {
  37416. "description": "彩钻颜色1",
  37417. "type": "array",
  37418. "items": {
  37419. "type": "string"
  37420. }
  37421. },
  37422. "zsfluorescencetype": {
  37423. "description": "荧光",
  37424. "type": "array",
  37425. "items": {
  37426. "type": "integer"
  37427. }
  37428. },
  37429. "zspolishtype": {
  37430. "description": "抛光度",
  37431. "type": "array",
  37432. "items": {
  37433. "type": "integer"
  37434. }
  37435. },
  37436. "zsshapetype": {
  37437. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  37438. "type": "array",
  37439. "items": {
  37440. "type": "string"
  37441. }
  37442. },
  37443. "zsstyletype": {
  37444. "description": "款式",
  37445. "type": "array",
  37446. "items": {
  37447. "type": "string"
  37448. }
  37449. },
  37450. "zssymmetrytype": {
  37451. "description": "对称度",
  37452. "type": "array",
  37453. "items": {
  37454. "type": "integer"
  37455. }
  37456. }
  37457. }
  37458. },
  37459. "models.Systemparam": {
  37460. "type": "object",
  37461. "required": [
  37462. "paramcode"
  37463. ],
  37464. "properties": {
  37465. "loginid": {
  37466. "description": "更新用户账号,登录账号",
  37467. "type": "string"
  37468. },
  37469. "modifyflag": {
  37470. "description": "修改标志0 不允许修改 1 允许修改",
  37471. "type": "integer"
  37472. },
  37473. "paramcode": {
  37474. "description": "参数代码",
  37475. "type": "string"
  37476. },
  37477. "paramname": {
  37478. "description": "参数名",
  37479. "type": "string"
  37480. },
  37481. "paramtype": {
  37482. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  37483. "type": "integer"
  37484. },
  37485. "paramvalue": {
  37486. "description": "参数值",
  37487. "type": "string"
  37488. },
  37489. "paramvalue2": {
  37490. "description": "参数值(CLOB)",
  37491. "type": "string"
  37492. },
  37493. "regexpress": {
  37494. "description": "正则表达式",
  37495. "type": "string"
  37496. },
  37497. "remark": {
  37498. "description": "备注",
  37499. "type": "string"
  37500. },
  37501. "serverip": {
  37502. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  37503. "type": "string"
  37504. },
  37505. "showflag": {
  37506. "description": "是否显示0 不显示 1 显示",
  37507. "type": "integer"
  37508. },
  37509. "updatetime": {
  37510. "description": "更新时间",
  37511. "type": "string"
  37512. },
  37513. "userid": {
  37514. "description": "更新用户ID",
  37515. "type": "integer"
  37516. }
  37517. }
  37518. },
  37519. "models.Szdz3convertconfig": {
  37520. "type": "object",
  37521. "required": [
  37522. "converttype",
  37523. "innergoodsid",
  37524. "outergoodscode"
  37525. ],
  37526. "properties": {
  37527. "canin": {
  37528. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  37529. "type": "integer"
  37530. },
  37531. "canout": {
  37532. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  37533. "type": "integer"
  37534. },
  37535. "converttype": {
  37536. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  37537. "type": "integer"
  37538. },
  37539. "createtime": {
  37540. "description": "创建时间",
  37541. "type": "string"
  37542. },
  37543. "creatorid": {
  37544. "description": "创建人",
  37545. "type": "integer"
  37546. },
  37547. "daymaxvalue": {
  37548. "description": "当日最大转入限制",
  37549. "type": "number"
  37550. },
  37551. "freezedays": {
  37552. "description": "冻结天数 [5:花生米转交易]",
  37553. "type": "integer"
  37554. },
  37555. "innergoodsid": {
  37556. "description": "内部商品ID[交易]",
  37557. "type": "integer"
  37558. },
  37559. "inratio": {
  37560. "description": "目标值",
  37561. "type": "integer"
  37562. },
  37563. "modifierid": {
  37564. "description": "修改人",
  37565. "type": "integer"
  37566. },
  37567. "modifytime": {
  37568. "description": "修改时间",
  37569. "type": "string"
  37570. },
  37571. "outergoodscode": {
  37572. "description": "外部商品代码[JD\\PD]",
  37573. "type": "string"
  37574. },
  37575. "outratio": {
  37576. "description": "源值",
  37577. "type": "integer"
  37578. },
  37579. "pddecimalplace": {
  37580. "description": "PD小数位",
  37581. "type": "integer"
  37582. },
  37583. "timemaxvalue": {
  37584. "description": "单次最大转入限制",
  37585. "type": "number"
  37586. },
  37587. "timeminvalue": {
  37588. "description": "单次最小转入限制",
  37589. "type": "number"
  37590. }
  37591. }
  37592. },
  37593. "models.Szdz3searchwhitelist": {
  37594. "type": "object",
  37595. "required": [
  37596. "userid"
  37597. ],
  37598. "properties": {
  37599. "createtime": {
  37600. "description": "创建时间",
  37601. "type": "string"
  37602. },
  37603. "creatorid": {
  37604. "description": "创建人",
  37605. "type": "integer"
  37606. },
  37607. "modifierid": {
  37608. "description": "修改人",
  37609. "type": "integer"
  37610. },
  37611. "modifytime": {
  37612. "description": "修改时间",
  37613. "type": "string"
  37614. },
  37615. "userid": {
  37616. "description": "用户ID",
  37617. "type": "integer"
  37618. }
  37619. }
  37620. },
  37621. "models.TBGoods": {
  37622. "type": "object",
  37623. "properties": {
  37624. "agreeunit": {
  37625. "description": "合约乘数",
  37626. "type": "number"
  37627. },
  37628. "enumdicname": {
  37629. "description": "单位名称",
  37630. "type": "string"
  37631. },
  37632. "goodscode": {
  37633. "description": "商品代码(内部)",
  37634. "type": "string"
  37635. },
  37636. "goodsid": {
  37637. "description": "商品ID(自增ID SEQ_GOODS)",
  37638. "type": "integer"
  37639. },
  37640. "goodsname": {
  37641. "description": "商品名称",
  37642. "type": "string"
  37643. }
  37644. }
  37645. },
  37646. "models.TBGoodsGroup": {
  37647. "type": "object",
  37648. "properties": {
  37649. "GDLST": {
  37650. "description": "商品列表",
  37651. "type": "array",
  37652. "items": {
  37653. "$ref": "#/definitions/models.TBGoods"
  37654. }
  37655. },
  37656. "convertratio": {
  37657. "description": "折算系数",
  37658. "type": "number"
  37659. },
  37660. "enumdicname": {
  37661. "description": "单位名称",
  37662. "type": "string"
  37663. },
  37664. "exexchangecode": {
  37665. "description": "交易所代码",
  37666. "type": "string"
  37667. },
  37668. "exexchangename": {
  37669. "description": "交易所名称",
  37670. "type": "string"
  37671. },
  37672. "goodsgroupid": {
  37673. "description": "商品组ID(自增ID)",
  37674. "type": "integer"
  37675. },
  37676. "goodsgroupname": {
  37677. "description": "商品组名称",
  37678. "type": "string"
  37679. },
  37680. "goodunitid": {
  37681. "description": "报价单位ID",
  37682. "type": "integer"
  37683. }
  37684. }
  37685. },
  37686. "models.TBMiddleGoods": {
  37687. "type": "object",
  37688. "properties": {
  37689. "GPLST": {
  37690. "description": "期货品种列表",
  37691. "type": "array",
  37692. "items": {
  37693. "$ref": "#/definitions/models.TBGoodsGroup"
  37694. }
  37695. },
  37696. "WDLST": {
  37697. "description": "商品信息列表(现货品类)",
  37698. "type": "array",
  37699. "items": {
  37700. "$ref": "#/definitions/models.TBWrstandard"
  37701. }
  37702. },
  37703. "areauserid": {
  37704. "description": "机构用户ID",
  37705. "type": "integer"
  37706. },
  37707. "enumdicname": {
  37708. "description": "单位名称",
  37709. "type": "string"
  37710. },
  37711. "goodsunitid": {
  37712. "description": "套保品种单位id",
  37713. "type": "integer"
  37714. },
  37715. "middlegoodscode": {
  37716. "description": "套保品种代码",
  37717. "type": "string"
  37718. },
  37719. "middlegoodsid": {
  37720. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  37721. "type": "integer"
  37722. },
  37723. "middlegoodsname": {
  37724. "description": "套保品种名称",
  37725. "type": "string"
  37726. },
  37727. "needarbitrageratio": {
  37728. "description": "套利比率",
  37729. "type": "number"
  37730. },
  37731. "needhedgeratio": {
  37732. "description": "套保比率",
  37733. "type": "number"
  37734. }
  37735. }
  37736. },
  37737. "models.TBWrstandard": {
  37738. "type": "object",
  37739. "properties": {
  37740. "convertratio": {
  37741. "description": "折算系数",
  37742. "type": "number"
  37743. },
  37744. "deliverygoodsname": {
  37745. "description": "品种名称",
  37746. "type": "string"
  37747. },
  37748. "enumdicname": {
  37749. "description": "单位名称",
  37750. "type": "string"
  37751. },
  37752. "vatrate": {
  37753. "description": "增值税率",
  37754. "type": "number"
  37755. },
  37756. "wrstandardcode": {
  37757. "description": "现货商品代码",
  37758. "type": "string"
  37759. },
  37760. "wrstandardid": {
  37761. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37762. "type": "integer"
  37763. },
  37764. "wrstandardname": {
  37765. "description": "现货商品名称",
  37766. "type": "string"
  37767. }
  37768. }
  37769. },
  37770. "models.Taaccount": {
  37771. "type": "object",
  37772. "required": [
  37773. "accountid",
  37774. "userid"
  37775. ],
  37776. "properties": {
  37777. "accountflag": {
  37778. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  37779. "type": "integer"
  37780. },
  37781. "accountid": {
  37782. "description": "资金账户ID",
  37783. "type": "integer"
  37784. },
  37785. "accountname": {
  37786. "description": "账户名称",
  37787. "type": "string"
  37788. },
  37789. "balance": {
  37790. "description": "期初余额",
  37791. "type": "number"
  37792. },
  37793. "capitalbalance": {
  37794. "description": "本金余额[外部子账户实际出入金余额]",
  37795. "type": "number"
  37796. },
  37797. "changeflag": {
  37798. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37799. "type": "integer"
  37800. },
  37801. "changetime": {
  37802. "description": "账户状态变更时间",
  37803. "type": "string"
  37804. },
  37805. "closepl": {
  37806. "description": "今日平仓盈亏",
  37807. "type": "number"
  37808. },
  37809. "creditdecrease": {
  37810. "description": "今日授信减少",
  37811. "type": "number"
  37812. },
  37813. "creditincrease": {
  37814. "description": "今日授信增加",
  37815. "type": "number"
  37816. },
  37817. "curamount": {
  37818. "description": "总市值(从持仓中统计)",
  37819. "type": "number"
  37820. },
  37821. "currencyid": {
  37822. "description": "货币ID",
  37823. "type": "integer"
  37824. },
  37825. "currentbalance": {
  37826. "description": "期末余额",
  37827. "type": "number"
  37828. },
  37829. "freezecharge": {
  37830. "description": "手续费冻结",
  37831. "type": "number"
  37832. },
  37833. "freezemargin": {
  37834. "description": "冻结保证金",
  37835. "type": "number"
  37836. },
  37837. "fromaccountid": {
  37838. "description": "所属上级账户",
  37839. "type": "integer"
  37840. },
  37841. "inamount": {
  37842. "description": "今日入金金额(包括三方入金)",
  37843. "type": "number"
  37844. },
  37845. "ismain": {
  37846. "description": "是否母账号 0:不是母账户 1:是母账户",
  37847. "type": "integer"
  37848. },
  37849. "ismarketaccount": {
  37850. "description": "是否机构接单账号 0:不是 1:是",
  37851. "type": "integer"
  37852. },
  37853. "isreckonaccount": {
  37854. "description": "是否机构分润账号 0:不是 1:是",
  37855. "type": "integer"
  37856. },
  37857. "mortgagecredit": {
  37858. "description": "授信金额",
  37859. "type": "number"
  37860. },
  37861. "orifreezecharge": {
  37862. "description": "期初手续费冻结",
  37863. "type": "number"
  37864. },
  37865. "orifreezemargin": {
  37866. "description": "期初冻结保证金",
  37867. "type": "number"
  37868. },
  37869. "orimortgagecredit": {
  37870. "description": "期初授信金额",
  37871. "type": "number"
  37872. },
  37873. "oriothercredit": {
  37874. "description": "期初其它授信金额",
  37875. "type": "number"
  37876. },
  37877. "oriotherfreezemargin": {
  37878. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  37879. "type": "number"
  37880. },
  37881. "orioutamountfreeze": {
  37882. "description": "期初出金冻结",
  37883. "type": "number"
  37884. },
  37885. "oriusedmargin": {
  37886. "description": "期初占用保证金",
  37887. "type": "number"
  37888. },
  37889. "othercredit": {
  37890. "description": "其它授信金额",
  37891. "type": "number"
  37892. },
  37893. "othercreditdecrease": {
  37894. "description": "今日其它授信减少",
  37895. "type": "number"
  37896. },
  37897. "othercreditincrease": {
  37898. "description": "今日其它授信增加",
  37899. "type": "number"
  37900. },
  37901. "otherfreezemargin": {
  37902. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  37903. "type": "number"
  37904. },
  37905. "otherincome": {
  37906. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  37907. "type": "number"
  37908. },
  37909. "otherpay": {
  37910. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  37911. "type": "number"
  37912. },
  37913. "outamount": {
  37914. "description": "今日出金金额(包括三方出金)",
  37915. "type": "number"
  37916. },
  37917. "outamountfreeze": {
  37918. "description": "出金冻结",
  37919. "type": "number"
  37920. },
  37921. "outthreshold": {
  37922. "description": "出金阈值",
  37923. "type": "number"
  37924. },
  37925. "parentaccountid": {
  37926. "description": "所属根账号",
  37927. "type": "integer"
  37928. },
  37929. "paycharge": {
  37930. "description": "今日手续费支出",
  37931. "type": "number"
  37932. },
  37933. "relatedaccountstatus": {
  37934. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  37935. "type": "integer"
  37936. },
  37937. "relateduserid": {
  37938. "description": "关联用户",
  37939. "type": "integer"
  37940. },
  37941. "remainamount": {
  37942. "description": "融资额(从融资合同中统计)",
  37943. "type": "number"
  37944. },
  37945. "serivcegroup": {
  37946. "description": "服务分组",
  37947. "type": "integer"
  37948. },
  37949. "signstatus": {
  37950. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  37951. "type": "integer"
  37952. },
  37953. "sublevelpath": {
  37954. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  37955. "type": "string"
  37956. },
  37957. "taaccounttype": {
  37958. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  37959. "type": "integer"
  37960. },
  37961. "thirdinamount": {
  37962. "description": "今日三方入金",
  37963. "type": "number"
  37964. },
  37965. "thirdoutamount": {
  37966. "description": "今日三方出金",
  37967. "type": "number"
  37968. },
  37969. "tradestatus": {
  37970. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  37971. "type": "integer"
  37972. },
  37973. "tradestatuschangetime": {
  37974. "description": "激活时间",
  37975. "type": "string"
  37976. },
  37977. "transferamount": {
  37978. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  37979. "type": "number"
  37980. },
  37981. "usedmargin": {
  37982. "description": "占用保证金",
  37983. "type": "number"
  37984. },
  37985. "userid": {
  37986. "description": "用户ID",
  37987. "type": "integer"
  37988. }
  37989. }
  37990. },
  37991. "models.Tablecolumnconfig": {
  37992. "type": "object",
  37993. "required": [
  37994. "autoid"
  37995. ],
  37996. "properties": {
  37997. "aligntype": {
  37998. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  37999. "type": "integer"
  38000. },
  38001. "autoid": {
  38002. "description": "AutoID",
  38003. "type": "integer"
  38004. },
  38005. "columnfield": {
  38006. "description": "列字段",
  38007. "type": "string"
  38008. },
  38009. "columntitle": {
  38010. "description": "列Title",
  38011. "type": "string"
  38012. },
  38013. "columnwidth": {
  38014. "description": "列宽",
  38015. "type": "string"
  38016. },
  38017. "fixed": {
  38018. "description": "固定类型 - 空 | left | right",
  38019. "type": "string"
  38020. },
  38021. "formatterstring": {
  38022. "description": "格式化字符",
  38023. "type": "string"
  38024. },
  38025. "formattertype": {
  38026. "description": "格式化类型",
  38027. "type": "string"
  38028. },
  38029. "groupname": {
  38030. "description": "表头分组名称",
  38031. "type": "string"
  38032. },
  38033. "ismerge": {
  38034. "description": "是否合并显示 - 0:不合并 1:合并",
  38035. "type": "integer"
  38036. },
  38037. "isshow": {
  38038. "description": "是否显示 - 0:不显示 1:显示",
  38039. "type": "integer"
  38040. },
  38041. "needsummary": {
  38042. "description": "是否需要汇总 - 0:不需要 1:需要",
  38043. "type": "integer"
  38044. },
  38045. "orderindex": {
  38046. "description": "顺序",
  38047. "type": "integer"
  38048. },
  38049. "remark": {
  38050. "description": "备注",
  38051. "type": "string"
  38052. },
  38053. "summarytype": {
  38054. "description": "汇总类型 - 1:加总 2:最后一个",
  38055. "type": "integer"
  38056. },
  38057. "tablekey": {
  38058. "description": "列表Key",
  38059. "type": "string"
  38060. }
  38061. }
  38062. },
  38063. "models.TjmdHolderDetailTradeInfo": {
  38064. "type": "object",
  38065. "properties": {
  38066. "agreeunit": {
  38067. "description": "合约乘数",
  38068. "type": "number"
  38069. },
  38070. "buyaccountid": {
  38071. "description": "买方账户",
  38072. "type": "string"
  38073. },
  38074. "buyusername": {
  38075. "description": "买方",
  38076. "type": "string"
  38077. },
  38078. "delistingdate": {
  38079. "description": "最后结算日",
  38080. "type": "string"
  38081. },
  38082. "expiredate": {
  38083. "description": "到期结算价定价日",
  38084. "type": "string"
  38085. },
  38086. "exprieprice": {
  38087. "description": "到期清算价格",
  38088. "type": "string"
  38089. },
  38090. "goodscode": {
  38091. "description": "商品代码",
  38092. "type": "string"
  38093. },
  38094. "goodsid": {
  38095. "description": "商品ID",
  38096. "type": "integer"
  38097. },
  38098. "goodsname": {
  38099. "description": "商品名称(交易标的)",
  38100. "type": "string"
  38101. },
  38102. "lasttradedate": {
  38103. "description": "最后交易日",
  38104. "type": "string"
  38105. },
  38106. "listingdate": {
  38107. "description": "开始交易日",
  38108. "type": "string"
  38109. },
  38110. "openprice": {
  38111. "description": "成交价",
  38112. "type": "number"
  38113. },
  38114. "openqty": {
  38115. "description": "交易数量",
  38116. "type": "integer"
  38117. },
  38118. "sellaccountid": {
  38119. "description": "卖方账户",
  38120. "type": "string"
  38121. },
  38122. "sellusername": {
  38123. "description": "卖方",
  38124. "type": "string"
  38125. },
  38126. "tradeamount": {
  38127. "description": "初始名义价值",
  38128. "type": "number"
  38129. },
  38130. "tradedate": {
  38131. "description": "成交日期",
  38132. "type": "string"
  38133. },
  38134. "tradeid": {
  38135. "description": "成交编号",
  38136. "type": "string"
  38137. }
  38138. }
  38139. },
  38140. "models.TjmdMarketSection": {
  38141. "type": "object",
  38142. "properties": {
  38143. "marketsectionid": {
  38144. "description": "市场版块ID(SEQ_MARKETSECTION)",
  38145. "type": "integer"
  38146. },
  38147. "marketsectionname": {
  38148. "description": "市场版块名称",
  38149. "type": "string"
  38150. },
  38151. "mlist": {
  38152. "description": "市场列表(板块下面有多少个市场)",
  38153. "type": "array",
  38154. "items": {
  38155. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  38156. }
  38157. },
  38158. "orderindex": {
  38159. "description": "排序",
  38160. "type": "integer"
  38161. },
  38162. "pictureurl": {
  38163. "description": "图片url, 规格(90*90)",
  38164. "type": "string"
  38165. },
  38166. "remark": {
  38167. "description": "备注",
  38168. "type": "string"
  38169. }
  38170. }
  38171. },
  38172. "models.TjmdMarketSectionConfig": {
  38173. "type": "object",
  38174. "properties": {
  38175. "auctionwrtype": {
  38176. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  38177. "type": "integer"
  38178. },
  38179. "canacceptquote": {
  38180. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  38181. "type": "integer"
  38182. },
  38183. "cangoodsexercise": {
  38184. "description": "[期权]是否可现货行权- 0:否 1:是",
  38185. "type": "integer"
  38186. },
  38187. "cangoodsexercisetype": {
  38188. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  38189. "type": "integer"
  38190. },
  38191. "canmanualquotestrike": {
  38192. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  38193. "type": "integer"
  38194. },
  38195. "canmutistage": {
  38196. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  38197. "type": "integer"
  38198. },
  38199. "canpreexercise": {
  38200. "description": "[期权]是否可预申报- 0:否 1:是",
  38201. "type": "integer"
  38202. },
  38203. "clearinterval": {
  38204. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  38205. "type": "integer"
  38206. },
  38207. "contracttmp": {
  38208. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  38209. "type": "string"
  38210. },
  38211. "exchareaid": {
  38212. "description": "所属交易所,可以没有",
  38213. "type": "integer"
  38214. },
  38215. "financemarketid": {
  38216. "description": "融资回购市场ID [仓单贸易]",
  38217. "type": "integer"
  38218. },
  38219. "goodstype": {
  38220. "description": "商品类型 - 1:交易商品 2:仓单商品",
  38221. "type": "integer"
  38222. },
  38223. "hasrebate": {
  38224. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  38225. "type": "integer"
  38226. },
  38227. "hastradecredit": {
  38228. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  38229. "type": "integer"
  38230. },
  38231. "haswr": {
  38232. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  38233. "type": "integer"
  38234. },
  38235. "isdeductmargin": {
  38236. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  38237. "type": "integer"
  38238. },
  38239. "isrecordsource": {
  38240. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  38241. "type": "integer"
  38242. },
  38243. "isreleasemargin": {
  38244. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  38245. "type": "integer"
  38246. },
  38247. "isupdatereckonprice": {
  38248. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  38249. "type": "integer"
  38250. },
  38251. "listingmode": {
  38252. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  38253. "type": "integer"
  38254. },
  38255. "marginformula": {
  38256. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  38257. "type": "integer"
  38258. },
  38259. "marginformula2": {
  38260. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  38261. "type": "integer"
  38262. },
  38263. "marketid": {
  38264. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  38265. "type": "integer"
  38266. },
  38267. "marketname": {
  38268. "description": "市场名称",
  38269. "type": "string"
  38270. },
  38271. "marketsectionid": {
  38272. "description": "市场版块ID(SEQ_MARKETSECTION)",
  38273. "type": "integer"
  38274. },
  38275. "marketserviceid": {
  38276. "description": "市场服务ID",
  38277. "type": "integer"
  38278. },
  38279. "marketstatus": {
  38280. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  38281. "type": "integer"
  38282. },
  38283. "markettype": {
  38284. "description": "市场类型- 1:非交易服务 2:交易服务",
  38285. "type": "integer"
  38286. },
  38287. "matchermode": {
  38288. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  38289. "type": "integer"
  38290. },
  38291. "nowrquotaflag": {
  38292. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  38293. "type": "integer"
  38294. },
  38295. "openmethod": {
  38296. "description": "开盘模式 - 0 自动 1手动",
  38297. "type": "integer"
  38298. },
  38299. "orderindex": {
  38300. "description": "排序",
  38301. "type": "integer"
  38302. },
  38303. "otcuserid": {
  38304. "description": "场外期权做市商[场外期权]",
  38305. "type": "integer"
  38306. },
  38307. "outersynctime": {
  38308. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  38309. "type": "string"
  38310. },
  38311. "paylaterflag": {
  38312. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  38313. "type": "integer"
  38314. },
  38315. "pendingflag": {
  38316. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  38317. "type": "integer"
  38318. },
  38319. "pendingtime": {
  38320. "description": "待开市时间[通道交易-对冲](HH:mm)",
  38321. "type": "string"
  38322. },
  38323. "performancetempid": {
  38324. "description": "履约计划模板ID - 作废",
  38325. "type": "integer"
  38326. },
  38327. "premiumquotemode": {
  38328. "description": "权利金报价方式 - 1:自动 2:手动",
  38329. "type": "integer"
  38330. },
  38331. "rebateratio": {
  38332. "description": "返利比率[竞价式]",
  38333. "type": "number"
  38334. },
  38335. "reckonorder": {
  38336. "description": "结算顺序",
  38337. "type": "integer"
  38338. },
  38339. "reckonpricealgorithm": {
  38340. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  38341. "type": "integer"
  38342. },
  38343. "reckonpriceparam": {
  38344. "description": "结算价参数",
  38345. "type": "integer"
  38346. },
  38347. "reckontime": {
  38348. "description": "结算时间[通道交易-对冲](HH:mm)",
  38349. "type": "string"
  38350. },
  38351. "roleprioritytype": {
  38352. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  38353. "type": "integer"
  38354. },
  38355. "selllistingauditflag": {
  38356. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  38357. "type": "integer"
  38358. },
  38359. "trademarkettype": {
  38360. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  38361. "type": "integer"
  38362. },
  38363. "trademode": {
  38364. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  38365. "type": "integer"
  38366. },
  38367. "tradeproperty": {
  38368. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  38369. "type": "integer"
  38370. },
  38371. "tradetype": {
  38372. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  38373. "type": "integer"
  38374. },
  38375. "updatereckonpriceinterval": {
  38376. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  38377. "type": "integer"
  38378. }
  38379. }
  38380. },
  38381. "models.TjmdQuoteGoods": {
  38382. "type": "object",
  38383. "properties": {
  38384. "buyqty": {
  38385. "description": "买量(暂不做, 无值, 保留字段)",
  38386. "type": "number"
  38387. },
  38388. "decimalplace": {
  38389. "description": "报价小数位",
  38390. "type": "integer"
  38391. },
  38392. "goodscode": {
  38393. "description": "合约代码",
  38394. "type": "string"
  38395. },
  38396. "goodsgroupid": {
  38397. "description": "商品组ID(自增ID)",
  38398. "type": "integer"
  38399. },
  38400. "goodsgroupname": {
  38401. "description": "商品组名称",
  38402. "type": "string"
  38403. },
  38404. "goodsid": {
  38405. "description": "合约id",
  38406. "type": "integer"
  38407. },
  38408. "goodsname": {
  38409. "description": "合约名称",
  38410. "type": "string"
  38411. },
  38412. "refgoodscode": {
  38413. "description": "标的合约代码",
  38414. "type": "string"
  38415. },
  38416. "refgoodsid": {
  38417. "description": "标的合约id",
  38418. "type": "integer"
  38419. },
  38420. "refgoodsname": {
  38421. "description": "标的合约名称",
  38422. "type": "string"
  38423. },
  38424. "sellqty": {
  38425. "description": "卖量(暂不做, 无值, 保留字段)",
  38426. "type": "number"
  38427. }
  38428. }
  38429. },
  38430. "models.TjmdTodayAccountMargin": {
  38431. "type": "object",
  38432. "properties": {
  38433. "accountid": {
  38434. "description": "账号ID",
  38435. "type": "integer"
  38436. },
  38437. "goodsid": {
  38438. "description": "商品ID",
  38439. "type": "integer"
  38440. },
  38441. "infoc": {
  38442. "description": "配置参数",
  38443. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  38444. },
  38445. "marketid": {
  38446. "description": "市场ID",
  38447. "type": "integer"
  38448. }
  38449. }
  38450. },
  38451. "models.TjmdTradeOrderDetail": {
  38452. "type": "object",
  38453. "properties": {
  38454. "buyorsell": {
  38455. "description": "买卖方向 0-买 1-卖",
  38456. "type": "integer"
  38457. },
  38458. "goodsid": {
  38459. "description": "商品id",
  38460. "type": "integer"
  38461. },
  38462. "marketmaxsub": {
  38463. "description": "市价最大偏移范围 [浮动价 - 点差]",
  38464. "type": "number"
  38465. },
  38466. "orderid": {
  38467. "description": "委托单号",
  38468. "type": "string"
  38469. },
  38470. "orderprice": {
  38471. "description": "期初均价",
  38472. "type": "number"
  38473. },
  38474. "orderqty": {
  38475. "description": "委托数量",
  38476. "type": "integer"
  38477. },
  38478. "pricemode": {
  38479. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  38480. "type": "integer"
  38481. },
  38482. "userid": {
  38483. "description": "用户id",
  38484. "type": "integer"
  38485. },
  38486. "username": {
  38487. "description": "用户名称(已脱敏)",
  38488. "type": "string"
  38489. }
  38490. }
  38491. },
  38492. "models.TjmdTransferApply": {
  38493. "type": "object",
  38494. "properties": {
  38495. "applyid": {
  38496. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  38497. "type": "integer"
  38498. },
  38499. "applystatus": {
  38500. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  38501. "type": "integer"
  38502. },
  38503. "applytime": {
  38504. "description": "申请时间(时间)",
  38505. "type": "string"
  38506. },
  38507. "auditremark": {
  38508. "description": "审核备注(拒绝原因?)",
  38509. "type": "string"
  38510. },
  38511. "begindate": {
  38512. "description": "开始交易日(yyyymmdd)",
  38513. "type": "string"
  38514. },
  38515. "buyorsell": {
  38516. "description": "买卖 - 0:买 1:卖",
  38517. "type": "integer"
  38518. },
  38519. "enddate": {
  38520. "description": "结束交易日(yyyymmdd)",
  38521. "type": "string"
  38522. },
  38523. "goodscode": {
  38524. "description": "商品代码",
  38525. "type": "string"
  38526. },
  38527. "goodsid": {
  38528. "description": "商品ID",
  38529. "type": "integer"
  38530. },
  38531. "goodsname": {
  38532. "description": "商品名称",
  38533. "type": "string"
  38534. },
  38535. "marketid": {
  38536. "description": "市场ID",
  38537. "type": "integer"
  38538. },
  38539. "qty": {
  38540. "description": "期初均价",
  38541. "type": "number"
  38542. },
  38543. "tradeid": {
  38544. "description": "成交单号(关联持仓)",
  38545. "type": "string"
  38546. },
  38547. "transferamount": {
  38548. "description": "转让总金额(金额)",
  38549. "type": "number"
  38550. },
  38551. "transferprice": {
  38552. "description": "转让价格(协议价格)",
  38553. "type": "number"
  38554. }
  38555. }
  38556. },
  38557. "models.TradeHolderDetail": {
  38558. "type": "object",
  38559. "properties": {
  38560. "accountid": {
  38561. "description": "账号ID",
  38562. "type": "integer"
  38563. },
  38564. "agreeunit": {
  38565. "description": "合约乘数",
  38566. "type": "number"
  38567. },
  38568. "buyorsell": {
  38569. "description": "方向 - 0:买 1:卖",
  38570. "type": "integer"
  38571. },
  38572. "currencyid": {
  38573. "description": "商品币种id",
  38574. "type": "integer"
  38575. },
  38576. "currencyname": {
  38577. "description": "币种名称",
  38578. "type": "string"
  38579. },
  38580. "decimalplace": {
  38581. "description": "商品价格小数位",
  38582. "type": "integer"
  38583. },
  38584. "enumdicname": {
  38585. "description": "商品单位名称",
  38586. "type": "string"
  38587. },
  38588. "expirecycle": {
  38589. "description": "行权周期(天) - 1:滚动行权时填写",
  38590. "type": "integer"
  38591. },
  38592. "expiredate": {
  38593. "description": "行权日(yyyyMMdd) - 到期日",
  38594. "type": "string"
  38595. },
  38596. "expiretype": {
  38597. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  38598. "type": "integer"
  38599. },
  38600. "freezeqty": {
  38601. "description": "期初均价",
  38602. "type": "number"
  38603. },
  38604. "goodscode": {
  38605. "description": "商品代码",
  38606. "type": "string"
  38607. },
  38608. "goodsid": {
  38609. "description": "商品ID",
  38610. "type": "integer"
  38611. },
  38612. "goodsname": {
  38613. "description": "商品名称",
  38614. "type": "string"
  38615. },
  38616. "goodunitid": {
  38617. "description": "商品单位id",
  38618. "type": "integer"
  38619. },
  38620. "holderamount": {
  38621. "description": "持仓金额",
  38622. "type": "number"
  38623. },
  38624. "holdercredit": {
  38625. "description": "持仓授信金额",
  38626. "type": "number"
  38627. },
  38628. "holderdays": {
  38629. "description": "剩余冻结天数",
  38630. "type": "integer"
  38631. },
  38632. "holderprice": {
  38633. "description": "持仓价格",
  38634. "type": "number"
  38635. },
  38636. "holderqty": {
  38637. "description": "期初均价",
  38638. "type": "number"
  38639. },
  38640. "isconfirmexercise": {
  38641. "description": "是否确认行权- 0:否 1:是",
  38642. "type": "integer"
  38643. },
  38644. "ispreexercise": {
  38645. "description": "是否预申报- 0:否 1:是 2:不可行权",
  38646. "type": "integer"
  38647. },
  38648. "marketid": {
  38649. "description": "市场id",
  38650. "type": "integer"
  38651. },
  38652. "marketname": {
  38653. "description": "市场名称",
  38654. "type": "string"
  38655. },
  38656. "openprice": {
  38657. "description": "建仓价格",
  38658. "type": "number"
  38659. },
  38660. "openqty": {
  38661. "description": "期初均价",
  38662. "type": "number"
  38663. },
  38664. "optiontype": {
  38665. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38666. "type": "integer"
  38667. },
  38668. "preexerciseprice": {
  38669. "description": "预申报价格",
  38670. "type": "number"
  38671. },
  38672. "premium": {
  38673. "description": "权利金",
  38674. "type": "number"
  38675. },
  38676. "qtydecimalplace": {
  38677. "description": "商品成交量小数位",
  38678. "type": "integer"
  38679. },
  38680. "refgoodscode": {
  38681. "description": "标的合约代码",
  38682. "type": "string"
  38683. },
  38684. "refgoodsid": {
  38685. "description": "标的合约id",
  38686. "type": "integer"
  38687. },
  38688. "releaseamount": {
  38689. "description": "释放持仓金额",
  38690. "type": "number"
  38691. },
  38692. "releaseholdercredit": {
  38693. "description": "释放持仓授信金额",
  38694. "type": "number"
  38695. },
  38696. "taname": {
  38697. "description": "资金账号名称",
  38698. "type": "string"
  38699. },
  38700. "tradeamount": {
  38701. "description": "成交金额",
  38702. "type": "number"
  38703. },
  38704. "tradedate": {
  38705. "description": "交易日(yyyyMMdd)",
  38706. "type": "string"
  38707. },
  38708. "tradeid": {
  38709. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38710. "type": "string"
  38711. },
  38712. "trademode": {
  38713. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  38714. "type": "integer"
  38715. },
  38716. "tradeproperty": {
  38717. "description": "交易属性",
  38718. "type": "integer"
  38719. },
  38720. "tradetime": {
  38721. "description": "交易时间",
  38722. "type": "string"
  38723. },
  38724. "userid": {
  38725. "description": "用户id",
  38726. "type": "integer"
  38727. },
  38728. "username": {
  38729. "description": "用户名称",
  38730. "type": "string"
  38731. }
  38732. }
  38733. },
  38734. "models.Unlinkermcphedgeplan": {
  38735. "type": "object",
  38736. "required": [
  38737. "areauserid"
  38738. ],
  38739. "properties": {
  38740. "accountid": {
  38741. "description": "期货账户ID - 作废",
  38742. "type": "integer"
  38743. },
  38744. "accountname": {
  38745. "description": "交易用户",
  38746. "type": "string"
  38747. },
  38748. "applyid": {
  38749. "description": "申请人",
  38750. "type": "integer"
  38751. },
  38752. "applysrc": {
  38753. "description": "申请来源 - 1:管理端 2:终端",
  38754. "type": "integer"
  38755. },
  38756. "applytime": {
  38757. "description": "申请时间",
  38758. "type": "string"
  38759. },
  38760. "areauserid": {
  38761. "description": "[企业ID]机构ID",
  38762. "type": "integer"
  38763. },
  38764. "auditid": {
  38765. "description": "审核人",
  38766. "type": "integer"
  38767. },
  38768. "auditremark": {
  38769. "description": "审核备注",
  38770. "type": "string"
  38771. },
  38772. "auditsrc": {
  38773. "description": "审核来源 - 1:管理端 2:终端",
  38774. "type": "integer"
  38775. },
  38776. "audittime": {
  38777. "description": "审核时间",
  38778. "type": "string"
  38779. },
  38780. "audittradedate": {
  38781. "description": "审核交易日(yyyyMMdd)",
  38782. "type": "string"
  38783. },
  38784. "biztype": {
  38785. "description": "业务类型 - 1:套保",
  38786. "type": "integer"
  38787. },
  38788. "contracttype": {
  38789. "description": "计划类型 - 1:采购 -1:销售",
  38790. "type": "integer"
  38791. },
  38792. "convertfactor": {
  38793. "description": "标仓系数 - 作废",
  38794. "type": "number"
  38795. },
  38796. "createtime": {
  38797. "description": "创建时间",
  38798. "type": "string"
  38799. },
  38800. "currencyid": {
  38801. "description": "结算币种ID - 作废",
  38802. "type": "integer"
  38803. },
  38804. "deliverygoodsid": {
  38805. "description": "现货品种ID",
  38806. "type": "integer"
  38807. },
  38808. "enumdicname": {
  38809. "description": "结算币种",
  38810. "type": "string"
  38811. },
  38812. "hedgeplanid": {
  38813. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  38814. "type": "string"
  38815. },
  38816. "hedgeplanno": {
  38817. "description": "[计划编号]套保计划编号,模糊查询",
  38818. "type": "string"
  38819. },
  38820. "hedgeplanstatus": {
  38821. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  38822. "type": "integer"
  38823. },
  38824. "isrelated": {
  38825. "description": "是否已关联计划项目 - 0:否 1:是",
  38826. "type": "integer"
  38827. },
  38828. "planqty": {
  38829. "description": "[计划量]计划数量",
  38830. "type": "number"
  38831. },
  38832. "plantime": {
  38833. "description": "计划时间",
  38834. "type": "string"
  38835. },
  38836. "producttype": {
  38837. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  38838. "type": "integer"
  38839. },
  38840. "remark": {
  38841. "description": "备注",
  38842. "type": "string"
  38843. },
  38844. "spotgoodsdesc": {
  38845. "description": "商品型号",
  38846. "type": "string"
  38847. },
  38848. "tradedate": {
  38849. "description": "交易日(yyyyMMdd)",
  38850. "type": "string"
  38851. },
  38852. "tradeuserid": {
  38853. "description": "交易用户ID",
  38854. "type": "integer"
  38855. },
  38856. "updatetime": {
  38857. "description": "更新时间",
  38858. "type": "string"
  38859. },
  38860. "wrstandardid": {
  38861. "description": "现货商品ID",
  38862. "type": "integer"
  38863. },
  38864. "wrstandardname": {
  38865. "description": "现货商品,模糊查询",
  38866. "type": "string"
  38867. }
  38868. }
  38869. },
  38870. "models.UserCollectConfig": {
  38871. "type": "object",
  38872. "properties": {
  38873. "accountstatus": {
  38874. "description": "账户状态 - 1:正常 2:停用 3:注销",
  38875. "type": "integer"
  38876. },
  38877. "collectaccountname": {
  38878. "description": "收款人账户名称",
  38879. "type": "string"
  38880. },
  38881. "collectaccountno": {
  38882. "description": "收款人账户",
  38883. "type": "string"
  38884. },
  38885. "collectbankname": {
  38886. "description": "收款人开户行",
  38887. "type": "string"
  38888. },
  38889. "collectbranchbankname": {
  38890. "description": "收款人开户支行",
  38891. "type": "string"
  38892. },
  38893. "collectconfigid": {
  38894. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  38895. "type": "string"
  38896. },
  38897. "remark": {
  38898. "description": "备注",
  38899. "type": "string"
  38900. },
  38901. "userid": {
  38902. "description": "收款人用户ID",
  38903. "type": "integer"
  38904. }
  38905. }
  38906. },
  38907. "models.UserReceiveInfo": {
  38908. "type": "object",
  38909. "properties": {
  38910. "address": {
  38911. "description": "提货人详细地址",
  38912. "type": "string"
  38913. },
  38914. "autoid": {
  38915. "description": "AutoID",
  38916. "type": "integer"
  38917. },
  38918. "cardnum": {
  38919. "description": "证件号码(加密存储)",
  38920. "type": "string"
  38921. },
  38922. "cardtypeid": {
  38923. "description": "证件类型",
  38924. "type": "integer"
  38925. },
  38926. "cityid": {
  38927. "description": "市",
  38928. "type": "integer"
  38929. },
  38930. "cityname": {
  38931. "description": "城市名称",
  38932. "type": "string"
  38933. },
  38934. "countryid": {
  38935. "description": "国家",
  38936. "type": "integer"
  38937. },
  38938. "countryname": {
  38939. "description": "国家名称",
  38940. "type": "string"
  38941. },
  38942. "districtid": {
  38943. "description": "地区",
  38944. "type": "integer"
  38945. },
  38946. "districtname": {
  38947. "description": "地区名称",
  38948. "type": "string"
  38949. },
  38950. "hasencrypt": {
  38951. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38952. "type": "integer"
  38953. },
  38954. "isdefault": {
  38955. "description": "是否默认地址 - 0:否 1:是",
  38956. "type": "integer"
  38957. },
  38958. "phonenum": {
  38959. "description": "提货人联系方式(加密存储)",
  38960. "type": "string"
  38961. },
  38962. "provinceid": {
  38963. "description": "省",
  38964. "type": "integer"
  38965. },
  38966. "provincename": {
  38967. "description": "省名称",
  38968. "type": "string"
  38969. },
  38970. "receivername": {
  38971. "description": "提货人姓名",
  38972. "type": "string"
  38973. },
  38974. "takeremark": {
  38975. "description": "提货备注",
  38976. "type": "string"
  38977. },
  38978. "userid": {
  38979. "description": "用户ID",
  38980. "type": "integer"
  38981. }
  38982. }
  38983. },
  38984. "models.Useraccount": {
  38985. "type": "object",
  38986. "required": [
  38987. "userid"
  38988. ],
  38989. "properties": {
  38990. "accountname": {
  38991. "description": "账户名称(机构名称)",
  38992. "type": "string"
  38993. },
  38994. "accountstatus": {
  38995. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  38996. "type": "integer"
  38997. },
  38998. "applysrc": {
  38999. "description": "申请来源 - 1:管理端 2:终端",
  39000. "type": "integer"
  39001. },
  39002. "auditremark": {
  39003. "description": "审核备注",
  39004. "type": "string"
  39005. },
  39006. "auditsrc": {
  39007. "description": "审核来源 - 1:管理端 2:终端",
  39008. "type": "integer"
  39009. },
  39010. "audittime": {
  39011. "description": "审核时间",
  39012. "type": "string"
  39013. },
  39014. "audituserid": {
  39015. "description": "审核人",
  39016. "type": "integer"
  39017. },
  39018. "broker": {
  39019. "description": "所属经纪人ID",
  39020. "type": "integer"
  39021. },
  39022. "canceltime": {
  39023. "description": "销户时间",
  39024. "type": "string"
  39025. },
  39026. "canceluserid": {
  39027. "description": "销户人",
  39028. "type": "integer"
  39029. },
  39030. "canrecommend": {
  39031. "description": "是否可推荐 - 0:不可 1;可",
  39032. "type": "integer"
  39033. },
  39034. "createtime": {
  39035. "description": "创建时间",
  39036. "type": "string"
  39037. },
  39038. "creatorid": {
  39039. "description": "创建人",
  39040. "type": "integer"
  39041. },
  39042. "hasauth": {
  39043. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  39044. "type": "integer"
  39045. },
  39046. "isanonymous": {
  39047. "description": "是否匿名下单 - 0:否 1:是",
  39048. "type": "integer"
  39049. },
  39050. "maxinvestornum": {
  39051. "description": "最大用户数(经纪会员下投资者个数)",
  39052. "type": "integer"
  39053. },
  39054. "memberuserid": {
  39055. "description": "所属会员ID",
  39056. "type": "integer"
  39057. },
  39058. "modifierid": {
  39059. "description": "修改人",
  39060. "type": "integer"
  39061. },
  39062. "modifyremark": {
  39063. "description": "变更备注",
  39064. "type": "string"
  39065. },
  39066. "modifystatus": {
  39067. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  39068. "type": "integer"
  39069. },
  39070. "modifytime": {
  39071. "description": "修改时间",
  39072. "type": "string"
  39073. },
  39074. "parenttopuser": {
  39075. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  39076. "type": "string"
  39077. },
  39078. "parentuserid": {
  39079. "description": "所属机构ID",
  39080. "type": "integer"
  39081. },
  39082. "reckonaccountid": {
  39083. "description": "默认结算资金账号ID(机构分润使用) 作废",
  39084. "type": "integer"
  39085. },
  39086. "refercount": {
  39087. "description": "推荐总人数",
  39088. "type": "integer"
  39089. },
  39090. "refereeuserid": {
  39091. "description": "推荐人ID",
  39092. "type": "integer"
  39093. },
  39094. "refernum": {
  39095. "description": "推荐码",
  39096. "type": "string"
  39097. },
  39098. "rootuserid": {
  39099. "description": "根用户ID",
  39100. "type": "integer"
  39101. },
  39102. "subaccountlevel": {
  39103. "description": "子账户层数",
  39104. "type": "integer"
  39105. },
  39106. "subarealevelpath": {
  39107. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  39108. "type": "string"
  39109. },
  39110. "userid": {
  39111. "description": "用户ID",
  39112. "type": "integer"
  39113. },
  39114. "usertype": {
  39115. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  39116. "type": "integer"
  39117. }
  39118. }
  39119. },
  39120. "models.Userfavoritegoods": {
  39121. "type": "object",
  39122. "required": [
  39123. "goodsid"
  39124. ],
  39125. "properties": {
  39126. "goodsid": {
  39127. "description": "商品ID",
  39128. "type": "integer"
  39129. }
  39130. }
  39131. },
  39132. "models.Userinfo": {
  39133. "type": "object",
  39134. "required": [
  39135. "userid"
  39136. ],
  39137. "properties": {
  39138. "address": {
  39139. "description": "地址",
  39140. "type": "string"
  39141. },
  39142. "attachment1": {
  39143. "description": "附件1",
  39144. "type": "string"
  39145. },
  39146. "attachment2": {
  39147. "description": "附件2",
  39148. "type": "string"
  39149. },
  39150. "bankaccount": {
  39151. "description": "银行帐号 (加密存储)",
  39152. "type": "string"
  39153. },
  39154. "bankaccountname": {
  39155. "description": "收款人名称",
  39156. "type": "string"
  39157. },
  39158. "bankcardfrontphotourl": {
  39159. "description": "银行卡正面照地址",
  39160. "type": "string"
  39161. },
  39162. "bankid": {
  39163. "description": "银行编码",
  39164. "type": "string"
  39165. },
  39166. "bankname": {
  39167. "description": "银行名称",
  39168. "type": "string"
  39169. },
  39170. "biznature": {
  39171. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39172. "type": "integer"
  39173. },
  39174. "bizscope": {
  39175. "description": "企业经营范围(企业)",
  39176. "type": "string"
  39177. },
  39178. "cardbackphotourl": {
  39179. "description": "证件背面图片地址",
  39180. "type": "string"
  39181. },
  39182. "cardfrontphotourl": {
  39183. "description": "证件正面图片地址",
  39184. "type": "string"
  39185. },
  39186. "cardnum": {
  39187. "description": "证件号码(加密存储)",
  39188. "type": "string"
  39189. },
  39190. "cardtypeid": {
  39191. "description": "证件类型ID",
  39192. "type": "integer"
  39193. },
  39194. "cityid": {
  39195. "description": "市",
  39196. "type": "integer"
  39197. },
  39198. "company": {
  39199. "description": "公司(个人)",
  39200. "type": "string"
  39201. },
  39202. "contactname": {
  39203. "description": "联系人",
  39204. "type": "string"
  39205. },
  39206. "countryid": {
  39207. "description": "国家",
  39208. "type": "integer"
  39209. },
  39210. "createtime": {
  39211. "description": "创建时间",
  39212. "type": "string"
  39213. },
  39214. "creatorid": {
  39215. "description": "创建人",
  39216. "type": "integer"
  39217. },
  39218. "customername": {
  39219. "description": "客户名称(企业名称)",
  39220. "type": "string"
  39221. },
  39222. "districtid": {
  39223. "description": "地区",
  39224. "type": "integer"
  39225. },
  39226. "email": {
  39227. "description": "邮件(加密存储)",
  39228. "type": "string"
  39229. },
  39230. "fax": {
  39231. "description": "传真(加密存储)",
  39232. "type": "string"
  39233. },
  39234. "halfbodyphotourl": {
  39235. "description": "半身照地址",
  39236. "type": "string"
  39237. },
  39238. "hasencrypt": {
  39239. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39240. "type": "integer"
  39241. },
  39242. "headurl": {
  39243. "description": "头像地址",
  39244. "type": "string"
  39245. },
  39246. "legalcardbackphotourl": {
  39247. "description": "法人身份证背面照地址",
  39248. "type": "string"
  39249. },
  39250. "legalcardfrontphotourl": {
  39251. "description": "法人身份证正面照地址",
  39252. "type": "string"
  39253. },
  39254. "legalpersonname": {
  39255. "description": "法人姓名(企业)",
  39256. "type": "string"
  39257. },
  39258. "mobile": {
  39259. "description": "手机号码(加密存储)",
  39260. "type": "string"
  39261. },
  39262. "mobile2": {
  39263. "description": "手机号码[明文-尚志]",
  39264. "type": "string"
  39265. },
  39266. "modifierid": {
  39267. "description": "修改人",
  39268. "type": "integer"
  39269. },
  39270. "modifiertime": {
  39271. "description": "修改时间",
  39272. "type": "string"
  39273. },
  39274. "needinvoice": {
  39275. "description": "是否需要发票 - 0:不需要 1:需要",
  39276. "type": "integer"
  39277. },
  39278. "nickname": {
  39279. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  39280. "type": "string"
  39281. },
  39282. "openmode": {
  39283. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  39284. "type": "integer"
  39285. },
  39286. "otherurl": {
  39287. "description": "其它图片地址[使用分号分隔]",
  39288. "type": "string"
  39289. },
  39290. "postalcode": {
  39291. "description": "邮政编码",
  39292. "type": "string"
  39293. },
  39294. "provinceid": {
  39295. "description": "省",
  39296. "type": "integer"
  39297. },
  39298. "qq": {
  39299. "description": "QQ(加密存储",
  39300. "type": "string"
  39301. },
  39302. "remark": {
  39303. "description": "备注",
  39304. "type": "string"
  39305. },
  39306. "sex": {
  39307. "description": "用户性别 0: 女 1: 男",
  39308. "type": "integer"
  39309. },
  39310. "signpdfurl": {
  39311. "description": "签约pdf文件",
  39312. "type": "string"
  39313. },
  39314. "telphone": {
  39315. "description": "联系电话(加密存储)",
  39316. "type": "string"
  39317. },
  39318. "userid": {
  39319. "description": "用户ID",
  39320. "type": "integer"
  39321. },
  39322. "userinfotype": {
  39323. "description": "用户信息类型 - 1:个人 2:企业",
  39324. "type": "integer"
  39325. },
  39326. "userstatus": {
  39327. "description": "用户状态 - 1:正常 2:注销",
  39328. "type": "integer"
  39329. },
  39330. "usertype": {
  39331. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  39332. "type": "integer"
  39333. },
  39334. "wechat": {
  39335. "description": "微信(加密存储)",
  39336. "type": "string"
  39337. },
  39338. "wskhinfo": {
  39339. "description": "开户申请信息(JSON)",
  39340. "type": "string"
  39341. }
  39342. }
  39343. },
  39344. "models.WRSConverTDetail": {
  39345. "type": "object",
  39346. "properties": {
  39347. "convertratio": {
  39348. "description": "套保系数",
  39349. "type": "number"
  39350. },
  39351. "deliverygoodscode": {
  39352. "description": "现货商品代码",
  39353. "type": "string"
  39354. },
  39355. "deliverygoodsid": {
  39356. "description": "现货品种ID",
  39357. "type": "integer"
  39358. },
  39359. "deliverygoodsname": {
  39360. "description": "现货商品名称",
  39361. "type": "string"
  39362. },
  39363. "enumdicname": {
  39364. "description": "单位名称",
  39365. "type": "string"
  39366. },
  39367. "goodsunitid": {
  39368. "description": "套保品种单位id",
  39369. "type": "integer"
  39370. },
  39371. "middlegoodscode": {
  39372. "description": "套保品种代码",
  39373. "type": "string"
  39374. },
  39375. "middlegoodsid": {
  39376. "description": "套保品种ID",
  39377. "type": "integer"
  39378. },
  39379. "middlegoodsname": {
  39380. "description": "套保品种名称",
  39381. "type": "string"
  39382. },
  39383. "modifytime": {
  39384. "description": "修改时间",
  39385. "type": "string"
  39386. },
  39387. "wrstandardid": {
  39388. "description": "品类ID",
  39389. "type": "integer"
  39390. }
  39391. }
  39392. },
  39393. "models.WRStandardInfo": {
  39394. "type": "object",
  39395. "required": [
  39396. "wrstandardid"
  39397. ],
  39398. "properties": {
  39399. "areauserid": {
  39400. "description": "所属机构",
  39401. "type": "integer"
  39402. },
  39403. "convertfactor": {
  39404. "description": "标仓系数",
  39405. "type": "number"
  39406. },
  39407. "createtime": {
  39408. "description": "创建时间",
  39409. "type": "string"
  39410. },
  39411. "creatorid": {
  39412. "description": "创建人",
  39413. "type": "integer"
  39414. },
  39415. "deliverygoodsid": {
  39416. "description": "品种ID",
  39417. "type": "integer"
  39418. },
  39419. "deliverygoodsname": {
  39420. "description": "交割商品名称",
  39421. "type": "string"
  39422. },
  39423. "factoryitemjson": {
  39424. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  39425. "type": "string"
  39426. },
  39427. "isvalid": {
  39428. "description": "是否有效 - 0:无效 1:有效",
  39429. "type": "integer"
  39430. },
  39431. "minivalue": {
  39432. "description": "最小变动值",
  39433. "type": "integer"
  39434. },
  39435. "minivaluedp": {
  39436. "description": "最小变动值小数位",
  39437. "type": "integer"
  39438. },
  39439. "realminivalue": {
  39440. "description": "实际最小变动值",
  39441. "type": "integer"
  39442. },
  39443. "realminivaluedp": {
  39444. "description": "实际最小变动值小数位",
  39445. "type": "integer"
  39446. },
  39447. "remark": {
  39448. "description": "备注",
  39449. "type": "string"
  39450. },
  39451. "unitid": {
  39452. "description": "单位ID",
  39453. "type": "integer"
  39454. },
  39455. "unitname": {
  39456. "description": "单位",
  39457. "type": "string"
  39458. },
  39459. "updatetime": {
  39460. "description": "更新时间",
  39461. "type": "string"
  39462. },
  39463. "updatorid": {
  39464. "description": "更新人",
  39465. "type": "integer"
  39466. },
  39467. "wrsstatus": {
  39468. "description": "状态 - 作废 - 0:未激活 1:正常",
  39469. "type": "integer"
  39470. },
  39471. "wrstandardcode": {
  39472. "description": "现货品类代码",
  39473. "type": "string"
  39474. },
  39475. "wrstandardid": {
  39476. "description": "现货品类ID(SEQ_WRSTANDARD)",
  39477. "type": "integer"
  39478. },
  39479. "wrstandardname": {
  39480. "description": "现货品类名称",
  39481. "type": "string"
  39482. }
  39483. }
  39484. },
  39485. "models.WRTradeBargainApply": {
  39486. "type": "object",
  39487. "properties": {
  39488. "accountid": {
  39489. "description": "摘牌资金账号",
  39490. "type": "integer"
  39491. },
  39492. "applyprice": {
  39493. "description": "申请价格(议价价格)",
  39494. "type": "string"
  39495. },
  39496. "applyqty": {
  39497. "description": "摘牌数量(议价数量)",
  39498. "type": "number"
  39499. },
  39500. "applyremark": {
  39501. "description": "申请备注",
  39502. "type": "string"
  39503. },
  39504. "applystatus": {
  39505. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  39506. "type": "integer"
  39507. },
  39508. "applytime": {
  39509. "description": "申请时间(议价时间)",
  39510. "type": "string"
  39511. },
  39512. "begindate": {
  39513. "description": "开始交易日(yyyymmdd)",
  39514. "type": "string"
  39515. },
  39516. "buyorsell": {
  39517. "description": "买卖(挂牌类型) - 0:买 1:卖",
  39518. "type": "integer"
  39519. },
  39520. "confirmremark": {
  39521. "description": "确认备注",
  39522. "type": "string"
  39523. },
  39524. "confirmtime": {
  39525. "description": "确认时间",
  39526. "type": "string"
  39527. },
  39528. "confirmuserid": {
  39529. "description": "确认人",
  39530. "type": "integer"
  39531. },
  39532. "deliverygoodscode": {
  39533. "description": "品种代码",
  39534. "type": "string"
  39535. },
  39536. "deliverygoodsid": {
  39537. "description": "品种ID",
  39538. "type": "integer"
  39539. },
  39540. "deliverygoodsname": {
  39541. "description": "品种名称",
  39542. "type": "string"
  39543. },
  39544. "deliverymonth": {
  39545. "description": "交收月",
  39546. "type": "string"
  39547. },
  39548. "enddate": {
  39549. "description": "结束交易日(yyyymmdd)",
  39550. "type": "string"
  39551. },
  39552. "enumdicname": {
  39553. "description": "单位名称",
  39554. "type": "string"
  39555. },
  39556. "fixedprice": {
  39557. "description": "期初均价",
  39558. "type": "number"
  39559. },
  39560. "handlestatus": {
  39561. "description": "处理状态",
  39562. "type": "integer"
  39563. },
  39564. "marginvalue": {
  39565. "description": "期初均价",
  39566. "type": "number"
  39567. },
  39568. "marketid": {
  39569. "description": "市场ID",
  39570. "type": "integer"
  39571. },
  39572. "matchaccountid": {
  39573. "description": "挂牌方资金账号",
  39574. "type": "integer"
  39575. },
  39576. "matchuserid": {
  39577. "description": "挂牌方用户id",
  39578. "type": "integer"
  39579. },
  39580. "matchusername": {
  39581. "description": "挂牌方用户名称(已脱敏)",
  39582. "type": "string"
  39583. },
  39584. "minivalue": {
  39585. "description": "现货商品最小变动值",
  39586. "type": "integer"
  39587. },
  39588. "optioncompare": {
  39589. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39590. "type": "string"
  39591. },
  39592. "orderqty": {
  39593. "description": "挂牌数量",
  39594. "type": "integer"
  39595. },
  39596. "refprice": {
  39597. "description": "参考价格",
  39598. "type": "string"
  39599. },
  39600. "retcode": {
  39601. "description": "委托返回代码",
  39602. "type": "integer"
  39603. },
  39604. "templatename": {
  39605. "description": "履约方式(履约模板名称)",
  39606. "type": "string"
  39607. },
  39608. "tradedate": {
  39609. "description": "交易日(yyyyMMdd)",
  39610. "type": "string"
  39611. },
  39612. "userid": {
  39613. "description": "摘牌人用户ID(议价人ID)",
  39614. "type": "integer"
  39615. },
  39616. "username": {
  39617. "description": "议价人名字(已脱敏)",
  39618. "type": "string"
  39619. },
  39620. "validtime": {
  39621. "description": "有效期限",
  39622. "type": "string"
  39623. },
  39624. "warehouseid": {
  39625. "description": "仓库ID",
  39626. "type": "integer"
  39627. },
  39628. "warehousename": {
  39629. "description": "仓库名称",
  39630. "type": "string"
  39631. },
  39632. "wrbargainid": {
  39633. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  39634. "type": "string"
  39635. },
  39636. "wrfactortypeid": {
  39637. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39638. "type": "string"
  39639. },
  39640. "wrfactortypename": {
  39641. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39642. "type": "string"
  39643. },
  39644. "wrstandardcode": {
  39645. "description": "现货商品代码",
  39646. "type": "string"
  39647. },
  39648. "wrstandardid": {
  39649. "description": "现货商品ID",
  39650. "type": "integer"
  39651. },
  39652. "wrstandardname": {
  39653. "description": "商品名称",
  39654. "type": "string"
  39655. },
  39656. "wrtradeorderid": {
  39657. "description": "关联委托单ID",
  39658. "type": "string"
  39659. },
  39660. "wrtypename": {
  39661. "description": "商品",
  39662. "type": "string"
  39663. }
  39664. }
  39665. },
  39666. "models.Warehouseinfo": {
  39667. "type": "object",
  39668. "required": [
  39669. "autoid",
  39670. "warehousecode"
  39671. ],
  39672. "properties": {
  39673. "address": {
  39674. "description": "详细地址",
  39675. "type": "string"
  39676. },
  39677. "areauserid": {
  39678. "description": "所属机构",
  39679. "type": "integer"
  39680. },
  39681. "autoid": {
  39682. "description": "自增ID",
  39683. "type": "integer"
  39684. },
  39685. "cityid": {
  39686. "description": "市",
  39687. "type": "integer"
  39688. },
  39689. "contactname": {
  39690. "description": "联系人",
  39691. "type": "string"
  39692. },
  39693. "contactnum": {
  39694. "description": "联系电话",
  39695. "type": "string"
  39696. },
  39697. "countryid": {
  39698. "description": "国家",
  39699. "type": "integer"
  39700. },
  39701. "createtime": {
  39702. "description": "创建时间",
  39703. "type": "string"
  39704. },
  39705. "districtid": {
  39706. "description": "区",
  39707. "type": "integer"
  39708. },
  39709. "hasvideo": {
  39710. "description": "是否有视频 - 0:无 1:有",
  39711. "type": "integer"
  39712. },
  39713. "provinceid": {
  39714. "description": "省",
  39715. "type": "integer"
  39716. },
  39717. "remark": {
  39718. "description": "审核备注",
  39719. "type": "string"
  39720. },
  39721. "videourl": {
  39722. "description": "视频地址",
  39723. "type": "string"
  39724. },
  39725. "warehousecode": {
  39726. "description": "仓库代码",
  39727. "type": "string"
  39728. },
  39729. "warehousename": {
  39730. "description": "仓库名称",
  39731. "type": "string"
  39732. },
  39733. "warehousestatus": {
  39734. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  39735. "type": "integer"
  39736. },
  39737. "warehousetype": {
  39738. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  39739. "type": "integer"
  39740. }
  39741. }
  39742. },
  39743. "models.WrAverageTradePrice": {
  39744. "type": "object",
  39745. "properties": {
  39746. "averageprice": {
  39747. "description": "期初均价",
  39748. "type": "number"
  39749. },
  39750. "tradedate": {
  39751. "description": "交易日yyyymm",
  39752. "type": "string"
  39753. }
  39754. }
  39755. },
  39756. "models.WrBrandAndYears": {
  39757. "type": "object",
  39758. "properties": {
  39759. "brandlst": {
  39760. "description": "品牌列表",
  39761. "type": "array",
  39762. "items": {
  39763. "$ref": "#/definitions/models.DgFactoryItem"
  39764. }
  39765. },
  39766. "yearslst": {
  39767. "description": "年份列表",
  39768. "type": "array",
  39769. "items": {
  39770. "$ref": "#/definitions/models.DgFactoryItem"
  39771. }
  39772. }
  39773. }
  39774. },
  39775. "models.WrBsGoodsInfo": {
  39776. "type": "object",
  39777. "properties": {
  39778. "buyorsell": {
  39779. "description": "买卖方向 0-买 1-卖",
  39780. "type": "integer"
  39781. },
  39782. "goodsid": {
  39783. "description": "交易合约ID",
  39784. "type": "integer"
  39785. },
  39786. "lstitem": {
  39787. "description": "商品信息项",
  39788. "type": "array",
  39789. "items": {
  39790. "$ref": "#/definitions/models.WrTypeItem"
  39791. }
  39792. },
  39793. "lststep": {
  39794. "description": "履约规则",
  39795. "type": "array",
  39796. "items": {
  39797. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39798. }
  39799. }
  39800. }
  39801. },
  39802. "models.WrBuybackDetail": {
  39803. "type": "object",
  39804. "properties": {
  39805. "buybackamount": {
  39806. "description": "回购金额",
  39807. "type": "number"
  39808. },
  39809. "buybackqty": {
  39810. "description": "回购数量",
  39811. "type": "number"
  39812. },
  39813. "buybackreleasemargin": {
  39814. "description": "回购释放保证金",
  39815. "type": "number"
  39816. },
  39817. "buybacktime": {
  39818. "description": "回购时间",
  39819. "type": "string"
  39820. },
  39821. "errordesc": {
  39822. "description": "错误描述",
  39823. "type": "string"
  39824. },
  39825. "handlestatus": {
  39826. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  39827. "type": "integer"
  39828. },
  39829. "relatedwrid": {
  39830. "description": "关联仓单ID",
  39831. "type": "integer"
  39832. },
  39833. "scfcontractid": {
  39834. "description": "SCF合同ID",
  39835. "type": "string"
  39836. },
  39837. "scfwrbuybackid": {
  39838. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  39839. "type": "integer"
  39840. },
  39841. "tradedate": {
  39842. "description": "交易日(yyyyMMdd)",
  39843. "type": "string"
  39844. }
  39845. }
  39846. },
  39847. "models.WrClientAdSpaceConfig": {
  39848. "type": "object",
  39849. "properties": {
  39850. "adspaceid": {
  39851. "description": "广告位ID",
  39852. "type": "integer"
  39853. },
  39854. "adspacename": {
  39855. "description": "广告位名称",
  39856. "type": "string"
  39857. },
  39858. "adspacetype": {
  39859. "description": "广告位类型 - 1:固定广告位",
  39860. "type": "integer"
  39861. },
  39862. "areauserid": {
  39863. "description": "所属机构ID",
  39864. "type": "integer"
  39865. },
  39866. "createdate": {
  39867. "description": "创建时间",
  39868. "type": "string"
  39869. },
  39870. "imagepath": {
  39871. "description": "图片",
  39872. "type": "string"
  39873. },
  39874. "modifierid": {
  39875. "description": "操作人",
  39876. "type": "integer"
  39877. },
  39878. "recsize": {
  39879. "description": "推荐尺寸",
  39880. "type": "string"
  39881. },
  39882. "title": {
  39883. "description": "标题",
  39884. "type": "string"
  39885. },
  39886. "updatedate": {
  39887. "description": "更新时间",
  39888. "type": "string"
  39889. },
  39890. "urlcontent": {
  39891. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  39892. "type": "string"
  39893. },
  39894. "urltype": {
  39895. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  39896. "type": "integer"
  39897. }
  39898. }
  39899. },
  39900. "models.WrDeliveryAvalidHoldLB": {
  39901. "type": "object",
  39902. "properties": {
  39903. "accountid": {
  39904. "description": "资金账号",
  39905. "type": "integer"
  39906. },
  39907. "avalidqty": {
  39908. "description": "数量(可点选数量)",
  39909. "type": "number"
  39910. },
  39911. "deliverygoodsid": {
  39912. "description": "品种id",
  39913. "type": "integer"
  39914. },
  39915. "enumdicname": {
  39916. "description": "单位名称",
  39917. "type": "string"
  39918. },
  39919. "goodsid": {
  39920. "description": "x合约商品id",
  39921. "type": "integer"
  39922. },
  39923. "ladingbillid": {
  39924. "description": "提单id",
  39925. "type": "string"
  39926. },
  39927. "pgoodscode": {
  39928. "description": "p商品代码(点价合约)",
  39929. "type": "string"
  39930. },
  39931. "pgoodsid": {
  39932. "description": "p商品id(点价合约)",
  39933. "type": "integer"
  39934. },
  39935. "pgoodsname": {
  39936. "description": "p商品名称(点价合约)",
  39937. "type": "string"
  39938. },
  39939. "pricemove": {
  39940. "description": "升贴水",
  39941. "type": "number"
  39942. },
  39943. "subnum": {
  39944. "description": "提单子id",
  39945. "type": "integer"
  39946. },
  39947. "userid": {
  39948. "description": "用户id",
  39949. "type": "integer"
  39950. },
  39951. "username": {
  39952. "description": "仓单持有人",
  39953. "type": "string"
  39954. },
  39955. "warehousecode": {
  39956. "description": "仓库代码",
  39957. "type": "string"
  39958. },
  39959. "warehouseid": {
  39960. "description": "仓库id",
  39961. "type": "integer"
  39962. },
  39963. "warehousename": {
  39964. "description": "仓库名称",
  39965. "type": "string"
  39966. },
  39967. "wrfactortypeid": {
  39968. "description": "仓单要素id",
  39969. "type": "string"
  39970. },
  39971. "wrstandardcode": {
  39972. "description": "品代码",
  39973. "type": "string"
  39974. },
  39975. "wrstandardid": {
  39976. "description": "品类d",
  39977. "type": "integer"
  39978. },
  39979. "wrstandardname": {
  39980. "description": "品类名称",
  39981. "type": "string"
  39982. },
  39983. "wrtypename": {
  39984. "description": "商品",
  39985. "type": "string"
  39986. },
  39987. "xgoodscode": {
  39988. "description": "x合约代码",
  39989. "type": "string"
  39990. },
  39991. "xgoodsname": {
  39992. "description": "x合约名称",
  39993. "type": "string"
  39994. }
  39995. }
  39996. },
  39997. "models.WrDeliveryDetail": {
  39998. "type": "object",
  39999. "properties": {
  40000. "accountid": {
  40001. "description": "账号ID",
  40002. "type": "integer"
  40003. },
  40004. "averageprice": {
  40005. "description": "期初均价",
  40006. "type": "number"
  40007. },
  40008. "begindate": {
  40009. "description": "开始交易日(yyyymmdd)",
  40010. "type": "string"
  40011. },
  40012. "buyorsell": {
  40013. "description": "方向 - 0:买 1:卖",
  40014. "type": "integer"
  40015. },
  40016. "deliveryamount": {
  40017. "description": "货款金额(X总货款+P总货款)",
  40018. "type": "number"
  40019. },
  40020. "deliveryid": {
  40021. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  40022. "type": "string"
  40023. },
  40024. "deliveryorderid": {
  40025. "description": "申报单号",
  40026. "type": "string"
  40027. },
  40028. "deliverypricemove": {
  40029. "description": "升贴水(升贴水总额)",
  40030. "type": "number"
  40031. },
  40032. "deliveryqty": {
  40033. "description": "交收数量(点选数量)",
  40034. "type": "number"
  40035. },
  40036. "deliverystatus": {
  40037. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  40038. "type": "integer"
  40039. },
  40040. "deliverytime": {
  40041. "description": "交割时间",
  40042. "type": "string"
  40043. },
  40044. "deliverytotalamount": {
  40045. "description": "交收金额",
  40046. "type": "number"
  40047. },
  40048. "enddate": {
  40049. "description": "结束交易日(yyyymmdd)",
  40050. "type": "string"
  40051. },
  40052. "enumdicname": {
  40053. "description": "单位名称",
  40054. "type": "string"
  40055. },
  40056. "matchaccountid": {
  40057. "description": "对手账号ID",
  40058. "type": "integer"
  40059. },
  40060. "matchusername": {
  40061. "description": "对手方名称(仓单持有人)",
  40062. "type": "string"
  40063. },
  40064. "p1goodsremainamount": {
  40065. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  40066. "type": "number"
  40067. },
  40068. "pdeliverycloseqty": {
  40069. "description": "p合约平仓数量",
  40070. "type": "number"
  40071. },
  40072. "pdeliveryprice": {
  40073. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  40074. "type": "number"
  40075. },
  40076. "pgoodscode": {
  40077. "description": "商品代码",
  40078. "type": "string"
  40079. },
  40080. "pgoodsid": {
  40081. "description": "p点选合约id",
  40082. "type": "integer"
  40083. },
  40084. "pgoodsname": {
  40085. "description": "商品名称",
  40086. "type": "string"
  40087. },
  40088. "ppricemode": {
  40089. "description": "点价价格方式 - 1:商品价 2:固定值",
  40090. "type": "integer"
  40091. },
  40092. "tradedate": {
  40093. "description": "交易日(yyyymmdd)",
  40094. "type": "string"
  40095. },
  40096. "userid": {
  40097. "description": "用户id",
  40098. "type": "integer"
  40099. },
  40100. "username": {
  40101. "description": "用户名称",
  40102. "type": "string"
  40103. },
  40104. "warehousename": {
  40105. "description": "仓库名称",
  40106. "type": "string"
  40107. },
  40108. "wrfactortypeid": {
  40109. "description": "仓单要素类型ID",
  40110. "type": "string"
  40111. },
  40112. "wrtypename": {
  40113. "description": "商品",
  40114. "type": "string"
  40115. },
  40116. "xdeliverycloseqty": {
  40117. "description": "合约数量",
  40118. "type": "number"
  40119. },
  40120. "xgoodsamount": {
  40121. "description": "期初均价",
  40122. "type": "number"
  40123. },
  40124. "xgoodscode": {
  40125. "description": "商品代码",
  40126. "type": "string"
  40127. },
  40128. "xgoodsid": {
  40129. "description": "x交易合约ID",
  40130. "type": "integer"
  40131. },
  40132. "xgoodsname": {
  40133. "description": "商品名称",
  40134. "type": "string"
  40135. }
  40136. }
  40137. },
  40138. "models.WrDeliveryGoodsSection": {
  40139. "type": "object",
  40140. "properties": {
  40141. "dglst": {
  40142. "description": "板块商品列表",
  40143. "type": "array",
  40144. "items": {
  40145. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  40146. }
  40147. },
  40148. "imagepath": {
  40149. "description": "图片地址",
  40150. "type": "string"
  40151. },
  40152. "orderindex": {
  40153. "description": "排序",
  40154. "type": "integer"
  40155. },
  40156. "sectionid": {
  40157. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  40158. "type": "integer"
  40159. },
  40160. "sectionname": {
  40161. "description": "版块名称",
  40162. "type": "string"
  40163. },
  40164. "sectiontype": {
  40165. "description": "版块类型 - 1:指数版块 2:普通版块",
  40166. "type": "integer"
  40167. }
  40168. }
  40169. },
  40170. "models.WrDeliveryGoodsSectionConfig": {
  40171. "type": "object",
  40172. "properties": {
  40173. "deliverygoodscode": {
  40174. "description": "现货商品代码",
  40175. "type": "string"
  40176. },
  40177. "deliverygoodsid": {
  40178. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  40179. "type": "integer"
  40180. },
  40181. "deliverygoodsname": {
  40182. "description": "现货商品名称",
  40183. "type": "string"
  40184. },
  40185. "orderindex": {
  40186. "description": "排序",
  40187. "type": "integer"
  40188. }
  40189. }
  40190. },
  40191. "models.WrDraftUserInfo": {
  40192. "type": "object",
  40193. "properties": {
  40194. "address": {
  40195. "description": "地址",
  40196. "type": "string"
  40197. },
  40198. "attachment1": {
  40199. "description": "附件1",
  40200. "type": "string"
  40201. },
  40202. "attachment2": {
  40203. "description": "附件2",
  40204. "type": "string"
  40205. },
  40206. "attachment3": {
  40207. "description": "附件3",
  40208. "type": "string"
  40209. },
  40210. "attachment4": {
  40211. "description": "附件4",
  40212. "type": "string"
  40213. },
  40214. "attachment5": {
  40215. "description": "附件5",
  40216. "type": "string"
  40217. },
  40218. "bankaccount": {
  40219. "description": "银行帐号 (加密存储)",
  40220. "type": "string"
  40221. },
  40222. "bankaccountname": {
  40223. "description": "收款人名称",
  40224. "type": "string"
  40225. },
  40226. "bankcardfrontphotourl": {
  40227. "description": "银行卡正面照地址",
  40228. "type": "string"
  40229. },
  40230. "bankid": {
  40231. "description": "银行编码",
  40232. "type": "string"
  40233. },
  40234. "bankname": {
  40235. "description": "银行名称",
  40236. "type": "string"
  40237. },
  40238. "birthday": {
  40239. "description": "生日(个人:年月日)",
  40240. "type": "string"
  40241. },
  40242. "biznature": {
  40243. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  40244. "type": "integer"
  40245. },
  40246. "bizscope": {
  40247. "description": "企业经营范围(企业)",
  40248. "type": "string"
  40249. },
  40250. "biztype": {
  40251. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  40252. "type": "integer"
  40253. },
  40254. "cardbackphotourl": {
  40255. "description": "证件背面图片地址",
  40256. "type": "string"
  40257. },
  40258. "cardfrontphotourl": {
  40259. "description": "证件正面图片地址",
  40260. "type": "string"
  40261. },
  40262. "cardnum": {
  40263. "description": "证件号码(加密存储)",
  40264. "type": "string"
  40265. },
  40266. "cardtypeid": {
  40267. "description": "证件类型ID",
  40268. "type": "integer"
  40269. },
  40270. "cityid": {
  40271. "description": "市",
  40272. "type": "integer"
  40273. },
  40274. "company": {
  40275. "description": "公司(个人)",
  40276. "type": "string"
  40277. },
  40278. "contactcardbackphotourl": {
  40279. "description": "联系人证件背面图片地址",
  40280. "type": "string"
  40281. },
  40282. "contactcardfrontphotourl": {
  40283. "description": "联系人证件正面图片地址",
  40284. "type": "string"
  40285. },
  40286. "contactname": {
  40287. "description": "联系人",
  40288. "type": "string"
  40289. },
  40290. "countryid": {
  40291. "description": "国家",
  40292. "type": "integer"
  40293. },
  40294. "createtime": {
  40295. "description": "创建时间",
  40296. "type": "string"
  40297. },
  40298. "creatorid": {
  40299. "description": "创建人",
  40300. "type": "integer"
  40301. },
  40302. "creditquota": {
  40303. "description": "授信额度(金瑞)",
  40304. "type": "number"
  40305. },
  40306. "customername": {
  40307. "description": "客户名称(企业名称)",
  40308. "type": "string"
  40309. },
  40310. "districtid": {
  40311. "description": "地区",
  40312. "type": "integer"
  40313. },
  40314. "email": {
  40315. "description": "邮件(加密存储)",
  40316. "type": "string"
  40317. },
  40318. "fax": {
  40319. "description": "传真(加密存储)",
  40320. "type": "string"
  40321. },
  40322. "halfbodyphotourl": {
  40323. "description": "半身照地址",
  40324. "type": "string"
  40325. },
  40326. "hasencrypt": {
  40327. "description": "数据是否已加密 - 0:未加密 1:已加密",
  40328. "type": "integer"
  40329. },
  40330. "headurl": {
  40331. "description": "头像地址",
  40332. "type": "string"
  40333. },
  40334. "legalcardbackphotourl": {
  40335. "description": "法人身份证背面照地址",
  40336. "type": "string"
  40337. },
  40338. "legalcardfrontphotourl": {
  40339. "description": "法人身份证正面照地址",
  40340. "type": "string"
  40341. },
  40342. "legalpersonname": {
  40343. "description": "法人姓名(企业)",
  40344. "type": "string"
  40345. },
  40346. "mobile": {
  40347. "description": "手机号码(加密存储)",
  40348. "type": "string"
  40349. },
  40350. "mobile2": {
  40351. "description": "手机号码[明文-尚志]",
  40352. "type": "string"
  40353. },
  40354. "modifierid": {
  40355. "description": "修改人",
  40356. "type": "integer"
  40357. },
  40358. "modifiertime": {
  40359. "description": "修改时间",
  40360. "type": "string"
  40361. },
  40362. "needinvoice": {
  40363. "description": "是否需要发票 - 0:不需要 1:需要",
  40364. "type": "integer"
  40365. },
  40366. "nickname": {
  40367. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  40368. "type": "string"
  40369. },
  40370. "openmode": {
  40371. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  40372. "type": "integer"
  40373. },
  40374. "otherurl": {
  40375. "description": "其它图片地址[使用分号分隔]",
  40376. "type": "string"
  40377. },
  40378. "postalcode": {
  40379. "description": "邮政编码",
  40380. "type": "string"
  40381. },
  40382. "provinceid": {
  40383. "description": "省",
  40384. "type": "integer"
  40385. },
  40386. "proxystatementurl": {
  40387. "description": "授权委托书",
  40388. "type": "string"
  40389. },
  40390. "qq": {
  40391. "description": "QQ(加密存储",
  40392. "type": "string"
  40393. },
  40394. "remark": {
  40395. "description": "备注",
  40396. "type": "string"
  40397. },
  40398. "sex": {
  40399. "description": "用户性别 0: 女 1: 男",
  40400. "type": "integer"
  40401. },
  40402. "signpdfurl": {
  40403. "description": "签约pdf文件",
  40404. "type": "string"
  40405. },
  40406. "taxpayernum": {
  40407. "description": "纳税人识别号",
  40408. "type": "string"
  40409. },
  40410. "telphone": {
  40411. "description": "联系电话(加密存储)",
  40412. "type": "string"
  40413. },
  40414. "userid": {
  40415. "description": "用户ID",
  40416. "type": "integer"
  40417. },
  40418. "userinfotype": {
  40419. "description": "用户信息类型 - 1:个人 2:企业",
  40420. "type": "integer"
  40421. },
  40422. "userstatus": {
  40423. "description": "用户状态 - 1:正常 2:注销",
  40424. "type": "integer"
  40425. },
  40426. "usertype": {
  40427. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  40428. "type": "integer"
  40429. },
  40430. "wechat": {
  40431. "description": "微信(加密存储)",
  40432. "type": "string"
  40433. },
  40434. "wskhinfo": {
  40435. "description": "开户申请信息(JSON)",
  40436. "type": "string"
  40437. }
  40438. }
  40439. },
  40440. "models.WrFAProductDetail": {
  40441. "type": "object",
  40442. "properties": {
  40443. "accountid": {
  40444. "description": "资金账号",
  40445. "type": "integer"
  40446. },
  40447. "areauserid": {
  40448. "description": "金融机构ID",
  40449. "type": "integer"
  40450. },
  40451. "financingdays": {
  40452. "description": "天数(天)",
  40453. "type": "integer"
  40454. },
  40455. "interestminlen": {
  40456. "description": "最小起息天数",
  40457. "type": "integer"
  40458. },
  40459. "interestrate": {
  40460. "description": "利率",
  40461. "type": "number"
  40462. },
  40463. "interestratemode": {
  40464. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40465. "type": "integer"
  40466. },
  40467. "interestsettlemode": {
  40468. "description": "结息方式 - 1:按日结息 3:按月结息",
  40469. "type": "integer"
  40470. },
  40471. "interestsettlevalue": {
  40472. "description": "结息方式值",
  40473. "type": "integer"
  40474. },
  40475. "isautoloan": {
  40476. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  40477. "type": "integer"
  40478. },
  40479. "loantag": {
  40480. "description": "放款标识: \"放款快\" 或者为空",
  40481. "type": "string"
  40482. },
  40483. "marginratio": {
  40484. "description": "保证金比率质押率 - [仓单质押]",
  40485. "type": "number"
  40486. },
  40487. "productdetailid": {
  40488. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  40489. "type": "integer"
  40490. },
  40491. "productid": {
  40492. "description": "金融产品ID",
  40493. "type": "integer"
  40494. },
  40495. "productname": {
  40496. "description": "产品名称",
  40497. "type": "string"
  40498. },
  40499. "updatetime": {
  40500. "description": "更新时间",
  40501. "type": "string"
  40502. },
  40503. "username": {
  40504. "description": "融出方",
  40505. "type": "string"
  40506. }
  40507. }
  40508. },
  40509. "models.WrFactorTypeInfo": {
  40510. "type": "object",
  40511. "properties": {
  40512. "deliverygoodscode": {
  40513. "description": "品种代码",
  40514. "type": "string"
  40515. },
  40516. "deliverygoodsname": {
  40517. "description": "品种名称",
  40518. "type": "string"
  40519. },
  40520. "dgfactoryitemid": {
  40521. "description": "选择项id",
  40522. "type": "integer"
  40523. },
  40524. "dgfactoryitemtypeid": {
  40525. "description": "要素选择项ID (1-仓库 2-品牌)",
  40526. "type": "integer"
  40527. },
  40528. "dgfactoryitemvalue": {
  40529. "description": "要素项值",
  40530. "type": "string"
  40531. },
  40532. "itemtypename": {
  40533. "description": "要素项名称",
  40534. "type": "string"
  40535. },
  40536. "optioncompare": {
  40537. "description": "选择比较串",
  40538. "type": "string"
  40539. },
  40540. "warehouseid": {
  40541. "description": "仓库id",
  40542. "type": "integer"
  40543. },
  40544. "wrfactortypeid": {
  40545. "description": "仓单要素ID",
  40546. "type": "string"
  40547. },
  40548. "wrfactortypename": {
  40549. "description": "要素名称",
  40550. "type": "string"
  40551. },
  40552. "wrfactortypename2": {
  40553. "description": "要素名称(不含仓库)",
  40554. "type": "string"
  40555. },
  40556. "wrstandardcode": {
  40557. "description": "品类代码",
  40558. "type": "string"
  40559. },
  40560. "wrstandardid": {
  40561. "description": "品类id",
  40562. "type": "integer"
  40563. },
  40564. "wrstandardname": {
  40565. "description": "品类名称",
  40566. "type": "string"
  40567. }
  40568. }
  40569. },
  40570. "models.WrFilterItem": {
  40571. "type": "object",
  40572. "properties": {
  40573. "itemcode": {
  40574. "description": "代码",
  40575. "type": "string"
  40576. },
  40577. "itemid": {
  40578. "description": "项id",
  40579. "type": "integer"
  40580. },
  40581. "itemname": {
  40582. "description": "名称",
  40583. "type": "string"
  40584. },
  40585. "itemtype": {
  40586. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  40587. "type": "integer"
  40588. }
  40589. }
  40590. },
  40591. "models.WrFinanceBuyApply": {
  40592. "type": "object",
  40593. "properties": {
  40594. "applydate": {
  40595. "description": "申请时间",
  40596. "type": "string"
  40597. },
  40598. "applystatus": {
  40599. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  40600. "type": "integer"
  40601. },
  40602. "applyuserid": {
  40603. "description": "申请人",
  40604. "type": "integer"
  40605. },
  40606. "auditdate": {
  40607. "description": "审核时间",
  40608. "type": "string"
  40609. },
  40610. "auditremark": {
  40611. "description": "审核备注",
  40612. "type": "string"
  40613. },
  40614. "audituserid": {
  40615. "description": "审核人",
  40616. "type": "integer"
  40617. },
  40618. "buyaccountid": {
  40619. "description": "买方资金账号",
  40620. "type": "integer"
  40621. },
  40622. "buyorsell": {
  40623. "description": "买卖 - 0:买 1:卖",
  40624. "type": "integer"
  40625. },
  40626. "buyuserid": {
  40627. "description": "买方用户ID",
  40628. "type": "integer"
  40629. },
  40630. "buyusername": {
  40631. "description": "买方名称",
  40632. "type": "string"
  40633. },
  40634. "buywrtradeorderid": {
  40635. "description": "融资方买委托单ID",
  40636. "type": "string"
  40637. },
  40638. "deliverygoodscode": {
  40639. "description": "品种代码",
  40640. "type": "string"
  40641. },
  40642. "deliverygoodsid": {
  40643. "description": "品种ID",
  40644. "type": "integer"
  40645. },
  40646. "deliverygoodsname": {
  40647. "description": "品种名称",
  40648. "type": "string"
  40649. },
  40650. "deliverymonth": {
  40651. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  40652. "type": "string"
  40653. },
  40654. "enumdicname": {
  40655. "description": "单位名称",
  40656. "type": "string"
  40657. },
  40658. "financeaccountid": {
  40659. "description": "融资方资金帐户ID",
  40660. "type": "integer"
  40661. },
  40662. "financeapplyid": {
  40663. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40664. "type": "string"
  40665. },
  40666. "financeareauserid": {
  40667. "description": "融资方用户ID",
  40668. "type": "string"
  40669. },
  40670. "financename": {
  40671. "description": "融出方名称",
  40672. "type": "string"
  40673. },
  40674. "financetype": {
  40675. "description": "融资类型 1-融资回购",
  40676. "type": "integer"
  40677. },
  40678. "financingdays": {
  40679. "description": "天数(天)",
  40680. "type": "integer"
  40681. },
  40682. "freezebuymargin": {
  40683. "description": "冻结融资保证金(买方)",
  40684. "type": "number"
  40685. },
  40686. "handleremark": {
  40687. "description": "处理备注",
  40688. "type": "string"
  40689. },
  40690. "handlestatus": {
  40691. "description": "处理状态",
  40692. "type": "integer"
  40693. },
  40694. "interestminlen": {
  40695. "description": "最小起息天数",
  40696. "type": "integer"
  40697. },
  40698. "interestrate": {
  40699. "description": "利率",
  40700. "type": "number"
  40701. },
  40702. "interestratemode": {
  40703. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40704. "type": "integer"
  40705. },
  40706. "interestsettlemode": {
  40707. "description": "结息方式 - 1:按日结息 3:按月结息",
  40708. "type": "integer"
  40709. },
  40710. "interestsettlevalue": {
  40711. "description": "结息方式值",
  40712. "type": "integer"
  40713. },
  40714. "isautoloan": {
  40715. "description": "是否自动放款 - 0:手动 1:自动",
  40716. "type": "integer"
  40717. },
  40718. "marginratio": {
  40719. "description": "保证金比率质押率 - [仓单质押]",
  40720. "type": "number"
  40721. },
  40722. "marketid": {
  40723. "description": "市场ID",
  40724. "type": "integer"
  40725. },
  40726. "minivalue": {
  40727. "description": "现货商品最小变动值",
  40728. "type": "integer"
  40729. },
  40730. "optioncompare": {
  40731. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40732. "type": "string"
  40733. },
  40734. "orderqty": {
  40735. "description": "委托数量(商品数量)",
  40736. "type": "number"
  40737. },
  40738. "productdetailid": {
  40739. "description": "产品组合ID",
  40740. "type": "integer"
  40741. },
  40742. "productid": {
  40743. "description": "金融产品ID",
  40744. "type": "integer"
  40745. },
  40746. "productname": {
  40747. "description": "产品名称",
  40748. "type": "string"
  40749. },
  40750. "remark": {
  40751. "description": "备注",
  40752. "type": "string"
  40753. },
  40754. "scfcontractid": {
  40755. "description": "仓单回购合同ID",
  40756. "type": "string"
  40757. },
  40758. "sellaccountid": {
  40759. "description": "卖方资金账号",
  40760. "type": "integer"
  40761. },
  40762. "selluserid": {
  40763. "description": "卖方用户ID",
  40764. "type": "integer"
  40765. },
  40766. "sellwrtradeorderid": {
  40767. "description": "卖方委托单ID",
  40768. "type": "string"
  40769. },
  40770. "tradeamount": {
  40771. "description": "成交金额(借款金额)",
  40772. "type": "number"
  40773. },
  40774. "tradedate": {
  40775. "description": "交易日(yyyyMMdd)",
  40776. "type": "string"
  40777. },
  40778. "tradeprice": {
  40779. "description": "成交价格",
  40780. "type": "number"
  40781. },
  40782. "warehouseid": {
  40783. "description": "仓库ID",
  40784. "type": "integer"
  40785. },
  40786. "warehousename": {
  40787. "description": "仓库名称",
  40788. "type": "string"
  40789. },
  40790. "wrfactortypeid": {
  40791. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40792. "type": "string"
  40793. },
  40794. "wrfactortypename": {
  40795. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40796. "type": "string"
  40797. },
  40798. "wrpricetype": {
  40799. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  40800. "type": "integer"
  40801. },
  40802. "wrstandardcode": {
  40803. "description": "现货商品代码",
  40804. "type": "string"
  40805. },
  40806. "wrstandardid": {
  40807. "description": "现货商品ID",
  40808. "type": "integer"
  40809. },
  40810. "wrstandardname": {
  40811. "description": "商品名称",
  40812. "type": "string"
  40813. },
  40814. "wrtypename": {
  40815. "description": "商品",
  40816. "type": "string"
  40817. }
  40818. }
  40819. },
  40820. "models.WrFriendApply": {
  40821. "type": "object",
  40822. "properties": {
  40823. "applicantid": {
  40824. "description": "申请人",
  40825. "type": "integer"
  40826. },
  40827. "applyname": {
  40828. "description": "申请人名称",
  40829. "type": "string"
  40830. },
  40831. "applysrc": {
  40832. "description": "申请来源 - 1:管理端 2:终端",
  40833. "type": "integer"
  40834. },
  40835. "applystatus": {
  40836. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  40837. "type": "integer"
  40838. },
  40839. "applytime": {
  40840. "description": "申请时间",
  40841. "type": "string"
  40842. },
  40843. "auditname": {
  40844. "description": "审核人名称",
  40845. "type": "string"
  40846. },
  40847. "auditorid": {
  40848. "description": "审核人",
  40849. "type": "integer"
  40850. },
  40851. "auditremark": {
  40852. "description": "审核备注",
  40853. "type": "string"
  40854. },
  40855. "auditsrc": {
  40856. "description": "审核来源 - 1:管理端 2:终端",
  40857. "type": "integer"
  40858. },
  40859. "audittime": {
  40860. "description": "审核时间",
  40861. "type": "string"
  40862. },
  40863. "friendapplyid": {
  40864. "description": "申请ID(SEQ_FRIENDAPPLY)",
  40865. "type": "string"
  40866. },
  40867. "friendname": {
  40868. "description": "好友名字(已脱敏)",
  40869. "type": "string"
  40870. },
  40871. "frienduserid": {
  40872. "description": "好友用户ID",
  40873. "type": "string"
  40874. },
  40875. "remark": {
  40876. "description": "备注",
  40877. "type": "string"
  40878. },
  40879. "userid": {
  40880. "description": "申请人用户ID",
  40881. "type": "integer"
  40882. }
  40883. }
  40884. },
  40885. "models.WrFtDeliveryGoods": {
  40886. "type": "object",
  40887. "properties": {
  40888. "deliverygoodscode": {
  40889. "description": "品种代码",
  40890. "type": "string"
  40891. },
  40892. "deliverygoodsid": {
  40893. "description": "品种ID",
  40894. "type": "integer"
  40895. },
  40896. "deliverygoodsname": {
  40897. "description": "品种名称",
  40898. "type": "string"
  40899. },
  40900. "wdlst": {
  40901. "description": "商品列表",
  40902. "type": "array",
  40903. "items": {
  40904. "$ref": "#/definitions/models.WrFtWrstandard"
  40905. }
  40906. }
  40907. }
  40908. },
  40909. "models.WrFtWrstandard": {
  40910. "type": "object",
  40911. "properties": {
  40912. "enumdicname": {
  40913. "description": "单位名称",
  40914. "type": "string"
  40915. },
  40916. "minivalue": {
  40917. "description": "最小变动值",
  40918. "type": "integer"
  40919. },
  40920. "wrstandardcode": {
  40921. "description": "现货商品代码",
  40922. "type": "string"
  40923. },
  40924. "wrstandardid": {
  40925. "description": "现货商品ID",
  40926. "type": "integer"
  40927. },
  40928. "wrstandardname": {
  40929. "description": "商品名称",
  40930. "type": "string"
  40931. }
  40932. }
  40933. },
  40934. "models.WrGoodsInfo": {
  40935. "type": "object",
  40936. "properties": {
  40937. "haswr": {
  40938. "description": "0:仓单预售 1:仓单贸易",
  40939. "type": "integer"
  40940. },
  40941. "lstitem": {
  40942. "description": "商品信息项",
  40943. "type": "array",
  40944. "items": {
  40945. "$ref": "#/definitions/models.WrTypeItem"
  40946. }
  40947. },
  40948. "lststep": {
  40949. "description": "履约规则",
  40950. "type": "array",
  40951. "items": {
  40952. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40953. }
  40954. },
  40955. "marketid": {
  40956. "description": "市场id",
  40957. "type": "integer"
  40958. }
  40959. }
  40960. },
  40961. "models.WrGoodsPerformanceStep": {
  40962. "type": "object",
  40963. "properties": {
  40964. "autoid": {
  40965. "description": "AutoID",
  40966. "type": "integer"
  40967. },
  40968. "isauto": {
  40969. "description": "是否自动 - 0:不自动 1:自动",
  40970. "type": "integer"
  40971. },
  40972. "remark": {
  40973. "description": "备注",
  40974. "type": "string"
  40975. },
  40976. "stepdate": {
  40977. "description": "天数信息(T+N)",
  40978. "type": "string"
  40979. },
  40980. "stepdays": {
  40981. "description": "距离上一步天数",
  40982. "type": "integer"
  40983. },
  40984. "stepindex": {
  40985. "description": "步骤序号",
  40986. "type": "integer"
  40987. },
  40988. "stepinfo": {
  40989. "description": "步骤信息(步骤名称+步骤值)",
  40990. "type": "string"
  40991. },
  40992. "steptypeid": {
  40993. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40994. "type": "integer"
  40995. },
  40996. "steptypename": {
  40997. "description": "步骤名称",
  40998. "type": "string"
  40999. },
  41000. "stepvalue": {
  41001. "description": "期初均价",
  41002. "type": "number"
  41003. },
  41004. "templateid": {
  41005. "description": "履约计划模板ID",
  41006. "type": "integer"
  41007. }
  41008. }
  41009. },
  41010. "models.WrHoldLB": {
  41011. "type": "object",
  41012. "properties": {
  41013. "accountid": {
  41014. "description": "持有人帐户ID",
  41015. "type": "integer"
  41016. },
  41017. "bannerpicurl": {
  41018. "description": "Banner图",
  41019. "type": "string"
  41020. },
  41021. "createtime": {
  41022. "description": "创建时间(过户时间)",
  41023. "type": "string"
  41024. },
  41025. "deliverygoodscode": {
  41026. "description": "品种代码",
  41027. "type": "string"
  41028. },
  41029. "deliverygoodsid": {
  41030. "description": "品种ID",
  41031. "type": "integer"
  41032. },
  41033. "deliverygoodsname": {
  41034. "description": "品种名称",
  41035. "type": "string"
  41036. },
  41037. "enableqty": {
  41038. "description": "可用数量",
  41039. "type": "number"
  41040. },
  41041. "enumdicname": {
  41042. "description": "单位名称",
  41043. "type": "string"
  41044. },
  41045. "freezerqty": {
  41046. "description": "冻结数量",
  41047. "type": "number"
  41048. },
  41049. "ladingbillid": {
  41050. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  41051. "type": "string"
  41052. },
  41053. "minivalue": {
  41054. "description": "现货商品最小变动值",
  41055. "type": "integer"
  41056. },
  41057. "optioncompare": {
  41058. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41059. "type": "string"
  41060. },
  41061. "parentsubnum": {
  41062. "description": "拆分父子单号",
  41063. "type": "integer"
  41064. },
  41065. "pledgeqty": {
  41066. "description": "质押数量",
  41067. "type": "number"
  41068. },
  41069. "qty": {
  41070. "description": "数量",
  41071. "type": "number"
  41072. },
  41073. "subnum": {
  41074. "description": "提单子单号",
  41075. "type": "integer"
  41076. },
  41077. "thumurls": {
  41078. "description": "缩略图",
  41079. "type": "string"
  41080. },
  41081. "tradedate": {
  41082. "description": "交易日(yyyyMMdd)",
  41083. "type": "string"
  41084. },
  41085. "userid": {
  41086. "description": "持有人ID",
  41087. "type": "integer"
  41088. },
  41089. "warehouseid": {
  41090. "description": "仓库ID",
  41091. "type": "integer"
  41092. },
  41093. "warehousename": {
  41094. "description": "仓库名称",
  41095. "type": "string"
  41096. },
  41097. "wrfactortypeid": {
  41098. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41099. "type": "string"
  41100. },
  41101. "wrfactortypename": {
  41102. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41103. "type": "string"
  41104. },
  41105. "wrholdeno": {
  41106. "description": "仓单编号",
  41107. "type": "string"
  41108. },
  41109. "wrid": {
  41110. "description": "仓单变更ID",
  41111. "type": "string"
  41112. },
  41113. "wrstandardcode": {
  41114. "description": "现货商品代码",
  41115. "type": "string"
  41116. },
  41117. "wrstandardid": {
  41118. "description": "现货商品ID",
  41119. "type": "integer"
  41120. },
  41121. "wrstandardname": {
  41122. "description": "商品名称",
  41123. "type": "string"
  41124. },
  41125. "wrtypename": {
  41126. "description": "商品",
  41127. "type": "string"
  41128. }
  41129. }
  41130. },
  41131. "models.WrMarketTradeConfig": {
  41132. "type": "object",
  41133. "properties": {
  41134. "basisdownratio": {
  41135. "description": "浮动价基差下限比例(仓单贸易)",
  41136. "type": "number"
  41137. },
  41138. "basisupratio": {
  41139. "description": "浮动价基差上限比例(仓单贸易)",
  41140. "type": "number"
  41141. },
  41142. "buychargealgorithm": {
  41143. "description": "买方手续费收取方式 1:比率 2:固定",
  41144. "type": "integer"
  41145. },
  41146. "buychargealgorithm2": {
  41147. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  41148. "type": "integer"
  41149. },
  41150. "buychargealgorithmvalue": {
  41151. "description": "买方手续费设置值(交易所部分)",
  41152. "type": "number"
  41153. },
  41154. "buychargealgorithmvalue2": {
  41155. "description": "买方手续费设置值(会员部分)",
  41156. "type": "number"
  41157. },
  41158. "buychargealgorithmvalue3": {
  41159. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  41160. "type": "number"
  41161. },
  41162. "buychargealgorithmvalue4": {
  41163. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  41164. "type": "number"
  41165. },
  41166. "buyfirstmarginalgorithm": {
  41167. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  41168. "type": "integer"
  41169. },
  41170. "buyfirstmarginvalue": {
  41171. "description": "买方出价保证金设置值 - [竞拍]",
  41172. "type": "number"
  41173. },
  41174. "buymarginalgorithm": {
  41175. "description": "买方保证金方式 - 1:比率 2:固定",
  41176. "type": "integer"
  41177. },
  41178. "buymarginvalue": {
  41179. "description": "买方保证金设置值",
  41180. "type": "number"
  41181. },
  41182. "buyreleaseratio": {
  41183. "description": "买方释放比率[2:分步履约]",
  41184. "type": "number"
  41185. },
  41186. "executemode": {
  41187. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  41188. "type": "integer"
  41189. },
  41190. "executeside": {
  41191. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  41192. "type": "integer"
  41193. },
  41194. "failedchargealgorithm": {
  41195. "description": "流拍手续费收取方式 1:比率 2:固定",
  41196. "type": "integer"
  41197. },
  41198. "failedchargevalue": {
  41199. "description": "流拍手续费设置值",
  41200. "type": "number"
  41201. },
  41202. "failedchargevalue2": {
  41203. "description": "流拍卖方手续费设置值",
  41204. "type": "number"
  41205. },
  41206. "holddays": {
  41207. "description": "合同期限[2:分步履约]",
  41208. "type": "integer"
  41209. },
  41210. "listingmode": {
  41211. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  41212. "type": "integer"
  41213. },
  41214. "marketid": {
  41215. "description": "市场ID-仓单贸易、竞拍、预售",
  41216. "type": "integer"
  41217. },
  41218. "minqty": {
  41219. "description": "最小执行量[2:分步履约]",
  41220. "type": "number"
  41221. },
  41222. "modifierid": {
  41223. "description": "修改人",
  41224. "type": "integer"
  41225. },
  41226. "nowrquotaflag": {
  41227. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  41228. "type": "integer"
  41229. },
  41230. "performancetempid": {
  41231. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  41232. "type": "integer"
  41233. },
  41234. "performancetempid2": {
  41235. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  41236. "type": "integer"
  41237. },
  41238. "performancetempid2s": {
  41239. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  41240. "type": "string"
  41241. },
  41242. "performancetempids": {
  41243. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  41244. "type": "string"
  41245. },
  41246. "performanceway": {
  41247. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  41248. "type": "integer"
  41249. },
  41250. "sellchargealgorithm": {
  41251. "description": "卖方手续费收取方式 1:比率 2:固定",
  41252. "type": "integer"
  41253. },
  41254. "sellchargealgorithm2": {
  41255. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  41256. "type": "integer"
  41257. },
  41258. "sellchargealgorithmvalue": {
  41259. "description": "卖方手续费设置值(交易所部分)",
  41260. "type": "number"
  41261. },
  41262. "sellchargealgorithmvalue2": {
  41263. "description": "卖方手续费设置值(会员部分)",
  41264. "type": "number"
  41265. },
  41266. "sellchargealgorithmvalue3": {
  41267. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  41268. "type": "number"
  41269. },
  41270. "sellchargealgorithmvalue4": {
  41271. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  41272. "type": "number"
  41273. },
  41274. "sellmarginalgorithm": {
  41275. "description": "卖方保证金方式 - 1:比率 2:固定",
  41276. "type": "integer"
  41277. },
  41278. "sellmarginvalue": {
  41279. "description": "卖方保证金设置值",
  41280. "type": "number"
  41281. },
  41282. "sellmarginvalue2": {
  41283. "description": "卖方保证金设置值(无仓单)",
  41284. "type": "number"
  41285. },
  41286. "sellreleaseratio": {
  41287. "description": "卖方释放比率[2:分步履约]",
  41288. "type": "number"
  41289. },
  41290. "updatetime": {
  41291. "description": "更新时间",
  41292. "type": "string"
  41293. }
  41294. }
  41295. },
  41296. "models.WrOrderDetail": {
  41297. "type": "object",
  41298. "properties": {
  41299. "accountid": {
  41300. "description": "交易账号(资金账号)",
  41301. "type": "integer"
  41302. },
  41303. "allfriendsflag": {
  41304. "description": "是否全好友可见 - 0:否 1:是",
  41305. "type": "integer"
  41306. },
  41307. "amount": {
  41308. "description": "期初均价",
  41309. "type": "number"
  41310. },
  41311. "bannerpicurl": {
  41312. "description": "Banner图",
  41313. "type": "string"
  41314. },
  41315. "begindate": {
  41316. "description": "开始交易日(yyyymmdd)",
  41317. "type": "string"
  41318. },
  41319. "buyorsell": {
  41320. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  41321. "type": "integer"
  41322. },
  41323. "canbargain": {
  41324. "description": "是否可议价 - 0:不可 1:可",
  41325. "type": "integer"
  41326. },
  41327. "cancelqty": {
  41328. "description": "撤销数量",
  41329. "type": "number"
  41330. },
  41331. "canpart": {
  41332. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  41333. "type": "integer"
  41334. },
  41335. "delistminqty": {
  41336. "description": "起摘数量",
  41337. "type": "integer"
  41338. },
  41339. "deliverygoodscode": {
  41340. "description": "品种代码",
  41341. "type": "string"
  41342. },
  41343. "deliverygoodsid": {
  41344. "description": "品种ID",
  41345. "type": "integer"
  41346. },
  41347. "deliverygoodsname": {
  41348. "description": "品种名称",
  41349. "type": "string"
  41350. },
  41351. "deliverymonth": {
  41352. "description": "交收月",
  41353. "type": "string"
  41354. },
  41355. "enddate": {
  41356. "description": "结束交易日(yyyymmdd)",
  41357. "type": "string"
  41358. },
  41359. "enumdicname": {
  41360. "description": "单位名称",
  41361. "type": "string"
  41362. },
  41363. "fixedprice": {
  41364. "description": "固定价格 - [挂牌]",
  41365. "type": "number"
  41366. },
  41367. "freezecharge": {
  41368. "description": "期初均价",
  41369. "type": "number"
  41370. },
  41371. "freezemargin": {
  41372. "description": "期初均价",
  41373. "type": "number"
  41374. },
  41375. "futupricemove": {
  41376. "description": "期货升贴水",
  41377. "type": "number"
  41378. },
  41379. "futushow": {
  41380. "description": "期货合约/升贴水",
  41381. "type": "string"
  41382. },
  41383. "goodscode": {
  41384. "description": "期货合约",
  41385. "type": "string"
  41386. },
  41387. "goodsid": {
  41388. "description": "期货商品id",
  41389. "type": "integer"
  41390. },
  41391. "goodsname": {
  41392. "description": "商品名称",
  41393. "type": "string"
  41394. },
  41395. "haswr": {
  41396. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41397. "type": "integer"
  41398. },
  41399. "isspecified": {
  41400. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  41401. "type": "integer"
  41402. },
  41403. "ladingbillid": {
  41404. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  41405. "type": "string"
  41406. },
  41407. "marginvalue": {
  41408. "description": "期初均价",
  41409. "type": "number"
  41410. },
  41411. "marketid": {
  41412. "description": "市场ID",
  41413. "type": "integer"
  41414. },
  41415. "matchusername": {
  41416. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  41417. "type": "string"
  41418. },
  41419. "minivalue": {
  41420. "description": "现货商品最小变动值",
  41421. "type": "integer"
  41422. },
  41423. "optioncompare": {
  41424. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41425. "type": "string"
  41426. },
  41427. "orderqty": {
  41428. "description": "委托数量",
  41429. "type": "number"
  41430. },
  41431. "ordertime": {
  41432. "description": "委托时间(挂牌时间)",
  41433. "type": "string"
  41434. },
  41435. "performancetemplateid": {
  41436. "description": "履约模板id",
  41437. "type": "integer"
  41438. },
  41439. "pricemove": {
  41440. "description": "升贴水(浮动价时填写) - [挂牌]",
  41441. "type": "number"
  41442. },
  41443. "taname": {
  41444. "description": "交易用户名称(资金账号名称)",
  41445. "type": "string"
  41446. },
  41447. "thumurls": {
  41448. "description": "缩略图",
  41449. "type": "string"
  41450. },
  41451. "tradedate": {
  41452. "description": "交易日(yyyyMMdd)",
  41453. "type": "string"
  41454. },
  41455. "tradeprice": {
  41456. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  41457. "type": "number"
  41458. },
  41459. "tradeqty": {
  41460. "description": "成交数量",
  41461. "type": "number"
  41462. },
  41463. "userid": {
  41464. "description": "用户ID",
  41465. "type": "integer"
  41466. },
  41467. "validtime": {
  41468. "description": "挂牌有效期",
  41469. "type": "string"
  41470. },
  41471. "validtype": {
  41472. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  41473. "type": "integer"
  41474. },
  41475. "warehouseid": {
  41476. "description": "仓库ID",
  41477. "type": "integer"
  41478. },
  41479. "warehousename": {
  41480. "description": "仓库名称",
  41481. "type": "string"
  41482. },
  41483. "wrfactortypeid": {
  41484. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41485. "type": "string"
  41486. },
  41487. "wrfactortypename": {
  41488. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41489. "type": "string"
  41490. },
  41491. "wrpricetype": {
  41492. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  41493. "type": "integer"
  41494. },
  41495. "wrstandardcode": {
  41496. "description": "现货商品代码",
  41497. "type": "string"
  41498. },
  41499. "wrstandardid": {
  41500. "description": "现货商品ID",
  41501. "type": "integer"
  41502. },
  41503. "wrstandardname": {
  41504. "description": "商品名称",
  41505. "type": "string"
  41506. },
  41507. "wrtradeorderid": {
  41508. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41509. "type": "string"
  41510. },
  41511. "wrtradeorderstatus": {
  41512. "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:撤单解冻贷款失败",
  41513. "type": "integer"
  41514. },
  41515. "wrtradetype": {
  41516. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  41517. "type": "integer"
  41518. },
  41519. "wrtypename": {
  41520. "description": "商品",
  41521. "type": "string"
  41522. }
  41523. }
  41524. },
  41525. "models.WrOrderQuote": {
  41526. "type": "object",
  41527. "properties": {
  41528. "bannerpicurl": {
  41529. "description": "Banner图",
  41530. "type": "string"
  41531. },
  41532. "buyprice": {
  41533. "description": "买价",
  41534. "type": "number"
  41535. },
  41536. "buypricemove": {
  41537. "description": "买升贴水(基差)",
  41538. "type": "number"
  41539. },
  41540. "buyqty": {
  41541. "description": "买量",
  41542. "type": "number"
  41543. },
  41544. "deliverygoodscode": {
  41545. "description": "品种代码",
  41546. "type": "string"
  41547. },
  41548. "deliverygoodsid": {
  41549. "description": "品种id",
  41550. "type": "integer"
  41551. },
  41552. "deliverygoodsname": {
  41553. "description": "品种名称",
  41554. "type": "string"
  41555. },
  41556. "deliverymonth": {
  41557. "description": "交收月",
  41558. "type": "string"
  41559. },
  41560. "enumdicname": {
  41561. "description": "单位名称",
  41562. "type": "string"
  41563. },
  41564. "goodscode": {
  41565. "description": "商品合约(浮动价列表才有)",
  41566. "type": "string"
  41567. },
  41568. "goodsid": {
  41569. "description": "商品id(浮动价列表才有)",
  41570. "type": "integer"
  41571. },
  41572. "minivalue": {
  41573. "description": "现货商品最小变动值",
  41574. "type": "integer"
  41575. },
  41576. "pictureurls": {
  41577. "description": "详情图片(逗号分隔)",
  41578. "type": "string"
  41579. },
  41580. "sellprice": {
  41581. "description": "卖价",
  41582. "type": "number"
  41583. },
  41584. "sellpricemove": {
  41585. "description": "卖升贴水(基差)",
  41586. "type": "number"
  41587. },
  41588. "sellqty": {
  41589. "description": "卖量",
  41590. "type": "number"
  41591. },
  41592. "thumurls": {
  41593. "description": "缩略图片(1:1)(逗号分隔)",
  41594. "type": "string"
  41595. },
  41596. "warehousecode": {
  41597. "description": "仓库代码",
  41598. "type": "string"
  41599. },
  41600. "warehouseid": {
  41601. "description": "仓库id",
  41602. "type": "integer"
  41603. },
  41604. "warehousename": {
  41605. "description": "仓库名称",
  41606. "type": "string"
  41607. },
  41608. "wrfactortypeid": {
  41609. "description": "仓单要素id",
  41610. "type": "string"
  41611. },
  41612. "wrfactortypename": {
  41613. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41614. "type": "string"
  41615. },
  41616. "wrgoodsname": {
  41617. "description": "商品(商品名称+仓库要素名称 拼接)",
  41618. "type": "string"
  41619. },
  41620. "wrstandardcode": {
  41621. "description": "商品代码",
  41622. "type": "string"
  41623. },
  41624. "wrstandardid": {
  41625. "description": "商品id",
  41626. "type": "integer"
  41627. },
  41628. "wrstandardname": {
  41629. "description": "商品名称",
  41630. "type": "string"
  41631. }
  41632. }
  41633. },
  41634. "models.WrOrderQuoteDetail": {
  41635. "type": "object",
  41636. "properties": {
  41637. "buyorsell": {
  41638. "description": "买卖 - 0:买 1:卖",
  41639. "type": "integer"
  41640. },
  41641. "delistminqty": {
  41642. "description": "期初均价",
  41643. "type": "number"
  41644. },
  41645. "deliverymonth": {
  41646. "description": "交收月",
  41647. "type": "string"
  41648. },
  41649. "enumdicname": {
  41650. "description": "单位名称",
  41651. "type": "string"
  41652. },
  41653. "fixedprice": {
  41654. "description": "买(卖)价",
  41655. "type": "number"
  41656. },
  41657. "marketid": {
  41658. "description": "市场id",
  41659. "type": "integer"
  41660. },
  41661. "minivalue": {
  41662. "description": "现货商品最小变动值",
  41663. "type": "integer"
  41664. },
  41665. "orderqty": {
  41666. "description": "买(卖)量(=委托量-成交量)",
  41667. "type": "number"
  41668. },
  41669. "ordertime": {
  41670. "description": "委托时间",
  41671. "type": "string"
  41672. },
  41673. "pricemove": {
  41674. "description": "买(卖)升贴水- 基差",
  41675. "type": "number"
  41676. },
  41677. "userid": {
  41678. "description": "购买方(销售方)用户ID",
  41679. "type": "integer"
  41680. },
  41681. "username": {
  41682. "description": "购买方(销售方)",
  41683. "type": "string"
  41684. },
  41685. "wrtradeorderid": {
  41686. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41687. "type": "string"
  41688. }
  41689. }
  41690. },
  41691. "models.WrOutInApply": {
  41692. "type": "object",
  41693. "properties": {
  41694. "applyid": {
  41695. "description": "申请单id",
  41696. "type": "string"
  41697. },
  41698. "applystatus": {
  41699. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  41700. "type": "integer"
  41701. },
  41702. "applytime": {
  41703. "description": "申请时间",
  41704. "type": "string"
  41705. },
  41706. "applytype": {
  41707. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  41708. "type": "integer"
  41709. },
  41710. "bannerpicurl": {
  41711. "description": "Banner图",
  41712. "type": "string"
  41713. },
  41714. "begindate": {
  41715. "description": "开始交易日(yyyymmdd)",
  41716. "type": "string"
  41717. },
  41718. "deliverygoodscode": {
  41719. "description": "品种代码",
  41720. "type": "string"
  41721. },
  41722. "deliverygoodsid": {
  41723. "description": "品种ID",
  41724. "type": "integer"
  41725. },
  41726. "deliverygoodsname": {
  41727. "description": "品种名称",
  41728. "type": "string"
  41729. },
  41730. "enddate": {
  41731. "description": "结束交易日(yyyymmdd)",
  41732. "type": "string"
  41733. },
  41734. "enumdicname": {
  41735. "description": "单位名称",
  41736. "type": "string"
  41737. },
  41738. "expresscompany": {
  41739. "description": "物流公司",
  41740. "type": "string"
  41741. },
  41742. "expressnum": {
  41743. "description": "物流单号",
  41744. "type": "string"
  41745. },
  41746. "minivalue": {
  41747. "description": "现货商品最小变动值",
  41748. "type": "integer"
  41749. },
  41750. "optioncompare": {
  41751. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41752. "type": "string"
  41753. },
  41754. "qty": {
  41755. "description": "数量",
  41756. "type": "integer"
  41757. },
  41758. "userid": {
  41759. "description": "用户id",
  41760. "type": "integer"
  41761. },
  41762. "warehouseid": {
  41763. "description": "仓库ID",
  41764. "type": "integer"
  41765. },
  41766. "warehousename": {
  41767. "description": "仓库名称",
  41768. "type": "string"
  41769. },
  41770. "wrfactortypeid": {
  41771. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41772. "type": "string"
  41773. },
  41774. "wrfactortypename": {
  41775. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41776. "type": "string"
  41777. },
  41778. "wrstandardcode": {
  41779. "description": "现货商品代码",
  41780. "type": "string"
  41781. },
  41782. "wrstandardid": {
  41783. "description": "现货商品ID",
  41784. "type": "integer"
  41785. },
  41786. "wrstandardname": {
  41787. "description": "商品名称",
  41788. "type": "string"
  41789. },
  41790. "wrtypename": {
  41791. "description": "商品",
  41792. "type": "string"
  41793. }
  41794. }
  41795. },
  41796. "models.WrPerformancePlan": {
  41797. "type": "object",
  41798. "required": [
  41799. "userid"
  41800. ],
  41801. "properties": {
  41802. "activatemonth": {
  41803. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  41804. "type": "string"
  41805. },
  41806. "amount": {
  41807. "description": "履约金额(总金额)",
  41808. "type": "number"
  41809. },
  41810. "begindate": {
  41811. "description": "开始交易日(yyyymmdd)",
  41812. "type": "string"
  41813. },
  41814. "buyaccountid": {
  41815. "description": "买方账号",
  41816. "type": "integer"
  41817. },
  41818. "buyerfreezeamount": {
  41819. "description": "履约冻结(买履约)",
  41820. "type": "number"
  41821. },
  41822. "buyerfreezeamountremain": {
  41823. "description": "履约冻结剩余(买履约)",
  41824. "type": "number"
  41825. },
  41826. "buyorsell": {
  41827. "description": "买卖方向 0-买 1-卖",
  41828. "type": "integer"
  41829. },
  41830. "buypaidamount": {
  41831. "description": "买方已冻/已扣金额 (已付金额)",
  41832. "type": "number"
  41833. },
  41834. "buyusername": {
  41835. "description": "买方名字",
  41836. "type": "string"
  41837. },
  41838. "contractid": {
  41839. "description": "合同ID",
  41840. "type": "integer"
  41841. },
  41842. "createtime": {
  41843. "description": "创建时间",
  41844. "type": "string"
  41845. },
  41846. "creatorid": {
  41847. "description": "创建人",
  41848. "type": "integer"
  41849. },
  41850. "curstepdeadline": {
  41851. "description": "当前步骤到期时间",
  41852. "type": "string"
  41853. },
  41854. "curstepid": {
  41855. "description": "当前步骤ID",
  41856. "type": "string"
  41857. },
  41858. "curstepname": {
  41859. "description": "当前步骤名称",
  41860. "type": "string"
  41861. },
  41862. "deliverygoodscode": {
  41863. "description": "品种代码",
  41864. "type": "string"
  41865. },
  41866. "deliverygoodsid": {
  41867. "description": "品种ID",
  41868. "type": "integer"
  41869. },
  41870. "deliverygoodsname": {
  41871. "description": "品种名称",
  41872. "type": "string"
  41873. },
  41874. "enddate": {
  41875. "description": "结束交易日(yyyymmdd)",
  41876. "type": "string"
  41877. },
  41878. "enumdicname": {
  41879. "description": "单位名称",
  41880. "type": "string"
  41881. },
  41882. "expressfee": {
  41883. "description": "运费",
  41884. "type": "number"
  41885. },
  41886. "expressfeeconfirmed": {
  41887. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  41888. "type": "integer"
  41889. },
  41890. "hasovershort": {
  41891. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  41892. "type": "integer"
  41893. },
  41894. "haswr": {
  41895. "description": "类型 0-仓单预售 1-仓单贸易",
  41896. "type": "integer"
  41897. },
  41898. "marketid": {
  41899. "description": "市场ID",
  41900. "type": "integer"
  41901. },
  41902. "middleaccountid": {
  41903. "description": "中间商资金账号ID",
  41904. "type": "integer"
  41905. },
  41906. "middleuserid": {
  41907. "description": "中间商用户ID",
  41908. "type": "integer"
  41909. },
  41910. "minivalue": {
  41911. "description": "现货商品最小变动值",
  41912. "type": "integer"
  41913. },
  41914. "optioncompare": {
  41915. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41916. "type": "string"
  41917. },
  41918. "overshortamount": {
  41919. "description": "溢短金额",
  41920. "type": "number"
  41921. },
  41922. "overshortqty": {
  41923. "description": "溢短数量",
  41924. "type": "number"
  41925. },
  41926. "paymenttype": {
  41927. "description": "付款方式 - 1:冻结 2:扣款",
  41928. "type": "integer"
  41929. },
  41930. "performanceplanid": {
  41931. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  41932. "type": "string"
  41933. },
  41934. "performancestatus": {
  41935. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  41936. "type": "integer"
  41937. },
  41938. "performancetype": {
  41939. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  41940. "type": "integer"
  41941. },
  41942. "qty": {
  41943. "description": "履约数量",
  41944. "type": "number"
  41945. },
  41946. "relatedorderid": {
  41947. "description": "关联单号(履约类型的关联单号)",
  41948. "type": "string"
  41949. },
  41950. "remark": {
  41951. "description": "备注",
  41952. "type": "string"
  41953. },
  41954. "sellaccountid": {
  41955. "description": "卖方账号",
  41956. "type": "integer"
  41957. },
  41958. "sellerfreezeamount": {
  41959. "description": "履约冻结(卖履约)",
  41960. "type": "number"
  41961. },
  41962. "sellerfreezeamountremain": {
  41963. "description": "履约冻结剩余(卖履约)",
  41964. "type": "number"
  41965. },
  41966. "sellreceivedamount": {
  41967. "description": "卖方已收金额",
  41968. "type": "number"
  41969. },
  41970. "sellusername": {
  41971. "description": "卖方名字",
  41972. "type": "string"
  41973. },
  41974. "shipremark": {
  41975. "description": "发货备注[物流单号]",
  41976. "type": "string"
  41977. },
  41978. "starttime": {
  41979. "description": "开始时间",
  41980. "type": "string"
  41981. },
  41982. "steptypeid": {
  41983. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41984. "type": "integer"
  41985. },
  41986. "typename": {
  41987. "description": "履约类型 名称",
  41988. "type": "string"
  41989. },
  41990. "unpaidamount": {
  41991. "description": "期初均价",
  41992. "type": "number"
  41993. },
  41994. "userid": {
  41995. "description": "用户id",
  41996. "type": "integer"
  41997. },
  41998. "warehouseid": {
  41999. "description": "仓库ID",
  42000. "type": "integer"
  42001. },
  42002. "warehousename": {
  42003. "description": "仓库名称",
  42004. "type": "string"
  42005. },
  42006. "wrfactortypeid": {
  42007. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42008. "type": "string"
  42009. },
  42010. "wrfactortypename": {
  42011. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42012. "type": "string"
  42013. },
  42014. "wrstandardcode": {
  42015. "description": "现货商品代码",
  42016. "type": "string"
  42017. },
  42018. "wrstandardid": {
  42019. "description": "现货商品ID",
  42020. "type": "integer"
  42021. },
  42022. "wrstandardname": {
  42023. "description": "商品名称",
  42024. "type": "string"
  42025. },
  42026. "wrtransferuserid": {
  42027. "description": "仓单受让用户",
  42028. "type": "integer"
  42029. },
  42030. "wrtypename": {
  42031. "description": "商品",
  42032. "type": "string"
  42033. }
  42034. }
  42035. },
  42036. "models.WrPerformancePlanStep": {
  42037. "type": "object",
  42038. "properties": {
  42039. "delaydays": {
  42040. "description": "延期申请天数",
  42041. "type": "integer"
  42042. },
  42043. "deliverygoodscode": {
  42044. "description": "品种代码",
  42045. "type": "string"
  42046. },
  42047. "deliverygoodsid": {
  42048. "description": "品种ID",
  42049. "type": "integer"
  42050. },
  42051. "deliverygoodsname": {
  42052. "description": "品种名称",
  42053. "type": "string"
  42054. },
  42055. "endtime": {
  42056. "description": "结束日期",
  42057. "type": "string"
  42058. },
  42059. "enumdicname": {
  42060. "description": "单位名称",
  42061. "type": "string"
  42062. },
  42063. "executeside": {
  42064. "description": "步骤执行方 - 1:买方 2:卖方",
  42065. "type": "integer"
  42066. },
  42067. "handlestatus": {
  42068. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  42069. "type": "integer"
  42070. },
  42071. "isauto": {
  42072. "description": "是否自动 - 0:不自动 1:自动",
  42073. "type": "integer"
  42074. },
  42075. "islastreceivestep": {
  42076. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  42077. "type": "integer"
  42078. },
  42079. "minivalue": {
  42080. "description": "现货商品最小变动值",
  42081. "type": "integer"
  42082. },
  42083. "optioncompare": {
  42084. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42085. "type": "string"
  42086. },
  42087. "overdays": {
  42088. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  42089. "type": "integer"
  42090. },
  42091. "performancestepid": {
  42092. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  42093. "type": "string"
  42094. },
  42095. "planid": {
  42096. "description": "所属履约计划ID",
  42097. "type": "string"
  42098. },
  42099. "realamount": {
  42100. "description": "实际完成金额",
  42101. "type": "number"
  42102. },
  42103. "relatedorderid": {
  42104. "description": "关联单号",
  42105. "type": "string"
  42106. },
  42107. "remaindays": {
  42108. "description": "剩余天数",
  42109. "type": "integer"
  42110. },
  42111. "remark": {
  42112. "description": "错误备注",
  42113. "type": "string"
  42114. },
  42115. "starttime": {
  42116. "description": "开始日期",
  42117. "type": "string"
  42118. },
  42119. "stepamount": {
  42120. "description": "步骤金额",
  42121. "type": "number"
  42122. },
  42123. "stepdays": {
  42124. "description": "距离上一步天数(分钟)",
  42125. "type": "integer"
  42126. },
  42127. "stepindex": {
  42128. "description": "步骤序号",
  42129. "type": "integer"
  42130. },
  42131. "steplanchtype": {
  42132. "description": "步骤启动类型 - 1:系统自动 2:手动",
  42133. "type": "integer"
  42134. },
  42135. "stepremark": {
  42136. "description": "步骤备注",
  42137. "type": "string"
  42138. },
  42139. "stepstatus": {
  42140. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  42141. "type": "integer"
  42142. },
  42143. "steptypeid": {
  42144. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  42145. "type": "integer"
  42146. },
  42147. "steptypename": {
  42148. "description": "步骤名称",
  42149. "type": "string"
  42150. },
  42151. "stepvalue": {
  42152. "description": "步骤值",
  42153. "type": "number"
  42154. },
  42155. "warehouseid": {
  42156. "description": "仓库ID",
  42157. "type": "integer"
  42158. },
  42159. "warehousename": {
  42160. "description": "仓库名称",
  42161. "type": "string"
  42162. },
  42163. "wrfactortypeid": {
  42164. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42165. "type": "string"
  42166. },
  42167. "wrfactortypename": {
  42168. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42169. "type": "string"
  42170. },
  42171. "wrstandardcode": {
  42172. "description": "现货商品代码",
  42173. "type": "string"
  42174. },
  42175. "wrstandardid": {
  42176. "description": "现货商品ID",
  42177. "type": "integer"
  42178. },
  42179. "wrstandardname": {
  42180. "description": "商品名称",
  42181. "type": "string"
  42182. },
  42183. "wrtypename": {
  42184. "description": "商品",
  42185. "type": "string"
  42186. }
  42187. }
  42188. },
  42189. "models.WrPerformanceStepType": {
  42190. "type": "object",
  42191. "properties": {
  42192. "canauto": {
  42193. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  42194. "type": "integer"
  42195. },
  42196. "steptypeid": {
  42197. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  42198. "type": "integer"
  42199. },
  42200. "steptypename": {
  42201. "description": "步骤类型名称",
  42202. "type": "string"
  42203. }
  42204. }
  42205. },
  42206. "models.WrPerformanceTemplateEx": {
  42207. "type": "object",
  42208. "properties": {
  42209. "autoid": {
  42210. "description": "AutoID 模板id",
  42211. "type": "integer"
  42212. },
  42213. "createtime": {
  42214. "description": "创建时间",
  42215. "type": "string"
  42216. },
  42217. "creatorid": {
  42218. "description": "创建人",
  42219. "type": "integer"
  42220. },
  42221. "lstStep": {
  42222. "description": "步骤信息列表",
  42223. "type": "array",
  42224. "items": {
  42225. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  42226. }
  42227. },
  42228. "paymenttype": {
  42229. "description": "支付方式 - 1:冻结 2:扣款",
  42230. "type": "integer"
  42231. },
  42232. "takemode": {
  42233. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  42234. "type": "integer"
  42235. },
  42236. "templatename": {
  42237. "description": "模板名称",
  42238. "type": "string"
  42239. },
  42240. "templatetype": {
  42241. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  42242. "type": "integer"
  42243. },
  42244. "userid": {
  42245. "description": "所属用户",
  42246. "type": "integer"
  42247. }
  42248. }
  42249. },
  42250. "models.WrPosition": {
  42251. "type": "object",
  42252. "properties": {
  42253. "accountid": {
  42254. "description": "帐户ID",
  42255. "type": "integer"
  42256. },
  42257. "buyexcuteqty": {
  42258. "description": "采购履约中数量",
  42259. "type": "number"
  42260. },
  42261. "creditcurqty": {
  42262. "description": "授信当前数量(预售仓单:预售当前量)",
  42263. "type": "number"
  42264. },
  42265. "creditenableqty": {
  42266. "description": "授信可用数量(预售仓单: 可用数量)",
  42267. "type": "number"
  42268. },
  42269. "creditfreezeqty": {
  42270. "description": "授信冻结数量(预售仓单: 当前数量)",
  42271. "type": "number"
  42272. },
  42273. "credittotalqty": {
  42274. "description": "授信总数量(预售仓单:预售总量)",
  42275. "type": "number"
  42276. },
  42277. "credittradeqty": {
  42278. "description": "授信成交数量(预售仓单:成交总量)",
  42279. "type": "number"
  42280. },
  42281. "deliverygoodscode": {
  42282. "description": "品种代码",
  42283. "type": "string"
  42284. },
  42285. "deliverygoodsid": {
  42286. "description": "品种ID",
  42287. "type": "integer"
  42288. },
  42289. "deliverygoodsname": {
  42290. "description": "品种名称",
  42291. "type": "string"
  42292. },
  42293. "enalbeqty": {
  42294. "description": "可用数量",
  42295. "type": "number"
  42296. },
  42297. "enumdicname": {
  42298. "description": "单位名称",
  42299. "type": "string"
  42300. },
  42301. "freezeqty": {
  42302. "description": "总冻结数量",
  42303. "type": "number"
  42304. },
  42305. "haswr": {
  42306. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42307. "type": "integer"
  42308. },
  42309. "minivalue": {
  42310. "description": "现货商品最小变动值",
  42311. "type": "integer"
  42312. },
  42313. "modifytime": {
  42314. "description": "修改时间(过户时间)",
  42315. "type": "string"
  42316. },
  42317. "optioncompare": {
  42318. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42319. "type": "string"
  42320. },
  42321. "pledgeqty": {
  42322. "description": "质押数量",
  42323. "type": "number"
  42324. },
  42325. "querytype": {
  42326. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  42327. "type": "integer"
  42328. },
  42329. "sellexcuteqty": {
  42330. "description": "销售履约中数量",
  42331. "type": "number"
  42332. },
  42333. "totalqty": {
  42334. "description": "总数量(库存数量)",
  42335. "type": "number"
  42336. },
  42337. "warehouseid": {
  42338. "description": "仓库ID",
  42339. "type": "integer"
  42340. },
  42341. "warehousename": {
  42342. "description": "仓库名称",
  42343. "type": "string"
  42344. },
  42345. "wrfactortypeid": {
  42346. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42347. "type": "string"
  42348. },
  42349. "wrfactortypename": {
  42350. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42351. "type": "string"
  42352. },
  42353. "wrpositionid": {
  42354. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  42355. "type": "string"
  42356. },
  42357. "wrpositionno": {
  42358. "description": "仓单编号",
  42359. "type": "string"
  42360. },
  42361. "wrstandardcode": {
  42362. "description": "现货商品代码",
  42363. "type": "string"
  42364. },
  42365. "wrstandardid": {
  42366. "description": "现货商品ID",
  42367. "type": "integer"
  42368. },
  42369. "wrstandardname": {
  42370. "description": "商品名称",
  42371. "type": "string"
  42372. },
  42373. "wrtypename": {
  42374. "description": "商品",
  42375. "type": "string"
  42376. },
  42377. "wruserid": {
  42378. "description": "持有人ID",
  42379. "type": "integer"
  42380. }
  42381. }
  42382. },
  42383. "models.WrPreSaleInfo": {
  42384. "type": "object",
  42385. "properties": {
  42386. "bannerpicurl": {
  42387. "description": "Banner图",
  42388. "type": "string"
  42389. },
  42390. "baseqty": {
  42391. "description": "中签基数",
  42392. "type": "number"
  42393. },
  42394. "createtime": {
  42395. "description": "创建时间",
  42396. "type": "string"
  42397. },
  42398. "deliverygoodsid": {
  42399. "description": "现货品种ID",
  42400. "type": "integer"
  42401. },
  42402. "enddate": {
  42403. "description": "预售结束日期",
  42404. "type": "string"
  42405. },
  42406. "enumdicname": {
  42407. "description": "单位名称",
  42408. "type": "string"
  42409. },
  42410. "lotteryflag": {
  42411. "description": "摇号标识 - 0:未摇号 1:已摇号",
  42412. "type": "integer"
  42413. },
  42414. "lotteryqty": {
  42415. "description": "摇号总量",
  42416. "type": "number"
  42417. },
  42418. "luckyqty": {
  42419. "description": "已中签量",
  42420. "type": "number"
  42421. },
  42422. "marketid": {
  42423. "description": "市场ID",
  42424. "type": "integer"
  42425. },
  42426. "maxbuyqty": {
  42427. "description": "单人最大申购量",
  42428. "type": "number"
  42429. },
  42430. "maxluckyqty": {
  42431. "description": "单人最大中签量",
  42432. "type": "number"
  42433. },
  42434. "pictureurls": {
  42435. "description": "详情图片(逗号分隔)",
  42436. "type": "string"
  42437. },
  42438. "placeqty": {
  42439. "description": "已配售量",
  42440. "type": "number"
  42441. },
  42442. "presaleapplyid": {
  42443. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  42444. "type": "string",
  42445. "example": "0"
  42446. },
  42447. "presaleqty": {
  42448. "description": "预售总量",
  42449. "type": "number"
  42450. },
  42451. "presalestatus": {
  42452. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  42453. "type": "integer"
  42454. },
  42455. "sellaccountid": {
  42456. "description": "发行方资金账户ID",
  42457. "type": "integer"
  42458. },
  42459. "selluserid": {
  42460. "description": "发行方用户ID",
  42461. "type": "integer"
  42462. },
  42463. "sellwrtradeorderid": {
  42464. "description": "发行方卖委托单ID",
  42465. "type": "string"
  42466. },
  42467. "startdate": {
  42468. "description": "预售开始日期",
  42469. "type": "string"
  42470. },
  42471. "takestartdate": {
  42472. "description": "提货开始日期",
  42473. "type": "string"
  42474. },
  42475. "thumurls": {
  42476. "description": "缩略图片(1:1)(逗号分隔)",
  42477. "type": "string"
  42478. },
  42479. "tradedate": {
  42480. "description": "交易日",
  42481. "type": "string"
  42482. },
  42483. "unitid": {
  42484. "description": "单位ID",
  42485. "type": "integer"
  42486. },
  42487. "unitprice": {
  42488. "description": "商品单价",
  42489. "type": "number"
  42490. },
  42491. "username": {
  42492. "description": "发行方用户名称",
  42493. "type": "string"
  42494. },
  42495. "warehousecode": {
  42496. "description": "仓库代码(仓库简称)",
  42497. "type": "string"
  42498. },
  42499. "warehouseid": {
  42500. "description": "仓库ID",
  42501. "type": "integer"
  42502. },
  42503. "warehousename": {
  42504. "description": "仓库名称",
  42505. "type": "string"
  42506. },
  42507. "wrfactortypeid": {
  42508. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  42509. "type": "string",
  42510. "example": "0"
  42511. },
  42512. "wrstandardid": {
  42513. "description": "现货商品ID",
  42514. "type": "integer"
  42515. },
  42516. "wrstandardname": {
  42517. "description": "现货商品名称",
  42518. "type": "string"
  42519. }
  42520. }
  42521. },
  42522. "models.WrQuoteOrderMyq": {
  42523. "type": "object",
  42524. "properties": {
  42525. "buyorsell": {
  42526. "description": "买卖 - 0:买 1:卖",
  42527. "type": "integer"
  42528. },
  42529. "canbargain": {
  42530. "description": "是否可议价 - 0:不可 1:可",
  42531. "type": "integer"
  42532. },
  42533. "canpart": {
  42534. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  42535. "type": "integer"
  42536. },
  42537. "delistminqty": {
  42538. "description": "期初均价",
  42539. "type": "number"
  42540. },
  42541. "deliverygoodscode": {
  42542. "description": "品种代码",
  42543. "type": "string"
  42544. },
  42545. "deliverygoodsid": {
  42546. "description": "品种ID",
  42547. "type": "integer"
  42548. },
  42549. "deliverygoodsname": {
  42550. "description": "品种名称",
  42551. "type": "string"
  42552. },
  42553. "deliverymonth": {
  42554. "description": "交收月",
  42555. "type": "string"
  42556. },
  42557. "enumdicname": {
  42558. "description": "单位名称",
  42559. "type": "string"
  42560. },
  42561. "fixedprice": {
  42562. "description": "买(卖)价",
  42563. "type": "number"
  42564. },
  42565. "goodscode": {
  42566. "description": "商品合约代码",
  42567. "type": "string"
  42568. },
  42569. "marginflag": {
  42570. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  42571. "type": "integer"
  42572. },
  42573. "marginvalue": {
  42574. "description": "保证金设置值",
  42575. "type": "number"
  42576. },
  42577. "minivalue": {
  42578. "description": "现货商品最小变动值",
  42579. "type": "integer"
  42580. },
  42581. "orderqty": {
  42582. "description": "买(卖)量(=委托量-成交量)",
  42583. "type": "number"
  42584. },
  42585. "ordertime": {
  42586. "description": "委托时间",
  42587. "type": "string"
  42588. },
  42589. "performancetemplateid": {
  42590. "description": "履约模板id",
  42591. "type": "integer"
  42592. },
  42593. "pricemove": {
  42594. "description": "买(卖)升贴水- 基差",
  42595. "type": "number"
  42596. },
  42597. "templatename": {
  42598. "description": "履约模板名称",
  42599. "type": "string"
  42600. },
  42601. "userid": {
  42602. "description": "购买方(销售方)用户ID",
  42603. "type": "integer"
  42604. },
  42605. "username": {
  42606. "description": "购买方(销售方)",
  42607. "type": "string"
  42608. },
  42609. "validtime": {
  42610. "description": "有效期限",
  42611. "type": "string"
  42612. },
  42613. "validtype": {
  42614. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42615. "type": "integer"
  42616. },
  42617. "warehousename": {
  42618. "description": "仓库名称",
  42619. "type": "string"
  42620. },
  42621. "wrfactortypeid": {
  42622. "description": "仓单要素id",
  42623. "type": "string"
  42624. },
  42625. "wrstandardcode": {
  42626. "description": "现货商品代码",
  42627. "type": "string"
  42628. },
  42629. "wrstandardid": {
  42630. "description": "现货商品ID",
  42631. "type": "integer"
  42632. },
  42633. "wrstandardname": {
  42634. "description": "商品名称",
  42635. "type": "string"
  42636. },
  42637. "wrtradeorderid": {
  42638. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42639. "type": "string"
  42640. },
  42641. "wrtypename": {
  42642. "description": "商品",
  42643. "type": "string"
  42644. }
  42645. }
  42646. },
  42647. "models.WrReckonSpotGoodsTradeSum": {
  42648. "type": "object",
  42649. "properties": {
  42650. "begindate": {
  42651. "description": "开始日期(结果含开始日期) yyyymmdd",
  42652. "type": "string"
  42653. },
  42654. "enddate": {
  42655. "description": "结束日期(结果含结束日期) yyyymmdd",
  42656. "type": "string"
  42657. },
  42658. "istoday": {
  42659. "description": "是否当日",
  42660. "type": "boolean"
  42661. },
  42662. "marketid": {
  42663. "description": "市场ID",
  42664. "type": "integer"
  42665. },
  42666. "price": {
  42667. "description": "价格 = 日成交金额 / 日成交数量",
  42668. "type": "string"
  42669. },
  42670. "reckondate": {
  42671. "description": "日期 格式 yyyymmdd",
  42672. "type": "string"
  42673. },
  42674. "tradeamount": {
  42675. "description": "期初均价",
  42676. "type": "number"
  42677. },
  42678. "tradeqty": {
  42679. "description": "期初均价",
  42680. "type": "number"
  42681. },
  42682. "wrstandardid": {
  42683. "description": "现货商品ID",
  42684. "type": "integer"
  42685. }
  42686. }
  42687. },
  42688. "models.WrScfContract": {
  42689. "type": "object",
  42690. "properties": {
  42691. "borroweruserid": {
  42692. "description": "借款用户ID",
  42693. "type": "integer"
  42694. },
  42695. "buybackwrpositionqty": {
  42696. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  42697. "type": "number"
  42698. },
  42699. "closeinterest": {
  42700. "description": "已结利息 -\u003e 已结费用",
  42701. "type": "number"
  42702. },
  42703. "currisklevel": {
  42704. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  42705. "type": "integer"
  42706. },
  42707. "deadline": {
  42708. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  42709. "type": "string"
  42710. },
  42711. "deliverygoodscode": {
  42712. "description": "品种代码",
  42713. "type": "string"
  42714. },
  42715. "deliverygoodsid": {
  42716. "description": "品种ID",
  42717. "type": "integer"
  42718. },
  42719. "deliverygoodsname": {
  42720. "description": "品种名称",
  42721. "type": "string"
  42722. },
  42723. "enumdicname": {
  42724. "description": "单位名称",
  42725. "type": "string"
  42726. },
  42727. "financingdays": {
  42728. "description": "天数(天)",
  42729. "type": "integer"
  42730. },
  42731. "initmargin": {
  42732. "description": "保证金 - [仓单回购]",
  42733. "type": "number"
  42734. },
  42735. "interestamount": {
  42736. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  42737. "type": "number"
  42738. },
  42739. "interestdebt": {
  42740. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  42741. "type": "number"
  42742. },
  42743. "interestminlen": {
  42744. "description": "最小起息天数",
  42745. "type": "integer"
  42746. },
  42747. "interestrate": {
  42748. "description": "利率",
  42749. "type": "number"
  42750. },
  42751. "interestratemode": {
  42752. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42753. "type": "integer"
  42754. },
  42755. "interestsettlemode": {
  42756. "description": "结息方式 - 1:按日结息 3:按月结息",
  42757. "type": "integer"
  42758. },
  42759. "interestsettlevalue": {
  42760. "description": "结息方式值",
  42761. "type": "integer"
  42762. },
  42763. "isautoloan": {
  42764. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  42765. "type": "integer"
  42766. },
  42767. "lastcloseinterestday": {
  42768. "description": "最近结息日(yyyyMMdd)",
  42769. "type": "string"
  42770. },
  42771. "lenderamount": {
  42772. "description": "贷款金额 -\u003e 借款金额",
  42773. "type": "number"
  42774. },
  42775. "lenderuserid": {
  42776. "description": "贷款方用户ID -\u003e 融出方用户ID",
  42777. "type": "integer"
  42778. },
  42779. "lenderusername": {
  42780. "description": "融出方",
  42781. "type": "string"
  42782. },
  42783. "marginratio": {
  42784. "description": "保证金比率质押率 - [仓单质押]",
  42785. "type": "number"
  42786. },
  42787. "marketid": {
  42788. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  42789. "type": "integer"
  42790. },
  42791. "minivalue": {
  42792. "description": "现货商品最小变动值",
  42793. "type": "integer"
  42794. },
  42795. "optioncompare": {
  42796. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42797. "type": "string"
  42798. },
  42799. "pricemove": {
  42800. "description": "估值升贴水值",
  42801. "type": "number"
  42802. },
  42803. "productdetailid": {
  42804. "description": "产品组合ID",
  42805. "type": "integer"
  42806. },
  42807. "productid": {
  42808. "description": "金融产品ID",
  42809. "type": "integer"
  42810. },
  42811. "productname": {
  42812. "description": "产品名称",
  42813. "type": "string"
  42814. },
  42815. "remainamount": {
  42816. "description": "合同剩余金额 -\u003e 剩余金额",
  42817. "type": "number"
  42818. },
  42819. "remainwrpositionqty": {
  42820. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  42821. "type": "number"
  42822. },
  42823. "remark": {
  42824. "description": "备注",
  42825. "type": "string"
  42826. },
  42827. "scfcontractid": {
  42828. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  42829. "type": "string"
  42830. },
  42831. "scfcontractstatus": {
  42832. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  42833. "type": "integer"
  42834. },
  42835. "scfcontracttype": {
  42836. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  42837. "type": "integer"
  42838. },
  42839. "startinterestday": {
  42840. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  42841. "type": "string"
  42842. },
  42843. "totalinterest": {
  42844. "description": "已计利息 -\u003e 已计费用",
  42845. "type": "number"
  42846. },
  42847. "unpaidinterest": {
  42848. "description": "期初均价",
  42849. "type": "number"
  42850. },
  42851. "updatetime": {
  42852. "description": "更新时间",
  42853. "type": "string"
  42854. },
  42855. "warehouseid": {
  42856. "description": "仓库ID",
  42857. "type": "integer"
  42858. },
  42859. "warehousename": {
  42860. "description": "仓库名称",
  42861. "type": "string"
  42862. },
  42863. "wrfactortypeid": {
  42864. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42865. "type": "string"
  42866. },
  42867. "wrfactortypename": {
  42868. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42869. "type": "string"
  42870. },
  42871. "wrqty": {
  42872. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  42873. "type": "number"
  42874. },
  42875. "wrstandardcode": {
  42876. "description": "现货商品代码",
  42877. "type": "string"
  42878. },
  42879. "wrstandardid": {
  42880. "description": "现货商品ID",
  42881. "type": "integer"
  42882. },
  42883. "wrstandardname": {
  42884. "description": "商品名称",
  42885. "type": "string"
  42886. },
  42887. "wrtypename": {
  42888. "description": "商品",
  42889. "type": "string"
  42890. }
  42891. }
  42892. },
  42893. "models.WrScfContractInterest": {
  42894. "type": "object",
  42895. "properties": {
  42896. "closeinterest": {
  42897. "description": "已结利息",
  42898. "type": "number"
  42899. },
  42900. "closeintereststatus": {
  42901. "description": "结息状态 - 1:未结 2:已结",
  42902. "type": "integer"
  42903. },
  42904. "closetime": {
  42905. "description": "结息时间",
  42906. "type": "string"
  42907. },
  42908. "closetradedate": {
  42909. "description": "结息交易日",
  42910. "type": "string"
  42911. },
  42912. "creatorid": {
  42913. "description": "操作人ID",
  42914. "type": "integer"
  42915. },
  42916. "dayrate": {
  42917. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  42918. "type": "number"
  42919. },
  42920. "interest": {
  42921. "description": "利息",
  42922. "type": "number"
  42923. },
  42924. "interestamount": {
  42925. "description": "计息金额",
  42926. "type": "number"
  42927. },
  42928. "interestday": {
  42929. "description": "计息日(yyyyMMdd)",
  42930. "type": "string"
  42931. },
  42932. "scfcontractid": {
  42933. "description": "SCF合同ID",
  42934. "type": "string"
  42935. },
  42936. "scfcontractinterestid": {
  42937. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  42938. "type": "integer"
  42939. },
  42940. "updatetime": {
  42941. "description": "更新时间",
  42942. "type": "string"
  42943. }
  42944. }
  42945. },
  42946. "models.WrSearchUser": {
  42947. "type": "object",
  42948. "required": [
  42949. "username"
  42950. ],
  42951. "properties": {
  42952. "userid": {
  42953. "description": "用户ID",
  42954. "type": "integer"
  42955. },
  42956. "username": {
  42957. "description": "用户名称(已脱敏)",
  42958. "type": "string"
  42959. },
  42960. "username2": {
  42961. "description": "用户名称(未脱敏)",
  42962. "type": "string"
  42963. },
  42964. "usertype": {
  42965. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  42966. "type": "integer"
  42967. }
  42968. }
  42969. },
  42970. "models.WrSiteColumnDetail": {
  42971. "type": "object",
  42972. "properties": {
  42973. "brief": {
  42974. "description": "简介",
  42975. "type": "string"
  42976. },
  42977. "context": {
  42978. "description": "内容",
  42979. "type": "string"
  42980. },
  42981. "coverimage": {
  42982. "description": "封面图片",
  42983. "type": "string"
  42984. },
  42985. "creaedate": {
  42986. "description": "创建时间",
  42987. "type": "string"
  42988. },
  42989. "id": {
  42990. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  42991. "type": "integer"
  42992. },
  42993. "istop": {
  42994. "description": "是否置顶 - 0:不置 1:置顶",
  42995. "type": "integer"
  42996. },
  42997. "publishdate": {
  42998. "description": "发布日期",
  42999. "type": "string"
  43000. },
  43001. "title": {
  43002. "description": "标题",
  43003. "type": "string"
  43004. },
  43005. "updatedate": {
  43006. "description": "修改时间",
  43007. "type": "string"
  43008. }
  43009. }
  43010. },
  43011. "models.WrSpecialMatchOrder": {
  43012. "type": "object",
  43013. "properties": {
  43014. "amount": {
  43015. "description": "金额 = 数量 * 价格",
  43016. "type": "number"
  43017. },
  43018. "buyorsell": {
  43019. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  43020. "type": "integer"
  43021. },
  43022. "cancelqty": {
  43023. "description": "撤销数量",
  43024. "type": "number"
  43025. },
  43026. "deliverygoodscode": {
  43027. "description": "品种代码",
  43028. "type": "string"
  43029. },
  43030. "deliverygoodsid": {
  43031. "description": "品种ID",
  43032. "type": "integer"
  43033. },
  43034. "deliverygoodsname": {
  43035. "description": "品种名称",
  43036. "type": "string"
  43037. },
  43038. "enumdicname": {
  43039. "description": "单位名称",
  43040. "type": "string"
  43041. },
  43042. "fixedprice": {
  43043. "description": "固定价格(价格)",
  43044. "type": "number"
  43045. },
  43046. "haswr": {
  43047. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43048. "type": "integer"
  43049. },
  43050. "isspecified": {
  43051. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  43052. "type": "integer"
  43053. },
  43054. "marketid": {
  43055. "description": "市场ID",
  43056. "type": "integer"
  43057. },
  43058. "matchuserid": {
  43059. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  43060. "type": "integer"
  43061. },
  43062. "matchusername": {
  43063. "description": "指定方",
  43064. "type": "string"
  43065. },
  43066. "minivalue": {
  43067. "description": "现货商品最小变动值",
  43068. "type": "integer"
  43069. },
  43070. "optioncompare": {
  43071. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43072. "type": "string"
  43073. },
  43074. "orderqty": {
  43075. "description": "委托数量",
  43076. "type": "number"
  43077. },
  43078. "ordertime": {
  43079. "description": "委托时间",
  43080. "type": "string"
  43081. },
  43082. "pricemove": {
  43083. "description": "升贴水(浮动价时填写) - [挂牌]",
  43084. "type": "number"
  43085. },
  43086. "tradedate": {
  43087. "description": "交易日(yyyyMMdd)",
  43088. "type": "string"
  43089. },
  43090. "tradeprice": {
  43091. "description": "成交价格",
  43092. "type": "number"
  43093. },
  43094. "tradeqty": {
  43095. "description": "成交数量",
  43096. "type": "number"
  43097. },
  43098. "userid": {
  43099. "description": "用户ID",
  43100. "type": "integer"
  43101. },
  43102. "username": {
  43103. "description": "发起方",
  43104. "type": "string"
  43105. },
  43106. "warehouseid": {
  43107. "description": "仓库ID",
  43108. "type": "integer"
  43109. },
  43110. "warehousename": {
  43111. "description": "仓库名称",
  43112. "type": "string"
  43113. },
  43114. "wrfactortypeid": {
  43115. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43116. "type": "string"
  43117. },
  43118. "wrfactortypename": {
  43119. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43120. "type": "string"
  43121. },
  43122. "wrpricetype": {
  43123. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  43124. "type": "integer"
  43125. },
  43126. "wrstandardcode": {
  43127. "description": "现货商品代码",
  43128. "type": "string"
  43129. },
  43130. "wrstandardid": {
  43131. "description": "现货商品ID",
  43132. "type": "integer"
  43133. },
  43134. "wrstandardname": {
  43135. "description": "商品名称",
  43136. "type": "string"
  43137. },
  43138. "wrtradeorderid": {
  43139. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43140. "type": "string"
  43141. },
  43142. "wrtradeorderstatus": {
  43143. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  43144. "type": "integer"
  43145. },
  43146. "wrtradetype": {
  43147. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  43148. "type": "integer"
  43149. },
  43150. "wrtypename": {
  43151. "description": "商品",
  43152. "type": "string"
  43153. }
  43154. }
  43155. },
  43156. "models.WrSpotGroupTradeSum": {
  43157. "type": "object",
  43158. "properties": {
  43159. "deliverygoodscode": {
  43160. "description": "现货品种代码",
  43161. "type": "string"
  43162. },
  43163. "deliverygoodsid": {
  43164. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43165. "type": "integer"
  43166. },
  43167. "deliverygoodsname": {
  43168. "description": "现货品种名称",
  43169. "type": "string"
  43170. },
  43171. "lastavgprice": {
  43172. "description": "上上个交易日价格(前2天价格)",
  43173. "type": "string"
  43174. },
  43175. "lastreckondate": {
  43176. "description": "上上个交易日(前2天交易日)",
  43177. "type": "string"
  43178. },
  43179. "reckondate": {
  43180. "description": "上个交易日(前1天交易日)",
  43181. "type": "string"
  43182. },
  43183. "todayavgprice": {
  43184. "description": "上个交易日价格(前1天价格)",
  43185. "type": "string"
  43186. },
  43187. "updown": {
  43188. "description": "涨跌",
  43189. "type": "string"
  43190. },
  43191. "updownratio": {
  43192. "description": "涨幅(已格式化, 直接显示即可)",
  43193. "type": "string"
  43194. }
  43195. }
  43196. },
  43197. "models.WrSpotGroupTradeSumDetail": {
  43198. "type": "object",
  43199. "properties": {
  43200. "deliverygoodsid": {
  43201. "description": "现货商品id",
  43202. "type": "integer"
  43203. },
  43204. "price": {
  43205. "description": "价格",
  43206. "type": "number"
  43207. },
  43208. "reckondate": {
  43209. "description": "日期(yyymmdd, 如:20211031)",
  43210. "type": "string"
  43211. }
  43212. }
  43213. },
  43214. "models.WrSpotGroupTradeSumEx": {
  43215. "type": "object",
  43216. "properties": {
  43217. "lst": {
  43218. "description": "指数列表",
  43219. "type": "array",
  43220. "items": {
  43221. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  43222. }
  43223. },
  43224. "prereckondate": {
  43225. "description": "上上个交易日(yyymmdd)",
  43226. "type": "string"
  43227. },
  43228. "reckondate": {
  43229. "description": "上个交易日(yyyymmdd)",
  43230. "type": "string"
  43231. }
  43232. }
  43233. },
  43234. "models.WrStandardFactoryItem": {
  43235. "type": "object",
  43236. "properties": {
  43237. "dgfactoryitemid": {
  43238. "description": "选择项id",
  43239. "type": "integer"
  43240. },
  43241. "dgfactoryitemvalue": {
  43242. "description": "要素项值",
  43243. "type": "string"
  43244. },
  43245. "warehouseid": {
  43246. "description": "仓库id",
  43247. "type": "integer"
  43248. }
  43249. }
  43250. },
  43251. "models.WrStandardFactoryItemEx": {
  43252. "type": "object",
  43253. "properties": {
  43254. "dgfactoryitemtypeid": {
  43255. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  43256. "type": "integer"
  43257. },
  43258. "itemlst": {
  43259. "description": "要素项列表",
  43260. "type": "array",
  43261. "items": {
  43262. "$ref": "#/definitions/models.WrStandardFactoryItem"
  43263. }
  43264. },
  43265. "itemtypename": {
  43266. "description": "要素项类型名称",
  43267. "type": "string"
  43268. },
  43269. "wrstandardid": {
  43270. "description": "品类",
  43271. "type": "integer"
  43272. }
  43273. }
  43274. },
  43275. "models.WrTradeDetail": {
  43276. "type": "object",
  43277. "properties": {
  43278. "accountid": {
  43279. "description": "资金账号",
  43280. "type": "integer"
  43281. },
  43282. "bannerpicurl": {
  43283. "description": "Banner图",
  43284. "type": "string"
  43285. },
  43286. "begindate": {
  43287. "description": "开始交易日(yyyymmdd)",
  43288. "type": "string"
  43289. },
  43290. "buyorsell": {
  43291. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  43292. "type": "integer"
  43293. },
  43294. "chargevalue": {
  43295. "description": "手续费",
  43296. "type": "number"
  43297. },
  43298. "deliverygoodscode": {
  43299. "description": "品种代码",
  43300. "type": "string"
  43301. },
  43302. "deliverygoodsid": {
  43303. "description": "品种ID",
  43304. "type": "integer"
  43305. },
  43306. "deliverygoodsname": {
  43307. "description": "品种名称",
  43308. "type": "string"
  43309. },
  43310. "deliverymonth": {
  43311. "description": "交收月",
  43312. "type": "string"
  43313. },
  43314. "enddate": {
  43315. "description": "结束交易日(yyyymmdd)",
  43316. "type": "string"
  43317. },
  43318. "enumdicname": {
  43319. "description": "单位名称",
  43320. "type": "string"
  43321. },
  43322. "haswr": {
  43323. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43324. "type": "integer"
  43325. },
  43326. "marketid": {
  43327. "description": "市场ID",
  43328. "type": "integer"
  43329. },
  43330. "matchaccountid": {
  43331. "description": "对手账号",
  43332. "type": "integer"
  43333. },
  43334. "matchusername": {
  43335. "description": "对手方",
  43336. "type": "string"
  43337. },
  43338. "minivalue": {
  43339. "description": "现货商品最小变动值",
  43340. "type": "integer"
  43341. },
  43342. "optioncompare": {
  43343. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43344. "type": "string"
  43345. },
  43346. "thumurls": {
  43347. "description": "缩略图",
  43348. "type": "string"
  43349. },
  43350. "tradedate": {
  43351. "description": "交易日(yyyyMMdd)",
  43352. "type": "string"
  43353. },
  43354. "tradeprice": {
  43355. "description": "成交价格",
  43356. "type": "number"
  43357. },
  43358. "tradeqty": {
  43359. "description": "成交数量",
  43360. "type": "number"
  43361. },
  43362. "tradetime": {
  43363. "description": "成交时间",
  43364. "type": "string"
  43365. },
  43366. "userid": {
  43367. "description": "用户ID",
  43368. "type": "integer"
  43369. },
  43370. "warehouseid": {
  43371. "description": "仓库ID",
  43372. "type": "integer"
  43373. },
  43374. "warehousename": {
  43375. "description": "仓库名称",
  43376. "type": "string"
  43377. },
  43378. "wrfactortypeid": {
  43379. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43380. "type": "string"
  43381. },
  43382. "wrfactortypename": {
  43383. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43384. "type": "string"
  43385. },
  43386. "wrstandardcode": {
  43387. "description": "现货商品代码",
  43388. "type": "string"
  43389. },
  43390. "wrstandardid": {
  43391. "description": "现货商品ID",
  43392. "type": "integer"
  43393. },
  43394. "wrstandardname": {
  43395. "description": "商品名称",
  43396. "type": "string"
  43397. },
  43398. "wrtradedetailid": {
  43399. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43400. "type": "string"
  43401. },
  43402. "wrtradetype": {
  43403. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  43404. "type": "integer"
  43405. },
  43406. "wrtypename": {
  43407. "description": "商品",
  43408. "type": "string"
  43409. }
  43410. }
  43411. },
  43412. "models.WrTradeOrderDetail": {
  43413. "type": "object",
  43414. "properties": {
  43415. "buyorsell": {
  43416. "description": "买卖方向 0-买 1-卖",
  43417. "type": "integer"
  43418. },
  43419. "goodsid": {
  43420. "description": "商品id",
  43421. "type": "integer"
  43422. },
  43423. "orderid": {
  43424. "description": "委托单号",
  43425. "type": "string"
  43426. },
  43427. "orderprice": {
  43428. "description": "期初均价",
  43429. "type": "number"
  43430. },
  43431. "orderqty": {
  43432. "description": "委托数量",
  43433. "type": "integer"
  43434. },
  43435. "userid": {
  43436. "description": "用户id",
  43437. "type": "integer"
  43438. },
  43439. "username": {
  43440. "description": "用户名称(已脱敏)",
  43441. "type": "string"
  43442. }
  43443. }
  43444. },
  43445. "models.WrTypeItem": {
  43446. "type": "object",
  43447. "properties": {
  43448. "name": {
  43449. "description": "名称",
  43450. "type": "string"
  43451. },
  43452. "value": {
  43453. "description": "值",
  43454. "type": "string"
  43455. }
  43456. }
  43457. },
  43458. "models.WrUserFriend": {
  43459. "type": "object",
  43460. "properties": {
  43461. "friendname": {
  43462. "description": "朋友名称(已脱敏)",
  43463. "type": "string"
  43464. },
  43465. "frienduserid": {
  43466. "description": "朋友id",
  43467. "type": "integer"
  43468. },
  43469. "isfriend": {
  43470. "description": "是否好友 0-不是 1-是",
  43471. "type": "integer"
  43472. },
  43473. "userid": {
  43474. "description": "用户id",
  43475. "type": "integer"
  43476. }
  43477. }
  43478. },
  43479. "models.WrUserReceiptInfo": {
  43480. "type": "object",
  43481. "properties": {
  43482. "address": {
  43483. "description": "地址[发票类型:企业]",
  43484. "type": "string"
  43485. },
  43486. "autoid": {
  43487. "description": "AutoID",
  43488. "type": "integer"
  43489. },
  43490. "contactinfo": {
  43491. "description": "联系方式",
  43492. "type": "string"
  43493. },
  43494. "idnum": {
  43495. "description": "身份证号码[发票类型:个人]",
  43496. "type": "string"
  43497. },
  43498. "isdefault": {
  43499. "description": "是否默认地址 - 0:否 1:是",
  43500. "type": "integer"
  43501. },
  43502. "receiptaccount": {
  43503. "description": "发票帐号[发票类型:企业]",
  43504. "type": "string"
  43505. },
  43506. "receiptbank": {
  43507. "description": "发票开户行[发票类型:企业]",
  43508. "type": "string"
  43509. },
  43510. "receipttype": {
  43511. "description": "发票类型 - 1:个人 2:企业",
  43512. "type": "integer"
  43513. },
  43514. "taxpayerid": {
  43515. "description": "纳税人识别号",
  43516. "type": "string"
  43517. },
  43518. "userid": {
  43519. "description": "用户ID",
  43520. "type": "integer"
  43521. },
  43522. "username": {
  43523. "description": "户名(个人姓名或企业名称)",
  43524. "type": "string"
  43525. }
  43526. }
  43527. },
  43528. "models.Wrtradetradequote": {
  43529. "type": "object",
  43530. "properties": {
  43531. "begindate": {
  43532. "description": "开始日期(结果含开始日期) yyyymmdd",
  43533. "type": "string"
  43534. },
  43535. "buyaccountid": {
  43536. "description": "买方账号ID",
  43537. "type": "integer"
  43538. },
  43539. "buyuserid": {
  43540. "description": "买方用户ID",
  43541. "type": "integer"
  43542. },
  43543. "deliverygoodsid": {
  43544. "description": "现货品种ID",
  43545. "type": "integer"
  43546. },
  43547. "enddate": {
  43548. "description": "结束日期(结果含结束日期) yyyymmdd",
  43549. "type": "string"
  43550. },
  43551. "marketid": {
  43552. "description": "市场ID",
  43553. "type": "integer"
  43554. },
  43555. "sellaccountid": {
  43556. "description": "卖方账号ID",
  43557. "type": "integer"
  43558. },
  43559. "selluserid": {
  43560. "description": "卖方用户ID",
  43561. "type": "integer"
  43562. },
  43563. "tradeamount": {
  43564. "description": "成交金额",
  43565. "type": "number"
  43566. },
  43567. "tradedate": {
  43568. "description": "交易日(yyyyMMdd)",
  43569. "type": "string"
  43570. },
  43571. "tradeprice": {
  43572. "description": "成交价格",
  43573. "type": "number"
  43574. },
  43575. "tradeqty": {
  43576. "description": "成交数量",
  43577. "type": "integer"
  43578. },
  43579. "tradetime": {
  43580. "description": "成交时间",
  43581. "type": "string"
  43582. },
  43583. "wrfactortypeid": {
  43584. "description": "仓单要素类型ID",
  43585. "type": "integer"
  43586. },
  43587. "wrstandardid": {
  43588. "description": "现货商品ID",
  43589. "type": "integer"
  43590. },
  43591. "wrtradedetailid": {
  43592. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43593. "type": "string"
  43594. }
  43595. }
  43596. },
  43597. "models.XHBRAND": {
  43598. "type": "object",
  43599. "properties": {
  43600. "brandid": {
  43601. "description": "品牌id",
  43602. "type": "integer"
  43603. },
  43604. "brandname": {
  43605. "description": "品牌名称",
  43606. "type": "string"
  43607. },
  43608. "isvalid": {
  43609. "description": "是否有效 0-无效 1-有效",
  43610. "type": "integer"
  43611. }
  43612. }
  43613. },
  43614. "models.XHDeliveryGoods": {
  43615. "type": "object",
  43616. "properties": {
  43617. "areauserid": {
  43618. "description": "所属机构",
  43619. "type": "integer"
  43620. },
  43621. "bdlst": {
  43622. "description": "品牌列表",
  43623. "type": "array",
  43624. "items": {
  43625. "$ref": "#/definitions/models.XHBRAND"
  43626. }
  43627. },
  43628. "deliverygoodscode": {
  43629. "description": "现货品种代码",
  43630. "type": "string"
  43631. },
  43632. "deliverygoodsid": {
  43633. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43634. "type": "integer"
  43635. },
  43636. "deliverygoodsname": {
  43637. "description": "现货品种名称",
  43638. "type": "string"
  43639. },
  43640. "dgstatus": {
  43641. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  43642. "type": "integer"
  43643. },
  43644. "filterSubEmpty": {
  43645. "description": "过滤下级为空的",
  43646. "type": "integer"
  43647. },
  43648. "isvalid": {
  43649. "description": "是否有效 - 0:无效 1:有效",
  43650. "type": "integer"
  43651. },
  43652. "remark": {
  43653. "description": "备注",
  43654. "type": "string"
  43655. },
  43656. "unitid": {
  43657. "description": "单位id(目前看,数据库中是空值)",
  43658. "type": "integer"
  43659. },
  43660. "wdlst": {
  43661. "description": "品类(现货商品)列表",
  43662. "type": "array",
  43663. "items": {
  43664. "$ref": "#/definitions/models.XHWrstandard"
  43665. }
  43666. }
  43667. }
  43668. },
  43669. "models.XHMiddleGoods": {
  43670. "type": "object",
  43671. "properties": {
  43672. "GPLST": {
  43673. "description": "期货品种列表",
  43674. "type": "array",
  43675. "items": {
  43676. "$ref": "#/definitions/models.TBGoodsGroup"
  43677. }
  43678. },
  43679. "convertratio": {
  43680. "description": "拆算系数",
  43681. "type": "number"
  43682. },
  43683. "costratio": {
  43684. "description": "成本权重",
  43685. "type": "number"
  43686. },
  43687. "deliverygoodsid": {
  43688. "description": "现货商品id",
  43689. "type": "integer"
  43690. },
  43691. "enumdicname": {
  43692. "description": "单位名称",
  43693. "type": "string"
  43694. },
  43695. "middlegoodscode": {
  43696. "description": "套保品种代码",
  43697. "type": "string"
  43698. },
  43699. "middlegoodsid": {
  43700. "description": "套保品种id",
  43701. "type": "integer"
  43702. },
  43703. "middlegoodsname": {
  43704. "description": "套保品种名称",
  43705. "type": "string"
  43706. },
  43707. "unitid": {
  43708. "description": "单位id",
  43709. "type": "integer"
  43710. }
  43711. }
  43712. },
  43713. "models.XHWrstandard": {
  43714. "type": "object",
  43715. "properties": {
  43716. "bannerpicurl": {
  43717. "description": "banner图",
  43718. "type": "string"
  43719. },
  43720. "deliverygoodsid": {
  43721. "description": "品种ID",
  43722. "type": "integer"
  43723. },
  43724. "enumdicname": {
  43725. "description": "单位名称",
  43726. "type": "string"
  43727. },
  43728. "mglst": {
  43729. "description": "套保品列表",
  43730. "type": "array",
  43731. "items": {
  43732. "$ref": "#/definitions/models.XHMiddleGoods"
  43733. }
  43734. },
  43735. "pictureurls": {
  43736. "description": "详情图片(逗号分隔)",
  43737. "type": "string"
  43738. },
  43739. "thumurls": {
  43740. "description": "缩略图片(1:1)(逗号分隔)",
  43741. "type": "string"
  43742. },
  43743. "unitid": {
  43744. "description": "单位id",
  43745. "type": "integer"
  43746. },
  43747. "vatrate": {
  43748. "description": "增值税率",
  43749. "type": "number"
  43750. },
  43751. "wrstandardcode": {
  43752. "description": "现货商品代码",
  43753. "type": "string"
  43754. },
  43755. "wrstandardid": {
  43756. "description": "现货商品ID(SEQ_WRSTANDARD)",
  43757. "type": "integer"
  43758. },
  43759. "wrstandardname": {
  43760. "description": "现货商品名称",
  43761. "type": "string"
  43762. }
  43763. }
  43764. },
  43765. "models.XhcpSellBackApplyEx": {
  43766. "type": "object",
  43767. "required": [
  43768. "userid"
  43769. ],
  43770. "properties": {
  43771. "applyremark": {
  43772. "description": "申请备注",
  43773. "type": "string"
  43774. },
  43775. "expirytype": {
  43776. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43777. "type": "integer"
  43778. },
  43779. "goodsspec": {
  43780. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43781. "type": "integer"
  43782. },
  43783. "holeflag": {
  43784. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43785. "type": "integer"
  43786. },
  43787. "isunopened": {
  43788. "description": "是否原封 - 1:否 2:是",
  43789. "type": "integer"
  43790. },
  43791. "mpflag": {
  43792. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43793. "type": "integer"
  43794. },
  43795. "openflag": {
  43796. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43797. "type": "integer"
  43798. },
  43799. "phonenum": {
  43800. "description": "联系电话",
  43801. "type": "string"
  43802. },
  43803. "userid": {
  43804. "description": "所属用户ID",
  43805. "type": "integer"
  43806. },
  43807. "zpflag": {
  43808. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43809. "type": "integer"
  43810. }
  43811. }
  43812. },
  43813. "models.Xhcpsellbackapply": {
  43814. "type": "object",
  43815. "required": [
  43816. "userid"
  43817. ],
  43818. "properties": {
  43819. "applyid": {
  43820. "description": "申请人",
  43821. "type": "integer"
  43822. },
  43823. "applyremark": {
  43824. "description": "申请备注",
  43825. "type": "string"
  43826. },
  43827. "applysrc": {
  43828. "description": "申请来源 - 1:管理端 2:终端",
  43829. "type": "integer"
  43830. },
  43831. "applystatus": {
  43832. "description": "申请状态 - 1:待确认 2:已处理",
  43833. "type": "integer"
  43834. },
  43835. "applytime": {
  43836. "description": "申请时间",
  43837. "type": "string"
  43838. },
  43839. "auditremark": {
  43840. "description": "审核备注",
  43841. "type": "string"
  43842. },
  43843. "auditsrc": {
  43844. "description": "审核来源 - 1:管理端 2:终端",
  43845. "type": "integer"
  43846. },
  43847. "expirytype": {
  43848. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43849. "type": "integer"
  43850. },
  43851. "goodsspec": {
  43852. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43853. "type": "integer"
  43854. },
  43855. "holeflag": {
  43856. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43857. "type": "integer"
  43858. },
  43859. "isunopened": {
  43860. "description": "是否原封 - 1:否 2:是",
  43861. "type": "integer"
  43862. },
  43863. "mpflag": {
  43864. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43865. "type": "integer"
  43866. },
  43867. "openflag": {
  43868. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43869. "type": "integer"
  43870. },
  43871. "phonenum": {
  43872. "description": "联系电话",
  43873. "type": "string"
  43874. },
  43875. "sellbackapplyid": {
  43876. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  43877. "type": "string"
  43878. },
  43879. "userid": {
  43880. "description": "所属用户ID",
  43881. "type": "integer"
  43882. },
  43883. "zpflag": {
  43884. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43885. "type": "integer"
  43886. }
  43887. }
  43888. },
  43889. "order.QueryHisTradeDetailRsp": {
  43890. "type": "object",
  43891. "required": [
  43892. "accountid",
  43893. "buyorsell",
  43894. "goodsid",
  43895. "histradedate",
  43896. "marketid",
  43897. "memberuserid",
  43898. "orderid",
  43899. "tradeamount",
  43900. "tradedate",
  43901. "tradeid",
  43902. "tradeprice",
  43903. "tradeqty",
  43904. "tradetime"
  43905. ],
  43906. "properties": {
  43907. "accountid": {
  43908. "description": "账户ID[报价币种]",
  43909. "type": "integer"
  43910. },
  43911. "advanceratio": {
  43912. "description": "首付比率",
  43913. "type": "number"
  43914. },
  43915. "buildtype": {
  43916. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43917. "type": "integer"
  43918. },
  43919. "buyorsell": {
  43920. "description": "方向 - 0:买 1:卖",
  43921. "type": "integer"
  43922. },
  43923. "charge": {
  43924. "description": "手续费",
  43925. "type": "number"
  43926. },
  43927. "closecharge": {
  43928. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43929. "type": "number"
  43930. },
  43931. "closeexchagechargevalue": {
  43932. "description": "平仓交易所手续费设置值",
  43933. "type": "number"
  43934. },
  43935. "closefeealgorithm": {
  43936. "description": "平仓手续费收取方式 1:比率 2:固定",
  43937. "type": "integer"
  43938. },
  43939. "closememberchargevalue": {
  43940. "description": "平仓会员手续费设置值",
  43941. "type": "number"
  43942. },
  43943. "closepl": {
  43944. "description": "平仓盈亏",
  43945. "type": "number"
  43946. },
  43947. "closepl2": {
  43948. "description": "平仓盈亏[逐笔]",
  43949. "type": "number"
  43950. },
  43951. "closeqty": {
  43952. "description": "平仓数量(先建后平操作 需要记录)",
  43953. "type": "number"
  43954. },
  43955. "creditamount": {
  43956. "description": "授信金额",
  43957. "type": "number"
  43958. },
  43959. "decimalplace": {
  43960. "description": "商品报价小数位",
  43961. "type": "integer"
  43962. },
  43963. "enumdicname": {
  43964. "description": "单位名称",
  43965. "type": "string"
  43966. },
  43967. "gcaccountid": {
  43968. "description": "账户ID[合约币种]",
  43969. "type": "integer"
  43970. },
  43971. "goodscode": {
  43972. "description": "商品代码",
  43973. "type": "string"
  43974. },
  43975. "goodsid": {
  43976. "description": "商品ID",
  43977. "type": "integer"
  43978. },
  43979. "goodsname": {
  43980. "description": "商品名称",
  43981. "type": "string"
  43982. },
  43983. "goodunitid": {
  43984. "description": "商品单位id",
  43985. "type": "integer"
  43986. },
  43987. "histradedate": {
  43988. "description": "历史交易日",
  43989. "type": "string"
  43990. },
  43991. "intclosepl": {
  43992. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43993. "type": "integer"
  43994. },
  43995. "isconfirmexercise": {
  43996. "description": "是否确认行权- 0:否 1:是",
  43997. "type": "integer"
  43998. },
  43999. "ismain": {
  44000. "description": "是否主单 - 0:不是 1:是",
  44001. "type": "integer"
  44002. },
  44003. "ispreexercise": {
  44004. "description": "是否预申报- 0:否 1:是",
  44005. "type": "integer"
  44006. },
  44007. "isreckoned": {
  44008. "description": "是否结算 - 0:未结算 1:已结算",
  44009. "type": "integer"
  44010. },
  44011. "isvaliddata": {
  44012. "description": "是否有效 - 0:无效 1:有效",
  44013. "type": "integer"
  44014. },
  44015. "listingselecttype": {
  44016. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44017. "type": "integer"
  44018. },
  44019. "marketid": {
  44020. "description": "市场ID",
  44021. "type": "integer"
  44022. },
  44023. "marketname": {
  44024. "description": "市场名称",
  44025. "type": "string"
  44026. },
  44027. "matchaccountid": {
  44028. "description": "对手账号id",
  44029. "type": "integer"
  44030. },
  44031. "memberuserid": {
  44032. "description": "会员id 个人投资者 需要填写",
  44033. "type": "integer"
  44034. },
  44035. "opencharge": {
  44036. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44037. "type": "number"
  44038. },
  44039. "openexchagechargevalue": {
  44040. "description": "建仓交易所手续费设置值",
  44041. "type": "number"
  44042. },
  44043. "openfeealgorithm": {
  44044. "description": "建仓手续费收取方式 1:比率 2:固定",
  44045. "type": "integer"
  44046. },
  44047. "openmemberchargevalue": {
  44048. "description": "建仓会员手续费设置值",
  44049. "type": "number"
  44050. },
  44051. "openqty": {
  44052. "description": "开仓数量(先建后平操作 需要记录)",
  44053. "type": "number"
  44054. },
  44055. "optiontype": {
  44056. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44057. "type": "integer"
  44058. },
  44059. "orderid": {
  44060. "description": "委托单号",
  44061. "type": "string"
  44062. },
  44063. "payamount": {
  44064. "description": "支付金额(付款金额)",
  44065. "type": "number"
  44066. },
  44067. "performanceplanid": {
  44068. "description": "履约计划ID[期权]",
  44069. "type": "integer"
  44070. },
  44071. "performancestatus": {
  44072. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44073. "type": "integer"
  44074. },
  44075. "preexerciseprice": {
  44076. "description": "预申报价格",
  44077. "type": "number"
  44078. },
  44079. "premium": {
  44080. "description": "权利金 - [持仓单的权利金]",
  44081. "type": "number"
  44082. },
  44083. "qtydecimalplace": {
  44084. "description": "商品报价小数位",
  44085. "type": "integer"
  44086. },
  44087. "recvamount": {
  44088. "description": "到账金额 = 成交金额 - 手续费",
  44089. "type": "number"
  44090. },
  44091. "relatedouttradeid": {
  44092. "description": "关联外部成交单ID",
  44093. "type": "integer"
  44094. },
  44095. "status": {
  44096. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44097. "type": "integer"
  44098. },
  44099. "totalamount": {
  44100. "description": "订单总额 = 成交金额 + 手续费",
  44101. "type": "number"
  44102. },
  44103. "tradeamount": {
  44104. "description": "成交金额[账户币种,用于所有权]",
  44105. "type": "number"
  44106. },
  44107. "tradedate": {
  44108. "description": "交易日(yyyyMMdd)",
  44109. "type": "string"
  44110. },
  44111. "tradeid": {
  44112. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44113. "type": "string"
  44114. },
  44115. "trademode": {
  44116. "description": "交易模式",
  44117. "type": "integer"
  44118. },
  44119. "tradeprice": {
  44120. "description": "成交价格",
  44121. "type": "number"
  44122. },
  44123. "tradeproperty": {
  44124. "description": "交易属性",
  44125. "type": "integer"
  44126. },
  44127. "tradeqty": {
  44128. "description": "成交数量",
  44129. "type": "number"
  44130. },
  44131. "tradetime": {
  44132. "description": "成交时间",
  44133. "type": "string"
  44134. },
  44135. "tradetype": {
  44136. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44137. "type": "integer"
  44138. }
  44139. }
  44140. },
  44141. "order.QueryHisTradeOrderDetailRsp": {
  44142. "type": "object",
  44143. "required": [
  44144. "accountid",
  44145. "buildtype",
  44146. "buyorsell",
  44147. "goodsid",
  44148. "histradedate",
  44149. "marketid",
  44150. "memberuserid",
  44151. "operatetype",
  44152. "orderid",
  44153. "orderqty",
  44154. "ordertime",
  44155. "pricemode",
  44156. "tradedate",
  44157. "validtype"
  44158. ],
  44159. "properties": {
  44160. "accountid": {
  44161. "description": "账户ID[报价币种]",
  44162. "type": "integer"
  44163. },
  44164. "buildtype": {
  44165. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44166. "type": "integer"
  44167. },
  44168. "buyorsell": {
  44169. "description": "买卖 - 0:买 1:卖",
  44170. "type": "integer"
  44171. },
  44172. "cancelorderid": {
  44173. "description": "撤单单号(撤单时填写)",
  44174. "type": "string"
  44175. },
  44176. "cancelqty": {
  44177. "description": "撤单数量",
  44178. "type": "number"
  44179. },
  44180. "clientordertime": {
  44181. "description": "客户端委托时间",
  44182. "type": "string"
  44183. },
  44184. "clientticket": {
  44185. "description": "客户端流水号",
  44186. "type": "string"
  44187. },
  44188. "clienttype": {
  44189. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44190. "type": "integer"
  44191. },
  44192. "closeexchagechargevalue": {
  44193. "description": "平仓交易所手续费设置值",
  44194. "type": "number"
  44195. },
  44196. "closefeealgorithm": {
  44197. "description": "平仓手续费收取方式 1:比率 2:固定",
  44198. "type": "integer"
  44199. },
  44200. "closefreezecharge": {
  44201. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44202. "type": "number"
  44203. },
  44204. "closememberchargevalue": {
  44205. "description": "平仓会员手续费设置值",
  44206. "type": "number"
  44207. },
  44208. "closeqty": {
  44209. "description": "平仓数量(先建后平操作 需要记录)",
  44210. "type": "number"
  44211. },
  44212. "closetradeqty": {
  44213. "description": "平仓成交数量(先建后平操作,需要记录)",
  44214. "type": "number"
  44215. },
  44216. "closeunfreezecharge": {
  44217. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44218. "type": "number"
  44219. },
  44220. "decimalplace": {
  44221. "description": "商品报价小数位",
  44222. "type": "integer"
  44223. },
  44224. "delistingtype": {
  44225. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44226. "type": "integer"
  44227. },
  44228. "enumdicname": {
  44229. "description": "单位名称",
  44230. "type": "string"
  44231. },
  44232. "freezecharge": {
  44233. "description": "冻结手续费",
  44234. "type": "number"
  44235. },
  44236. "freezemargin": {
  44237. "description": "冻结保证金(冻结交易金额)",
  44238. "type": "number"
  44239. },
  44240. "gcaccountid": {
  44241. "description": "账户ID[合约币种]",
  44242. "type": "integer"
  44243. },
  44244. "goodscode": {
  44245. "description": "商品代码",
  44246. "type": "string"
  44247. },
  44248. "goodsid": {
  44249. "description": "商品ID",
  44250. "type": "integer"
  44251. },
  44252. "goodsname": {
  44253. "description": "商品名称",
  44254. "type": "string"
  44255. },
  44256. "goodunitid": {
  44257. "description": "商品单位id",
  44258. "type": "integer"
  44259. },
  44260. "histradedate": {
  44261. "description": "历史交易日",
  44262. "type": "string"
  44263. },
  44264. "isconfirmexercise": {
  44265. "description": "是否确认行权- 0:否 1:是",
  44266. "type": "integer"
  44267. },
  44268. "ispreexercise": {
  44269. "description": "是否预申报- 0:否 1:是",
  44270. "type": "integer"
  44271. },
  44272. "isvaliddata": {
  44273. "description": "是否有效 - 0:无效 1:有效",
  44274. "type": "integer"
  44275. },
  44276. "listingselecttype": {
  44277. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44278. "type": "integer"
  44279. },
  44280. "marginalgorithm": {
  44281. "description": "保证金收取方式 1:比率 2:固定",
  44282. "type": "integer"
  44283. },
  44284. "marginvalue": {
  44285. "description": "即市保证金设置值",
  44286. "type": "number"
  44287. },
  44288. "marketid": {
  44289. "description": "市场ID",
  44290. "type": "integer"
  44291. },
  44292. "marketmaxsub": {
  44293. "description": "市价最大偏移范围",
  44294. "type": "number"
  44295. },
  44296. "marketname": {
  44297. "description": "市场名称",
  44298. "type": "string"
  44299. },
  44300. "memberuserid": {
  44301. "description": "所属会员UserID",
  44302. "type": "integer"
  44303. },
  44304. "openexchagechargevalue": {
  44305. "description": "建仓交易所手续费设置值",
  44306. "type": "number"
  44307. },
  44308. "openfeealgorithm": {
  44309. "description": "建仓手续费收取方式 1:比率 2:固定",
  44310. "type": "integer"
  44311. },
  44312. "openfreezecharge": {
  44313. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44314. "type": "number"
  44315. },
  44316. "openmemberchargevalue": {
  44317. "description": "建仓会员手续费设置值",
  44318. "type": "number"
  44319. },
  44320. "openqty": {
  44321. "description": "开仓数量(先建后平操作,需要记录)",
  44322. "type": "number"
  44323. },
  44324. "opentradeqty": {
  44325. "description": "开仓成交数量(先建后平操作,需要记录)",
  44326. "type": "number"
  44327. },
  44328. "openunfreezecharge": {
  44329. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44330. "type": "number"
  44331. },
  44332. "operatetype": {
  44333. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44334. "type": "integer"
  44335. },
  44336. "operatorid": {
  44337. "description": "登录账号(LoginID)",
  44338. "type": "integer"
  44339. },
  44340. "optiontype": {
  44341. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44342. "type": "integer"
  44343. },
  44344. "orderid": {
  44345. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44346. "type": "string"
  44347. },
  44348. "orderprice": {
  44349. "description": "委托价格",
  44350. "type": "number"
  44351. },
  44352. "orderqty": {
  44353. "description": "委托数量",
  44354. "type": "number"
  44355. },
  44356. "ordersrc": {
  44357. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44358. "type": "integer"
  44359. },
  44360. "orderstatus": {
  44361. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44362. "type": "integer"
  44363. },
  44364. "ordertime": {
  44365. "description": "委托时间",
  44366. "type": "string"
  44367. },
  44368. "preexerciseprice": {
  44369. "description": "预申报价格",
  44370. "type": "number"
  44371. },
  44372. "premium": {
  44373. "description": "权利金",
  44374. "type": "number"
  44375. },
  44376. "preorderid": {
  44377. "description": "关联预埋单号(止盈止损单时填写)",
  44378. "type": "string"
  44379. },
  44380. "pricemode": {
  44381. "description": "取价方式 - 1:市价 2: 限价",
  44382. "type": "integer"
  44383. },
  44384. "qtydecimalplace": {
  44385. "description": "成交量小数位",
  44386. "type": "integer"
  44387. },
  44388. "quoteid": {
  44389. "description": "报价单ID",
  44390. "type": "integer"
  44391. },
  44392. "relatedid": {
  44393. "description": "关联单号(交割单)",
  44394. "type": "string"
  44395. },
  44396. "retcode": {
  44397. "description": "错误代码",
  44398. "type": "integer"
  44399. },
  44400. "sessionid": {
  44401. "description": "会话ID",
  44402. "type": "integer"
  44403. },
  44404. "tradedate": {
  44405. "description": "交易日(yyyyMMdd)",
  44406. "type": "string"
  44407. },
  44408. "trademode": {
  44409. "description": "交易模式",
  44410. "type": "integer"
  44411. },
  44412. "tradeproperty": {
  44413. "description": "交易属性",
  44414. "type": "integer"
  44415. },
  44416. "tradeqty": {
  44417. "description": "成交数量",
  44418. "type": "number"
  44419. },
  44420. "unfreezecharge": {
  44421. "description": "解冻手续费",
  44422. "type": "number"
  44423. },
  44424. "unfreezemargin": {
  44425. "description": "解冻保证金",
  44426. "type": "number"
  44427. },
  44428. "updatetime": {
  44429. "description": "更新时间",
  44430. "type": "string"
  44431. },
  44432. "uuid": {
  44433. "description": "发起端唯一id",
  44434. "type": "string"
  44435. },
  44436. "validtime": {
  44437. "description": "有效期限",
  44438. "type": "string"
  44439. },
  44440. "validtype": {
  44441. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44442. "type": "integer"
  44443. },
  44444. "volumetype": {
  44445. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44446. "type": "integer"
  44447. }
  44448. }
  44449. },
  44450. "order.QueryTradeDetailRsp": {
  44451. "type": "object",
  44452. "required": [
  44453. "accountid",
  44454. "buyorsell",
  44455. "goodsid",
  44456. "marketid",
  44457. "memberuserid",
  44458. "orderid",
  44459. "tradeamount",
  44460. "tradedate",
  44461. "tradeid",
  44462. "tradeprice",
  44463. "tradeqty",
  44464. "tradetime"
  44465. ],
  44466. "properties": {
  44467. "accountid": {
  44468. "description": "账户ID[报价币种]",
  44469. "type": "integer"
  44470. },
  44471. "advanceratio": {
  44472. "description": "首付比率",
  44473. "type": "number"
  44474. },
  44475. "buildtype": {
  44476. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  44477. "type": "integer"
  44478. },
  44479. "buyorsell": {
  44480. "description": "方向 - 0:买 1:卖",
  44481. "type": "integer"
  44482. },
  44483. "charge": {
  44484. "description": "手续费",
  44485. "type": "number"
  44486. },
  44487. "closecharge": {
  44488. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44489. "type": "number"
  44490. },
  44491. "closeexchagechargevalue": {
  44492. "description": "平仓交易所手续费设置值",
  44493. "type": "number"
  44494. },
  44495. "closefeealgorithm": {
  44496. "description": "平仓手续费收取方式 1:比率 2:固定",
  44497. "type": "integer"
  44498. },
  44499. "closememberchargevalue": {
  44500. "description": "平仓会员手续费设置值",
  44501. "type": "number"
  44502. },
  44503. "closepl": {
  44504. "description": "平仓盈亏",
  44505. "type": "number"
  44506. },
  44507. "closepl2": {
  44508. "description": "平仓盈亏[逐笔]",
  44509. "type": "number"
  44510. },
  44511. "closeqty": {
  44512. "description": "平仓数量(先建后平操作 需要记录)",
  44513. "type": "number"
  44514. },
  44515. "creditamount": {
  44516. "description": "授信金额",
  44517. "type": "number"
  44518. },
  44519. "decimalplace": {
  44520. "description": "商品报价小数位",
  44521. "type": "integer"
  44522. },
  44523. "enumdicname": {
  44524. "description": "单位名称",
  44525. "type": "string"
  44526. },
  44527. "gcaccountid": {
  44528. "description": "账户ID[合约币种]",
  44529. "type": "integer"
  44530. },
  44531. "goodscode": {
  44532. "description": "商品代码",
  44533. "type": "string"
  44534. },
  44535. "goodsid": {
  44536. "description": "商品ID",
  44537. "type": "integer"
  44538. },
  44539. "goodsname": {
  44540. "description": "商品名称",
  44541. "type": "string"
  44542. },
  44543. "goodunitid": {
  44544. "description": "商品单位id",
  44545. "type": "integer"
  44546. },
  44547. "intclosepl": {
  44548. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  44549. "type": "integer"
  44550. },
  44551. "isconfirmexercise": {
  44552. "description": "是否确认行权- 0:否 1:是",
  44553. "type": "integer"
  44554. },
  44555. "ismain": {
  44556. "description": "是否主单 - 0:不是 1:是",
  44557. "type": "integer"
  44558. },
  44559. "ispreexercise": {
  44560. "description": "是否预申报- 0:否 1:是",
  44561. "type": "integer"
  44562. },
  44563. "isreckoned": {
  44564. "description": "是否结算 - 0:未结算 1:已结算",
  44565. "type": "integer"
  44566. },
  44567. "listingselecttype": {
  44568. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44569. "type": "integer"
  44570. },
  44571. "marketid": {
  44572. "description": "市场ID",
  44573. "type": "integer"
  44574. },
  44575. "marketname": {
  44576. "description": "市场名称",
  44577. "type": "string"
  44578. },
  44579. "matchaccountid": {
  44580. "description": "对手账号id",
  44581. "type": "integer"
  44582. },
  44583. "memberuserid": {
  44584. "description": "会员id 个人投资者 需要填写",
  44585. "type": "integer"
  44586. },
  44587. "opencharge": {
  44588. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44589. "type": "number"
  44590. },
  44591. "openexchagechargevalue": {
  44592. "description": "建仓交易所手续费设置值",
  44593. "type": "number"
  44594. },
  44595. "openfeealgorithm": {
  44596. "description": "建仓手续费收取方式 1:比率 2:固定",
  44597. "type": "integer"
  44598. },
  44599. "openmemberchargevalue": {
  44600. "description": "建仓会员手续费设置值",
  44601. "type": "number"
  44602. },
  44603. "openqty": {
  44604. "description": "开仓数量(先建后平操作 需要记录)",
  44605. "type": "number"
  44606. },
  44607. "optiontype": {
  44608. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44609. "type": "integer"
  44610. },
  44611. "orderid": {
  44612. "description": "委托单号",
  44613. "type": "string"
  44614. },
  44615. "payamount": {
  44616. "description": "支付金额(付款金额)",
  44617. "type": "number"
  44618. },
  44619. "performanceplanid": {
  44620. "description": "履约计划ID[期权]",
  44621. "type": "integer"
  44622. },
  44623. "performancestatus": {
  44624. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44625. "type": "integer"
  44626. },
  44627. "preexerciseprice": {
  44628. "description": "预申报价格",
  44629. "type": "number"
  44630. },
  44631. "premium": {
  44632. "description": "权利金 - [持仓单的权利金]",
  44633. "type": "number"
  44634. },
  44635. "qtydecimalplace": {
  44636. "description": "商品报价小数位",
  44637. "type": "integer"
  44638. },
  44639. "recvamount": {
  44640. "description": "到账金额 = 成交金额 - 手续费",
  44641. "type": "number"
  44642. },
  44643. "relatedouttradeid": {
  44644. "description": "关联外部成交单ID",
  44645. "type": "integer"
  44646. },
  44647. "status": {
  44648. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44649. "type": "integer"
  44650. },
  44651. "totalamount": {
  44652. "description": "订单总额 = 成交金额 + 手续费",
  44653. "type": "number"
  44654. },
  44655. "tradeamount": {
  44656. "description": "成交金额[账户币种,用于所有权]",
  44657. "type": "number"
  44658. },
  44659. "tradedate": {
  44660. "description": "交易日(yyyyMMdd)",
  44661. "type": "string"
  44662. },
  44663. "tradeid": {
  44664. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44665. "type": "string"
  44666. },
  44667. "trademode": {
  44668. "description": "交易模式",
  44669. "type": "integer"
  44670. },
  44671. "tradeprice": {
  44672. "description": "成交价格",
  44673. "type": "number"
  44674. },
  44675. "tradeproperty": {
  44676. "description": "交易属性",
  44677. "type": "integer"
  44678. },
  44679. "tradeqty": {
  44680. "description": "成交数量",
  44681. "type": "number"
  44682. },
  44683. "tradetime": {
  44684. "description": "成交时间",
  44685. "type": "string"
  44686. },
  44687. "tradetype": {
  44688. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44689. "type": "integer"
  44690. }
  44691. }
  44692. },
  44693. "order.QueryTradeOrderDetailRsp": {
  44694. "type": "object",
  44695. "required": [
  44696. "accountid",
  44697. "buildtype",
  44698. "buyorsell",
  44699. "goodsid",
  44700. "marketid",
  44701. "operatetype",
  44702. "orderqty",
  44703. "ordertime",
  44704. "pricemode",
  44705. "tradedate",
  44706. "validtype"
  44707. ],
  44708. "properties": {
  44709. "accountid": {
  44710. "description": "账户ID[报价币种]",
  44711. "type": "integer"
  44712. },
  44713. "buildtype": {
  44714. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44715. "type": "integer"
  44716. },
  44717. "buyorsell": {
  44718. "description": "买卖 - 0:买 1:卖",
  44719. "type": "integer"
  44720. },
  44721. "cancelorderid": {
  44722. "description": "撤单单号(撤单时填写)",
  44723. "type": "string"
  44724. },
  44725. "cancelqty": {
  44726. "description": "撤单数量",
  44727. "type": "number"
  44728. },
  44729. "clienttype": {
  44730. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44731. "type": "integer"
  44732. },
  44733. "closefreezecharge": {
  44734. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44735. "type": "number"
  44736. },
  44737. "closeqty": {
  44738. "description": "平仓数量(先建后平操作 需要记录)",
  44739. "type": "number"
  44740. },
  44741. "closetradeqty": {
  44742. "description": "平仓成交数量(先建后平操作,需要记录)",
  44743. "type": "number"
  44744. },
  44745. "closeunfreezecharge": {
  44746. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44747. "type": "number"
  44748. },
  44749. "decimalplace": {
  44750. "description": "商品报价小数位",
  44751. "type": "integer"
  44752. },
  44753. "delistingtype": {
  44754. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44755. "type": "integer"
  44756. },
  44757. "enableqty": {
  44758. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  44759. "type": "number"
  44760. },
  44761. "enumdicname": {
  44762. "description": "单位名称",
  44763. "type": "string"
  44764. },
  44765. "freezecharge": {
  44766. "description": "冻结手续费",
  44767. "type": "number"
  44768. },
  44769. "freezemargin": {
  44770. "description": "冻结保证金(冻结交易金额)",
  44771. "type": "number"
  44772. },
  44773. "goodscode": {
  44774. "description": "商品代码",
  44775. "type": "string"
  44776. },
  44777. "goodsid": {
  44778. "description": "商品ID",
  44779. "type": "integer"
  44780. },
  44781. "goodsname": {
  44782. "description": "商品名称",
  44783. "type": "string"
  44784. },
  44785. "goodunitid": {
  44786. "description": "商品单位id",
  44787. "type": "integer"
  44788. },
  44789. "listingselecttype": {
  44790. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44791. "type": "integer"
  44792. },
  44793. "marketid": {
  44794. "description": "市场ID",
  44795. "type": "integer"
  44796. },
  44797. "marketname": {
  44798. "description": "市场名称",
  44799. "type": "string"
  44800. },
  44801. "openfreezecharge": {
  44802. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44803. "type": "number"
  44804. },
  44805. "openqty": {
  44806. "description": "开仓数量(先建后平操作,需要记录)",
  44807. "type": "number"
  44808. },
  44809. "opentradeqty": {
  44810. "description": "开仓成交数量(先建后平操作,需要记录)",
  44811. "type": "number"
  44812. },
  44813. "openunfreezecharge": {
  44814. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44815. "type": "number"
  44816. },
  44817. "operatetype": {
  44818. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44819. "type": "integer"
  44820. },
  44821. "operatorid": {
  44822. "description": "登录账号(LoginID)",
  44823. "type": "integer"
  44824. },
  44825. "orderid": {
  44826. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44827. "type": "string"
  44828. },
  44829. "orderprice": {
  44830. "description": "委托价格",
  44831. "type": "number"
  44832. },
  44833. "orderqty": {
  44834. "description": "委托数量",
  44835. "type": "number"
  44836. },
  44837. "ordersrc": {
  44838. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44839. "type": "integer"
  44840. },
  44841. "orderstatus": {
  44842. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44843. "type": "integer"
  44844. },
  44845. "ordertime": {
  44846. "description": "委托时间",
  44847. "type": "string"
  44848. },
  44849. "preorderid": {
  44850. "description": "关联预埋单号(止盈止损单时填写)",
  44851. "type": "string"
  44852. },
  44853. "pricemode": {
  44854. "description": "取价方式 - 1:市价 2: 限价",
  44855. "type": "integer"
  44856. },
  44857. "qtydecimalplace": {
  44858. "description": "商品报价小数位",
  44859. "type": "integer"
  44860. },
  44861. "relatedid": {
  44862. "description": "关联单号(交割单)",
  44863. "type": "string"
  44864. },
  44865. "tradedate": {
  44866. "description": "交易日(yyyyMMdd)",
  44867. "type": "string"
  44868. },
  44869. "trademode": {
  44870. "description": "交易模式",
  44871. "type": "integer"
  44872. },
  44873. "tradeqty": {
  44874. "description": "成交数量",
  44875. "type": "number"
  44876. },
  44877. "unfreezecharge": {
  44878. "description": "解冻手续费",
  44879. "type": "number"
  44880. },
  44881. "unfreezemargin": {
  44882. "description": "解冻保证金",
  44883. "type": "number"
  44884. },
  44885. "validtime": {
  44886. "description": "有效期限",
  44887. "type": "string"
  44888. },
  44889. "validtype": {
  44890. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44891. "type": "integer"
  44892. },
  44893. "volumetype": {
  44894. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44895. "type": "integer"
  44896. }
  44897. }
  44898. },
  44899. "order.QueryTradePositionRsp": {
  44900. "type": "object",
  44901. "required": [
  44902. "goodsid"
  44903. ],
  44904. "properties": {
  44905. "accountid": {
  44906. "description": "资金账户",
  44907. "type": "integer"
  44908. },
  44909. "agreeunit": {
  44910. "description": "合约单位",
  44911. "type": "number"
  44912. },
  44913. "averageprice": {
  44914. "description": "持仓均价",
  44915. "type": "number"
  44916. },
  44917. "buyorsell": {
  44918. "description": "方向 - 0:买 1:卖",
  44919. "type": "integer"
  44920. },
  44921. "closetotalqty": {
  44922. "description": "平仓总数量",
  44923. "type": "number"
  44924. },
  44925. "curholderamount": {
  44926. "description": "当前持仓总金额[商品币种]",
  44927. "type": "number"
  44928. },
  44929. "curpositionqty": {
  44930. "description": "当前持仓总数量",
  44931. "type": "number"
  44932. },
  44933. "currencyid": {
  44934. "description": "报价货币ID",
  44935. "type": "integer"
  44936. },
  44937. "curtdposition": {
  44938. "description": "期末今日头寸",
  44939. "type": "number"
  44940. },
  44941. "decimalplace": {
  44942. "description": "报价小数位",
  44943. "type": "integer"
  44944. },
  44945. "enableqty": {
  44946. "description": "可用量",
  44947. "type": "number"
  44948. },
  44949. "fretdposition": {
  44950. "description": "冻结今日头寸",
  44951. "type": "number"
  44952. },
  44953. "frozenqty": {
  44954. "description": "持仓冻结数量",
  44955. "type": "number"
  44956. },
  44957. "goodscode": {
  44958. "description": "商品代码",
  44959. "type": "string"
  44960. },
  44961. "goodsid": {
  44962. "description": "商品Id",
  44963. "type": "integer"
  44964. },
  44965. "goodsname": {
  44966. "description": "商品名称",
  44967. "type": "string"
  44968. },
  44969. "goodunit": {
  44970. "description": "报价单位",
  44971. "type": "string"
  44972. },
  44973. "goodunitid": {
  44974. "description": "报价单位ID",
  44975. "type": "integer"
  44976. },
  44977. "holderamount": {
  44978. "description": "期初持仓总金额[商品币种]",
  44979. "type": "number"
  44980. },
  44981. "lastprice": {
  44982. "description": "最新价",
  44983. "type": "number"
  44984. },
  44985. "marketamount": {
  44986. "description": "市值",
  44987. "type": "number"
  44988. },
  44989. "marketid": {
  44990. "description": "所属市场ID",
  44991. "type": "integer"
  44992. },
  44993. "openreqqty": {
  44994. "description": "开仓申请数量(用于比较最大持仓数量)",
  44995. "type": "number"
  44996. },
  44997. "opentotalqty": {
  44998. "description": "开仓总数量",
  44999. "type": "number"
  45000. },
  45001. "otherfrozenqty": {
  45002. "description": "持仓其他冻结数量(交割冻结)",
  45003. "type": "number"
  45004. },
  45005. "positionpl": {
  45006. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  45007. "type": "number"
  45008. },
  45009. "positionplrate": {
  45010. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  45011. "type": "number"
  45012. },
  45013. "positionqty": {
  45014. "description": "期初持仓数量",
  45015. "type": "number"
  45016. },
  45017. "qtydecimalplace": {
  45018. "description": "成交量小数位",
  45019. "type": "integer"
  45020. },
  45021. "refgoodscode": {
  45022. "description": "参考商品代码",
  45023. "type": "string"
  45024. },
  45025. "refgoodsid": {
  45026. "description": "参考商品ID",
  45027. "type": "integer"
  45028. },
  45029. "tnqty": {
  45030. "description": "T+N冻结总量",
  45031. "type": "number"
  45032. },
  45033. "tnusedqty": {
  45034. "description": "T+N使用量(可以使用T+N的冻结数量)",
  45035. "type": "number"
  45036. },
  45037. "trademode": {
  45038. "description": "交易模式",
  45039. "type": "integer"
  45040. },
  45041. "tradeproperty": {
  45042. "description": "交易属性",
  45043. "type": "integer"
  45044. },
  45045. "usedmargin": {
  45046. "description": "占用保证金[商品币种]",
  45047. "type": "number"
  45048. }
  45049. }
  45050. },
  45051. "pb.GoodsMarginCfgStruct": {
  45052. "type": "object",
  45053. "properties": {
  45054. "CustomerTypeID": {
  45055. "description": "投资者客户类型",
  45056. "type": "integer"
  45057. },
  45058. "GoodsID": {
  45059. "description": "商品ID",
  45060. "type": "integer"
  45061. },
  45062. "IsDefault": {
  45063. "description": "是否默认标志位",
  45064. "type": "integer"
  45065. },
  45066. "LockMarginValue": {
  45067. "description": "锁仓保证金",
  45068. "type": "number"
  45069. },
  45070. "MarginAlgorithm": {
  45071. "description": "保证金计算方式",
  45072. "type": "integer"
  45073. },
  45074. "MarketMarginValue": {
  45075. "description": "即市保证金值",
  45076. "type": "number"
  45077. },
  45078. "RealMarginAlgorithm": {
  45079. "description": "实付保证金计算方式",
  45080. "type": "integer"
  45081. },
  45082. "RealMarginValue": {
  45083. "description": "实付比例",
  45084. "type": "number"
  45085. },
  45086. "ReckonMarginValue": {
  45087. "description": "结算保证金值",
  45088. "type": "number"
  45089. }
  45090. }
  45091. },
  45092. "quote.HistoryData": {
  45093. "type": "object",
  45094. "properties": {
  45095. "c": {
  45096. "description": "收盘价",
  45097. "type": "number"
  45098. },
  45099. "f": {
  45100. "description": "是否补充数据",
  45101. "type": "boolean"
  45102. },
  45103. "h": {
  45104. "description": "最高价",
  45105. "type": "number"
  45106. },
  45107. "hv": {
  45108. "description": "持仓量",
  45109. "type": "integer"
  45110. },
  45111. "l": {
  45112. "description": "最低价",
  45113. "type": "number"
  45114. },
  45115. "o": {
  45116. "description": "开盘价",
  45117. "type": "number"
  45118. },
  45119. "s": {
  45120. "description": "结算价,日线周期(包括)以上才有",
  45121. "type": "number"
  45122. },
  45123. "ts": {
  45124. "description": "时间",
  45125. "type": "string"
  45126. },
  45127. "tt": {
  45128. "description": "总金额",
  45129. "type": "number"
  45130. },
  45131. "tv": {
  45132. "description": "总量(成交量)",
  45133. "type": "integer"
  45134. }
  45135. }
  45136. },
  45137. "quote.HistoryTikData": {
  45138. "type": "object",
  45139. "properties": {
  45140. "AV": {
  45141. "description": "卖量",
  45142. "type": "integer"
  45143. },
  45144. "Ask": {
  45145. "description": "卖价",
  45146. "type": "number"
  45147. },
  45148. "BV": {
  45149. "description": "买量",
  45150. "type": "integer"
  45151. },
  45152. "Bid": {
  45153. "description": "买价",
  45154. "type": "number"
  45155. },
  45156. "HI": {
  45157. "description": "单笔持仓",
  45158. "type": "integer"
  45159. },
  45160. "HV": {
  45161. "description": "持仓量",
  45162. "type": "integer"
  45163. },
  45164. "PE": {
  45165. "description": "现价",
  45166. "type": "number"
  45167. },
  45168. "TDR": {
  45169. "description": "交易方向,0:买 1:卖",
  45170. "type": "integer"
  45171. },
  45172. "TK": {
  45173. "description": "交易类型",
  45174. "type": "integer"
  45175. },
  45176. "TS": {
  45177. "description": "行情时间文本",
  45178. "type": "string"
  45179. },
  45180. "TT": {
  45181. "description": "现金额",
  45182. "type": "number"
  45183. },
  45184. "Vol": {
  45185. "description": "现量",
  45186. "type": "integer"
  45187. }
  45188. }
  45189. },
  45190. "quote.QueryQuoteDayRsp": {
  45191. "type": "object",
  45192. "properties": {
  45193. "ask": {
  45194. "description": "卖1",
  45195. "type": "number"
  45196. },
  45197. "ask10": {
  45198. "description": "卖10",
  45199. "type": "number"
  45200. },
  45201. "ask2": {
  45202. "description": "卖2",
  45203. "type": "number"
  45204. },
  45205. "ask3": {
  45206. "description": "卖3",
  45207. "type": "number"
  45208. },
  45209. "ask4": {
  45210. "description": "卖4",
  45211. "type": "number"
  45212. },
  45213. "ask5": {
  45214. "description": "卖5",
  45215. "type": "number"
  45216. },
  45217. "ask6": {
  45218. "description": "卖6",
  45219. "type": "number"
  45220. },
  45221. "ask7": {
  45222. "description": "卖7",
  45223. "type": "number"
  45224. },
  45225. "ask8": {
  45226. "description": "卖8",
  45227. "type": "number"
  45228. },
  45229. "ask9": {
  45230. "description": "卖9",
  45231. "type": "number"
  45232. },
  45233. "askorderid": {
  45234. "description": "卖单号1",
  45235. "type": "integer"
  45236. },
  45237. "askorderid2": {
  45238. "description": "卖单号2",
  45239. "type": "integer"
  45240. },
  45241. "askorderid3": {
  45242. "description": "卖单号3",
  45243. "type": "integer"
  45244. },
  45245. "askorderid4": {
  45246. "description": "卖单号4",
  45247. "type": "integer"
  45248. },
  45249. "askorderid5": {
  45250. "description": "卖单号5",
  45251. "type": "integer"
  45252. },
  45253. "askordervolume": {
  45254. "description": "卖单量1",
  45255. "type": "integer"
  45256. },
  45257. "askordervolume10": {
  45258. "description": "卖单量10",
  45259. "type": "integer"
  45260. },
  45261. "askordervolume2": {
  45262. "description": "卖单量2",
  45263. "type": "integer"
  45264. },
  45265. "askordervolume3": {
  45266. "description": "卖单量3",
  45267. "type": "integer"
  45268. },
  45269. "askordervolume4": {
  45270. "description": "卖单量4",
  45271. "type": "integer"
  45272. },
  45273. "askordervolume5": {
  45274. "description": "卖单量5",
  45275. "type": "integer"
  45276. },
  45277. "askordervolume6": {
  45278. "description": "卖单量6",
  45279. "type": "integer"
  45280. },
  45281. "askordervolume7": {
  45282. "description": "卖单量7",
  45283. "type": "integer"
  45284. },
  45285. "askordervolume8": {
  45286. "description": "卖单量8",
  45287. "type": "integer"
  45288. },
  45289. "askordervolume9": {
  45290. "description": "卖单量9",
  45291. "type": "integer"
  45292. },
  45293. "askqueueinfo": {
  45294. "description": "大利市卖港股用",
  45295. "type": "string"
  45296. },
  45297. "askvolume": {
  45298. "description": "卖量1",
  45299. "type": "integer"
  45300. },
  45301. "askvolume10": {
  45302. "description": "卖量10",
  45303. "type": "integer"
  45304. },
  45305. "askvolume2": {
  45306. "description": "卖量2",
  45307. "type": "integer"
  45308. },
  45309. "askvolume3": {
  45310. "description": "卖量3",
  45311. "type": "integer"
  45312. },
  45313. "askvolume4": {
  45314. "description": "卖量4",
  45315. "type": "integer"
  45316. },
  45317. "askvolume5": {
  45318. "description": "卖量5",
  45319. "type": "integer"
  45320. },
  45321. "askvolume6": {
  45322. "description": "卖量6",
  45323. "type": "integer"
  45324. },
  45325. "askvolume7": {
  45326. "description": "卖量7",
  45327. "type": "integer"
  45328. },
  45329. "askvolume8": {
  45330. "description": "卖量8",
  45331. "type": "integer"
  45332. },
  45333. "askvolume9": {
  45334. "description": "卖量9",
  45335. "type": "integer"
  45336. },
  45337. "averageprice": {
  45338. "description": "均价",
  45339. "type": "number"
  45340. },
  45341. "bid": {
  45342. "description": "买1",
  45343. "type": "number"
  45344. },
  45345. "bid10": {
  45346. "description": "买10",
  45347. "type": "number"
  45348. },
  45349. "bid2": {
  45350. "description": "买2",
  45351. "type": "number"
  45352. },
  45353. "bid3": {
  45354. "description": "买3",
  45355. "type": "number"
  45356. },
  45357. "bid4": {
  45358. "description": "买4",
  45359. "type": "number"
  45360. },
  45361. "bid5": {
  45362. "description": "买5",
  45363. "type": "number"
  45364. },
  45365. "bid6": {
  45366. "description": "买6",
  45367. "type": "number"
  45368. },
  45369. "bid7": {
  45370. "description": "买7",
  45371. "type": "number"
  45372. },
  45373. "bid8": {
  45374. "description": "买8",
  45375. "type": "number"
  45376. },
  45377. "bid9": {
  45378. "description": "买9",
  45379. "type": "number"
  45380. },
  45381. "bidorderid": {
  45382. "description": "买单号1",
  45383. "type": "integer"
  45384. },
  45385. "bidorderid2": {
  45386. "description": "买单号2",
  45387. "type": "integer"
  45388. },
  45389. "bidorderid3": {
  45390. "description": "买单号3",
  45391. "type": "integer"
  45392. },
  45393. "bidorderid4": {
  45394. "description": "买单号4",
  45395. "type": "integer"
  45396. },
  45397. "bidorderid5": {
  45398. "description": "买单号5",
  45399. "type": "integer"
  45400. },
  45401. "bidordervolume": {
  45402. "description": "买单量1",
  45403. "type": "integer"
  45404. },
  45405. "bidordervolume10": {
  45406. "description": "买单量10",
  45407. "type": "integer"
  45408. },
  45409. "bidordervolume2": {
  45410. "description": "买单量2",
  45411. "type": "integer"
  45412. },
  45413. "bidordervolume3": {
  45414. "description": "买单量3",
  45415. "type": "integer"
  45416. },
  45417. "bidordervolume4": {
  45418. "description": "买单量4",
  45419. "type": "integer"
  45420. },
  45421. "bidordervolume5": {
  45422. "description": "买单量5",
  45423. "type": "integer"
  45424. },
  45425. "bidordervolume6": {
  45426. "description": "买单量6",
  45427. "type": "integer"
  45428. },
  45429. "bidordervolume7": {
  45430. "description": "买单量7",
  45431. "type": "integer"
  45432. },
  45433. "bidordervolume8": {
  45434. "description": "买单量8",
  45435. "type": "integer"
  45436. },
  45437. "bidordervolume9": {
  45438. "description": "买单量9",
  45439. "type": "integer"
  45440. },
  45441. "bidqueueinfo": {
  45442. "description": "大利市买港股用",
  45443. "type": "string"
  45444. },
  45445. "bidvolume": {
  45446. "description": "买量1",
  45447. "type": "integer"
  45448. },
  45449. "bidvolume10": {
  45450. "description": "买量10",
  45451. "type": "integer"
  45452. },
  45453. "bidvolume2": {
  45454. "description": "买量2",
  45455. "type": "integer"
  45456. },
  45457. "bidvolume3": {
  45458. "description": "买量3",
  45459. "type": "integer"
  45460. },
  45461. "bidvolume4": {
  45462. "description": "买量4",
  45463. "type": "integer"
  45464. },
  45465. "bidvolume5": {
  45466. "description": "买量5",
  45467. "type": "integer"
  45468. },
  45469. "bidvolume6": {
  45470. "description": "买量6",
  45471. "type": "integer"
  45472. },
  45473. "bidvolume7": {
  45474. "description": "买量7",
  45475. "type": "integer"
  45476. },
  45477. "bidvolume8": {
  45478. "description": "买量8",
  45479. "type": "integer"
  45480. },
  45481. "bidvolume9": {
  45482. "description": "买量9",
  45483. "type": "integer"
  45484. },
  45485. "calloptionpremiums": {
  45486. "description": "认购期权1",
  45487. "type": "integer"
  45488. },
  45489. "calloptionpremiums2": {
  45490. "description": "认购期权2",
  45491. "type": "integer"
  45492. },
  45493. "calloptionpremiums3": {
  45494. "description": "认购期权3",
  45495. "type": "integer"
  45496. },
  45497. "calloptionpremiums4": {
  45498. "description": "认购期权4",
  45499. "type": "integer"
  45500. },
  45501. "calloptionpremiums5": {
  45502. "description": "认购期权5",
  45503. "type": "integer"
  45504. },
  45505. "cleartime": {
  45506. "description": "清盘时间",
  45507. "type": "integer"
  45508. },
  45509. "exchangecode": {
  45510. "description": "交易所代码",
  45511. "type": "integer"
  45512. },
  45513. "exchangedate": {
  45514. "description": "交易日",
  45515. "type": "integer"
  45516. },
  45517. "goodscode": {
  45518. "description": "商品代码",
  45519. "type": "string"
  45520. },
  45521. "grepmarketprice": {
  45522. "description": "暗盘价 港股专用",
  45523. "type": "number"
  45524. },
  45525. "highest": {
  45526. "description": "最高价",
  45527. "type": "number"
  45528. },
  45529. "holdincrement": {
  45530. "description": "单笔持仓",
  45531. "type": "integer"
  45532. },
  45533. "holdvolume": {
  45534. "description": "持仓",
  45535. "type": "integer"
  45536. },
  45537. "iep": {
  45538. "description": "平衡价 港股专用",
  45539. "type": "number"
  45540. },
  45541. "iev": {
  45542. "description": "平衡量 港股专用",
  45543. "type": "number"
  45544. },
  45545. "inventory": {
  45546. "description": "库存",
  45547. "type": "integer"
  45548. },
  45549. "iscleared": {
  45550. "description": "是否清盘标志",
  45551. "type": "integer"
  45552. },
  45553. "issettled": {
  45554. "description": "是否结算标志",
  45555. "type": "integer"
  45556. },
  45557. "last": {
  45558. "description": "最新价",
  45559. "type": "number"
  45560. },
  45561. "lastlot": {
  45562. "description": "最新成交手数",
  45563. "type": "integer"
  45564. },
  45565. "lasttime": {
  45566. "description": "行情时间(只有现价变化行情时间才变化)",
  45567. "type": "string"
  45568. },
  45569. "lastturnover": {
  45570. "description": "最新成交金额",
  45571. "type": "number"
  45572. },
  45573. "lastvolume": {
  45574. "description": "最新成交量",
  45575. "type": "integer"
  45576. },
  45577. "limitdown": {
  45578. "description": "跌停价",
  45579. "type": "number"
  45580. },
  45581. "limitup": {
  45582. "description": "涨停价",
  45583. "type": "number"
  45584. },
  45585. "lowest": {
  45586. "description": "最低价",
  45587. "type": "number"
  45588. },
  45589. "nontotalholdervolume": {
  45590. "description": "非交易持仓量",
  45591. "type": "integer"
  45592. },
  45593. "nontotallot": {
  45594. "description": "非交易总手数",
  45595. "type": "integer"
  45596. },
  45597. "nontotalturnover": {
  45598. "description": "非交易总金额",
  45599. "type": "integer"
  45600. },
  45601. "nontotalvolume": {
  45602. "description": "非交易总量",
  45603. "type": "integer"
  45604. },
  45605. "opened": {
  45606. "description": "开盘价",
  45607. "type": "number"
  45608. },
  45609. "opentime": {
  45610. "description": "开盘时间",
  45611. "type": "string"
  45612. },
  45613. "orderid": {
  45614. "description": "序号",
  45615. "type": "integer"
  45616. },
  45617. "preclose": {
  45618. "description": "昨收",
  45619. "type": "number"
  45620. },
  45621. "preholdvolume": {
  45622. "description": "昨持仓",
  45623. "type": "integer"
  45624. },
  45625. "presettle": {
  45626. "description": "昨结价",
  45627. "type": "number"
  45628. },
  45629. "publictradetype": {
  45630. "description": "公共交易标志类型 港股专用",
  45631. "type": "string"
  45632. },
  45633. "putoptionpremiums": {
  45634. "description": "认沽期权1",
  45635. "type": "integer"
  45636. },
  45637. "putoptionpremiums2": {
  45638. "description": "认沽期权2",
  45639. "type": "integer"
  45640. },
  45641. "putoptionpremiums3": {
  45642. "description": "认沽期权3",
  45643. "type": "integer"
  45644. },
  45645. "putoptionpremiums4": {
  45646. "description": "认沽期权4",
  45647. "type": "integer"
  45648. },
  45649. "putoptionpremiums5": {
  45650. "description": "认沽期权5",
  45651. "type": "integer"
  45652. },
  45653. "settle": {
  45654. "description": "结算价",
  45655. "type": "number"
  45656. },
  45657. "strikeprice": {
  45658. "description": "发行价",
  45659. "type": "number"
  45660. },
  45661. "totalaskvolume": {
  45662. "description": "内盘",
  45663. "type": "integer"
  45664. },
  45665. "totalbidvolume": {
  45666. "description": "外盘",
  45667. "type": "integer"
  45668. },
  45669. "totallot": {
  45670. "description": "总手数",
  45671. "type": "integer"
  45672. },
  45673. "totalturnover": {
  45674. "description": "总金额",
  45675. "type": "number"
  45676. },
  45677. "totalvolume": {
  45678. "description": "总量",
  45679. "type": "integer"
  45680. },
  45681. "utclasttime": {
  45682. "description": "utc的行情时间",
  45683. "type": "string"
  45684. }
  45685. }
  45686. },
  45687. "quote.QueryTSDataRsp": {
  45688. "type": "object",
  45689. "properties": {
  45690. "Count": {
  45691. "description": "交易日应有数据个数",
  45692. "type": "integer"
  45693. },
  45694. "decimalPlace": {
  45695. "description": "小数位",
  45696. "type": "integer"
  45697. },
  45698. "endTime": {
  45699. "description": "结束时间",
  45700. "type": "string"
  45701. },
  45702. "goodsCode": {
  45703. "description": "商品代码",
  45704. "type": "string"
  45705. },
  45706. "historyDatas": {
  45707. "description": "历史数据",
  45708. "type": "array",
  45709. "items": {
  45710. "$ref": "#/definitions/quote.HistoryData"
  45711. }
  45712. },
  45713. "outGoodsCode": {
  45714. "description": "外部商品代码",
  45715. "type": "string"
  45716. },
  45717. "preSettle": {
  45718. "description": "昨结价",
  45719. "type": "number"
  45720. },
  45721. "runSteps": {
  45722. "description": "交易日开休市计划",
  45723. "type": "array",
  45724. "items": {
  45725. "$ref": "#/definitions/quote.TSDataRunStep"
  45726. }
  45727. },
  45728. "startTime": {
  45729. "description": "开始时间",
  45730. "type": "string"
  45731. },
  45732. "tradeDate": {
  45733. "description": "交易日",
  45734. "type": "string"
  45735. }
  45736. }
  45737. },
  45738. "quote.TSDataRunStep": {
  45739. "type": "object",
  45740. "properties": {
  45741. "end": {
  45742. "description": "真实结束时间",
  45743. "type": "string"
  45744. },
  45745. "endflag": {
  45746. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  45747. "type": "integer"
  45748. },
  45749. "endtime": {
  45750. "description": "结束时间(HH:mm)",
  45751. "type": "string"
  45752. },
  45753. "endweekday": {
  45754. "description": "结束周几",
  45755. "type": "integer"
  45756. },
  45757. "groupid": {
  45758. "description": "分组ID",
  45759. "type": "integer"
  45760. },
  45761. "runstep": {
  45762. "description": "运行阶段 - 2:连续交易",
  45763. "type": "integer"
  45764. },
  45765. "sectionid": {
  45766. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  45767. "type": "integer"
  45768. },
  45769. "start": {
  45770. "description": "真实开始时间",
  45771. "type": "string"
  45772. },
  45773. "startflag": {
  45774. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  45775. "type": "integer"
  45776. },
  45777. "starttime": {
  45778. "description": "起始时间(HH:mm)",
  45779. "type": "string"
  45780. },
  45781. "startweekday": {
  45782. "description": "起始周几",
  45783. "type": "integer"
  45784. },
  45785. "tradeweekday": {
  45786. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  45787. "type": "integer"
  45788. }
  45789. }
  45790. },
  45791. "szdz.QueryConvertLogRsp": {
  45792. "type": "object",
  45793. "required": [
  45794. "logid"
  45795. ],
  45796. "properties": {
  45797. "accountid": {
  45798. "description": "资金账户ID",
  45799. "type": "integer"
  45800. },
  45801. "clientticket": {
  45802. "description": "客户端流水号",
  45803. "type": "string"
  45804. },
  45805. "converttype": {
  45806. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  45807. "type": "integer"
  45808. },
  45809. "createtime": {
  45810. "description": "记账时间",
  45811. "type": "string"
  45812. },
  45813. "daymaxvalue": {
  45814. "description": "配置当日最大转入限制",
  45815. "type": "number"
  45816. },
  45817. "daymaxvalue2": {
  45818. "description": "配置当日最大转入限制(转入)",
  45819. "type": "number"
  45820. },
  45821. "goodscode": {
  45822. "description": "商品代码",
  45823. "type": "string"
  45824. },
  45825. "goodsname": {
  45826. "description": "商品名称",
  45827. "type": "string"
  45828. },
  45829. "handlestatus": {
  45830. "description": "处理状态",
  45831. "type": "integer"
  45832. },
  45833. "innergoodsid": {
  45834. "description": "内部商品ID",
  45835. "type": "integer"
  45836. },
  45837. "inratio": {
  45838. "description": "配置转入比值",
  45839. "type": "integer"
  45840. },
  45841. "invalue": {
  45842. "description": "目标值",
  45843. "type": "number"
  45844. },
  45845. "logid": {
  45846. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45847. "type": "integer"
  45848. },
  45849. "mobile": {
  45850. "description": "手机号码(加密存储)",
  45851. "type": "string"
  45852. },
  45853. "outergoodscode": {
  45854. "description": "外部商品代码[JD\\PD]",
  45855. "type": "string"
  45856. },
  45857. "outratio": {
  45858. "description": "配置转出比值",
  45859. "type": "integer"
  45860. },
  45861. "outvalue": {
  45862. "description": "源值",
  45863. "type": "number"
  45864. },
  45865. "pddecimalplace": {
  45866. "description": "PD小数位",
  45867. "type": "integer"
  45868. },
  45869. "qty": {
  45870. "description": "数量",
  45871. "type": "string"
  45872. },
  45873. "remark": {
  45874. "description": "备注",
  45875. "type": "string"
  45876. },
  45877. "sessionid": {
  45878. "description": "会话ID",
  45879. "type": "integer"
  45880. },
  45881. "timemaxvalue": {
  45882. "description": "配置单次最大转入限制",
  45883. "type": "number"
  45884. },
  45885. "timemaxvalue2": {
  45886. "description": "配置单次最大转入限制(转入)",
  45887. "type": "number"
  45888. },
  45889. "timeminvalue": {
  45890. "description": "配置单次最小数量限制",
  45891. "type": "number"
  45892. },
  45893. "timeminvalue2": {
  45894. "description": "配置单次最小数量限制(转入)",
  45895. "type": "number"
  45896. },
  45897. "tradedate": {
  45898. "description": "交易日(yyyyMMdd)",
  45899. "type": "string"
  45900. },
  45901. "userid": {
  45902. "description": "用户ID",
  45903. "type": "integer"
  45904. }
  45905. }
  45906. },
  45907. "szdz.QueryGoodsPickupRsp": {
  45908. "type": "object",
  45909. "required": [
  45910. "takeorderid"
  45911. ],
  45912. "properties": {
  45913. "accountid": {
  45914. "description": "账户ID",
  45915. "type": "integer"
  45916. },
  45917. "address": {
  45918. "description": "提货人详细地址",
  45919. "type": "string"
  45920. },
  45921. "auditer": {
  45922. "description": "审核人",
  45923. "type": "integer"
  45924. },
  45925. "audittime": {
  45926. "description": "审核时间",
  45927. "type": "string"
  45928. },
  45929. "cardnum": {
  45930. "description": "提货人证件号码",
  45931. "type": "string"
  45932. },
  45933. "cardtypeid": {
  45934. "description": "提货人证件类型",
  45935. "type": "integer"
  45936. },
  45937. "checkremark": {
  45938. "description": "审核备注",
  45939. "type": "string"
  45940. },
  45941. "goodscode": {
  45942. "description": "商品代码",
  45943. "type": "string"
  45944. },
  45945. "goodsid": {
  45946. "description": "商品ID",
  45947. "type": "integer"
  45948. },
  45949. "goodsname": {
  45950. "description": "商品名称",
  45951. "type": "string"
  45952. },
  45953. "handlestatus": {
  45954. "description": "处理状态",
  45955. "type": "integer"
  45956. },
  45957. "marketid": {
  45958. "description": "市场ID",
  45959. "type": "integer"
  45960. },
  45961. "phonenum": {
  45962. "description": "提货人联系方式",
  45963. "type": "string"
  45964. },
  45965. "qty": {
  45966. "description": "提货数量",
  45967. "type": "number"
  45968. },
  45969. "recivername": {
  45970. "description": "提货人姓名",
  45971. "type": "string"
  45972. },
  45973. "reqtime": {
  45974. "description": "更新时间",
  45975. "type": "string"
  45976. },
  45977. "takemode": {
  45978. "description": "提货方式 - 2:自提 3:配送",
  45979. "type": "integer"
  45980. },
  45981. "takeorderid": {
  45982. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  45983. "type": "string"
  45984. },
  45985. "takeorderstatus": {
  45986. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  45987. "type": "integer"
  45988. },
  45989. "takeremark": {
  45990. "description": "提货备注",
  45991. "type": "string"
  45992. },
  45993. "tradedate": {
  45994. "description": "交易日(yyyyMMdd)",
  45995. "type": "string"
  45996. },
  45997. "userid": {
  45998. "description": "用户ID",
  45999. "type": "integer"
  46000. }
  46001. }
  46002. },
  46003. "szdz.QueryRecieptOrderRsp": {
  46004. "type": "object",
  46005. "required": [
  46006. "ordertime"
  46007. ],
  46008. "properties": {
  46009. "accountName": {
  46010. "description": "所属账号名称(已脱敏)",
  46011. "type": "string"
  46012. },
  46013. "accountid": {
  46014. "description": "资金账号",
  46015. "type": "integer"
  46016. },
  46017. "buyorsell": {
  46018. "description": "方向 - 0:买 1:卖",
  46019. "type": "integer"
  46020. },
  46021. "enableqty": {
  46022. "description": "可摘数量",
  46023. "type": "integer"
  46024. },
  46025. "goodscode": {
  46026. "description": "商品代码",
  46027. "type": "string"
  46028. },
  46029. "goodsid": {
  46030. "description": "商品ID",
  46031. "type": "integer"
  46032. },
  46033. "goodsname": {
  46034. "description": "商品名称",
  46035. "type": "string"
  46036. },
  46037. "orderid": {
  46038. "description": "委托单号",
  46039. "type": "string"
  46040. },
  46041. "orderprice": {
  46042. "description": "委托价格",
  46043. "type": "number"
  46044. },
  46045. "ordertime": {
  46046. "description": "委托时间",
  46047. "type": "string"
  46048. },
  46049. "tradedate": {
  46050. "description": "交易日(yyyyMMdd)",
  46051. "type": "string"
  46052. }
  46053. }
  46054. },
  46055. "szdz.QuerySZDZTradePositionRsp": {
  46056. "type": "object",
  46057. "properties": {
  46058. "accountid": {
  46059. "description": "账号Id",
  46060. "type": "integer"
  46061. },
  46062. "agreeunit": {
  46063. "description": "合约单位",
  46064. "type": "number"
  46065. },
  46066. "averageprice": {
  46067. "description": "持仓均价",
  46068. "type": "number"
  46069. },
  46070. "buyorsell": {
  46071. "description": "方向 - 0:买 1:卖",
  46072. "type": "integer"
  46073. },
  46074. "closetotalqty": {
  46075. "description": "平仓总数量",
  46076. "type": "integer"
  46077. },
  46078. "curholderamount": {
  46079. "description": "当前持仓总金额",
  46080. "type": "number"
  46081. },
  46082. "curpositionqty": {
  46083. "description": "当前持仓总数量",
  46084. "type": "integer"
  46085. },
  46086. "currencyid": {
  46087. "description": "报价货币ID",
  46088. "type": "integer"
  46089. },
  46090. "curtdposition": {
  46091. "description": "期末今日头寸",
  46092. "type": "integer"
  46093. },
  46094. "decimalplace": {
  46095. "description": "报价小数位",
  46096. "type": "integer"
  46097. },
  46098. "enableqty": {
  46099. "description": "可用量",
  46100. "type": "integer"
  46101. },
  46102. "fretdposition": {
  46103. "description": "冻结今日头寸",
  46104. "type": "integer"
  46105. },
  46106. "frozenqty": {
  46107. "description": "持仓冻结数量",
  46108. "type": "integer"
  46109. },
  46110. "goodscode": {
  46111. "description": "商品代码(内部)",
  46112. "type": "string"
  46113. },
  46114. "goodsid": {
  46115. "description": "商品Id",
  46116. "type": "integer"
  46117. },
  46118. "goodsname": {
  46119. "description": "商品名称",
  46120. "type": "string"
  46121. },
  46122. "goodunit": {
  46123. "description": "报价单位",
  46124. "type": "string"
  46125. },
  46126. "goodunitid": {
  46127. "description": "报价单位ID",
  46128. "type": "integer"
  46129. },
  46130. "holderamount": {
  46131. "description": "期初持仓总金额",
  46132. "type": "number"
  46133. },
  46134. "marketid": {
  46135. "description": "市场ID",
  46136. "type": "integer"
  46137. },
  46138. "openreqqty": {
  46139. "description": "开仓申请数量",
  46140. "type": "integer"
  46141. },
  46142. "opentotalqty": {
  46143. "description": "开仓总数量",
  46144. "type": "integer"
  46145. },
  46146. "otherfrozenqty": {
  46147. "description": "持仓其他冻结数量(交割冻结)",
  46148. "type": "integer"
  46149. },
  46150. "positionqty": {
  46151. "description": "期初持仓数量",
  46152. "type": "integer"
  46153. },
  46154. "szdz3freezqty": {
  46155. "description": "尚志大宗转换冻结总数量",
  46156. "type": "integer"
  46157. },
  46158. "tnqty": {
  46159. "description": "T+N冻结总量",
  46160. "type": "integer"
  46161. },
  46162. "tnusedqty": {
  46163. "description": "T+N使用量",
  46164. "type": "integer"
  46165. },
  46166. "trademode": {
  46167. "description": "交易模式",
  46168. "type": "integer"
  46169. },
  46170. "usedmargin": {
  46171. "description": "占用保证金",
  46172. "type": "number"
  46173. }
  46174. }
  46175. },
  46176. "taaccount.QueryAmountLogRsp": {
  46177. "type": "object",
  46178. "required": [
  46179. "accountid",
  46180. "amount",
  46181. "amountadjusttype",
  46182. "autoid",
  46183. "balance",
  46184. "createtime",
  46185. "currentbalance",
  46186. "operatetype"
  46187. ],
  46188. "properties": {
  46189. "OPERATETYPENAME": {
  46190. "description": "资金操作类型名称",
  46191. "type": "string"
  46192. },
  46193. "accountid": {
  46194. "description": "资金账户ID",
  46195. "type": "integer"
  46196. },
  46197. "agoodscode": {
  46198. "description": "竞拍商品代码",
  46199. "type": "string"
  46200. },
  46201. "agoodsname": {
  46202. "description": "竞拍商品名称",
  46203. "type": "string"
  46204. },
  46205. "amount": {
  46206. "description": "资金金额",
  46207. "type": "number"
  46208. },
  46209. "amountadjusttype": {
  46210. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  46211. "type": "integer"
  46212. },
  46213. "autoid": {
  46214. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  46215. "type": "integer"
  46216. },
  46217. "balance": {
  46218. "description": "期初余额",
  46219. "type": "number"
  46220. },
  46221. "businesscode": {
  46222. "description": "业务编号",
  46223. "type": "integer"
  46224. },
  46225. "createtime": {
  46226. "description": "发生时间",
  46227. "type": "string"
  46228. },
  46229. "currencyid": {
  46230. "description": "币种ID",
  46231. "type": "integer"
  46232. },
  46233. "currentbalance": {
  46234. "description": "期末余额(变动后金额)",
  46235. "type": "number"
  46236. },
  46237. "dgoodscode": {
  46238. "description": "交割商品代码",
  46239. "type": "string"
  46240. },
  46241. "dgoodsname": {
  46242. "description": "交割商品名称",
  46243. "type": "string"
  46244. },
  46245. "goodscode": {
  46246. "description": "商品代码",
  46247. "type": "string"
  46248. },
  46249. "goodsid": {
  46250. "description": "商品ID",
  46251. "type": "integer"
  46252. },
  46253. "goodsname": {
  46254. "description": "商品名称",
  46255. "type": "string"
  46256. },
  46257. "marketid": {
  46258. "description": "市场ID",
  46259. "type": "integer"
  46260. },
  46261. "marketname": {
  46262. "description": "市场名称",
  46263. "type": "string"
  46264. },
  46265. "moneyticket": {
  46266. "description": "资金流水号:银行端流水号",
  46267. "type": "integer"
  46268. },
  46269. "operatetype": {
  46270. "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:营销收款",
  46271. "type": "integer"
  46272. },
  46273. "relationorderid": {
  46274. "description": "关联单号",
  46275. "type": "string"
  46276. },
  46277. "remark": {
  46278. "description": "备注",
  46279. "type": "string"
  46280. },
  46281. "trademode": {
  46282. "description": "交易模式",
  46283. "type": "integer"
  46284. }
  46285. }
  46286. },
  46287. "taaccount.QueryHisAmountLogRsp": {
  46288. "type": "object",
  46289. "required": [
  46290. "accountid",
  46291. "amount",
  46292. "amountadjusttype",
  46293. "autoid",
  46294. "balance",
  46295. "createtime",
  46296. "currentbalance",
  46297. "histradedate",
  46298. "operatetype"
  46299. ],
  46300. "properties": {
  46301. "OPERATETYPENAME": {
  46302. "description": "资金操作类型名称",
  46303. "type": "string"
  46304. },
  46305. "accountid": {
  46306. "description": "资金账户ID",
  46307. "type": "integer"
  46308. },
  46309. "agoodscode": {
  46310. "description": "竞拍商品代码",
  46311. "type": "string"
  46312. },
  46313. "agoodsname": {
  46314. "description": "竞拍商品名称",
  46315. "type": "string"
  46316. },
  46317. "amount": {
  46318. "description": "资金金额",
  46319. "type": "number"
  46320. },
  46321. "amountadjusttype": {
  46322. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  46323. "type": "integer"
  46324. },
  46325. "autoid": {
  46326. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  46327. "type": "integer"
  46328. },
  46329. "balance": {
  46330. "description": "期初余额",
  46331. "type": "number"
  46332. },
  46333. "businesscode": {
  46334. "description": "业务编号",
  46335. "type": "integer"
  46336. },
  46337. "createtime": {
  46338. "description": "发生时间",
  46339. "type": "string"
  46340. },
  46341. "currencyid": {
  46342. "description": "币种ID",
  46343. "type": "integer"
  46344. },
  46345. "currentbalance": {
  46346. "description": "期末余额(变动后金额)",
  46347. "type": "number"
  46348. },
  46349. "dgoodscode": {
  46350. "description": "交割商品代码",
  46351. "type": "string"
  46352. },
  46353. "dgoodsname": {
  46354. "description": "交割商品名称",
  46355. "type": "string"
  46356. },
  46357. "goodscode": {
  46358. "description": "商品代码",
  46359. "type": "string"
  46360. },
  46361. "goodsid": {
  46362. "description": "商品ID",
  46363. "type": "integer"
  46364. },
  46365. "goodsname": {
  46366. "description": "商品名称",
  46367. "type": "string"
  46368. },
  46369. "histradedate": {
  46370. "description": "历史交易日",
  46371. "type": "string"
  46372. },
  46373. "isvaliddata": {
  46374. "description": "是否有效 - 0:无效 1:有效",
  46375. "type": "integer"
  46376. },
  46377. "marketid": {
  46378. "description": "市场ID",
  46379. "type": "integer"
  46380. },
  46381. "marketname": {
  46382. "description": "市场名称",
  46383. "type": "string"
  46384. },
  46385. "moneyticket": {
  46386. "description": "资金流水号:银行端流水号",
  46387. "type": "integer"
  46388. },
  46389. "operatetype": {
  46390. "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:营销收款",
  46391. "type": "integer"
  46392. },
  46393. "relationorderid": {
  46394. "description": "关联单号",
  46395. "type": "string"
  46396. },
  46397. "remark": {
  46398. "description": "备注",
  46399. "type": "string"
  46400. },
  46401. "trademode": {
  46402. "description": "交易模式",
  46403. "type": "integer"
  46404. }
  46405. }
  46406. },
  46407. "trade.QueryRecieptOrderRsp": {
  46408. "type": "object",
  46409. "required": [
  46410. "ordertime"
  46411. ],
  46412. "properties": {
  46413. "accountName": {
  46414. "description": "所属账号名称(已脱敏)",
  46415. "type": "string"
  46416. },
  46417. "accountid": {
  46418. "description": "资金账号",
  46419. "type": "integer"
  46420. },
  46421. "buyorsell": {
  46422. "description": "方向 - 0:买 1:卖",
  46423. "type": "integer"
  46424. },
  46425. "enableqty": {
  46426. "description": "可摘数量",
  46427. "type": "integer"
  46428. },
  46429. "goodscode": {
  46430. "description": "商品代码",
  46431. "type": "string"
  46432. },
  46433. "goodsid": {
  46434. "description": "商品ID",
  46435. "type": "integer"
  46436. },
  46437. "goodsname": {
  46438. "description": "商品名称",
  46439. "type": "string"
  46440. },
  46441. "orderid": {
  46442. "description": "委托单号",
  46443. "type": "string"
  46444. },
  46445. "orderprice": {
  46446. "description": "委托价格",
  46447. "type": "number"
  46448. },
  46449. "ordertime": {
  46450. "description": "委托时间",
  46451. "type": "string"
  46452. },
  46453. "tradedate": {
  46454. "description": "交易日(yyyyMMdd)",
  46455. "type": "string"
  46456. }
  46457. }
  46458. },
  46459. "user.LoginQueryRsp": {
  46460. "type": "object",
  46461. "properties": {
  46462. "areaRoles": {
  46463. "description": "所属角色信息",
  46464. "type": "array",
  46465. "items": {
  46466. "$ref": "#/definitions/models.Arearole"
  46467. }
  46468. },
  46469. "externalExchanges": {
  46470. "description": "外部交易所",
  46471. "type": "array",
  46472. "items": {
  46473. "$ref": "#/definitions/models.Externalexchange"
  46474. }
  46475. },
  46476. "goodsgroups": {
  46477. "description": "商品组",
  46478. "type": "array",
  46479. "items": {
  46480. "$ref": "#/definitions/models.Goodsgroup"
  46481. }
  46482. },
  46483. "loginAccount": {
  46484. "description": "登录账号",
  46485. "$ref": "#/definitions/models.Loginaccount"
  46486. },
  46487. "markets": {
  46488. "description": "市场",
  46489. "type": "array",
  46490. "items": {
  46491. "$ref": "#/definitions/models.Market"
  46492. }
  46493. },
  46494. "systemParams": {
  46495. "description": "系统参数",
  46496. "type": "array",
  46497. "items": {
  46498. "$ref": "#/definitions/models.Systemparam"
  46499. }
  46500. },
  46501. "userAccount": {
  46502. "description": "用户账号",
  46503. "$ref": "#/definitions/models.Useraccount"
  46504. },
  46505. "userInfo": {
  46506. "description": "用户信息",
  46507. "$ref": "#/definitions/models.Userinfo"
  46508. },
  46509. "username": {
  46510. "description": "用户姓名",
  46511. "type": "string"
  46512. }
  46513. }
  46514. }
  46515. },
  46516. "securityDefinitions": {
  46517. "ApiKeyAuth": {
  46518. "type": "apiKey",
  46519. "name": "Authorization",
  46520. "in": "header"
  46521. },
  46522. "Group": {
  46523. "type": "apiKey",
  46524. "name": "Group",
  46525. "in": "header"
  46526. },
  46527. "LoginID": {
  46528. "type": "apiKey",
  46529. "name": "LoginID",
  46530. "in": "header"
  46531. }
  46532. }
  46533. }`
  46534. // SwaggerInfo holds exported Swagger Info so clients can modify it
  46535. var SwaggerInfo = &swag.Spec{
  46536. Version: "1.0",
  46537. Host: "",
  46538. BasePath: "",
  46539. Schemes: []string{},
  46540. Title: "MTP2.0 查询服务 API",
  46541. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  46542. InfoInstanceName: "swagger",
  46543. SwaggerTemplate: docTemplate,
  46544. }
  46545. func init() {
  46546. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  46547. }